/* ==========================================================================
   woo rooms — website styles
   Palette taken from the Woorooms logo (navy #042245, teal #008686)
   and the app icon (aqua #2DD4BF).
   ========================================================================== */

:root {
  --ink: #042245;
  --ink-2: #0a2f5c;
  --ink-3: #133b6e;
  --teal: #007a7a;
  --teal-bright: #008686;
  --aqua: #2dd4bf;
  --aqua-soft: #ccf5ef;
  --paper: #f8f7f3;
  --paper-2: #f1efe8;
  --surface: #ffffff;
  --text: #0e1b2c;
  --muted: #526175;
  --line: rgba(4, 34, 69, 0.1);
  --line-strong: rgba(4, 34, 69, 0.18);
  --danger: #b42318;

  --font-sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Instrument Serif", ui-serif, Georgia, "Times New Roman", serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(4, 34, 69, 0.06), 0 2px 8px rgba(4, 34, 69, 0.05);
  --shadow: 0 2px 6px rgba(4, 34, 69, 0.06), 0 18px 40px -12px rgba(4, 34, 69, 0.18);
  --shadow-lg: 0 30px 80px -20px rgba(4, 34, 69, 0.35);

  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; color: var(--ink); letter-spacing: -0.02em; }
p { margin: 0; }

:focus-visible { outline: 2px solid var(--teal-bright); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.serif { font-family: var(--font-serif); font-weight: 400; letter-spacing: -0.01em; }
.serif em, em.serif { font-style: italic; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--teal);
}
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: currentColor; opacity: 0.6; }

.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head.center { max-width: 860px; margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 22px; height: 1.5px; background: currentColor; opacity: 0.6; }
.section-title {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(38px, 5.4vw, 60px); line-height: 1.04; letter-spacing: -0.015em;
  margin-top: 16px;
}
.section-title em { color: var(--teal); }
.section-lede { margin-top: 18px; font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px; border-radius: 999px;
  font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s, box-shadow 0.25s, color 0.25s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 8px 20px -8px rgba(4, 34, 69, 0.6); }
.btn-primary:hover { background: var(--ink-3); }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--surface); }
.btn svg { width: 18px; height: 18px; }

/* Store buttons (links are filled in from assets/js/main.js) */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  position: relative;
  display: inline-flex; align-items: center; gap: 12px;
  min-width: 180px; height: 58px; padding: 0 20px 0 16px;
  background: var(--ink); color: #fff; border-radius: 14px; text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s;
  box-shadow: 0 10px 24px -12px rgba(4, 34, 69, 0.7);
}
.store:hover { transform: translateY(-2px); background: var(--ink-3); }
.store svg { width: 26px; height: 26px; flex: none; }
.store-text { display: flex; flex-direction: column; line-height: 1.15; }
.store-text small { font-size: 11px; font-weight: 500; opacity: 0.75; letter-spacing: 0.02em; }
.store-text strong { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.store.is-soon { cursor: default; }
.store.is-soon:hover { transform: none; background: var(--ink); }
.store.is-soon::after {
  content: "Soon";
  position: absolute; top: -8px; right: -6px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--aqua); color: var(--ink); padding: 3px 8px; border-radius: 999px;
}
.store.light { background: #fff; color: var(--ink); border-color: transparent; }
.store.light:hover { background: #fff; }
.store.light.is-soon:hover { background: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 247, 243, 0.78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(248, 247, 243, 0.92); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 40px; width: auto; }
@media (max-width: 560px) { .brand img { height: 34px; } }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  text-decoration: none; font-size: 15px; font-weight: 500; color: var(--muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .btn { height: 42px; padding: 0 18px; font-size: 14px; }

.menu-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  background: transparent; border: 1px solid var(--line-strong); cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 18px; height: 1.6px; background: var(--ink); border-radius: 2px;
  position: relative; transition: transform 0.3s var(--ease), background 0.2s;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px;
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity 0.25s, transform 0.25s var(--ease);
  }
  .nav-links a { display: block; padding: 14px 0; font-size: 17px; color: var(--ink); border-bottom: 1px solid var(--line); }
  .menu-open .nav-links { transform: none; opacity: 1; pointer-events: auto; }
  .nav-cta .btn-ghost { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(40px, 7vw, 88px) 0 clamp(64px, 8vw, 110px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, rgba(45, 212, 191, 0.22), rgba(45, 212, 191, 0) 70%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; left: -15%; bottom: -30%; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px;
  background: radial-gradient(closest-side, rgba(10, 47, 92, 0.1), rgba(10, 47, 92, 0) 70%);
  pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 5vw, 72px); align-items: center;
}
.hero-title {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(48px, 7.4vw, 92px); line-height: 0.98; letter-spacing: -0.02em;
  margin-top: 22px;
}
.hero-title em { font-style: italic; color: var(--teal); }
.hero-sub { margin-top: 26px; max-width: 540px; font-size: clamp(17px, 1.7vw, 20px); color: var(--muted); }
.hero .stores { margin-top: 36px; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--muted); }
.hero-note a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 8px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-size: 13px; font-weight: 600; color: var(--ink);
}
.pill .dot {
  width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  background: var(--aqua-soft); color: var(--teal);
}
.pill .dot svg { width: 13px; height: 13px; }

