/* ═══════════════════════════════════════════════════════════════════════
   HKR HIJABS — SUPPORT PORTAL · APP-STYLE STYLESHEET
   Brand: #550000 · #e3bc6c · #faf5f0 · #7F6051
   Design: mobile-first, no extra padding, compact typography
   ═══════════════════════════════════════════════════════════════════════ */

/* ─── 1. DESIGN TOKENS ──────────────────────────────────────────────── */
:root{
  /* Brand */
  --brand:         #550000;
  --brand-dark:    #3d0000;
  --brand-deep:    #2a0000;
  --brand-soft:    #F4E7E7;
  --brand-ghost:   #FBF2F2;

  --gold:          #e3bc6c;
  --gold-dark:     #c9a04f;
  --gold-soft:     #f3dab3;
  --gold-ghost:    #FAF2E0;

  --brown:         #7F6051;
  --brown-soft:    #F5EDE9;

  --cream:         #faf5f0;
  --cream-2:       #F3EAE0;
  --white:         #FFFFFF;

  /* Text */
  --ink:           #1c0a0a;
  --ink-2:         #3B2A2A;
  --ink-3:         #6b5c5c;
  --ink-4:         #a08a8a;

  /* Lines */
  --line:          #ede5df;
  --line-2:        #f4ece6;

  /* Semantic */
  --green:         #2e7d32;
  --green-soft:    #E4F3E8;
  --red:           #c62828;
  --red-soft:      #FBE6E6;
  --amber:         #e65100;
  --amber-soft:    #FFF3E0;
  --blue:          #1565c0;
  --blue-soft:     #E3F2FD;

  --wa:            #25D366;
  --wa-dark:       #1DA851;

  /* Shiny gradient */
  --shiny:         linear-gradient(90deg, #7F6051, #e3bc6c, #f3dab3, #e3bc6c, #7F6051);

  /* Radii */
  --r-xs:  6px;
  --r-sm:  10px;
  --r-md:  14px;
  --r-lg:  18px;
  --r-xl:  24px;
  --r-pill:999px;

  /* Shadows */
  --sh-xs:  0 1px 2px rgba(85,0,0,.05);
  --sh-sm:  0 2px 8px rgba(85,0,0,.06);
  --sh-md:  0 6px 18px rgba(85,0,0,.08);
  --sh-lg:  0 14px 34px rgba(85,0,0,.12);
  --sh-xl:  0 24px 60px rgba(85,0,0,.18);
  --sh-focus: 0 0 0 3px rgba(85,0,0,.12);

  /* Motion */
  --e-out:      cubic-bezier(.22,1,.36,1);
  --e-in-out:   cubic-bezier(.65,0,.35,1);
  --e-spring:   cubic-bezier(.34,1.56,.64,1);
  --t-fast:     .16s;
  --t:          .24s;
  --t-slow:     .38s;

  /* Layout */
  --wrap:       1180px;
  --gutter:     14px;
  --appbar-h:   52px;
  --bottom-nav-h: 60px;

  /* Type */
  --fs-xxs: 10px;
  --fs-xs:  11px;
  --fs-sm:  12px;
  --fs-base:13px;
  --fs-md:  14px;
  --fs-lg:  16px;
  --fs-xl:  18px;
  --fs-2xl: 22px;
  --fs-3xl: 26px;
  --fs-4xl: 32px;

  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto,
          'Noto Sans Devanagari','Noto Sans Gujarati','Noto Sans Tamil',
          'Noto Sans Telugu', sans-serif;

  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-l: env(safe-area-inset-left, 0px);
  --safe-r: env(safe-area-inset-right, 0px);
}

/* ─── 2. RESET ─────────────────────────────────────────────────────── */
*,*::before,*::after{ box-sizing:border-box; }
*{ margin:0; padding:0; }

html{
  -webkit-text-size-adjust:100%;
  -webkit-tap-highlight-color:transparent;
  scroll-behavior:smooth;
  scroll-padding-top: calc(var(--appbar-h) + var(--safe-t) + 8px);
}

body{
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.5;
  color: var(--ink);
  background: var(--cream);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
  min-height: 100dvh;
  padding-bottom: calc(var(--bottom-nav-h) + var(--safe-b));
}
body.is-locked{ overflow:hidden; touch-action:none; }

img,video,svg{ display:block; max-width:100%; height:auto; }
svg{ width:auto; height:auto; }

button,input,textarea,select{
  font:inherit; color:inherit; background:none; border:none; outline:none;
}
button{ cursor:pointer; -webkit-tap-highlight-color:transparent; }
button:disabled{ cursor:not-allowed; opacity:.6; }
input,textarea{ -webkit-appearance:none; appearance:none; border-radius:0; }
a{ color:inherit; text-decoration:none; }
ul,ol{ list-style:none; }
::selection{ background: var(--brand); color:#fff; }
/*:focus-visible{ outline:2px solid var(--brand); outline-offset:2px; border-radius:4px; }*/

::-webkit-scrollbar{ width:8px; height:8px; }
::-webkit-scrollbar-track{ background: transparent; }
::-webkit-scrollbar-thumb{ background: var(--line); border-radius:8px; }
::-webkit-scrollbar-thumb:hover{ background: var(--ink-4); }

/* ─── 3. LAYOUT ────────────────────────────────────────────────────── */
.wrap{
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
@media (min-width:640px){ :root{ --gutter:20px; } }
@media (min-width:1024px){ :root{ --gutter:28px; } }

.sec{
  padding-block: 32px;
  position: relative;
}
@media (min-width:768px){ .sec{ padding-block: 44px; } }
@media (min-width:1024px){ .sec{ padding-block: 56px; } }

.sec-head{ max-width: 600px; margin-bottom: 18px; }
.sec-head--light{ color: #fff; }
.sec-head--light p{ color: rgba(255,255,255,.82); }

.sec-head h2{
  font-size: var(--fs-xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--brand);
  margin-bottom: 6px;
}
.sec-head--light h2{ color: #fff; }

.sec-head p{
  font-size: var(--fs-base);
  color: var(--ink-3);
  line-height: 1.5;
}
@media (min-width:768px){
  .sec-head h2{ font-size: var(--fs-2xl); }
  .sec-head p{ font-size: var(--fs-md); }
}

.eyebrow{
  display: inline-block;
  font-size: var(--fs-xxs);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 3px 10px;
  border-radius: var(--r-pill);
  margin-bottom: 8px;
}
.eyebrow--light{ color:#fff; background: rgba(255,255,255,.16); }

/* ─── 4. BUTTONS ───────────────────────────────────────────────────── */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  font-size: var(--fs-base);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.005em;
  white-space: nowrap;
  border: 1.5px solid transparent;
  transition: transform .12s var(--e-out),
              background var(--t-fast) linear,
              color var(--t-fast) linear,
              border-color var(--t-fast) linear,
              box-shadow var(--t) var(--e-out);
  user-select: none;
  position: relative;
  overflow: hidden;
}
.btn:active{ transform: translateY(1px) scale(.985); }
.btn svg{ flex-shrink: 0; }

.btn-primary{
  background: var(--brand);
  color: #fff;
  box-shadow: 0 3px 10px rgba(85,0,0,.24);
}
.btn-primary:hover{ background: var(--brand-dark); box-shadow: 0 5px 16px rgba(85,0,0,.3); }

.btn-ghost{
  background: #fff;
  color: var(--brand);
  border-color: var(--line);
}
.btn-ghost:hover{ border-color: var(--brand); background: var(--brand-ghost); }

.btn-light{ background: #fff; color: var(--brand); box-shadow: 0 4px 14px rgba(0,0,0,.14); }
.btn-light:hover{ background: var(--cream); }

.btn-outline-light{
  background: transparent; color: #fff;
  border-color: rgba(255,255,255,.4);
}
.btn-outline-light:hover{ background: rgba(255,255,255,.12); border-color: #fff; }

.btn-sm{ padding: 7px 13px; font-size: var(--fs-xs); }
.btn-lg{ padding: 13px 22px; font-size: var(--fs-md); }
.btn-block{ width: 100%; }

.btn-label{ display:inline-block; }
.btn-spin{
  width: 12px; height: 12px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.35); border-top-color:#fff;
  animation: spin .7s linear infinite;
  display: inline-block;
}
.btn.is-loading .btn-label{ opacity:.6; }
@keyframes spin{ to{ transform: rotate(360deg); } }

/* ─── 5. APP BAR ───────────────────────────────────────────────────── */
.appbar{
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--appbar-h);
  background: rgba(250,245,240,.94);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line-2);
  padding-top: var(--safe-t);
  transition: box-shadow var(--t) var(--e-out);
}
.appbar.is-scrolled{ box-shadow: 0 4px 14px rgba(85,0,0,.06); }

.appbar-in{
  height: 100%;
  padding-inline: var(--gutter);
  max-width: var(--wrap);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.appbar-logo{ flex-shrink: 0; display: flex; align-items: center; }
.appbar-logo img{ height: 28px; width: auto; object-fit: contain; }
@media (min-width:640px){ .appbar-logo img{ height: 32px; } }

.appbar-nav{
  display: none;
  margin-left: auto;
  align-items: center;
  gap: 2px;
}
.appbar-nav a{
  padding: 7px 12px;
  border-radius: var(--r-pill);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink-2);
  transition: background var(--t-fast), color var(--t-fast);
}
.appbar-nav a:hover{ background: var(--brand-soft); color: var(--brand); }

.appbar-cta{
  display: none;
  align-items: center;
  gap: 5px;
  padding: 7px 13px;
  border-radius: var(--r-pill);
  background: var(--wa);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: 700;
  margin-left: 8px;
  box-shadow: 0 3px 10px rgba(37,211,102,.28);
  transition: background var(--t-fast), transform .1s;
}
.appbar-cta:hover{ background: var(--wa-dark); }
.appbar-cta:active{ transform: scale(.97); }

.appbar-menu{
  margin-left: auto;
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  color: var(--ink);
  transition: background var(--t-fast);
}
.appbar-menu:hover{ background: var(--brand-soft); }

@media (min-width:880px){
  .appbar-nav{ display: flex; }
  .appbar-cta{ display: inline-flex; }
  .appbar-menu{ display: none; }
}

/* ─── 6. DRAWER ────────────────────────────────────────────────────── */
.drawer-scrim{
  position: fixed; inset: 0;
  background: rgba(28,10,10,.5);
  backdrop-filter: blur(3px);
  z-index: 90;
  opacity: 0;
  animation: fadeIn var(--t) var(--e-out) forwards;
}
.drawer-scrim.is-closing{ animation: fadeOut var(--t) var(--e-out) forwards; }

.drawer{
  position: fixed; top: 0; right: 0;
  width: min(290px, 86vw);
  height: 100%; height: 100dvh;
  background: #fff;
  z-index: 100;
  display: flex; flex-direction: column;
  padding-top: var(--safe-t);
  padding-bottom: var(--safe-b);
  box-shadow: -20px 0 60px rgba(28,10,10,.2);
  transform: translateX(100%);
  animation: slideInRight var(--t) var(--e-out) forwards;
}
.drawer.is-closing{ animation: slideOutRight var(--t) var(--e-out) forwards; }

.drawer-head{
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-2);
}
.drawer-head img{ height: 26px; width: auto; object-fit: contain; }

.drawer-close{
  width: 32px; height: 32px;
  border-radius: 10px;
  display: grid; place-items: center;
  color: var(--ink-3);
  transition: background var(--t-fast);
}
.drawer-close:hover{ background: var(--brand-soft); color: var(--brand); }

.drawer-nav{
  flex: 1;
  padding: 10px 8px;
  display: flex; flex-direction: column; gap: 2px;
  overflow-y: auto;
}
.drawer-nav a{
  display: flex; align-items: center; gap: 12px;
  padding: 11px 12px;
  border-radius: var(--r-sm);
  font-size: var(--fs-md);
  font-weight: 500;
  color: var(--ink-2);
  transition: background var(--t-fast), color var(--t-fast);
}
.drawer-nav a:hover,
.drawer-nav a:active{ background: var(--brand-soft); color: var(--brand); }
.drawer-nav a svg{ color: var(--brand); flex-shrink: 0; }

.drawer-foot{
  padding: 12px 14px 16px;
  border-top: 1px solid var(--line-2);
  font-size: var(--fs-xs);
}
.drawer-foot p{ color: var(--ink-4); margin-bottom: 3px; }
.drawer-foot a{ color: var(--brand); font-weight: 700; font-size: var(--fs-md); }

/* ─── 7. HERO ──────────────────────────────────────────────────────── */
.hero{
  position: relative;
  overflow: hidden;
  padding: 16px 0 22px;
  background: linear-gradient(180deg, var(--cream) 0%, #FFFFFF 100%);
}
@media (min-width:768px){ .hero{ padding: 28px 0 40px; } }
@media (min-width:1024px){ .hero{ padding: 40px 0 52px; } }

.hero-bg{
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(700px 380px at 88% -10%, rgba(227,188,108,.16), transparent 62%),
    radial-gradient(600px 340px at -10% 20%, rgba(85,0,0,.06), transparent 62%);
}

.hero-wrap{ position: relative; }

.lang-scroll{
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 0 14px;
  padding: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  scroll-padding-inline-start: 2px;
  overscroll-behavior-x: contain;
  /* pan-y is required so vertical drags propagate to the page */
  touch-action: pan-x pan-y;
  -webkit-user-select: none;
  user-select: none;
  scroll-behavior: smooth;
}
.lang-scroll::-webkit-scrollbar{ display:none; }

.lang-bar{
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
  padding: 3px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  width: max-content;                     /* ← shrinks to content, no min-width */
  box-shadow: var(--sh-xs);
}
.lang{
  flex-shrink: 0;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--ink-3);
  transition: background var(--t-fast), color var(--t-fast);
  white-space: nowrap;
  scroll-snap-align: center;
  -webkit-tap-highlight-color: transparent;
}
.lang:hover{ color: var(--brand); background: var(--brand-ghost); }
.lang.is-active{
  background: var(--brand);
  color: #fff;
  box-shadow: 0 3px 10px rgba(85,0,0,.28);
}

/* Hero pill */
.hero-pill{
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 11px 4px 9px;
  background: var(--green-soft);
  color: var(--green);
  border-radius: var(--r-pill);
  font-size: var(--fs-xxs);
  font-weight: 700;
  margin-bottom: 10px;
}
.pulse{
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  position: relative; flex-shrink: 0;
}
.pulse::after{
  content:''; position: absolute; inset: -3px;
  border-radius: 50%; background: var(--green); opacity:.35;
  animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse{
  0%{ transform: scale(.6); opacity:.5; }
  70%{ transform: scale(1.6); opacity:0; }
  100%{ transform: scale(1.6); opacity:0; }
}

/* Hero grid */
.hero-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: center;
}
@media (min-width:960px){
  .hero-grid{
    grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr);
    gap: 36px;
  }
}

.hero-title{
  font-size: var(--fs-2xl);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.028em;
  color: var(--brand);
  margin-bottom: 10px;
  text-wrap: balance;
}
.hero-lead{
  font-size: var(--fs-base);
  line-height: 1.5;
  color: var(--ink-2);
  margin-bottom: 8px;
  max-width: 520px;
}
.hero-para{
  font-size: var(--fs-sm);
  line-height: 1.55;
  color: var(--ink-3);
  padding: 9px 12px;
  background: var(--gold-ghost);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  margin-bottom: 14px;
  max-width: 540px;
}
@media (min-width:768px){
  .hero-title{ font-size: var(--fs-3xl); }
  .hero-lead{ font-size: var(--fs-md); }
  .hero-para{ font-size: var(--fs-base); }
}
@media (min-width:1024px){
  .hero-title{ font-size: var(--fs-4xl); }
}

.hero-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.hero-actions .btn{ flex: 1 1 auto; min-width: 130px; }

.hero-trust{
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: var(--fs-xxs);
  color: var(--ink-3);
  font-weight: 500;
}
.hero-trust li{
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.dot{ width: 5px; height: 5px; border-radius: 50%; background: var(--gold); flex-shrink:0; }

/* Hero media */
.hero-media{ position: relative; order: -1; }
@media (min-width:960px){ .hero-media{ order: 0; } }

.media-frame{
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--brand-deep);
  box-shadow: 0 20px 50px -14px rgba(85,0,0,.35);
  aspect-ratio: 4 / 3;
}
@media (min-width:960px){ .media-frame{ aspect-ratio: 5 / 4; } }

.hero-video{ width: 100%; height: 100%; object-fit: cover; display: block; }

.media-glow{
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(42,0,0,.55) 100%);
}

/* Video mute button (top-right of frame) */
/* Video mute button (top-right of frame) */
.video-mute{
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 5;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
  transition: background var(--t-fast), transform .12s;
}
.video-mute:hover{ background: rgba(0,0,0,.65); }
.video-mute:active{ transform: scale(.94); }

/* Icon swap driven by data-state — bulletproof across all browsers */
.video-mute .ic-mute,
.video-mute .ic-sound{
  color: #fff;
  grid-area: 1 / 1;          /* stack both icons in the same cell */
  transition: opacity .18s var(--e-out);
  pointer-events: none;
}

.video-mute[data-state="muted"] .ic-mute  { display: block; opacity: 1; }
.video-mute[data-state="muted"] .ic-sound { display: none;  opacity: 0; }

.video-mute[data-state="unmuted"] .ic-mute  { display: none;  opacity: 0; }
.video-mute[data-state="unmuted"] .ic-sound { display: block; opacity: 1; }

.media-badge{
  position: absolute;
  left: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(6px);
  border-radius: var(--r-pill);
  font-size: var(--fs-xxs);
  font-weight: 700;
  color: var(--brand);
  box-shadow: var(--sh-sm);
}
.media-badge svg{ color: var(--gold); }

/* ─── 8. STRIP (scrollable carousel on mobile) ─────────────────────── */
.strip{
  background: var(--brand-deep);
  color: #fff;
  padding: 12px 0;
  overflow: hidden;
}
.strip-scroll{
  position: relative;
  width: 100%;
  padding-inline: var(--gutter);
  scroll-padding-inline-start: var(--gutter);
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  /* pan-y is required so vertical drags propagate to the page */
  touch-action: pan-x pan-y;
  -webkit-user-select: none;
  user-select: none;
  cursor: grab;
  will-change: scroll-position;
}
.strip-scroll.is-dragging{
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
}
.strip-scroll.is-dragging *{ pointer-events: none; }
.strip-scroll::-webkit-scrollbar{ display:none; }

.strip-track{
  display: flex;
  gap: 10px;
  width: max-content;
  padding-block: 2px;
}

.strip-card{
  flex-shrink: 0;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 10px 14px;
  min-width: 170px;                       /* slightly wider so nothing clips */
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-md);
}
.strip-ico{
  display: inline-grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: 9px;
  background: rgba(227,188,108,.16);
  color: var(--gold);
  margin-bottom: 2px;
}
.strip-card b{
  font-size: var(--fs-sm);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.strip-card i{
  font-style: normal;
  font-size: var(--fs-xxs);
  color: rgba(255,255,255,.65);
  font-weight: 500;
  line-height: 1.3;
}

/* Dots — placed OUTSIDE .strip-scroll, so they never scroll */
@media (min-width:900px){
  .strip-scroll{
    max-width: var(--wrap);
    margin-inline: auto;
    padding-inline: var(--gutter);
    scroll-padding-inline-start: var(--gutter);
    overflow: visible;
  }
  .strip-track{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4,1fr);
  }
  .strip-card{ min-width: 0; }
}
/* ─── 9. TRACK FORM ────────────────────────────────────────────────── */
.sec-track{ background: #fff; }

.track-form{ max-width: 660px; }

.field-inline{
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--r-lg);
  padding: 6px;
  box-shadow: var(--sh-xs);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field-inline:focus-within{
  border-color: var(--brand);
  box-shadow: var(--sh-focus);
}

.field-ico{ display: none; }

.field-inline input{
  width: 100%;
  padding: 11px 13px;
  font-size: var(--fs-md);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: .01em;
  background: transparent;
  min-width: 0;
}
.field-inline input::placeholder{ color: var(--ink-4); font-weight: 400; }

.field-inline .btn{
  width: 100%;
  padding: 11px 20px;
  font-size: var(--fs-base);
}

@media (min-width:560px){
  .field-inline{
    flex-direction: row;
    align-items: center;
    padding: 5px 5px 5px 6px;
  }
  .field-ico{
    display: grid;
    place-items: center;
    width: 36px; height: 36px;
    border-radius: 10px;
    background: var(--brand-ghost);
    color: var(--brand);
    flex-shrink: 0;
  }
  .field-inline input{ padding: 9px 8px; }
  .field-inline .btn{ width: auto; padding: 10px 20px; }
}

.hint{
  font-size: var(--fs-xxs);
  color: var(--ink-4);
  margin-top: 6px;
  padding-left: 4px;
}

/* ─── 10. TRACK RESULT ─────────────────────────────────────────────── */
.track-result{ margin-top: 18px; }

.tr-empty{
  padding: 22px 16px;
  text-align: center;
  color: var(--ink-3);
  background: var(--cream);
  border-radius: var(--r-lg);
  border: 1px dashed var(--line);
}
.tr-empty svg{ margin: 0 auto 8px; color: var(--ink-4); }
.tr-empty h4{ font-size: var(--fs-md); color: var(--ink-2); margin-bottom: 3px; font-weight: 700; }
.tr-empty p{ font-size: var(--fs-sm); color: var(--ink-3); }

.tr-error{
  padding: 14px 16px;
  background: var(--red-soft);
  border-left: 4px solid var(--red);
  border-radius: var(--r-sm);
  color: var(--red);
  font-size: var(--fs-sm);
  font-weight: 500;
}

/* Shipment card */
.ship-card{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  margin-bottom: 14px;
  animation: slideUp .4s var(--e-out);
}
@keyframes slideUp{
  from{ opacity:0; transform: translateY(10px); }
  to{ opacity:1; transform: translateY(0); }
}

.ship-head{
  padding: 14px 16px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: #fff;
  display: flex; flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}
.ship-head-left{ flex:1; min-width:0; }
.ship-head h3{
  font-size: var(--fs-md);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 2px;
  word-break: break-all;
}
.ship-head p{
  font-size: var(--fs-xxs);
  color: rgba(255,255,255,.72);
  font-weight: 500;
  letter-spacing: .02em;
}

.status-pill{
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  border-radius: var(--r-pill);
  font-size: var(--fs-xxs);
  font-weight: 700;
  text-transform: capitalize;
  letter-spacing: .02em;
  background: rgba(255,255,255,.16);
  color: #fff;
  border: 1px solid rgba(255,255,255,.24);
  white-space: nowrap;
}
.status-pill::before{
  content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor;
}
.status-pill--delivered{ background:#2e7d32; border-color:#2e7d32; }
.status-pill--out-for-delivery{ background:#1565c0; border-color:#1565c0; }
.status-pill--in-transit{ background:#e65100; border-color:#e65100; }
.status-pill--picked-up{ background:#e3bc6c; border-color:#e3bc6c; color:#1c0a0a; }
.status-pill--undelivered,
.status-pill--failed,
.status-pill--rto{ background:#c62828; border-color:#c62828; }

.ship-meta{
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 1px;
  background: var(--line-2);
  border-bottom: 1px solid var(--line-2);
}
@media (min-width:640px){ .ship-meta{ grid-template-columns: repeat(4,1fr); } }

.meta-cell{ background: #fff; padding: 10px 12px; }
.meta-cell span{
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 3px;
}
.meta-cell b{
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
  word-break: break-word;
}

/* Timeline */
.tl-wrap{ padding: 14px 16px 4px; }
.tl-wrap h4{
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--ink-2);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 7px;
}
.tl-wrap h4 svg{ color: var(--brand); }

.ship-timeline{
  position: relative;
  padding-left: 22px;
  padding-bottom: 8px;
}
.ship-timeline::before{
  content: ''; position: absolute;
  left: 7px; top: 5px; bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--brand) 0%, var(--line) 100%);
  border-radius: 2px;
}

.tl-event{ position: relative; padding: 0 0 14px 0; }
.tl-event:last-child{ padding-bottom: 2px; }

.tl-event::before{
  content: ''; position: absolute;
  left: -19px; top: 3px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: #fff;
  border: 2.5px solid var(--line);
  box-shadow: 0 0 0 3px #fff;
  transition: all var(--t) var(--e-out);
}
.tl-event.is-latest::before{
  border-color: var(--brand);
  background: var(--brand);
  box-shadow: 0 0 0 3px #fff, 0 0 0 6px rgba(85,0,0,.14);
  animation: tlPulse 2s ease-in-out infinite;
}
@keyframes tlPulse{
  0%,100%{ box-shadow: 0 0 0 3px #fff, 0 0 0 6px rgba(85,0,0,.14); }
  50%    { box-shadow: 0 0 0 3px #fff, 0 0 0 9px rgba(85,0,0,.06); }
}
.tl-event.is-done::before{ border-color: var(--brand); }

.tl-act{
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: .03em;
  margin-bottom: 3px;
  line-height: 1.3;
}
.tl-event.is-latest .tl-act{ color: var(--brand); }

.tl-meta{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: var(--fs-xxs);
  color: var(--ink-3);
  font-weight: 500;
}
.tl-meta span{ display: inline-flex; align-items: center; gap: 4px; }
.tl-meta svg{ width: 11px; height: 11px; color: var(--ink-4); }

/* Ship actions */
.ship-actions{
  padding: 12px 16px 14px;
  display: flex; flex-wrap: wrap; gap: 8px;
  border-top: 1px solid var(--line-2);
  background: var(--cream);
}
.ship-actions .btn{ flex: 1 1 auto; min-width: 130px; }

/* Not satisfied card */
.not-sat{
  margin-top: 14px;
  padding: 16px;
  background: linear-gradient(135deg, var(--gold-ghost) 0%, #fff 100%);
  border: 1px solid rgba(227,188,108,.4);
  border-radius: var(--r-lg);
  text-align: center;
}
.not-sat h4{
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 4px;
}
.not-sat p{
  font-size: var(--fs-sm);
  color: var(--ink-3);
  margin-bottom: 12px;
}
.not-sat .btn{ width: 100%; }
@media (min-width:480px){ .not-sat .btn{ width: auto; } }

/* ─── 11. HOW IT WORKS — scrollable cards ─────────────────────────── */
.sec-how{ background: var(--cream); overflow: hidden; }
.sec-how .wrap{ padding-bottom: 0; }

/* Desktop: center header + constrain full section to wrap width */
@media (min-width:900px){
  .sec-how .sec-head{
    text-align: center;
    margin-inline: auto;
    max-width: 640px;
  }
  .sec-how .how-scroll{
    max-width: var(--wrap);
    margin-inline: auto;
    padding-inline: var(--gutter);
    scroll-padding-inline-start: var(--gutter);
  }
}

.how-scroll{
  position: relative;
  width: 100%;
  margin: 4px 0 0;
  padding-inline: var(--gutter);
  scroll-padding-inline-start: var(--gutter);
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  /* pan-y is required so vertical drags propagate to the page */
  touch-action: pan-x pan-y;
  -webkit-user-select: none;
  user-select: none;
  cursor: grab;
  will-change: scroll-position;
}
.how-scroll.is-dragging{
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
}
.how-scroll.is-dragging *{ pointer-events: none; }
.how-scroll::-webkit-scrollbar{ display:none; }

.how-track{
  display: flex;
  gap: 10px;
  width: max-content;
  padding-block: 10px 0;
}

.how-card{
  flex-shrink: 0;
  scroll-snap-align: start;
  width: 230px;                            /* slightly wider so text fits */
  padding: 18px 16px 16px;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-xs);
  position: relative;
  transition: transform var(--t) var(--e-out), box-shadow var(--t);
}
.how-card:hover{ transform: translateY(-3px); box-shadow: var(--sh-md); }

.how-n{
  position: absolute;
  top: -8px;
  left: 14px;
  background: var(--brand);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  box-shadow: 0 4px 10px rgba(85,0,0,.24);
}
.how-ico{
  width: 36px; height: 36px;
  border-radius: 11px;
  display: grid; place-items: center;
  background: var(--brand-ghost);
  color: var(--brand);
  margin-bottom: 10px;
}
.how-card h4{
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 5px;
  letter-spacing: -0.01em;
}
.how-card p{
  font-size: var(--fs-sm);
  color: var(--ink-3);
  line-height: 1.5;
}
.how-card strong{ color: var(--brand); font-weight: 700; }

/* Dots — placed OUTSIDE .how-scroll */
@media (min-width:900px){
  .how-track{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 12px;
  }
  .how-scroll{ overflow: visible; padding-inline: 0; scroll-padding-inline-start: 0; }
  .how-card{ width: auto; }
}

/* ─── 12. GRIEVANCE CTA ────────────────────────────────────────────── */
.sec-grievance{
  background:
    radial-gradient(600px 340px at 80% 0%, rgba(227,188,108,.18), transparent 62%),
    linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.sec-grievance::before{
  content:''; position:absolute; inset:0;
  background-image:
    radial-gradient(circle at 20% 100%, rgba(255,255,255,.05) 0%, transparent 40%),
    radial-gradient(circle at 90% 20%, rgba(227,188,108,.14) 0%, transparent 40%);
  pointer-events: none;
}

.grievance-actions{
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 26px;
  position: relative;
}
.grievance-actions .btn{ flex: 1 1 auto; min-width: 160px; }

.promise-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  position: relative;
}
@media (min-width:640px){ .promise-grid{ grid-template-columns: repeat(2,1fr); } }
@media (min-width:1024px){ .promise-grid{ grid-template-columns: repeat(4,1fr); } }

.promise{
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r-lg);
  padding: 14px 13px;
  transition: background var(--t) var(--e-out), border-color var(--t) var(--e-out);
}
.promise:hover{ background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.28); }

.promise-n{
  display: inline-grid;
  place-items: center;
  width: 22px; height: 22px;
  border-radius: 7px;
  background: var(--gold);
  color: var(--brand-deep);
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 8px;
}
.promise h4{
  font-size: var(--fs-sm);
  font-weight: 700;
  color: #fff;
  margin-bottom: 3px;
}
.promise p{
  font-size: var(--fs-xs);
  color: rgba(255,255,255,.76);
  line-height: 1.5;
}
.promise strong{ color: var(--gold-soft); font-weight: 700; }

/* ─── 13. FAQ ──────────────────────────────────────────────────────── */
/* ─── 13. FAQ ──────────────────────────────────────────────────────── */
.sec-faq{ background: #fff; }

.faq-list{
  display: flex; flex-direction: column; gap: 6px;
  max-width: 760px;
  margin-inline: auto;      /* center the list */
}

/* Desktop: center header, keep FAQ list centered at 760px */
@media (min-width:900px){
  .sec-faq .sec-head{
    text-align: center;
    margin-inline: auto;
    max-width: 640px;
  }
}

.faq{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.faq:hover{ border-color: rgba(85,0,0,.28); }
.faq[open]{
  border-color: rgba(85,0,0,.35);
  box-shadow: var(--sh-sm);
}

.faq summary{
  list-style: none;
  padding: 13px 40px 13px 14px;
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color var(--t-fast);
}
.faq summary::-webkit-details-marker{ display:none; }
.faq summary:hover{ color: var(--brand); }
.faq[open] summary{ color: var(--brand); }

.faq-chev{
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px; height: 22px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--brand-ghost);
  color: var(--brand);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  transition: transform var(--t) var(--e-out), background var(--t-fast), color var(--t-fast);
}
.faq[open] .faq-chev{
  transform: translateY(-50%) rotate(45deg);
  background: var(--brand);
  color: #fff;
}

.faq-body{
  padding: 0 14px 14px;
  font-size: var(--fs-sm);
  color: var(--ink-3);
  line-height: 1.6;
  animation: faqOpen .28s var(--e-out);
}
.faq-body b{ color: var(--ink); font-weight: 700; }
.faq-body i{
  font-style: normal;
  background: var(--brand-soft);
  padding: 1px 6px;
  border-radius: 4px;
  color: var(--brand);
  font-weight: 700;
  font-size: 11px;
}

@keyframes faqOpen{
  from{ opacity:0; transform: translateY(-4px); }
  to{ opacity:1; transform: translateY(0); }
}

/* ─── 14. MY TICKET ────────────────────────────────────────────────── */
.sec-ticket{ background: var(--cream); }

/* Ticket card */
.ticket-card{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  animation: slideUp .4s var(--e-out);
}

.ticket-head{
  padding: 14px 16px;
  background: linear-gradient(135deg, #2a0000 0%, #1c0a0a 100%);
  color: #fff;
  display: flex; flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}
.ticket-head h3{
  font-size: var(--fs-md);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 2px;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
}
.ticket-head p{
  font-size: var(--fs-xxs);
  color: rgba(255,255,255,.65);
}

.ticket-status{
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  border-radius: var(--r-pill);
  font-size: var(--fs-xxs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #fff;
}
.ticket-status::before{
  content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor;
}

.ticket-body{ padding: 14px 16px; }

.ticket-grid{
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 1px;
  background: var(--line-2);
  border-radius: var(--r-md);
  overflow: hidden;
  margin-bottom: 14px;
  border: 1px solid var(--line-2);
}
@media (min-width:640px){ .ticket-grid{ grid-template-columns: repeat(3,1fr); } }

.tg-cell{ background: #fff; padding: 10px 12px; }
.tg-cell span{
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 3px;
}
.tg-cell b{
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink);
  word-break: break-word;
  line-height: 1.3;
}

.ticket-desc{
  padding: 11px 13px;
  background: var(--cream);
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  color: var(--ink-2);
  line-height: 1.55;
  margin-bottom: 14px;
  border-left: 3px solid var(--brand);
}

/* Ticket history — interactive timeline */
.ticket-history h4{
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--ink-2);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 12px;
}

.ticket-timeline{
  position: relative;
  padding-left: 22px;
}
.ticket-timeline::before{
  content: ''; position: absolute;
  left: 6px; top: 6px; bottom: 6px;
  width: 2px;
  background: var(--line);
  border-radius: 2px;
}

.tt-item{
  position: relative;
  padding-bottom: 14px;
  cursor: pointer;
  border-radius: var(--r-sm);
  transition: background var(--t-fast);
}
.tt-item:hover{ background: var(--brand-ghost); }
.tt-item:last-child{ padding-bottom: 0; }

.tt-item::before{
  content: ''; position: absolute;
  left: -19px; top: 3px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: #fff;
  border: 2.5px solid var(--line);
  box-shadow: 0 0 0 3px #fff;
  transition: all var(--t) var(--e-out);
}
.tt-item.is-latest::before{
  border-color: var(--brand);
  background: var(--brand);
  box-shadow: 0 0 0 3px #fff, 0 0 0 6px rgba(85,0,0,.14);
  animation: tlPulse 2s ease-in-out infinite;
}

.tt-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 2px;
}
.tt-status{
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--ink);
  text-transform: capitalize;
}
.tt-item.is-latest .tt-status{ color: var(--brand); }

.tt-chev{
  font-size: 11px;
  color: var(--ink-4);
  font-weight: 700;
  transition: transform var(--t) var(--e-out);
}
.tt-item.is-open .tt-chev{ transform: rotate(180deg); color: var(--brand); }

.tt-body{
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-slow) var(--e-out), padding var(--t-slow) var(--e-out);
}
.tt-item.is-open .tt-body{
  max-height: 300px;
  padding-top: 6px;
}

.tt-note{
  font-size: var(--fs-xs);
  color: var(--ink-3);
  line-height: 1.55;
  margin-bottom: 4px;
}
.tt-date{
  font-size: 10px;
  color: var(--ink-4);
  font-weight: 500;
}

/* Feedback prompt on resolved tickets */
.ticket-feedback{
  margin-top: 16px;
  padding: 14px;
  background: linear-gradient(135deg, var(--gold-ghost) 0%, #fff 100%);
  border: 1px solid rgba(227,188,108,.4);
  border-radius: var(--r-lg);
  text-align: center;
}
.ticket-feedback h4{
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 3px;
}
.ticket-feedback p{
  font-size: var(--fs-sm);
  color: var(--ink-3);
  margin-bottom: 12px;
}
.ticket-feedback .btn{ width: 100%; }
@media (min-width:480px){ .ticket-feedback .btn{ width: auto; } }

/* ─── 15. SUPPORT (scroll isolated) ────────────────────────────────── */
/* ─── 15. SUPPORT (scroll isolated) ────────────────────────────────── */
.sec-support{ background: #fff; overflow: hidden; }
.sec-support .wrap{ padding-bottom: 0; }

/* Desktop: center header + constrain support grid to wrap width */
@media (min-width:900px){
  .sec-support .sec-head{
    text-align: center;
    margin-inline: auto;
    max-width: 640px;
  }
  .sec-support .support-scroll{
    max-width: var(--wrap);
    margin-inline: auto;
    padding-inline: var(--gutter);
    scroll-padding-inline-start: var(--gutter);
  }
}

.support-scroll{
  position: relative;
  width: 100%;
  margin: 4px 0 0;
  padding-inline: var(--gutter);
  scroll-padding-inline-start: var(--gutter);
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  /* pan-y is required so vertical drags propagate to the page */
  touch-action: pan-x pan-y;
  -webkit-user-select: none;
  user-select: none;
  cursor: grab;
  will-change: scroll-position;
}
.support-scroll.is-dragging{
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
}
.support-scroll.is-dragging *{ pointer-events: none; }
.support-scroll::-webkit-scrollbar{ display:none; }

.support-track{
  display: flex;
  gap: 10px;
  width: max-content;
  padding-block: 2px 4px;
}

.support-card{
  flex-shrink: 0;
  scroll-snap-align: start;
  width: 180px;                            /* slightly wider to fit email */
  padding: 16px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: transform var(--t) var(--e-out), box-shadow var(--t), border-color var(--t-fast);
}
.support-card:not(.support-card--static):hover{
  transform: translateY(-3px);
  box-shadow: var(--sh-md);
  border-color: rgba(85,0,0,.2);
}
.support-card--static{ cursor: default; }

.sc-ico{
  width: 38px; height: 38px;
  border-radius: 11px;
  display: grid; place-items: center;
  background: var(--brand-ghost);
  color: var(--brand);
  margin-bottom: 6px;
}
.sc-ico--wa{ background: #E4F9EC; color: var(--wa-dark); }

.support-card b{
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.support-card i{
  font-style: normal;
  font-size: var(--fs-xs);
  color: var(--ink-3);
  font-weight: 500;
  word-break: break-word;
  line-height: 1.4;
}
.support-card em{
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  color: var(--brand);
  margin-top: 4px;
}
.support-card em svg{ transition: transform var(--t-fast); }
.support-card:not(.support-card--static):hover em svg{ transform: translateX(3px); }
.sc-muted{ color: var(--ink-4) !important; }

/* Dots — placed OUTSIDE .support-scroll */
@media (min-width:900px){
  .support-track{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 12px;
  }
  .support-scroll{ overflow: visible; padding-inline: 0; scroll-padding-inline-start: 0; }
  .support-card{ width: auto; }
}

/* ─── 16. PROMISE BOX ─────────────────────────────────────────────── */
.sec-promise{ background: var(--cream); padding-block: 34px; }
@media (min-width:768px){ .sec-promise{ padding-block: 56px; } }

.promise-box{
  position: relative;
  max-width: 720px;
  margin-inline: auto;
  background: #fff;
  border-radius: var(--r-xl);
  padding: 24px 18px;
  text-align: center;
  box-shadow: var(--sh-md);
  border: 1px solid var(--line-2);
  overflow: hidden;
}
@media (min-width:768px){ .promise-box{ padding: 36px 32px; } }

.promise-box::before{
  content: ''; position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 56px; height: 4px;
  background: var(--shiny);
  background-size: 300% 100%;
  animation: shine 8s linear infinite;
  border-radius: 0 0 4px 4px;
}
@keyframes shine{
  0%{ background-position: 0% 50%; }
  100%{ background-position: 200% 50%; }
}

.pb-heart{
  font-size: 26px;
  margin-bottom: 4px;
  filter: drop-shadow(0 4px 8px rgba(85,0,0,.14));
}

.promise-box h2{
  font-size: var(--fs-xl);
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
@media (min-width:768px){ .promise-box h2{ font-size: var(--fs-2xl); } }

.promise-lead{
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--brand);
  margin-bottom: 12px;
}

.promise-body{
  font-size: var(--fs-sm);
  color: var(--ink-3);
  line-height: 1.6;
  margin-bottom: 14px;
  max-width: 520px;
  margin-inline: auto;
}
@media (min-width:768px){ .promise-body{ font-size: var(--fs-md); } }
.promise-body strong{ color: var(--ink); font-weight: 700; }

.promise-sign{
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--ink-2);
  font-style: italic;
  padding: 12px 14px;
  background: var(--brand-ghost);
  border-radius: var(--r-md);
  margin-bottom: 10px;
  line-height: 1.55;
}

.promise-team{
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--brand);
  letter-spacing: .02em;
}

/* ─── 17. MINIMAL FOOTER ───────────────────────────────────────────── */
.foot{
  background: #1c0a0a;
  color: #fff;
  padding: 14px 0;
  padding-bottom: calc(14px + var(--safe-b));
}
.foot-in{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-xs);
  color: rgba(255,255,255,.55);
}
.foot-in a{
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--gold);
  font-weight: 600;
  transition: color var(--t-fast);
}
.foot-in a:hover{ color: var(--gold-soft); }

/* ─── 18. BOTTOM NAVIGATION (App-style) ────────────────────────────── */
.bottom-nav{
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: calc(var(--bottom-nav-h) + var(--safe-b));
  padding-bottom: var(--safe-b);
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-top: 1px solid var(--line-2);
  z-index: 55;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding-inline: 6px;
  box-shadow: 0 -4px 20px rgba(85,0,0,.06);
}

.bn-item{
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 6px 2px;
  border-radius: var(--r-sm);
  color: var(--ink-4);
  font-size: 10px;
  font-weight: 600;
  transition: color var(--t-fast), transform .12s;
  position: relative;
}
.bn-item svg{ transition: transform .15s var(--e-spring), color var(--t-fast); }
.bn-item:hover,
.bn-item.is-active{ color: var(--brand); }
.bn-item.is-active svg{ transform: scale(1.08); }
/* .bn-item.is-active::after{
  content: '';
  position: absolute;
  top: 4px;
  width: 20px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--brand);
} */

.bn-fab{
  position: relative;
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--brand);
  background-size: 300% 100%;
  animation: shine 6s linear infinite;
  color: #fff;
  box-shadow: 0 6px 18px rgba(85,0,0,.32), 0 2px 6px rgba(0,0,0,.14);
  border: 2px solid rgba(255,255,255,.9);
  transform: translateY(-14px);
  transition: transform .15s var(--e-spring);
}
.bn-fab:active{ transform: translateY(-14px) scale(.94); }
.bn-fab svg{ color: #fff; }

@media (min-width:900px){
  .bottom-nav{ display: none; }
  body{ padding-bottom: 0; }
}

/* ─── 19. BOTTOM SHEET — Drag + Snap ───────────────────────────────── */
.sheet-scrim{
  position: fixed; inset: 0;
  background: rgba(28,10,10,.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 200;
  opacity: 0;
  animation: fadeIn var(--t) var(--e-out) forwards;
}
.sheet-scrim.is-closing{ animation: fadeOut var(--t) var(--e-out) forwards; }

@keyframes fadeIn{ from{ opacity:0; } to{ opacity:1; } }
@keyframes fadeOut{ from{ opacity:1; } to{ opacity:0; } }
@keyframes slideInRight{ from{ transform: translateX(100%); } to{ transform: translateX(0); } }
@keyframes slideOutRight{ from{ transform: translateX(0); } to{ transform: translateX(100%); } }

.sheet{
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 210;
  background: #fff;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  height: 92vh;
  max-height: 92dvh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 -20px 60px rgba(28,10,10,.28);
  transform: translateY(100%);
  animation: sheetUp .34s var(--e-out) forwards;
  padding-bottom: var(--safe-b);
  overscroll-behavior: contain;
  touch-action: pan-y;
  will-change: transform;
}
.sheet.is-closing{ animation: sheetDown .26s var(--e-out) forwards; }
.sheet.is-dragging{
  animation: none;
  transition: none;
}

/* Ensure drag can start from anywhere on the sheet, but native scroll
   still works inside .sheet-body when it has content to scroll. */
.sheet,
.sheet-head,
.sheet .pane-actions,
.sheet .steps{
  touch-action: pan-y;
}

@keyframes sheetUp{
  from{ transform: translateY(100%); }
  to{ transform: translateY(0); }
}
@keyframes sheetDown{
  from{ transform: translateY(0); }
  to{ transform: translateY(100%); }
}

@media (min-width:640px){
  .sheet{
    left: 50%; right: auto;
    top: 50%; bottom: auto;
    transform: translate(-50%, -50%) scale(.96);
    height: auto;
    width: min(560px, 94vw);
    max-height: 88vh;
    border-radius: var(--r-xl);
    animation: sheetPop .3s var(--e-out) forwards;
  }
  .sheet.is-closing{ animation: sheetPopOut .24s var(--e-out) forwards; }
  .sheet-grab{ display: none; }
}

@keyframes sheetPop{
  from{ transform: translate(-50%,-50%) scale(.96); opacity: 0; }
  to{ transform: translate(-50%,-50%) scale(1); opacity: 1; }
}
@keyframes sheetPopOut{
  from{ transform: translate(-50%,-50%) scale(1); opacity: 1; }
  to{ transform: translate(-50%,-50%) scale(.96); opacity: 0; }
}

.sheet-grab{
  padding: 8px 0 4px;
  display: flex;
  justify-content: center;
  cursor: grab;
  flex-shrink: 0;
  touch-action: none;
}
.sheet-grab:active{ cursor: grabbing; }
.sheet-grab span{
  width: 36px; height: 4px;
  border-radius: 2px;
  background: var(--line);
}

.sheet-head{
  padding: 4px 16px 12px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid var(--line-2);
  flex-shrink: 0;
}
.sheet-head h3{
  font-size: var(--fs-md);
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.sheet-sub{
  font-size: var(--fs-xxs);
  color: var(--ink-4);
  margin-top: 2px;
  font-weight: 500;
}
.sheet-close{
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 10px;
  display: grid; place-items: center;
  font-size: 14px;
  color: var(--ink-3);
  background: var(--cream-2);
  transition: background var(--t-fast), color var(--t-fast);
}
.sheet-close:hover{ background: var(--brand-soft); color: var(--brand); }

.sheet-body{
  flex: 1;
  overflow-y: auto;
  padding: 14px 16px 20px;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

/* Progress steps */
.steps{
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 16px;
}
.step{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
}
.step i{
  display: grid; place-items: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--cream-2);
  color: var(--ink-4);
  font-size: 11px;
  font-weight: 700;
  font-style: normal;
  border: 2px solid transparent;
  transition: all var(--t) var(--e-out);
}
.step span{
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--ink-4);
  transition: color var(--t) var(--e-out);
}
.step.is-on i{
  background: var(--brand);
  color: #fff;
  box-shadow: 0 0 0 3px rgba(85,0,0,.12);
}
.step.is-on span{ color: var(--brand); }
.step.is-done i{ background: var(--green); color: #fff; }
.step.is-done span{ color: var(--green); }

.step-line{
  flex: 1;
  height: 2px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
}
.step-line span{
  display: block;
  height: 100%;
  width: 0;
  background: var(--brand);
  transition: width var(--t-slow) var(--e-out);
}

/* Panes */
.pane{ display: none; animation: paneIn .28s var(--e-out); }
.pane.is-on{ display: block; }

@keyframes paneIn{
  from{ opacity: 0; transform: translateX(8px); }
  to{ opacity: 1; transform: translateX(0); }
}

.pane-actions{
  display: flex;
  gap: 8px;
  margin-top: 18px;
}
.pane-actions .btn{ flex: 1; }
.pane-actions--end{ justify-content: flex-end; }
.pane-actions--end .btn{ flex: 0 0 auto; min-width: 150px; }

/* Form fields — floating labels */
.fld{
  display: block;
  margin-bottom: 14px;
  position: relative;
}
.fld-lbl{
  display: block;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 6px;
  letter-spacing: -0.005em;
}
.fld-lbl em{ font-style: normal; font-weight: 500; color: var(--ink-4); font-size: var(--fs-xxs); }
.req{ color: var(--red); font-weight: 700; }

.fld input,
.fld textarea{
  width: 100%;
  padding: 12px 13px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  font-size: var(--fs-md);
  font-weight: 500;
  color: var(--ink);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  font-family: inherit;
  resize: vertical;
  min-height: 44px;
}
.fld input::placeholder,
.fld textarea::placeholder{ color: var(--ink-4); font-weight: 400; }
.fld input:focus,
.fld textarea:focus{
  border-color: var(--brand);
  box-shadow: var(--sh-focus);
}
.fld input.is-invalid,
.fld textarea.is-invalid{
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(198,40,40,.1);
}
.fld textarea{ min-height: 90px; line-height: 1.5; }

.fld-hint{
  display: block;
  font-size: var(--fs-xxs);
  color: var(--ink-4);
  margin-top: 4px;
  line-height: 1.4;
}

.counter{
  display: block;
  text-align: right;
  font-size: 10px;
  color: var(--ink-4);
  margin-top: 3px;
}

/* Floating-label variant */
.fld--float{
  position: relative;
}
.fld--float input{
  padding: 18px 13px 6px;
  min-height: 50px;
}
.fld--float .fld-lbl{
  position: absolute;
  top: 15px;
  left: 13px;
  margin: 0;
  font-size: var(--fs-md);
  font-weight: 400;
  color: var(--ink-4);
  pointer-events: none;
  transition: all var(--t) var(--e-out);
  background: transparent;
  transform-origin: left top;
}
.fld--float input:focus + .fld-lbl,
.fld--float input:not(:placeholder-shown) + .fld-lbl{
  top: 6px;
  font-size: 10px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: .02em;
  text-transform: uppercase;
}
.fld--float input:focus + .fld-lbl .req,
.fld--float input:not(:placeholder-shown) + .fld-lbl .req{ font-size: 10px; }

/* Issue chips */
.chips{
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: 14px;
}
.chip{
  padding: 7px 12px;
  border-radius: var(--r-pill);
  background: var(--cream-2);
  border: 1.5px solid transparent;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--ink-2);
  transition: all var(--t-fast) var(--e-out);
  white-space: nowrap;
}
.chip:hover{ background: var(--brand-soft); color: var(--brand); transform: translateY(-1px); }
.chip.is-on{
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  box-shadow: 0 3px 10px rgba(85,0,0,.24);
}

/* Voice */
.voice{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  background: var(--cream);
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  margin-bottom: 4px;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.voice.is-rec{
  border-color: var(--red);
  background: var(--red-soft);
  animation: recPulse 1.6s ease-in-out infinite;
}
.voice.is-done{
  border-color: var(--green);
  background: var(--green-soft);
}
@keyframes recPulse{
  0%,100%{ box-shadow: 0 0 0 0 rgba(198,40,40,.14); }
  50%    { box-shadow: 0 0 0 6px rgba(198,40,40,.05); }
}

.voice-btn{
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--brand);
  color: #fff;
  box-shadow: 0 3px 10px rgba(85,0,0,.28);
  transition: transform var(--t-fast), background var(--t-fast);
}
.voice-btn:hover{ background: var(--brand-dark); }
.voice-btn:active{ transform: scale(.94); }
.voice.is-rec .voice-btn{ background: var(--red); }

.voice-meta{ flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.voice-meta #voiceState{ font-size: var(--fs-sm); font-weight: 600; color: var(--ink-2); }
.voice-time{
  font-size: var(--fs-xxs);
  color: var(--ink-4);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: .04em;
}

.voice-del{
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: #fff;
  color: var(--red);
  display: grid; place-items: center;
  font-size: 12px;
  font-weight: 700;
  box-shadow: var(--sh-xs);
  transition: transform .12s;
}
.voice-del:hover{ transform: scale(1.08); }
.voice audio{ position:absolute; width:1px; height:1px; opacity:0; pointer-events:none; }

/* Phone */
.phone-wrap{
  display: flex; align-items: center;
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  overflow: hidden;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.phone-wrap:focus-within{ border-color: var(--brand); box-shadow: var(--sh-focus); }
.phone-wrap .cc{
  padding: 12px 12px 12px 13px;
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--ink-2);
  background: var(--cream);
  border-right: 1px solid var(--line);
  flex-shrink: 0;
}
.phone-wrap input{
  flex: 1;
  border: none;
  border-radius: 0;
  padding: 12px 13px;
  background: transparent;
  font-weight: 600;
  letter-spacing: .04em;
  min-width: 0;
}
.phone-wrap input:focus{ box-shadow: none; }

/* Consent */
/* ─── CONSENT (custom checkbox) ──────────────────────────────────── */
.consent{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 13px;
  background: var(--cream);
  border-radius: var(--r-md);
  font-size: var(--fs-xs);
  color: var(--ink-3);
  line-height: 1.5;
  cursor: pointer;
  margin-bottom: 6px;
  border: 1.5px solid transparent;
  transition: border-color var(--t-fast), background var(--t-fast);
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  position: relative;
}
.consent:hover{ background: var(--cream-2); }
.consent:active{ background: var(--brand-ghost); }

/* Hidden native checkbox (still accessible + submitted with the form) */
.consent input{
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  pointer-events: none;
  border: 0;
  appearance: none;
  -webkit-appearance: none;
}

/* Custom-drawn box */
.consent-box{
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 2px solid var(--line);
  background: #fff;
  display: grid;
  place-items: center;
  color: #fff;
  margin-top: 1px;
  transition:
    background var(--t-fast) linear,
    border-color var(--t-fast) linear,
    transform .18s var(--e-spring);
  position: relative;
}
.consent-box svg{
  width: 13px;
  height: 13px;
  opacity: 0;
  transform: scale(.4) rotate(-12deg);
  transition:
    opacity .14s var(--e-out),
    transform .2s var(--e-spring);
}

/* Hover affordance when not yet checked */
.consent:hover .consent-box{
  border-color: var(--brand);
}

/* Checked state */
.consent input:checked ~ .consent-box{
  background: var(--brand);
  border-color: var(--brand);
}
.consent input:checked ~ .consent-box svg{
  opacity: 1;
  transform: scale(1) rotate(0);
}

/* Focus ring for keyboard users (Tab → Space) */
.consent input:focus-visible ~ .consent-box{
  box-shadow: 0 0 0 4px rgba(85,0,0,.16);
  border-color: var(--brand);
}

/* Text */
.consent-text{
  flex: 1;
  min-width: 0;
  line-height: 1.5;
  color: var(--ink-3);
  font-weight: 500;
}
.consent input:checked ~ .consent-text{
  color: var(--ink-2);
}

/* Error state — applied by JS when user tries to submit without checking */
.consent.is-invalid{
  background: var(--red-soft);
  border-color: rgba(198,40,40,.35);
}
.consent.is-invalid .consent-box{
  border-color: var(--red);
  animation: consentShake .4s var(--e-out);
}

@keyframes consentShake{
  0%,100% { transform: translateX(0); }
  25%     { transform: translateX(-4px); }
  50%     { transform: translateX(4px); }
  75%     { transform: translateX(-2px); }
}

/* Larger touch target on mobile (min 44px is Apple's guideline) */
@media (max-width:640px){
  .consent{
    padding: 12px 13px;
    gap: 11px;
  }
  .consent-box{
    width: 22px;
    height: 22px;
  }
  .consent-box svg{
    width: 14px;
    height: 14px;
  }
}

/* ─── 20. FEEDBACK MODAL (SEPARATE) ────────────────────────────────── */
.fb-scrim{
  position: fixed; inset: 0;
  background: rgba(28,10,10,.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 220;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  animation: fadeIn var(--t) var(--e-out) forwards;
  padding-bottom: calc(16px + var(--safe-b));
  padding-top: calc(16px + var(--safe-t));
}
.fb-scrim.is-closing{ animation: fadeOut var(--t) var(--e-out) forwards; }

.fb-modal{
  position: relative;
  width: 100%;
  max-width: 400px;
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  background: #fff;
  border-radius: var(--r-xl);
  padding: 22px 20px 20px;
  box-shadow: var(--sh-xl);
  animation: modalPop .3s var(--e-out);
  overscroll-behavior: contain;
}
@keyframes modalPop{
  from{ opacity:0; transform: translateY(12px) scale(.96); }
  to{ opacity:1; transform: translateY(0) scale(1); }
}

.fb-close{
  position: absolute;
  top: 10px; right: 10px;
  width: 30px; height: 30px;
  border-radius: 10px;
  display: grid; place-items: center;
  color: var(--ink-3);
  font-size: 14px;
  background: var(--cream-2);
  transition: background var(--t-fast), color var(--t-fast);
}
.fb-close:hover{ background: var(--brand-soft); color: var(--brand); }

.fb-head{ text-align: center; margin-bottom: 16px; }
.fb-head h3{
  font-size: var(--fs-lg);
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.02em;
  margin-bottom: 3px;
  line-height: 1.2;
}
.fb-sub{
  font-size: var(--fs-xs);
  color: var(--ink-3);
  line-height: 1.5;
}

/* Emojis */
.fb-emojis{
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 4px;
  margin: 16px 0 14px;
}
.fb-emoji{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 4px;
  border-radius: var(--r-md);
  border: 1.5px solid transparent;
  background: transparent;
  transition: all var(--t-fast) var(--e-out);
}
.fb-emoji svg{ transition: transform .2s var(--e-spring); }
.fb-emoji span{
  font-size: 9px;
  font-weight: 700;
  color: var(--ink-4);
  text-transform: uppercase;
  letter-spacing: .04em;
  text-align: center;
  line-height: 1.2;
}
.fb-emoji:hover{ background: var(--brand-ghost); }
.fb-emoji:hover svg{ transform: scale(1.08); }
.fb-emoji.is-on{
  background: var(--brand-soft);
  border-color: var(--brand);
}
.fb-emoji.is-on svg{ transform: scale(1.14); }
.fb-emoji.is-on span{ color: var(--brand); }

/* ─── 21. SUCCESS MODAL ────────────────────────────────────────────── */
.ok-scrim{
  position: fixed; inset: 0;
  background: rgba(28,10,10,.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 220;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  animation: fadeIn var(--t) var(--e-out) forwards;
  padding-bottom: calc(16px + var(--safe-b));
  padding-top: calc(16px + var(--safe-t));
}
.ok-scrim.is-closing{ animation: fadeOut var(--t) var(--e-out) forwards; }

.ok-modal{
  position: relative;
  width: 100%;
  max-width: 380px;
  background: #fff;
  border-radius: var(--r-xl);
  padding: 24px 22px 22px;
  text-align: center;
  box-shadow: var(--sh-xl);
  animation: modalPop .3s var(--e-out);
}

.ok-ring{
  width: 60px; height: 60px;
  border-radius: 50%;
  margin: 0 auto 12px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--green) 0%, #146128 100%);
  color: #fff;
  box-shadow: 0 10px 26px rgba(46,125,50,.3);
  animation: okPop .5s var(--e-spring);
}
@keyframes okPop{
  0%{ transform: scale(.4); opacity:0; }
  60%{ transform: scale(1.1); opacity:1; }
  100%{ transform: scale(1); opacity:1; }
}

.ok-modal h3{
  font-size: var(--fs-lg);
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.02em;
  margin-bottom: 5px;
}
.ok-sub{
  font-size: var(--fs-xs);
  color: var(--ink-3);
  line-height: 1.5;
  margin-bottom: 14px;
}

.token-box{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 14px 0 10px;
  padding: 11px 13px;
  background: var(--brand-ghost);
  border: 1.5px dashed var(--brand);
  border-radius: var(--r-md);
}
.token-box span{
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: var(--fs-md);
  font-weight: 800;
  color: var(--brand);
  letter-spacing: .02em;
  word-break: break-all;
}
.copy-btn{
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 9px;
  border-radius: var(--r-sm);
  background: #fff;
  color: var(--brand);
  font-size: 10px;
  font-weight: 700;
  box-shadow: var(--sh-xs);
  flex-shrink: 0;
  transition: background var(--t-fast), color var(--t-fast), transform .1s;
}
.copy-btn:hover{ background: var(--brand); color: #fff; }
.copy-btn:active{ transform: scale(.95); }

.ok-note{
  font-size: var(--fs-xs);
  color: var(--ink-3);
  line-height: 1.5;
  margin-bottom: 14px;
}
.ok-note strong{ color: var(--brand); font-weight: 700; }

/* ─── 22. TOASTS ───────────────────────────────────────────────────── */
.toast-wrap{
  position: fixed;
  left: 50%;
  bottom: calc(var(--bottom-nav-h) + var(--safe-b) + 12px);
  transform: translateX(-50%);
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  width: max-content;
  max-width: calc(100vw - 24px);
  pointer-events: none;
}
@media (min-width:900px){
  .toast-wrap{
    bottom: calc(24px + var(--safe-b));
    left: auto;
    right: 20px;
    transform: none;
    align-items: flex-end;
  }
}

.toast{
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: 600;
  box-shadow: var(--sh-lg);
  animation: toastIn .28s var(--e-out);
  max-width: 100%;
  line-height: 1.4;
  cursor: grab;
  user-select: none;
  touch-action: pan-x;
}
.toast:active{ cursor: grabbing; }
.toast.is-out{ animation: toastOut .26s var(--e-out) forwards; }
.toast.is-swipe{ transition: transform .2s var(--e-out), opacity .2s; }

.toast--ok{ background: linear-gradient(135deg, #2e7d32, #146128); }
.toast--err{ background: linear-gradient(135deg, #c62828, #8a1f1f); }
.toast--info{ background: linear-gradient(135deg, var(--brand), var(--brand-deep)); }
.toast--wa{ background: linear-gradient(135deg, var(--wa), var(--wa-dark)); }
.toast svg{ flex-shrink: 0; width: 14px; height: 14px; }

@keyframes toastIn{
  from{ opacity:0; transform: translateY(12px) scale(.94); }
  to{ opacity:1; transform: translateY(0) scale(1); }
}
@keyframes toastOut{
  from{ opacity:1; transform: translateY(0) scale(1); }
  to{ opacity:0; transform: translateY(8px) scale(.95); }
}

/* ─── 23. SKELETON LOADING ─────────────────────────────────────────── */
.sk{
  background: linear-gradient(90deg, var(--line-2) 0%, var(--cream-2) 40%, var(--line-2) 80%);
  background-size: 200% 100%;
  animation: skShine 1.4s linear infinite;
  border-radius: 6px;
}
@keyframes skShine{
  from{ background-position: 200% 0; }
  to{ background-position: -200% 0; }
}

.sk-card{
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line-2);
  background: #fff;
  margin-bottom: 14px;
}
.sk-head{ height: 68px; background: var(--brand-soft); }
.sk-row{
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1px;
  background: var(--line-2);
}
.sk-cell{
  background: #fff;
  padding: 10px 12px;
  height: 56px;
}
.sk-cell .sk{ height: 9px; margin-bottom: 5px; }
.sk-cell .sk:first-child{ width: 40%; }
.sk-cell .sk:last-child{ width: 75%; height: 11px; }
.sk-body{ padding: 14px; }
.sk-line{ height: 9px; margin-bottom: 8px; }
.sk-line:nth-child(1){ width: 60%; }
.sk-line:nth-child(2){ width: 90%; }
.sk-line:nth-child(3){ width: 78%; }
.sk-line:nth-child(4){ width: 84%; }
.sk-line:nth-child(5){ width: 45%; }

/* ─── 24. UTILITY ──────────────────────────────────────────────────── */
[hidden]{ display: none !important; }
.sr-only{
  position: absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip: rect(0,0,0,0); white-space:nowrap; border:0;
}

/* ─── 25. REDUCED MOTION ───────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ─── 26. PRINT ────────────────────────────────────────────────────── */
@media print{
  .appbar, .drawer, .drawer-scrim, .bottom-nav, .sheet, .sheet-scrim,
  .fb-scrim, .ok-scrim, .toast-wrap, .hero-media, .strip, .sec-promise,
  .sec-support, .foot, .video-mute{ display: none !important; }
  body{ background:#fff; color:#000; padding-bottom: 0; }
  .sec{ padding-block: 12px; }
  .track-result{ break-inside: avoid; }
}

/* ─── 27. DESKTOP POLISH ───────────────────────────────────────────── */
@media (min-width:1024px){
  :root{ --fs-2xl: 26px; --fs-3xl: 30px; --fs-4xl: 38px; }
}