/* ============================================================
   Drinqsy — Official Website  (v1, refined)
   Aligned with the iOS app: clean, native, utility-first.
   White surfaces · soft rounded cards · system typography ·
   amber #FFCC00 used only as accent · one amber flood (CTA)
   that echoes the app's yellow splash.
   ============================================================ */

:root {
  --amber: #FFCC00;
  --amber-press: #EBBC00;
  --amber-tint: #FFF6D6;
  --amber-tint-2: #FFFBEC;
  --amber-text: #7A5E00;

  --ink: #1d1d1f;            /* primary label (Apple) */
  --ink-2: #3a3a3c;
  --muted: #6e6e73;          /* secondary label */
  --faint: #8e8e93;

  --bg: #ffffff;
  --bg-soft: #f5f5f7;        /* grouped background */
  --card: #ffffff;

  --line: rgba(0,0,0,0.08);
  --line-strong: rgba(0,0,0,0.14);

  --shadow-xs: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 6px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 50px rgba(0,0,0,0.12);

  --r-sm: 12px;
  --r: 18px;
  --r-lg: 24px;
  --r-xl: 32px;

  --maxw: 1120px;
  --font-locale: "Noto Sans TC";
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
          "PingFang TC", var(--font-locale), "Noto Sans TC", "Segoe UI", Roboto, "Helvetica Neue",
          "Microsoft JhengHei", sans-serif;
}

html:lang(ja) { --font-locale: "Noto Sans JP"; }
html:lang(ko) { --font-locale: "Noto Sans KR"; }
html:lang(th) { --font-locale: "Noto Sans Thai"; }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 600; font-size: 13px; letter-spacing: .02em;
  color: var(--amber-text); background: var(--amber-tint);
  padding: 6px 13px; border-radius: 999px;
}
.section-head { max-width: 660px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4.2vw, 42px); font-weight: 800; margin: 16px 0 14px; letter-spacing: -0.02em; }
.section-head p { color: var(--muted); font-size: 18px; }