/* Device frame */
.device {
  position: relative; width: 100%; max-width: 300px;
  padding: 10px; border-radius: 46px;
  background: linear-gradient(160deg, #13294a, #031329);
  box-shadow: var(--shadow-lg), inset 0 0 0 1.5px rgba(255, 255, 255, 0.08);
}
.device::before { /* Android-style punch-hole camera */
  content: ""; position: absolute; top: 19px; left: 50%; transform: translateX(-50%);
  width: 11px; height: 11px; border-radius: 50%; background: #031329; z-index: 2;
  box-shadow: inset 0 0 0 2px #0d1f3a;
}
.device-screen {
  position: relative; border-radius: 37px; overflow: hidden; background: #f2f7f5;
  aspect-ratio: 600 / 1350;
}
.device-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

.hero-visual { position: relative; min-height: 560px; display: flex; justify-content: center; align-items: center; }
.hero-visual .device-back {
  position: absolute; width: 62%; max-width: 270px; right: 4%; top: 6%;
  transform: rotate(7deg); opacity: 0.95;
}
.hero-visual .device-front { position: relative; width: 70%; max-width: 300px; margin-right: 22%; transform: rotate(-3deg); z-index: 2; }

.float-card {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: 16px; padding: 12px 16px 12px 12px;
  box-shadow: var(--shadow);
  font-size: 13px; line-height: 1.3; color: var(--muted);
  animation: float 6s ease-in-out infinite;
}
.float-card strong { display: block; color: var(--ink); font-size: 15px; }
.float-card .ic {
  width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex: none;
  background: var(--aqua-soft); color: var(--teal);
}
.float-card .ic svg { width: 20px; height: 20px; }
.float-card.one { left: -2%; bottom: 14%; }
.float-card.two { right: 0; bottom: 4%; animation-delay: -3s; }
.float-card.two .ic { background: #e8eefc; color: var(--ink-2); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-copy .eyebrow { justify-content: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero .stores { justify-content: center; }
  .hero-visual { min-height: 0; padding: 20px 0 10px; }
}
@media (max-width: 560px) {
  .store { min-width: 0; flex: 1 1 150px; padding: 0 12px; gap: 10px; }
  .store svg { width: 22px; height: 22px; }
  .store-text strong { font-size: 15px; white-space: nowrap; }
  .store-text small { white-space: nowrap; }
  .float-card { font-size: 12px; padding: 10px 12px 10px 10px; }
  .float-card strong { font-size: 13px; }
  .float-card .ic { width: 32px; height: 32px; }
  .float-card.one { left: 0; }
}

/* ---------- Trust strip ---------- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.trust-list {
  list-style: none; margin: 0; padding: 22px 0;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 28px;
}
.trust-list li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; color: var(--ink); }
.trust-list svg { width: 20px; height: 20px; color: var(--teal); flex: none; }
@media (max-width: 760px) {
  .trust-list { display: grid; grid-template-columns: 1fr 1fr; }
  .trust-list li { font-size: 14px; }
}

/* ---------- Rental types ---------- */
.types { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.type-card {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px 26px; transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.type-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.type-card .num { font-family: var(--font-serif); font-size: 15px; color: var(--teal); font-style: italic; }
.type-card .ic {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin: 18px 0 22px;
  background: linear-gradient(150deg, var(--aqua-soft), #e9f7f5); color: var(--teal);
}
.type-card .ic svg { width: 26px; height: 26px; }
.type-card h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.015em; }
.type-card p { margin-top: 10px; font-size: 15px; color: var(--muted); }
.tag {
  display: inline-block; margin-top: 16px; font-size: 12px; font-weight: 600; letter-spacing: 0.02em;
  padding: 4px 10px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); border: 1px solid var(--line);
}
@media (max-width: 1000px) { .types { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .types { grid-template-columns: 1fr; } }

/* ---------- Feature showcase ---------- */
.showcase-wrap { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.showcase { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.feature-tabs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.feature-tab {
  position: relative; overflow: hidden;
  width: 100%; text-align: left; cursor: pointer;
  display: grid; grid-template-columns: 44px 1fr; gap: 4px 16px; align-items: start;
  padding: 16px 20px 16px 18px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line-strong);
  transition: background 0.35s, border-color 0.35s, box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}
.feature-tab:hover { border-color: rgba(0, 134, 134, 0.45); background: #fcfcfa; }
/* left accent bar — grows in on the selected card */
.feature-tab::before {
  content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 0 3px 3px 0;
  background: var(--teal-bright); transform: scaleY(0); transition: transform 0.45s var(--ease);
}
/* progress line — shows while the tour advances on its own */
.feature-tab::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: linear-gradient(90deg, var(--teal-bright), var(--aqua));
  transform: scaleX(0); transform-origin: left;
}
.feature-tab .ic {
  grid-row: span 2; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center;
  background: var(--paper-2); color: var(--ink-2); transition: background 0.35s, color 0.35s, transform 0.4s var(--ease);
}
.feature-tab .ic svg { width: 22px; height: 22px; }
.feature-tab h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; padding-top: 1px; transition: color 0.3s; }
.feature-tab p { font-size: 14.5px; line-height: 1.55; color: var(--muted); margin-top: 2px; }
.feature-tab[aria-selected="true"] {
  background: var(--paper); border-color: var(--teal-bright);
  box-shadow: 0 14px 30px -18px rgba(0, 134, 134, 0.55);
  transform: translateX(6px);
}
.feature-tab[aria-selected="true"]::before { transform: scaleY(1); }
.feature-tab[aria-selected="true"] .ic { background: var(--ink); color: var(--aqua); transform: scale(1.06); }
.feature-tab[aria-selected="true"] h3 { color: var(--teal); }
.feature-tabs.autoplay .feature-tab[aria-selected="true"]::after { animation: tab-progress 5s linear forwards; }
@keyframes tab-progress { to { transform: scaleX(1); } }
@media (max-width: 900px) {
  .feature-tab[aria-selected="true"] { transform: none; }
}

.showcase-visual { position: relative; display: flex; justify-content: center; }
.showcase-visual::before {
  content: ""; position: absolute; inset: 8% -4% 8% -4%; border-radius: 40px;
  background: linear-gradient(160deg, var(--ink-2), var(--ink));
}
.showcase-visual::after {
  content: ""; position: absolute; inset: 8% -4% 8% -4%; border-radius: 40px;
  background: radial-gradient(circle at 80% 15%, rgba(45, 212, 191, 0.35), transparent 50%);
}
.showcase-visual .device { z-index: 1; max-width: 310px; }
.showcase-visual .device-screen img {
  position: absolute; inset: 0; opacity: 0; transform: scale(1.02);
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease);
}
.showcase-visual .device-screen img.active { opacity: 1; transform: none; }
.showcase-caption {
  position: absolute; z-index: 2; bottom: 12%; left: -6%;
  background: #fff; border-radius: 14px; padding: 10px 14px; box-shadow: var(--shadow);
  font-size: 13px; font-weight: 600; color: var(--ink);
  display: flex; align-items: center; gap: 8px;
}
.showcase-caption::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--aqua); box-shadow: 0 0 0 4px var(--aqua-soft); }

