/* ============================================================
   GreenCare V6 — Mobile App Shell
   Layered on top of v6-design-system.css. Active <= 767px and
   amplified when running in PWA standalone mode.

   Aesthetic: Hermès iOS x Aesop Online x Stiiizy.
   No icon cliches — numbered text tabs (01/02/03/04).
   Square 2px radius preserved. Spring physics on motion.
   ============================================================ */

:root {
  --app-tab-h:      68px;
  --app-header-h:   60px;
  --app-large-h:    132px;
  --app-spring:     cubic-bezier(0.32, 0.72, 0, 1);   /* iOS */
  --app-spring-out: cubic-bezier(0.4, 0, 0.2, 1);
  --app-scrim:      rgba(0, 0, 0, 0.42);
  --app-blur:       saturate(180%) blur(20px);
  --app-tap:        rgba(0, 0, 0, 0.06);
}

/* ============================================================
   APP-MODE BOOT — applies always for safe-area + touch hygiene
   ============================================================ */

html {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  overscroll-behavior-y: contain;
}

body {
  /* Prevent iOS rubber-banding except in scroll containers */
  overscroll-behavior-y: none;
}

button, a, .gc-btn, .gc-cat, .gc-app-tab, .gc-app-header__action {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  touch-action: manipulation;
}

/* Tactile press — only when the device cannot hover (touch only) */
@media (hover: none) and (pointer: coarse) {
  .gc-btn:active,
  .gc-strain__cta:active,
  .gc-cat:active,
  .gc-app-tab:active,
  .gc-app-header__action:active,
  .gc-intro__link:active {
    transform: scale(0.97);
    transition: transform 80ms var(--app-spring-out);
  }
  /* Don't let hover styles bleed into touch */
  .gc-btn:hover { background: var(--ink); color: var(--bone); }
  .gc-btn--ghost:hover { background: transparent; color: var(--ink); }
}

/* ============================================================
   MOBILE APP SHELL — < 768px
   ============================================================ */

