/* Waydrop landing v2 — light product page. Shared by / and /partners/.
   Animation hooks (.janim, .reveal/.in, .bw, .nav.scrolled, .device) match
   app.js; keep the class names if you rework the layout. */

:root {
  --bg: #fbfbfd;
  --ink: #1d1d1f;
  --mut: #6e6e73;
  --acc: #0a7cff;
  --acc-deep: #0060df;
  --card: #ffffff;
  --line: rgba(0, 0, 0, 0.08);
  --dark: #0b0d12;
  --dark-ink: #f5f5f7;
  --r: 22px;
  --w: 1064px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: var(--acc); text-decoration: none; }
img, svg { max-width: 100%; display: block; }
.section { padding: clamp(72px, 10vw, 128px) 24px; }
h1, h2, h3 { font-weight: 700; letter-spacing: -0.015em; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(251, 251, 253, 0.78);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.nav.scrolled { border-bottom-color: var(--line); box-shadow: 0 1px 12px rgba(0, 0, 0, 0.04); }
.nav-in {
  max-width: var(--w); margin: 0 auto; height: 52px;
  display: flex; align-items: center; gap: 22px; padding: 0 20px;
}
.logo { font-size: 18px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.nav-links { display: flex; gap: 20px; margin-left: 6px; }
.nav-links a { color: var(--mut); font-size: 13.5px; transition: color 0.2s; }
.nav-links a:hover { color: var(--ink); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.nav-pill {
  background: var(--acc); color: #fff; font-size: 13px; font-weight: 600;
  padding: 7px 15px; border-radius: 100px; transition: background 0.2s;
}
.nav-pill:hover { background: var(--acc-deep); }

/* language picker */
.lang-picker { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 6px;
  background: none; border: 1px solid var(--line); border-radius: 100px;
  color: var(--mut); font: inherit; font-size: 12.5px; padding: 6px 12px; cursor: pointer;
}
.lang-btn:hover { color: var(--ink); border-color: rgba(0, 0, 0, 0.2); }
.globe { width: 14px; height: 14px; }
.lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 190px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  list-style: none; padding: 6px; max-height: 60vh; overflow: auto;
}
.lang-menu li {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 8px 12px; border-radius: 9px; font-size: 13.5px; cursor: pointer;
}
.lang-menu li:hover, .lang-menu li:focus { background: rgba(0, 0, 0, 0.05); outline: none; }
.lang-menu li[aria-selected="true"] { color: var(--acc); font-weight: 600; }
.lang-menu .code { color: var(--mut); font-size: 11px; text-transform: uppercase; }

/* ---------- hero ---------- */
.hero {
  position: relative; text-align: center;
  padding: clamp(120px, 16vw, 176px) 24px 64px;
  overflow: hidden;
}
.hero-glow {
  position: absolute; left: 50%; top: -220px; transform: translateX(-50%);
  width: 1100px; height: 620px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(10, 124, 255, 0.10), rgba(10, 124, 255, 0));
}
.hero h1 {
  position: relative;
  font-size: clamp(38px, 6.4vw, 68px); line-height: 1.05; letter-spacing: -0.025em;
  max-width: 17ch; margin: 0 auto;
}
.tagline { position: relative; margin-top: 18px; color: var(--acc); font-weight: 600; font-size: clamp(14px, 1.6vw, 17px); }
.hero .sub {
  position: relative; max-width: 620px; margin: 18px auto 0;
  color: var(--mut); font-size: clamp(16px, 1.9vw, 19px); line-height: 1.55;
}
.links { position: relative; margin-top: 26px; display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; }
.link-a { font-size: 17px; font-weight: 500; }
.link-a:hover .chev { transform: translateX(2px); }
.chev { display: inline-block; transition: transform 0.2s; }
.pill {
  position: relative; display: inline-block; margin-top: 22px;
  font-size: 12.5px; color: var(--mut);
  border: 1px solid var(--line); background: #fff; border-radius: 100px; padding: 7px 16px;
}

/* hero device */
.device { margin: clamp(44px, 7vw, 76px) auto 0; width: min(340px, 78vw); will-change: transform; }
.phone {
  background: linear-gradient(160deg, #e8e8ec, #cfcfd6);
  border-radius: 48px; padding: 11px;
  box-shadow: 0 30px 80px rgba(29, 29, 31, 0.18), 0 4px 18px rgba(29, 29, 31, 0.10);
}
.screen {
  position: relative; background: #fff; border-radius: 38px; overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
}
.notch {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 88px; height: 24px; background: #0c0c0e; border-radius: 100px; z-index: 3;
}
.scr-top { padding: 48px 20px 10px; text-align: left; }
.scr-top .t1 { font-size: 10px; letter-spacing: 0.12em; color: var(--mut); font-weight: 600; }
.scr-top .t2 { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; }
.grid-ph { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; padding: 10px 10px 12px; }
.gtile { width: 100%; aspect-ratio: 3 / 5; border-radius: 10px; object-fit: cover; }
.scr-bar {
  display: flex; align-items: center; gap: 7px; justify-content: center;
  font-size: 11px; color: var(--mut); padding: 0 0 18px;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: #30d158; box-shadow: 0 0 0 3px rgba(48, 209, 88, 0.18); }

/* ---------- dark statement band ---------- */
.band {
  background: var(--dark); color: var(--dark-ink);
  text-align: center; margin-top: clamp(64px, 9vw, 110px);
}
.band h2 {
  max-width: 880px; margin: 0 auto;
  font-size: clamp(24px, 3.8vw, 40px); line-height: 1.28; letter-spacing: -0.02em;
  font-weight: 700;
}
.bw { opacity: 0.16; transition: opacity 0.15s linear; }
.bw.acc { color: #6cb0ff; }
html:not(.janim) .bw { opacity: 1; }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- steps ---------- */
.kick { color: var(--acc); font-weight: 700; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; }
.steps-sec { max-width: var(--w); margin: 0 auto; }
.steps-sec > h2, .faq-sec > h2, .scen-sec > h2 { font-size: clamp(28px, 4.4vw, 44px); margin-top: 10px; letter-spacing: -0.02em; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
.stp {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 24px 22px 26px;
}
.stp .head { display: flex; justify-content: space-between; align-items: flex-start; }
.sic { width: 32px; height: 32px; }
.num { color: rgba(0, 0, 0, 0.16); font-weight: 800; font-size: 15px; letter-spacing: 0.06em; }
.stp h3 { font-size: 17.5px; margin: 18px 0 8px; letter-spacing: -0.01em; }
.stp p { color: var(--mut); font-size: 14.5px; line-height: 1.55; }

/* ---------- diff (infographic) ---------- */
.diff-sec { max-width: var(--w); margin: 0 auto; }
.diff-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 44px; }
.diff-card {
  border-radius: var(--r); border: 1px solid var(--line); background: var(--card);
  padding: 28px 26px 26px; text-align: center;
}
.diff-card.way { border-color: rgba(10, 124, 255, 0.35); box-shadow: 0 12px 44px rgba(10, 124, 255, 0.10); }
.diff-card svg { width: min(320px, 100%); margin: 0 auto 18px; }
.diff-card h3 { font-size: 19px; }
.diff-card p { color: var(--mut); font-size: 14.5px; line-height: 1.55; margin-top: 8px; max-width: 40ch; margin-left: auto; margin-right: auto; }

/* privacy manifesto */
.priv {
  margin-top: 18px; border-radius: var(--r);
  background: linear-gradient(140deg, #0f1420, #101d33);
  color: var(--dark-ink); text-align: center; padding: clamp(40px, 6vw, 64px) 28px;
}
.priv h3 { font-size: clamp(24px, 3.4vw, 34px); letter-spacing: -0.02em; }
.priv .p1 { font-size: clamp(16px, 2vw, 19px); margin-top: 10px; color: #c9d4e4; }
.priv .p2 { font-size: 13.5px; line-height: 1.6; margin: 18px auto 0; max-width: 60ch; color: #8a97ab; }

/* ---------- scenarios ---------- */
.scen-sec { max-width: var(--w); margin: 0 auto; }
.scen-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.scen-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px 24px;
}
.scen-ic { width: 40px; height: 40px; margin-bottom: 16px; }
.scen-card h3 { font-size: 18.5px; letter-spacing: -0.01em; }
.scen-card p { color: var(--mut); font-size: 14.5px; line-height: 1.58; margin-top: 8px; }
.scen-card .more { display: inline-block; margin-top: 12px; font-size: 14px; font-weight: 500; }
.scen-strip {
  margin-top: 22px; text-align: center; color: var(--mut); font-size: 14.5px;
  border: 1px dashed var(--line); border-radius: 100px; padding: 12px 18px;
}

/* ---------- specs / numbers ---------- */
.specs {
  max-width: var(--w); margin: 0 auto; display: grid;
  grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.spec {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  text-align: center; padding: 34px 20px 30px;
}
.spec .big { font-size: clamp(38px, 5vw, 56px); font-weight: 800; letter-spacing: -0.03em; color: var(--acc); }
.spec .lbl { color: var(--mut); font-size: 14px; margin-top: 8px; line-height: 1.5; }
.zeroadmin { max-width: 640px; margin: 26px auto 0; text-align: center; color: var(--mut); font-size: 15.5px; line-height: 1.6; }

/* ---------- FAQ ---------- */
.faq-sec { max-width: 780px; margin: 0 auto; }
.faqs { margin-top: 36px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
  cursor: pointer; list-style: none; padding: 20px 2px; font-size: 16.5px; font-weight: 600;
}
.faq-item summary::-webkit-details-marker { display: none; }
.fx { color: var(--mut); font-weight: 400; font-size: 22px; transition: transform 0.25s; }
.faq-item[open] .fx { transform: rotate(45deg); }
.faq-item p { color: var(--mut); font-size: 15px; line-height: 1.6; padding: 0 2px 20px; max-width: 62ch; }
.faq-item p a { font-weight: 500; }

/* ---------- CTA ---------- */
.cta { text-align: center; }
.cta h2 { font-size: clamp(30px, 4.6vw, 46px); letter-spacing: -0.02em; }
.cta > p { color: var(--mut); max-width: 520px; margin: 14px auto 0; font-size: 16.5px; line-height: 1.55; }
.get-actions { margin-top: 28px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; background: var(--acc); color: #fff; font-weight: 600;
  font-size: 16px; padding: 13px 26px; border-radius: 100px; transition: background 0.2s;
}
.btn:hover { background: var(--acc-deep); }
.btn-ghost {
  font: inherit; font-size: 16px; font-weight: 500; cursor: pointer;
  background: none; border: 1px solid var(--line); color: var(--ink);
  padding: 13px 26px; border-radius: 100px; transition: border-color 0.2s;
}
.btn-ghost:hover { border-color: rgba(0, 0, 0, 0.3); }
.fine { margin-top: 18px; color: var(--mut); font-size: 12.5px; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 34px 24px 44px; }
.footer-in { max-width: var(--w); margin: 0 auto; }
.footer .top { font-size: 14px; color: var(--mut); }
.footer .bot {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 14px; font-size: 13px; color: var(--mut);
}
.footer .bot a { color: var(--mut); }
.footer .bot a:hover { color: var(--ink); }

/* ---------- partners page ---------- */
.p-hero { text-align: center; padding: clamp(120px, 15vw, 168px) 24px 0; position: relative; overflow: hidden; }
.p-hero h1 { font-size: clamp(32px, 5.4vw, 56px); line-height: 1.08; letter-spacing: -0.025em; max-width: 21ch; margin: 0 auto; position: relative; }
.p-hero .sub { max-width: 600px; margin: 18px auto 0; color: var(--mut); font-size: clamp(16px, 1.9vw, 18.5px); line-height: 1.55; position: relative; }
.p-benefits { max-width: var(--w); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.p-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 24px; }
.p-card h3 { font-size: 18.5px; margin-top: 14px; }
.p-card p { color: var(--mut); font-size: 14.5px; line-height: 1.58; margin-top: 8px; }
.p-num { font-size: 13px; font-weight: 800; color: var(--acc); letter-spacing: 0.08em; }
.p-timeline { max-width: 760px; margin: 0 auto; }
.p-step { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.p-step:last-child { border-bottom: none; }
.p-step .when { flex: 0 0 148px; font-weight: 700; font-size: 14.5px; color: var(--acc); }
.p-step .what { color: var(--mut); font-size: 15px; line-height: 1.55; }
.p-ahead {
  max-width: 760px; margin: 0 auto; border-radius: var(--r);
  background: linear-gradient(140deg, #0f1420, #101d33); color: var(--dark-ink);
  padding: clamp(34px, 5vw, 52px) 30px;
}
.p-ahead h2 { font-size: clamp(22px, 3vw, 30px); letter-spacing: -0.02em; }
.p-ahead p { color: #c9d4e4; font-size: 15px; line-height: 1.6; margin-top: 12px; }
.p-ahead ul { margin: 16px 0 0 18px; color: #8a97ab; font-size: 14.5px; line-height: 1.9; }
.lang-toggle {
  background: none; border: 1px solid var(--line); border-radius: 100px;
  color: var(--mut); font: inherit; font-size: 12.5px; padding: 6px 14px; cursor: pointer;
}
.lang-toggle:hover { color: var(--ink); }

/* ---------- reveal animations (gated on .janim) ---------- */
.janim .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s cubic-bezier(0.2, 0.6, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1); }
.janim .reveal.in { opacity: 1; transform: none; }
.janim .reveal.d2 { transition-delay: 0.08s; }
.janim .reveal.d3 { transition-delay: 0.16s; }
.janim .reveal.d4 { transition-delay: 0.24s; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .diff-grid, .scen-grid, .specs, .p-benefits { grid-template-columns: 1fr; }
  .p-step { flex-direction: column; gap: 4px; }
  .p-step .when { flex: none; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
}