/* ---------- Buttons (pill, app-style) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font); font-weight: 600; font-size: 16px;
  padding: 14px 26px; border-radius: 999px; cursor: pointer;
  border: none; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--amber); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--amber-press); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { background: var(--bg); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn-ghost:hover { background: var(--bg-soft); transform: translateY(-2px); }

/* ---------- Store badges (official lockups) ---------- */
.stores { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.badge-link { display: inline-flex; border-radius: 12px; transition: transform .15s ease, opacity .15s ease; }
.badge-link img { height: 52px; width: auto; display: block; }
.badge-link:hover { transform: translateY(-2px); opacity: .85; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 21px; letter-spacing: -0.01em; white-space: nowrap; flex-shrink: 0; }
.brand img { width: 30px; height: 30px; border-radius: 7px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-weight: 500; font-size: 15px; color: var(--muted); transition: color .15s; }
.nav-links a:hover { color: var(--ink); }
.nav-mobile-lang { display: none; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .btn-primary { padding: 9px 18px; font-size: 14.5px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; margin: 5px 0; transition: .2s; }
.lang-switch { position: relative; z-index: 60; }
.lang-switch details { position: relative; }
.lang-switch summary {
  list-style: none; display: inline-flex; align-items: center; gap: 7px;
  min-height: 38px; padding: 8px 12px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255,255,255,.78);
  color: var(--ink-2); font-size: 14px; font-weight: 600; cursor: pointer;
  transition: background .15s, border-color .15s;
}
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch details[open] summary, .lang-switch summary:hover { background: var(--bg); border-color: var(--line-strong); }
.lang-globe { width: 16px; height: 16px; color: var(--faint); flex: none; }
.lang-chevron { width: 15px; height: 15px; color: var(--faint); flex: none; }
.lang-switch ul {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 168px;
  list-style: none; background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; padding: 7px; box-shadow: var(--shadow-lg);
}
.lang-switch a {
  display: block; padding: 9px 11px; border-radius: 10px;
  color: var(--muted); font-size: 14px; font-weight: 600; white-space: nowrap;
}
.lang-switch a:hover, .lang-switch a[aria-current="true"] { background: var(--amber-tint); color: var(--ink); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 84px 0 92px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(680px 440px at 88% -8%, var(--amber-tint) 0%, transparent 62%),
    radial-gradient(560px 460px at -6% 108%, var(--amber-tint-2) 0%, transparent 60%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(40px, 6.2vw, 66px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin-top: 16px; }
.hero h1 .hl { position: relative; white-space: nowrap; z-index: 0; }
.hero h1 .hl::after {
  content: ""; position: absolute; left: -4px; right: -4px; bottom: 8%; height: 34%;
  background: var(--amber); z-index: -1; border-radius: 4px;
}
.hero-sub { font-size: 19px; color: var(--muted); margin: 22px 0 32px; max-width: 500px; line-height: 1.6; }
.hero-actions { display: flex; flex-direction: column; gap: 18px; }
.hero-meta { display: flex; gap: 32px; margin-top: 40px; flex-wrap: wrap; }
.hero-meta .m { display: flex; flex-direction: column; }
.hero-meta .m b { font-size: 24px; font-weight: 700; letter-spacing: -0.01em; }
.hero-meta .m span { font-size: 13px; color: var(--faint); margin-top: 2px; }
.hero-stats-note { margin: 10px 0 0; color: var(--faint); font-size: 13px; font-weight: 400; }

/* ---------- Phone mockup (app-like) ---------- */
.phone-stage { position: relative; display: flex; justify-content: center; align-items: center; }
.phone {
  position: relative; width: 296px; height: 604px;
  background: #f0f0f2; border-radius: 50px; padding: 11px;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(0,0,0,0.06);
}
.phone-screen {
  position: relative; width: 100%; height: 100%; border-radius: 40px; overflow: hidden;
  background: #ffffff; display: flex; flex-direction: column;
  border: 1px solid var(--line-strong);
}
.phone-screen .phone-shot { width: 100%; height: 100%; object-fit: cover; display: block; }
.app-top { padding: 54px 18px 10px; }
.app-top .app-title { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.app-top .app-kicker { font-size: 12px; color: var(--faint); font-weight: 500; }
/* map */
.map-bg { position: relative; flex: 1; background: #eef0ee; overflow: hidden; }
.map-bg::before {
  content: ""; position: absolute; inset: -20%;
  background-image:
    linear-gradient(rgba(0,0,0,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,.04) 1px, transparent 1px);
  background-size: 44px 44px; transform: rotate(6deg);
}
.map-bg .road { position: absolute; background: #fff; }
.map-bg .road.r1 { top: 30%; left: -10%; right: -10%; height: 16px; transform: rotate(-5deg); box-shadow: 0 0 0 1px rgba(0,0,0,.04); }
.map-bg .road.r2 { top: 64%; left: -10%; right: -10%; height: 12px; transform: rotate(3deg); box-shadow: 0 0 0 1px rgba(0,0,0,.04); }
.map-bg .road.r3 { top: -10%; bottom: -10%; left: 44%; width: 14px; transform: rotate(7deg); box-shadow: 0 0 0 1px rgba(0,0,0,.04); }
.status-pill {
  position: absolute; top: 12px; left: 14px; z-index: 3;
  background: #fff; border-radius: 999px; padding: 7px 12px;
  font-size: 12px; font-weight: 600; display: flex; align-items: center; gap: 7px;
  box-shadow: var(--shadow-sm); color: var(--ink-2);
}
.status-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: #34c759; }
/* logo pins as rounded app badges */
.pin {
  position: absolute; z-index: 2; width: 40px; height: 40px; border-radius: 13px;
  background: #fff; display: grid; place-items: center; box-shadow: var(--shadow-md);
}
.pin img { width: 24px; height: 24px; }
.pin.p1 { top: 20%; left: 24%; }
.pin.p2 { top: 42%; left: 58%; width: 46px; height: 46px; border-radius: 15px; outline: 3px solid var(--amber); }
.pin.p3 { top: 68%; left: 30%; width: 34px; height: 34px; border-radius: 11px; opacity: .96; }
.pin.me { width: 18px; height: 18px; border-radius: 50%; background: #2b8cff; box-shadow: 0 0 0 5px rgba(43,140,255,.22); top: 54%; left: 42%; }
.pin.me img { display: none; }
/* store card */
.map-card {
  position: relative; z-index: 3; margin: 0 12px 12px; margin-top: auto;
  background: #fff; border-radius: 18px; padding: 13px 14px;
  box-shadow: 0 8px 28px rgba(0,0,0,.14); border: 1px solid var(--line);
}
.map-card .mc-top { display: flex; align-items: center; gap: 11px; }
.map-card .mc-logo { width: 42px; height: 42px; border-radius: 11px; background: var(--amber-tint); display: grid; place-items: center; flex: none; }
.map-card .mc-logo img { width: 26px; height: 26px; }
.map-card .mc-name { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
.map-card .mc-sub { font-size: 12px; color: var(--muted); }
.map-card .mc-badge { margin-left: auto; background: var(--amber); color: var(--ink); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; flex: none; }
.map-card .mc-tags { display: flex; gap: 6px; margin-top: 11px; flex-wrap: wrap; }
.map-card .tag { font-size: 11px; font-weight: 500; padding: 4px 9px; border-radius: 999px; background: var(--bg-soft); color: var(--ink-2); }
/* tab bar */
.app-tabbar { display: flex; justify-content: space-around; align-items: center; padding: 12px 0 22px; border-top: 1px solid var(--line); background: rgba(255,255,255,.96); }
.app-tabbar .tb { width: 24px; height: 24px; color: var(--faint); }
.app-tabbar .tb.on { color: var(--ink); }
.app-tabbar .tb svg { width: 100%; height: 100%; }
/* floating marketing chips */
.float-chip {
  position: absolute; z-index: 5; background: #fff; border-radius: 14px;
  padding: 10px 14px; font-weight: 600; font-size: 13px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 9px; border: 1px solid var(--line);
}
.float-chip.fc1 { top: 12%; right: -2%; animation: floaty 5s ease-in-out infinite; }
.float-chip.fc2 { bottom: 16%; left: -6%; animation: floaty 6s ease-in-out infinite .8s; }
.float-chip .ic { width: 26px; height: 26px; border-radius: 8px; background: var(--amber-tint); display: grid; place-items: center; font-size: 14px; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Trust bar ---------- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.trust .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 22px; padding-bottom: 22px; flex-wrap: wrap; }
.trust .t-item { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--ink-2); font-size: 15px; }
.trust .t-item svg { width: 21px; height: 21px; color: var(--amber-press); }

/* ---------- Sections ---------- */
section.block { padding: 100px 0; }
section.block.alt { background: var(--bg-soft); }

/* Features */
/* Convergence: 3 entry points merge into 1 destination */
.converge-entries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.entry {
  background: var(--card); border-radius: var(--r-lg); padding: 28px 26px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  transition: transform .2s ease, box-shadow .2s ease;
}
.entry:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.entry-ic { width: 52px; height: 52px; border-radius: 15px; background: var(--amber-tint); display: grid; place-items: center; margin-bottom: 16px; }
.entry-ic svg { width: 28px; height: 28px; }
.entry-tag { font-size: 12.5px; font-weight: 600; color: var(--amber-text); letter-spacing: .04em; }
.entry h3 { font-size: 20px; font-weight: 700; margin: 6px 0 9px; }
.entry p { color: var(--muted); font-size: 15px; }

.converge-dest {
  display: flex; align-items: flex-start; gap: 20px;
  max-width: 720px; margin: 58px auto 0; padding: 28px 32px;
  background: var(--amber-tint-2); border: 1.5px solid var(--amber);
  border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
}
.dest-ic { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--amber); color: var(--ink); display: grid; place-items: center; margin-top: 2px; }
.dest-ic svg { width: 26px; height: 26px; }
.dest-tag { font-size: 12.5px; font-weight: 700; color: var(--amber-text); letter-spacing: .04em; }
.dest-body h3 { font-size: 22px; font-weight: 800; margin: 5px 0 9px; letter-spacing: -0.01em; }
.dest-body p { color: var(--ink-2); font-size: 15.5px; }

/* Splits */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split + .split { margin-top: 100px; }
.split.rev .split-media { order: 2; }
.split h3 { font-size: clamp(24px, 3.4vw, 33px); font-weight: 800; letter-spacing: -0.02em; margin: 16px 0; }
.split p { color: var(--muted); font-size: 17px; margin-bottom: 22px; }
.split ul { list-style: none; display: flex; flex-direction: column; gap: 13px; }
.split ul li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.split ul li svg { width: 22px; height: 22px; color: var(--amber-press); flex: none; margin-top: 3px; }
.split-media {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px;
  box-shadow: var(--shadow-md); min-height: 300px; display: flex; flex-direction: column; gap: 12px; justify-content: center;
}
section.block.alt .split-media { box-shadow: var(--shadow-sm); }
.search-bar { display: flex; align-items: center; gap: 10px; background: var(--bg-soft); border-radius: 14px; padding: 13px 16px; font-weight: 500; color: var(--muted); }
.search-bar svg { width: 20px; height: 20px; color: var(--ink); }
.srow { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 13px; display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow-xs); }
.srow .s-logo { width: 42px; height: 42px; border-radius: 12px; background: var(--amber-tint); display: grid; place-items: center; flex: none; }
.srow .s-logo img { width: 24px; height: 24px; }
.srow .s-name { font-weight: 700; font-size: 15px; }
.srow .s-sub { font-size: 12.5px; color: var(--muted); }
.srow .s-dist { margin-left: auto; background: var(--amber); color: var(--ink); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.menu-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-xs); }
.menu-row { display: flex; align-items: center; justify-content: space-between; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.menu-row:last-child { border-bottom: none; }
.menu-row .m-name { font-weight: 500; }
.menu-row .m-price { font-weight: 700; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip2 { font-size: 12.5px; font-weight: 500; padding: 7px 13px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line-strong); }

/* Split media as real device-framed images (replaces the CSS mock-up card) */
.split-media--frame {
  background: none; border: none; box-shadow: none; padding: 0; min-height: 0; display: block;
}
.split-shot { display: block; width: 100%; height: auto; border-radius: 20px; }
section.block.alt .split-media--frame { box-shadow: none; }

/* Detail carousel: cross-fade between device-framed screenshots */
.carousel { position: relative; }
.carousel-stage { position: relative; aspect-ratio: 1650 / 1080; }
.carousel-slide {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  opacity: 0; transition: opacity .45s ease; pointer-events: none;
}
.carousel-slide.active { opacity: 1; }
.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px; border-radius: 999px; border: none; padding: 0;
  background: var(--card); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line);
  color: var(--ink); display: grid; place-items: center; cursor: pointer; z-index: 2;
  transition: background .15s, transform .15s;
}
.carousel-arrow:hover { background: var(--amber-tint); transform: translateY(-50%) scale(1.06); }
.carousel-arrow svg { width: 20px; height: 20px; }
.carousel-prev { left: -8px; }
.carousel-next { right: -8px; }
.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.carousel-dot {
  width: 8px; height: 8px; border-radius: 999px; border: none; padding: 0; cursor: pointer;
  background: var(--line-strong); transition: background .2s, width .2s;
}
.carousel-dot.on { background: var(--amber); width: 22px; }
@media (prefers-reduced-motion: reduce) { .carousel-slide { transition: none; } }

/* Hero carousel: list -> map -> detail cross-fade (dots only, no arrows).
   Dots are absolutely placed so they don't grow the stage and shift the
   floating chips, which are positioned as a % of .phone-stage. */
.hero-carousel { position: relative; }
.hero-dots { position: absolute; left: 0; right: 0; top: 100%; margin-top: 16px; }

.chip2.on { background: var(--amber); box-shadow: none; font-weight: 600; }

/* Order demo: long-press a menu item to surface its Chinese name for staff.
   Interface-language buttons act as a tablist that cross-fades the screenshots. */
.order-demo { max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 26px; }
.order-stage { position: relative; width: 100%; aspect-ratio: 1650 / 660; }
.order-shot {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; border-radius: 22px;
  opacity: 0; transition: opacity .4s ease; pointer-events: none;
}
.order-shot.active { opacity: 1; }
.order-langs { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.order-lang {
  background: var(--card); border-radius: 999px; padding: 11px 20px; font-weight: 600;
  font-size: 15px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px; box-shadow: var(--shadow-sm);
  border: 1px solid var(--line); transition: transform .15s, background .15s, border-color .15s;
}
.order-lang:hover { transform: translateY(-3px); background: var(--amber-tint); }
.order-lang .flag { font-size: 19px; }
.order-lang.on { background: var(--amber); border-color: var(--amber); }
.order-lang:focus-visible { outline: 2px solid var(--amber-text); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .order-shot { transition: none; } }

/* Bare mode: screenshots that already include the device frame (no CSS bezel) */
.phone-bare {
  width: 296px; height: auto; aspect-ratio: 325 / 664;
  background: transparent; padding: 0; border-radius: 0; box-shadow: none;
}
.phone-bare .phone-screen {
  border: none; border-radius: 0; overflow: visible; background: transparent;
}
.phone-bare .phone-shot {
  object-fit: contain;
  filter: drop-shadow(0 22px 38px rgba(0,0,0,0.20));
}

/* Privacy (soft section, light cards) */
/* Trust panel: privacy promises as a scannable checklist */
.trust-panel { max-width: 720px; margin: 0 auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); padding: 8px 32px; }
.trust-row { display: flex; align-items: flex-start; gap: 18px; padding: 26px 0; }
.trust-row + .trust-row { border-top: 1px solid var(--line); }
.trust-check { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--amber-tint); color: var(--amber-text); display: grid; place-items: center; margin-top: 1px; }
.trust-check svg { width: 19px; height: 19px; }
.trust-text h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.trust-text p { color: var(--muted); font-size: 15px; }

/* FAQ */
.faq { max-width: 800px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 14px; overflow: hidden; background: var(--card); box-shadow: var(--shadow-xs); }
.faq-q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 22px 24px; font-weight: 700; font-size: 17.5px; display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--ink); }
.faq-q .plus { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--amber-tint); color: var(--amber-text); display: grid; place-items: center; font-size: 17px; transition: transform .25s; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); background: var(--amber); color: var(--ink); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.faq-a p { padding: 0 24px 22px; color: var(--muted); }