@media (max-width: 767px) {

  /* Hide the desktop Bricks header — app shell takes over */
  .gc-site-header,
  header.brxe-header,
  #brx-header { display: none !important; }

  body, .brx-body {
    padding-top: var(--app-header-h);
    padding-bottom: calc(var(--app-tab-h) + env(safe-area-inset-bottom));
    background: var(--bone);
    /* No text selection on chrome containers */
    -webkit-user-select: text;
    user-select: text;
  }

  /* Smooth, momentum scroll */
  html, body { scroll-behavior: smooth; }

  /* ----- APP HEADER ------------------------------------------ */

  .gc-app-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 90;
    height: var(--app-header-h);
    padding: 0 1.25rem;
    padding-top: env(safe-area-inset-top);
    height: calc(var(--app-header-h) + env(safe-area-inset-top));
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: var(--app-blur);
    -webkit-backdrop-filter: var(--app-blur);
    display: grid;
    grid-template-columns: 52px 1fr 52px;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid transparent;
    transition: border-color 220ms var(--app-spring-out),
                background 220ms var(--app-spring-out);
  }
  .gc-app-header[data-scrolled="true"] {
    border-bottom-color: var(--ink-30);
    background: rgba(255, 255, 255, 0.96);
  }

  .gc-app-header__center {
    grid-column: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    height: 44px;
  }

  .gc-app-header__brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: min(152px, 42vw);
    height: 36px;
  }

  .gc-app-header__logo {
    display: block;
    width: 100%;
    max-height: 30px;
    object-fit: contain;
  }

  .gc-app-header__title {
    display: none;
    text-align: center;
    font-family: var(--display);
    font-size: 17px;
    letter-spacing: -0.005em;
    text-transform: uppercase;
    color: var(--ink);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 200ms var(--app-spring-out),
                transform 240ms var(--app-spring-out);
    pointer-events: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .gc-app-header[data-scrolled="true"] .gc-app-header__title {
    display: none;
  }

  .gc-app-header__action {
    width: 52px;
    height: 52px;
    display: inline-grid;
    place-items: center;
    color: var(--ink);
    background: transparent;
    border: 0;
    cursor: pointer;
    margin: 0;
    padding: 0;
  }
  .gc-app-header__action svg { width: 28px; height: 28px; stroke-width: 1.75; }
  .gc-app-header__action[data-side="left"] { justify-self: start; }
  .gc-app-header__action[data-side="right"] { justify-self: end; }

  /* The "Live · until midnight" status pill in the header */
  .gc-app-status {
    display: none;
  }
  .gc-app-status::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 0 rgba(0, 61, 31, 0.55);
    animation: gc-app-pulse 2.4s var(--app-spring) infinite;
  }
  .gc-app-status .gc-pill {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    font-size: inherit;
    letter-spacing: inherit;
  }
  .gc-app-status .gc-pill__dot { display: none; }
  .gc-app-header[data-scrolled="true"] .gc-app-status { opacity: 0; pointer-events: none; }

  @keyframes gc-app-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(0,61,31,0.5); }
    70%  { box-shadow: 0 0 0 8px rgba(0,61,31,0); }
    100% { box-shadow: 0 0 0 0 rgba(0,61,31,0); }
  }

  /* ----- LARGE TITLE (per-page, scrolls away) ---------------- */

  .gc-app-large {
    padding: 1.5rem 1.25rem 1.25rem;
    background: var(--bone);
    margin-top: 0;
  }
  .gc-app-large__eyebrow {
    font-family: var(--body);
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-60);
    display: block;
    margin-bottom: 0.5rem;
  }
  .gc-app-large__title {
    font-family: var(--display);
    font-size: clamp(2.4rem, 9vw, 3.2rem);
    line-height: 0.96;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin: 0;
    text-transform: uppercase;
  }

  /* ----- BOTTOM TAB BAR --------------------------------------- */

  .gc-app-tabs {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 95;
    height: calc(var(--app-tab-h) + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: var(--app-blur);
    -webkit-backdrop-filter: var(--app-blur);
    border-top: 1px solid var(--ink-30);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    user-select: none;
    -webkit-user-select: none;
  }

  .gc-app-tab {
    display: grid;
    grid-template-rows: auto auto;
    align-content: center;
    justify-items: center;
    gap: 2px;
    text-decoration: none;
    color: var(--ink-60);
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 0;
    margin: 0;
    position: relative;
    isolation: isolate;
    transition: color 180ms var(--app-spring-out);
  }
  .gc-app-tab__num {
    font-family: var(--body);
    font-size: 11.5px;
    letter-spacing: 0.18em;
    font-weight: 700;
    opacity: 0.7;
  }
  .gc-app-tab__label {
    font-family: var(--display);
    font-size: 15.5px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1;
  }
  .gc-app-tab[aria-current="page"] {
    color: var(--ink);
  }
  .gc-app-tab[aria-current="page"]::before {
    content: '';
    position: absolute;
    inset: 7px 7px 8px;
    z-index: -1;
    border: 2px solid var(--core-black);
    background: linear-gradient(90deg, var(--deal-lime) 0 54%, var(--clean-white) 54% 100%);
    box-shadow: 3px 3px 0 var(--core-black);
  }
  .gc-app-tab[aria-current="page"] .gc-app-tab__num {
    opacity: 1;
    color: var(--green);
  }
  /* Active marker — small underline beneath the label */
  .gc-app-tab::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 10px;
    width: 0;
    height: 1.5px;
    background: var(--ink);
    transition: width 220ms var(--app-spring);
  }
  .gc-app-tab[aria-current="page"]::after {
    width: 18px;
    transform: translateX(-50%);
  }

  .gc-app-tab--shop .gc-app-tab__num {
    color: inherit;
  }

  .gc-app-tab--shop .gc-app-tab__label {
    font-size: 17px;
  }

  .gc-app-tab--shop::after {
    display: none;
  }

  /* ----- BOTTOM SHEET ---------------------------------------- */

  .gc-app-sheet-backdrop {
    position: fixed;
    inset: 0;
    z-index: 110;
    background: var(--app-scrim);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 280ms var(--app-spring-out);
  }
  .gc-app-sheet-backdrop[data-open="true"] {
    opacity: 1;
    pointer-events: auto;
  }

  .gc-app-sheet {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 120;
    max-height: 92vh;
    background: var(--clean-white);
    border-radius: 2px 2px 0 0;
    padding: 0.5rem 0 calc(1.5rem + env(safe-area-inset-bottom));
    transform: translateY(100%);
    transition: transform 420ms var(--app-spring);
    display: flex;
    flex-direction: column;
    box-shadow: 0 -1px 0 var(--ink-30), 0 -24px 60px -20px rgba(0,0,0,0.18);
    will-change: transform;
  }
  .gc-app-sheet[data-open="true"] {
    transform: translateY(0);
  }
  .gc-app-sheet__handle {
    width: 36px;
    height: 4px;
    border-radius: 2px;
    background: var(--ink-30);
    margin: 6px auto 14px;
    flex-shrink: 0;
  }
  .gc-app-sheet__header {
    padding: 0 1.5rem 1rem;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid var(--ink-30);
    margin-bottom: 1.25rem;
    flex-shrink: 0;
  }
  .gc-app-sheet__eyebrow {
    font-family: var(--body);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink-60);
    display: block;
    margin-bottom: 4px;
  }
  .gc-app-sheet__title {
    font-family: var(--display);
    font-size: clamp(1.6rem, 5vw, 2rem);
    letter-spacing: -0.005em;
    text-transform: uppercase;
    color: var(--ink);
    margin: 0;
    line-height: 1;
  }
  .gc-app-sheet__close {
    width: 32px; height: 32px;
    display: grid; place-items: center;
    background: transparent;
    border: 1px solid var(--ink-30);
    color: var(--ink);
    cursor: pointer;
    font-size: 14px;
    border-radius: 2px;
  }
  .gc-app-sheet__body {
    flex: 1;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 0 1.5rem;
  }
  .gc-app-sheet__list {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .gc-app-sheet__item {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    min-height: 64px;
    padding: 1.18rem 0;
    border-bottom: 1px solid var(--ink-30);
    text-decoration: none;
    color: var(--ink);
  }
  .gc-app-sheet__item:last-child { border-bottom: 0; }
  .gc-app-sheet__item-num {
    font-family: var(--body);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink-60);
    flex-shrink: 0;
    min-width: 1.5rem;
  }
  .gc-app-sheet__item-title {
    font-family: var(--display);
    font-size: 1.42rem;
    letter-spacing: -0.005em;
    text-transform: uppercase;
    flex: 1;
  }
  .gc-app-sheet__item-meta {
    font-family: var(--body);
    font-size: 0.78rem;
    color: var(--ink-60);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    flex-shrink: 0;
  }

  .gc-app-sheet__item--primary {
    min-height: 92px;
    margin-bottom: 0.65rem;
    padding: 1.15rem 1rem;
    border: 2px solid var(--core-black);
    background: linear-gradient(90deg, var(--core-green) 0 46%, var(--deal-lime) 46% 100%);
    color: var(--core-black);
    box-shadow: 5px 5px 0 var(--core-black);
  }

  .gc-app-sheet__item--primary .gc-app-sheet__item-num {
    color: var(--clean-white);
  }

  .gc-app-sheet__item--primary .gc-app-sheet__item-title {
    font-size: clamp(1.95rem, 8vw, 2.45rem);
    line-height: 0.88;
    color: var(--core-black);
  }

  .gc-app-sheet__item--primary .gc-app-sheet__item-meta {
    color: var(--core-black);
    font-weight: 900;
  }

  /* ----- AGE GATE — full screen sheet variant ---------------- */

  .gc-app-gate {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: var(--bone);
    padding: 2rem 1.5rem calc(2rem + env(safe-area-inset-bottom));
    padding-top: calc(2rem + env(safe-area-inset-top));
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    opacity: 0;
    pointer-events: none;
    transition: opacity 360ms var(--app-spring-out);
  }
  .gc-app-gate[data-open="true"] {
    opacity: 1;
    pointer-events: auto;
  }
  .gc-app-gate__top {
    text-align: center;
  }
  .gc-app-gate__mark {
    font-family: var(--body);
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink-60);
  }
  .gc-app-gate__title {
    font-family: var(--display);
    font-size: clamp(2.8rem, 11vw, 4rem);
    line-height: 0.94;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: var(--ink);
    margin: 38vh 0 0;
  }
  .gc-app-gate__sub {
    font-family: var(--body);
    font-size: 0.92rem;
    color: var(--ink-60);
    margin-top: 1rem;
    max-width: 32ch;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.55;
  }
  .gc-app-gate__actions {
    display: grid;
    gap: 0.6rem;
  }
  .gc-app-gate__yes {
    background: var(--ink);
    color: var(--bone);
    font-family: var(--display);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 1rem;
    padding: 1.15rem;
    border: 0;
    border-radius: 2px;
    cursor: pointer;
  }
  .gc-app-gate__no {
    background: transparent;
    color: var(--ink-60);
    font-family: var(--body);
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.85rem;
    border: 0;
    cursor: pointer;
  }

  /* ----- PULL TO REFRESH ------------------------------------- */

  .gc-app-ptr {
    position: absolute;
    inset: 0 0 auto 0;
    height: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bone);
    pointer-events: none;
    transition: height 240ms var(--app-spring-out);
  }
  .gc-app-ptr[data-pulling="true"] {
    height: 64px;
  }
  .gc-app-ptr__label {
    font-family: var(--body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink-60);
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }
  .gc-app-ptr__label::after {
    content: '';
    width: 14px; height: 2px;
    background: linear-gradient(90deg, transparent, var(--ink-60), transparent);
    animation: gc-app-ptr-slide 1.4s linear infinite;
  }
  @keyframes gc-app-ptr-slide {
    0%   { transform: translateX(-6px); opacity: 0.3; }
    50%  { transform: translateX(6px);  opacity: 1; }
    100% { transform: translateX(-6px); opacity: 0.3; }
  }

  /* ----- PAGE TRANSITIONS (View Transitions API) ------------- */

  @supports (view-transition-name: root) {
    ::view-transition-old(root),
    ::view-transition-new(root) {
      animation-duration: 280ms;
      animation-timing-function: var(--app-spring);
    }
    ::view-transition-old(root) {
      animation-name: gc-app-slide-out;
    }
    ::view-transition-new(root) {
      animation-name: gc-app-slide-in;
    }
  }
  @keyframes gc-app-slide-out {
    to { opacity: 0; transform: translateY(-8px); }
  }
  @keyframes gc-app-slide-in {
    from { opacity: 0; transform: translateY(12px); }
  }

  /* ----- INSTALL PROMPT (custom A2HS banner) ----------------- */

  .gc-app-install {
    display: none !important;
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: calc(var(--app-tab-h) + env(safe-area-inset-bottom) + 1rem);
    z-index: 130;
    background: var(--ink);
    color: var(--bone);
    padding: 1rem 1.15rem;
    border-radius: 2px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transform: translateY(140%);
    transition: transform 420ms var(--app-spring);
    box-shadow: 0 18px 40px -12px rgba(0,0,0,0.4);
  }
  .gc-app-install[data-open="true"] {
    transform: translateY(0);
  }
  .gc-app-install__copy {
    flex: 1;
    font-family: var(--body);
    font-size: 0.85rem;
    line-height: 1.4;
  }
  .gc-app-install__copy strong {
    font-family: var(--display);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    display: block;
    margin-bottom: 2px;
  }
  .gc-app-install__btn {
    background: var(--bone);
    color: var(--ink);
    font-family: var(--display);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.6rem 0.9rem;
    border: 0;
    border-radius: 2px;
    cursor: pointer;
    flex-shrink: 0;
  }
  .gc-app-install__close {
    background: transparent;
    color: rgba(255, 255, 255, 0.66);
    border: 0;
    padding: 0.25rem;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
  }

  /* ----- TOAST (snackbar, iOS feel) -------------------------- */

  .gc-app-toast {
    position: fixed;
    left: 50%;
    bottom: calc(var(--app-tab-h) + env(safe-area-inset-bottom) + 1.25rem);
    z-index: 140;
    transform: translate(-50%, 140%);
    background: var(--ink);
    color: var(--bone);
    padding: 0.85rem 1.25rem;
    border-radius: 2px;
    font-family: var(--body);
    font-size: 0.84rem;
    letter-spacing: 0.04em;
    transition: transform 380ms var(--app-spring);
    box-shadow: 0 12px 30px -8px rgba(0,0,0,0.32);
    max-width: calc(100vw - 2rem);
    text-align: center;
  }
  .gc-app-toast[data-open="true"] {
    transform: translate(-50%, 0);
  }
}