@media (max-width: 900px) {
  .showcase { grid-template-columns: 1fr; }
  .showcase-visual { order: -1; }
  .showcase-visual .device { max-width: 250px; }
  .showcase-caption { left: 0; }
}

/* ---------- Everything else grid ---------- */
.more-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; background: var(--surface);
}
.more-item { padding: 30px 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.more-item svg { width: 26px; height: 26px; color: var(--teal); }
.more-item h3 { margin-top: 18px; font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.more-item p { margin-top: 8px; font-size: 15px; color: var(--muted); }
@media (max-width: 1000px) { .more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .more-grid { grid-template-columns: 1fr; } .more-item { padding: 24px 20px; } }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 28px; border-top: 1px solid var(--line-strong); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-serif); font-style: italic; font-size: 56px; line-height: 1; color: var(--teal);
}
.step h3 { margin-top: 18px; font-size: 21px; font-weight: 700; letter-spacing: -0.015em; }
.step p { margin-top: 10px; color: var(--muted); font-size: 16px; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Privacy (dark) ---------- */
.dark {
  position: relative; overflow: hidden;
  background: var(--ink); color: rgba(255, 255, 255, 0.78);
}
.dark::before {
  content: ""; position: absolute; right: -10%; top: -30%; width: 60vw; height: 60vw; max-width: 800px; max-height: 800px;
  background: radial-gradient(closest-side, rgba(45, 212, 191, 0.18), transparent 70%);
}
.dark h2, .dark h3 { color: #fff; }
.dark .eyebrow { color: var(--aqua); }
.dark .section-title em { color: var(--aqua); }
.dark .section-lede { color: rgba(255, 255, 255, 0.7); }
.privacy-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.zero-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 40px; }
.zero {
  border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--radius); padding: 20px 18px;
  background: rgba(255, 255, 255, 0.03);
}
.zero b { display: block; font-family: var(--font-serif); font-weight: 400; font-size: 54px; line-height: 1; color: var(--aqua); }
.zero span { display: block; margin-top: 8px; font-size: 14px; color: rgba(255, 255, 255, 0.7); }
.privacy-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.privacy-points li {
  display: grid; grid-template-columns: 48px 1fr; gap: 18px; align-items: start;
  padding: 22px; border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.09);
}
.privacy-points .ic {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(45, 212, 191, 0.12); color: var(--aqua);
}
.privacy-points .ic svg { width: 24px; height: 24px; }
.privacy-points h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.privacy-points p { margin-top: 4px; font-size: 15px; }
@media (max-width: 900px) { .privacy-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .zero b { font-size: 42px; } .zero { padding: 16px 14px; } }