/* CTA — amber flood (echoes app splash) */
.cta-band { padding: 0 0 100px; }
.cta-box {
  background: var(--amber); border-radius: var(--r-xl); padding: 72px 48px; text-align: center;
  position: relative; overflow: hidden; box-shadow: var(--shadow-md);
}
.cta-box::before { content: ""; position: absolute; top: -60px; right: -40px; width: 260px; height: 260px; border-radius: 50%; background: rgba(255,255,255,.28); }
.cta-box::after { content: ""; position: absolute; bottom: -80px; left: -50px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,.18); }
.cta-box h2 { font-size: clamp(30px, 5vw, 46px); font-weight: 800; letter-spacing: -0.03em; position: relative; }
.cta-box p { font-size: 19px; color: var(--ink-2); margin: 14px auto 32px; max-width: 540px; position: relative; }
.cta-box .stores { justify-content: center; position: relative; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 64px 0 32px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand .brand { margin-bottom: 14px; }
.foot-brand p { color: var(--muted); font-size: 15px; max-width: 280px; }
.foot-col h4 { font-size: 14px; font-weight: 700; margin-bottom: 15px; color: var(--ink); }
.foot-col a { display: block; color: var(--muted); font-size: 15px; margin-bottom: 11px; transition: color .15s; }
.foot-col a:hover { color: var(--ink); }
.foot-bottom { border-top: 1px solid var(--line); margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; color: var(--faint); font-size: 13.5px; }

/* ---------- Legal / sub pages ---------- */
.page-hero { padding: 72px 0 44px; background: radial-gradient(620px 320px at 82% -20%, var(--amber-tint), transparent 62%); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(32px, 5vw, 48px); font-weight: 800; letter-spacing: -0.02em; margin-top: 16px; }
.page-hero p { color: var(--muted); margin-top: 12px; font-size: 17px; }
.page-hero .updated { display: inline-block; margin-top: 16px; font-size: 13px; font-weight: 600; color: var(--amber-text); background: var(--amber-tint); padding: 5px 14px; border-radius: 999px; }
.doc { padding: 56px 0 96px; }
.doc-layout { display: grid; grid-template-columns: 230px 1fr; gap: 56px; align-items: start; }
.toc { position: sticky; top: 88px; }
.toc h4 { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); margin-bottom: 14px; }
.toc a { display: block; padding: 8px 14px; border-radius: 10px; font-size: 14.5px; font-weight: 500; color: var(--muted); transition: background .15s, color .15s; }
.toc a:hover, .toc a.active { background: var(--amber-tint); color: var(--ink); }
.doc-body { max-width: 740px; }
.doc-body section { margin-bottom: 44px; scroll-margin-top: 88px; }
.doc-body h2 { font-size: 25px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 16px; display: flex; align-items: center; gap: 12px; }
.doc-body h2 .n { width: 32px; height: 32px; flex: none; border-radius: 9px; background: var(--amber-tint); color: var(--amber-text); display: grid; place-items: center; font-size: 14px; font-weight: 700; }
.doc-body h3 { font-size: 18px; font-weight: 700; margin: 24px 0 10px; }
.doc-body p { color: var(--ink-2); margin-bottom: 14px; }
.doc-body ul { margin: 0 0 16px 4px; padding-left: 22px; }
.doc-body ul li { margin-bottom: 9px; color: var(--ink-2); }
.callout { background: var(--amber-tint-2); border: 1px solid var(--amber); border-radius: var(--r); padding: 20px 24px; margin: 20px 0; }
.callout strong { display: block; margin-bottom: 6px; color: var(--ink); }