/* ============================================================
   PWA STANDALONE MODE — extra polish when installed
   ============================================================ */

@media (display-mode: standalone) {
  /* Status-bar overlay shows bone — full bleed */
  .gc-app-header {
    background: var(--bone) !important;
  }
  /* Disable user select globally except in inputs */
  body, .brx-body {
    -webkit-user-select: none;
    user-select: none;
  }
  input, textarea, [contenteditable] {
    -webkit-user-select: text;
    user-select: text;
  }
  /* Hide install banner — already installed */
  .gc-app-install { display: none !important; }
}

/* iOS PWA legacy detector */
@supports (-webkit-touch-callout: none) {
  /* iOS-only fine tunes */
  @media (max-width: 767px) {
    .gc-app-sheet {
      /* iOS Safari clips bottom — pad more */
      padding-bottom: calc(2rem + env(safe-area-inset-bottom));
    }
  }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  .gc-app-sheet,
  .gc-app-sheet-backdrop,
  .gc-app-install,
  .gc-app-toast,
  .gc-app-gate,
  .gc-app-header,
  .gc-app-header__title,
  .gc-app-status::before {
    transition-duration: 1ms !important;
    animation: none !important;
  }
}

/* ============================================================
   DESKTOP ( >= 768px ) — hide app chrome, restore V6 baseline
   ============================================================ */