/* ---------- Platforms ---------- */
.platforms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.platform {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 26px 26px; transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.platform:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.platform .logo-ic {
  width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center;
  background: var(--paper); border: 1px solid var(--line); color: var(--ink);
}
.platform .logo-ic svg { width: 28px; height: 28px; }
.platform .kind { margin-top: 24px; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); }
.platform h3 { margin-top: 6px; font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.platform p { margin-top: 10px; font-size: 15px; color: var(--muted); flex: 1; }
.platform .btn { margin-top: 24px; width: 100%; }
.platform .btn.is-soon { background: var(--paper-2); color: var(--muted); box-shadow: none; cursor: default; }
.platform .btn.is-soon:hover { transform: none; }
.platform-note { margin-top: 28px; text-align: center; font-size: 14px; color: var(--muted); }
@media (max-width: 1000px) { .platforms { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .platforms { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-grid .section-head { margin-bottom: 0; position: sticky; top: 110px; }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq details:first-child { border-top: 1px solid var(--line-strong); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; font-size: 18px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus {
  flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-strong);
  position: relative; transition: transform 0.35s var(--ease), background 0.3s;
}
.faq summary .plus::before, .faq summary .plus::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; background: var(--ink);
  transform: translate(-50%, -50%);
}
.faq summary .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary .plus { transform: rotate(45deg); background: var(--aqua-soft); }
.faq details p { padding: 0 48px 24px 0; color: var(--muted); font-size: 16px; }
@media (max-width: 900px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-grid .section-head { position: static; }
  .faq summary { font-size: 17px; }
  .faq details p { padding-right: 0; }
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 72px);
  background: linear-gradient(135deg, var(--ink-2) 0%, var(--ink) 60%);
  color: rgba(255, 255, 255, 0.78);
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 36px; align-items: center;
}
.cta-band::after {
  content: ""; position: absolute; right: -80px; top: -120px; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(45, 212, 191, 0.3), transparent);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band .app-icon { width: 96px; height: 96px; border-radius: 24px; box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5); }
.cta-band h2 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(34px, 4.4vw, 52px); line-height: 1.04; color: #fff; }
.cta-band h2 em { color: var(--aqua); }
.cta-band p { margin-top: 12px; }
.cta-band .stores { flex-direction: column; }
@media (max-width: 960px) {
  .cta-band { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .cta-band .stores { flex-direction: row; justify-content: center; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.65); padding: 72px 0 32px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-brand img { height: 44px; width: auto; margin-left: -4px; }
.footer-brand p { margin-top: 18px; max-width: 320px; }
.site-footer h4 { color: #fff; font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.site-footer a { text-decoration: none; transition: color 0.2s; }
.site-footer a:hover { color: var(--aqua); }
.footer-bottom {
  margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px;
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ==========================================================================
   Legal pages (privacy.html, terms.html)
   ========================================================================== */
.legal-hero { padding: clamp(48px, 8vw, 96px) 0 clamp(32px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.legal-hero h1 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(44px, 6.5vw, 76px); line-height: 1; margin-top: 18px; }
.legal-hero p { margin-top: 18px; color: var(--muted); max-width: 640px; }
.legal-meta { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; }
.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(72px, 10vw, 120px); }
.legal-toc { position: sticky; top: 100px; align-self: start; }
.legal-toc h4 { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.legal-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; border-left: 1px solid var(--line-strong); }
.legal-toc a {
  display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 2px solid transparent;
  font-size: 14px; color: var(--muted); text-decoration: none; transition: color 0.2s, border-color 0.2s;
}
.legal-toc a:hover, .legal-toc a.active { color: var(--ink); border-left-color: var(--teal-bright); }
.prose { max-width: 720px; font-size: 17px; }
.prose .summary {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; margin-bottom: 48px;
}
.prose .summary h2 { font-family: var(--font-sans); font-size: 15px; font-weight: 700; letter-spacing: 0.02em; margin: 0 0 12px; padding: 0; border: 0; }
.prose .summary ul { margin: 0; }
.prose h2 {
  font-family: var(--font-serif); font-weight: 400; font-size: 32px; letter-spacing: -0.01em;
  margin: 56px 0 16px; padding-top: 8px; scroll-margin-top: 100px;
}
.prose h2:first-of-type { margin-top: 0; }
.prose h3 { font-size: 18px; font-weight: 700; margin: 28px 0 8px; letter-spacing: -0.01em; }
.prose p, .prose ul, .prose ol { margin: 0 0 16px; color: #334155; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--teal); }
.prose a { color: var(--teal); text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; margin: 8px 0 20px; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); background: var(--paper-2); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.notice {
  margin-top: 48px; padding: 18px 20px; border-radius: var(--radius-sm);
  background: #fff8e6; border: 1px solid #f3dfa8; color: #6b4e0b; font-size: 14px;
}
@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
  .legal-toc ol { display: flex; flex-wrap: wrap; gap: 8px; border: 0; }
  .legal-toc a { border: 1px solid var(--line-strong); border-radius: 999px; padding: 6px 12px; margin: 0; font-size: 13px; }
}