/* Support */
.support-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; max-width: 760px; margin: 8px auto 0; }
.support-grid.cols-3 { grid-template-columns: repeat(3, 1fr); max-width: 1040px; }
.sup-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px 28px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column; }
.sup-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.sup-card .s-ic { width: 54px; height: 54px; border-radius: 15px; background: var(--amber-tint); display: grid; place-items: center; margin-bottom: 18px; }
.sup-card .s-ic svg { width: 27px; height: 27px; color: var(--amber-text); }
.sup-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.sup-card p { color: var(--muted); font-size: 15px; margin-bottom: 16px; }
.sup-card a.link { font-weight: 600; color: var(--amber-text); border-bottom: 2px solid var(--amber); padding-bottom: 1px; margin-top: auto; align-self: flex-start; }

/* Feedback form */
.feedback-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px 28px; box-shadow: var(--shadow-sm); max-width: 620px; margin: 12px auto 0; }
.feedback-form .field { margin-bottom: 20px; }
.feedback-form label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.feedback-form select,
.feedback-form textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--ink); background: var(--bg);
  border: 1px solid var(--line-strong); border-radius: var(--r-sm); padding: 12px 14px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.feedback-form select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236e6e73' stroke-width='2.4'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 40px; }
.feedback-form textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
.feedback-form select:focus,
.feedback-form textarea:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px var(--amber-tint); }
.feedback-form .char-counter { margin-top: 6px; font-size: 12.5px; color: var(--faint); text-align: right; }
.feedback-form .feedback-actions { margin-top: 4px; }
.feedback-form .feedback-actions .btn { width: 100%; justify-content: center; }
.feedback-form .btn:disabled { opacity: .6; cursor: default; transform: none; }
.feedback-form .feedback-note { margin-top: 16px; font-size: 12.5px; color: var(--faint); line-height: 1.5; text-align: center; }
.feedback-status { font-size: 14px; font-weight: 500; margin-bottom: 16px; min-height: 1px; }
.feedback-status:empty { margin-bottom: 0; }
.feedback-status.is-ok { color: #1a7f37; }
.feedback-status.is-error { color: #c1121f; }
/* Honeypot: visually removed but still focusable by bots. */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Reveal ---------- */
/* Hidden only when JS is present; content stays visible without JS. */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 52px; }
  .hero { padding-top: 60px; }
  .converge-entries, .support-grid, .support-grid.cols-3 { grid-template-columns: 1fr; }
  .converge-dest { flex-direction: column; margin-top: 22px; }
  .split { grid-template-columns: 1fr; }
  .split-media { order: 2; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .doc-layout { grid-template-columns: 1fr; gap: 24px; }
  .toc { display: none; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-cta .lang-switch { display: none; }
  .nav.open .nav-links { display: flex; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0; background: rgba(255,255,255,.98); backdrop-filter: blur(20px); border-bottom: 1px solid var(--line); padding: 8px 24px 16px; box-shadow: var(--shadow-md); }
  .nav.open .nav-links a { padding: 13px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav-mobile-lang { display: block; width: 100%; padding-top: 14px; }
  .nav-mobile-lang h4 { font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--faint); margin-bottom: 8px; }
  .nav-mobile-lang-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .nav.open .nav-links .nav-mobile-lang-list a {
    border-bottom: none; border-radius: 12px; padding: 10px 12px;
    background: var(--bg-soft); color: var(--ink-2); font-weight: 600;
  }
  .nav.open .nav-links .nav-mobile-lang-list a[aria-current="true"] { background: var(--amber-tint); color: var(--ink); }
  .lang-switch summary { min-height: 36px; padding: 8px 10px; }
  .lang-switch ul { right: -52px; }
  .cta-box { padding: 48px 24px; }
  .feedback-card { padding: 26px 20px; }
  .hero-meta { gap: 24px; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 18px; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-col a { padding: 10px 0; margin-bottom: 0; }
  .phone { width: 270px; height: 552px; }
  .stores { width: 100%; }
  .badge-link { flex: 1; justify-content: center; }
  .badge-link img { height: 48px; margin: 0 auto; }
  .lang-current { display: none; }
  .lang-switch summary::after { display: none; }
  /* Tighten the header so the single-line brand fits without overflow on small screens. */
  .wrap { padding: 0 16px; }
  .brand { font-size: 18px; gap: 6px; }
  .brand img { width: 26px; height: 26px; }
  .nav-cta { gap: 6px; }
  .nav-cta .btn-primary { padding: 8px 12px; font-size: 13.5px; }
  .lang-switch summary { padding: 7px 9px; gap: 0; }
  .lang-chevron { display: none; }
}