@media (min-width: 768px) {
  .gc-app-header,
  .gc-app-tabs,
  .gc-app-large,
  .gc-app-install,
  .gc-app-toast,
  .gc-app-sheet,
  .gc-app-sheet-backdrop,
  .gc-app-ptr { display: none !important; }
}

/* ============================================================
   AGE GATE — universal compliance blocker
   Overrides mobile-sheet positioning so the gate works on every viewport.
   ============================================================ */

html.gc-age-locked,
body.gc-age-locked {
  overflow: hidden !important;
  overscroll-behavior: none;
}

.gc-app-gate {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid !important;
  min-height: 100vh;
  min-height: 100dvh;
  place-items: center;
  padding: clamp(1.25rem, 4vw, 3rem);
  background:
    radial-gradient(circle at 82% 14%, rgba(167, 216, 75, 0.48), transparent 18rem),
    linear-gradient(145deg, var(--core-green, #009A44) 0 48%, var(--deep-green, #005C2E) 48% 70%, var(--core-black, #000000) 70% 100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms var(--app-spring-out, ease), visibility 220ms var(--app-spring-out, ease);
}

.gc-app-gate::before {
  content: "21+";
  position: fixed;
  right: -0.08em;
  bottom: -0.22em;
  font-family: var(--display);
  font-size: clamp(12rem, 34vw, 31rem);
  line-height: 0.75;
  letter-spacing: -0.1em;
  color: rgba(255, 255, 255, 0.11);
  pointer-events: none;
}

.gc-app-gate[data-open="true"] {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.gc-app-gate__top,
.gc-app-gate__actions {
  position: relative;
  z-index: 1;
}

.gc-app-gate__top {
  width: 100%;
  max-width: 680px;
  padding: clamp(2rem, 6vw, 4.5rem);
  text-align: center;
  background: var(--clean-white, #fff);
  color: var(--core-black, #000);
  border: 2px solid var(--core-black, #000);
  border-radius: 22px 22px 0 0;
  box-shadow: 12px 12px 0 var(--core-black, #000);
}

.gc-app-gate__mark {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.gc-app-gate__logo {
  display: block;
  width: min(220px, 62vw);
  height: auto;
  max-height: 46px;
  object-fit: contain;
}

.gc-app-gate__est {
  font-family: var(--body);
  font-size: clamp(0.72rem, 1.8vw, 0.88rem);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.58);
}

.gc-app-gate__title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.25rem, 11vw, 7.4rem);
  line-height: 0.82;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  color: var(--core-black, #000);
}

.gc-app-gate__sub {
  max-width: 36ch;
  margin: clamp(1.25rem, 3vw, 1.75rem) auto 0;
  font-family: var(--body);
  font-size: clamp(0.96rem, 2vw, 1.1rem);
  line-height: 1.45;
  color: rgba(0, 0, 0, 0.64);
}

.gc-app-gate__actions {
  width: 100%;
  max-width: 680px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 0;
  border: 2px solid var(--core-black, #000);
  border-top: 0;
  border-radius: 0 0 22px 22px;
  overflow: hidden;
  box-shadow: 12px 12px 0 var(--core-black, #000);
}

.gc-app-gate__yes,
.gc-app-gate__no {
  min-height: 72px;
  padding: 1rem 1.2rem;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  font-family: var(--display);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}

.gc-app-gate__yes {
  background: var(--core-black, #000);
  color: var(--clean-white, #fff);
}

.gc-app-gate__yes:hover,
.gc-app-gate__yes:focus-visible {
  background: var(--deal-lime, #A7D84B);
  color: var(--core-black, #000);
  outline: 0;
}

.gc-app-gate__no {
  background: var(--clean-white, #fff);
  color: rgba(0, 0, 0, 0.68);
  border-left: 2px solid var(--core-black, #000);
}

.gc-app-gate__no:hover,
.gc-app-gate__no:focus-visible {
  background: var(--soft-green, #F2F8EC);
  color: var(--core-black, #000);
  outline: 0;
}

@media (max-width: 620px) {
  .gc-app-gate {
    align-content: center;
    padding: max(1rem, env(safe-area-inset-top)) 1rem max(1rem, env(safe-area-inset-bottom));
  }

  .gc-app-gate__top {
    padding: 2rem 1.35rem 1.6rem;
    border-radius: 18px 18px 0 0;
    box-shadow: 7px 7px 0 var(--core-black, #000);
  }

  .gc-app-gate__actions {
    grid-template-columns: 1fr;
    border-radius: 0 0 18px 18px;
    box-shadow: 7px 7px 0 var(--core-black, #000);
  }

  .gc-app-gate__yes,
  .gc-app-gate__no {
    min-height: 62px;
  }

  .gc-app-gate__no {
    border-left: 0;
    border-top: 2px solid var(--core-black, #000);
  }
}
