/* ==========================================================================
   Seaman Log — Colors & Type
   Single dark mode (v1). Editorial / technical / premium.

   v2 — All-sans system. The shipping app uses a sans-serif throughout
   (system / SF Pro on iOS); for web parity we standardize on Inter for
   both display and body, with tighter tracking + heavier weights for
   editorial headlines. This matches the in-app screenshots exactly and
   keeps the Linear / Vercel "technical clarity" voice the brief calls for.
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap");

:root {
  /* ------------------------------------------------------------------ COLOR */

  /* Background gradient (top → bottom) */
  --bg-grad-top:    #0F2540;
  --bg-grad-mid:    #08162C;
  --bg-grad-bot:    #050E1C;
  --bg-grad: linear-gradient(180deg, #0F2540 0%, #08162C 55%, #050E1C 100%);

  /* Solid surfaces */
  --bg-navy:        #0F2540;   /* solid mid-navy (cards on hero, etc.) */
  --bg-deep:        #050E1C;   /* deepest, near-black navy */
  --surface-card:   rgba(255, 255, 255, 0.04);
  --surface-card-2: rgba(255, 255, 255, 0.06);
  --surface-card-3: rgba(255, 255, 255, 0.08);

  /* Accents */
  --cyan:           #67E8F9;   /* primary accent — CTAs, glows, active states */
  --cyan-soft:      rgba(103, 232, 249, 0.18);
  --cyan-glow:      rgba(103, 232, 249, 0.35);
  --blue:           #60A5FA;   /* secondary glow */
  --blue-soft:      rgba(96, 165, 250, 0.18);

  /* Semantic */
  --success:        #34D399;   /* "+30", "synced" dot */
  --success-soft:   rgba(52, 211, 153, 0.16);
  --danger:         #F87171;   /* "-180.65", expense red */
  --danger-soft:    rgba(248, 113, 113, 0.14);
  --warn:           #FBBF24;

  /* Text */
  --fg:             #F5F0E6;   /* warm white — primary text */
  --fg-muted:       #A8C0D9;   /* secondary text */
  --fg-dim:         #6E89A8;   /* tertiary / metadata / labels */
  --fg-faint:       #4A6480;   /* almost decorative */

  /* Borders & dividers */
  --border:         rgba(167, 199, 235, 0.12);
  --border-strong:  rgba(167, 199, 235, 0.20);
  --border-cyan:    rgba(103, 232, 249, 0.40);

  /* Shadows / elevation */
  --shadow-sm:  0 1px 2px rgba(0, 0, 0, 0.30);
  --shadow-md:  0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg:  0 24px 60px rgba(0, 0, 0, 0.50);
  --shadow-cyan-glow: 0 0 0 1px rgba(103, 232, 249, 0.25),
                     0 0 24px rgba(103, 232, 249, 0.35),
                     0 0 64px rgba(103, 232, 249, 0.18);

  /* ------------------------------------------------------------------ TYPE */

  /* Single family. Display = same Inter, just heavier weight + tighter
     tracking. Body = standard Inter. Numerals = Inter tabular-nums. */
  --font-display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
                  Helvetica, Arial, sans-serif;
  --font-sans:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
                  Helvetica, Arial, sans-serif;
  --font-mono:    ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* Display scale (desktop → mobile via clamp) */
  --t-display:  clamp(48px, 8.5vw, 112px);   /* hero */
  --t-h1:       clamp(36px, 5.4vw, 64px);    /* section head */
  --t-h2:       clamp(28px, 3.8vw, 48px);
  --t-h3:       clamp(22px, 2.6vw, 32px);
  --t-h4:       20px;

  /* Body / UI scale */
  --t-lead:     20px;
  --t-body:     17px;
  --t-body-sm:  16px;
  --t-small:    14px;
  --t-micro:    12px;

  /* Wordmark (all-caps, tracked) */
  --t-wordmark: 13px;

  /* Line height */
  --lh-tight:   1.02;   /* display */
  --lh-snug:    1.10;   /* h1/h2 */
  --lh-normal:  1.5;    /* body */
  --lh-loose:   1.65;   /* long-form */

  /* Tracking — display sans wants negative tracking to feel premium */
  --tr-display: -0.035em;
  --tr-h1:      -0.028em;
  --tr-h2:      -0.022em;
  --tr-h3:      -0.018em;
  --tr-tight:   -0.015em;
  --tr-normal:  0;
  --tr-loose:   0.04em;
  --tr-caps:    0.18em;
  --tr-wordmark:0.20em;

  /* ------------------------------------------------------------------ SPACE */
  --s-1:  4px;
  --s-2:  8px;
  --s-3:  12px;
  --s-4:  16px;
  --s-5:  24px;
  --s-6:  32px;
  --s-7:  48px;
  --s-8:  64px;
  --s-9:  96px;
  --s-10: 128px;

  /* Radii */
  --r-sm:  6px;
  --r-md:  10px;
  --r-lg:  16px;
  --r-xl:  20px;
  --r-2xl: 28px;
  --r-pill: 999px;

  /* Motion */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-reveal: cubic-bezier(0.22, 1, 0.36, 1);
  --d-fast:   180ms;
  --d-std:    450ms;
  --d-slow:   1000ms;
}

/* ==========================================================================
   Semantic / element styles
   ========================================================================== */

html, body {
  background: var(--bg-grad);
  background-attachment: fixed;
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: var(--t-body);
  line-height: var(--lh-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Display — the headline voice. Heavy weight + tight tracking + tight
   leading is what gives the "Linear / Vercel" feel without a serif. */
.display, h1.display {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--t-display);
  line-height: var(--lh-tight);
  letter-spacing: var(--tr-display);
  color: var(--fg);
}

h1, .h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--t-h1);
  line-height: var(--lh-snug);
  letter-spacing: var(--tr-h1);
  color: var(--fg);
}
h2, .h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--t-h2);
  line-height: var(--lh-snug);
  letter-spacing: var(--tr-h2);
  color: var(--fg);
}
h3, .h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--t-h3);
  line-height: 1.2;
  letter-spacing: var(--tr-h3);
  color: var(--fg);
}
h4, .h4 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: var(--t-h4);
  line-height: 1.3;
  letter-spacing: var(--tr-tight);
  color: var(--fg);
}

p, .p {
  font-family: var(--font-sans);
  font-size: var(--t-body);
  line-height: var(--lh-normal);
  color: var(--fg-muted);
}

.lead {
  font-size: var(--t-lead);
  line-height: 1.45;
  color: var(--fg-muted);
  letter-spacing: -0.01em;
}

.small  { font-size: var(--t-small); color: var(--fg-muted); }
.micro  { font-size: var(--t-micro); color: var(--fg-dim); }

/* Wordmark — Inter caps, wide tracking */
.wordmark {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: var(--t-wordmark);
  letter-spacing: var(--tr-wordmark);
  text-transform: uppercase;
  color: var(--fg-muted);
}

/* Eyebrow / caps label */
.eyebrow, .caps {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: var(--t-micro);
  letter-spacing: var(--tr-caps);
  text-transform: uppercase;
  color: var(--fg-dim);
}

/* Numerals — tabular for ledger / amounts */
.num, .tabular {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

/* Currency rows */
.amount-positive { color: var(--success); font-variant-numeric: tabular-nums; }
.amount-negative { color: var(--danger);  font-variant-numeric: tabular-nums; }

/* Links */
a {
  color: var(--cyan);
  text-decoration: none;
  transition: opacity var(--d-fast) var(--ease-out);
}
a:hover { opacity: 0.78; }

/* Selection */
::selection { background: var(--cyan-soft); color: var(--fg); }
/* Seaman Log marketing site (seamanlog.com) styles */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: #050E1C;
  color: var(--fg);
  font-family: var(--font-sans);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* Persistent gradient backdrop */
.bg-canvas {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: linear-gradient(180deg, #0F2540 0%, #08162C 55%, #050E1C 100%);
}
.bg-stars {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(245,240,230,0.45) 50%, transparent 51%),
    radial-gradient(1px 1px at 28% 62%, rgba(245,240,230,0.35) 50%, transparent 51%),
    radial-gradient(1px 1px at 71% 31%, rgba(245,240,230,0.40) 50%, transparent 51%),
    radial-gradient(1px 1px at 88% 84%, rgba(245,240,230,0.30) 50%, transparent 51%),
    radial-gradient(1px 1px at 45% 92%, rgba(245,240,230,0.30) 50%, transparent 51%),
    radial-gradient(1px 1px at 60% 12%, rgba(245,240,230,0.40) 50%, transparent 51%);
  background-size: 1400px 1400px;
  opacity: 0.6;
}

/* Container */
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 768px) { .wrap { padding: 0 20px; } }

/* ============================== NAV ============================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(14px);
  background: rgba(5, 14, 28, 0.55);
  border-bottom: 1px solid transparent;
  transition: border-color 300ms var(--ease-out), background 300ms var(--ease-out);
}
.nav.scrolled {
  background: rgba(5, 14, 28, 0.78);
  border-bottom-color: rgba(167, 199, 235, 0.10);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.brand .wm {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--fg);
}
.nav-links {
  display: flex;
  gap: 24px;
  font-size: 14px;
  color: var(--fg-muted);
  font-weight: 500;
}
.nav-links a { transition: color 180ms var(--ease-out); }
.nav-links a:hover { color: var(--fg); opacity: 1; }
@media (max-width: 768px) { .nav-links { display: none; } }

/* Mobile-only Beta pill — sits between the desktop .nav-links
   block (hidden on mobile) and the .cta-cyan Open app pill. The
   .nav-links group hides all 5 anchor scrolls + the long-label
   desktop "Become a tester" entry-point at ≤768px, leaving mobile
   visitors with no tappable path to /testers other than the
   footer. This pill fixes that. Hidden on desktop so it doesn't
   duplicate the long-label entry already in .nav-links. */
.nav-link-mobile {
  display: none;
  color: var(--fg-muted);
  font-size: 14px;
  font-weight: 500;
  margin-right: 14px;
  transition: color 180ms var(--ease-out);
}
.nav-link-mobile:hover { color: var(--fg); }
@media (max-width: 768px) { .nav-link-mobile { display: inline-block; } }

.cta-cyan {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cyan);
  color: #07172A;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 180ms var(--ease-out), box-shadow 180ms var(--ease-out), filter 180ms var(--ease-out);
  box-shadow: 0 0 0 1px rgba(103, 232, 249, 0.25), 0 0 18px rgba(103, 232, 249, 0.30);
}
.cta-cyan:hover { filter: brightness(1.08); box-shadow: 0 0 0 1px rgba(103,232,249,0.35), 0 0 28px rgba(103,232,249,0.50); }
.cta-cyan:active { transform: scale(0.98); }

.cta-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.04);
  color: var(--fg);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(167, 199, 235, 0.18);
  cursor: pointer;
  transition: background 180ms var(--ease-out);
}
.cta-ghost:hover { background: rgba(255,255,255,0.08); }

/* ============================== SECTION ============================== */
section { position: relative; }
.section-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 18px;
}

/* ============================== HERO ============================== */
.hero {
  padding: 96px 0 72px;
  position: relative;
  overflow: hidden;
}
.hero-halo {
  position: absolute;
  width: 800px; height: 800px;
  left: 50%; top: 240px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(103,232,249,0.18), rgba(96,165,250,0.05) 50%, transparent 75%);
  pointer-events: none;
  z-index: 0;
  filter: blur(8px);
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 48px; } }

.hero h1 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(56px, 9vw, 116px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--fg);
  margin: 0;
}
.hero h1 .word { display: inline-block; opacity: 0; transform: translateY(28px) }
.hero h1 .punct { color: var(--cyan); }
.hero-sub {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--fg-muted);
  margin: 28px 0 36px;
  max-width: 540px;
  opacity: 0; transform: translateY(20px);
}
.badges {
  display: flex; gap: 14px; flex-wrap: wrap;
  opacity: 0; transform: translateY(20px);
}
.badge {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(167,199,235,0.18);
  border-radius: 14px;
  cursor: pointer;
  transition: background 180ms var(--ease-out), border-color 180ms var(--ease-out);
}
.badge:hover { background: rgba(255,255,255,0.07); border-color: rgba(167,199,235,0.30); }
.badge .glyph { width: 24px; height: 24px; display: inline-flex; }
.badge .lbl { display: flex; flex-direction: column; line-height: 1.05; text-align: left; }
.badge .lbl small { font-size: 10px; color: var(--fg-dim); letter-spacing: 0.14em; text-transform: uppercase; }
.badge .lbl b { font-size: 15px; font-weight: 600; color: var(--fg); }

.hero-meta {
  display: flex; align-items: center; gap: 24px;
  margin-top: 28px; opacity: 0;
}
.hero-meta .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--success); box-shadow: 0 0 10px var(--success); }
.hero-meta span { font-size: 13px; color: var(--fg-dim); letter-spacing: 0.04em; }

/* Tilted phone mock */
.phone-stage {
  position: relative;
  perspective: 1400px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
}
.phone-card {
  position: relative;
  width: 320px;
  transform-style: preserve-3d;
  transform: rotateY(-14deg) rotateX(6deg);
  transition: transform 600ms var(--ease-out);
  filter: drop-shadow(0 60px 80px rgba(0,0,0,0.55)) drop-shadow(0 0 60px rgba(103,232,249,0.18));
}
.phone-card img {
  width: 100%;
  border-radius: 38px;
  border: 1px solid rgba(167,199,235,0.20);
  background: #0A1830;
}
.phone-glow {
  position: absolute;
  inset: -40px;
  border-radius: 60px;
  background: radial-gradient(closest-side, rgba(103,232,249,0.22), transparent 70%);
  z-index: -1;
  filter: blur(20px);
}

/* ============================== STAT STRIP ============================== */
.stat-strip {
  padding: 64px 0;
  border-top: 1px solid rgba(167,199,235,0.08);
  border-bottom: 1px solid rgba(167,199,235,0.08);
}
.stat-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
@media (max-width: 768px) { .stat-strip-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; } }
.stat-item .num {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
}
.stat-item .num .suffix { color: var(--cyan); }
.stat-item .lbl {
  margin-top: 12px;
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.4;
}

/* ============================== FEATURES ============================== */
.features { padding: 96px 0 80px; }
.features-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  margin-bottom: 64px;
  align-items: end;
}
@media (max-width: 768px) { .features-head { grid-template-columns: 1fr; gap: 16px; } }
.features-head h2 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin: 0;
}
.features-head p {
  font-size: 18px; line-height: 1.55; color: var(--fg-muted);
  max-width: 520px; margin: 0 0 6px auto;
}
@media (max-width: 768px) { .features-head p { margin: 0; } }

.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 960px) { .feat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .feat-grid { grid-template-columns: 1fr; } }

.feat-card {
  position: relative;
  padding: 28px 26px 32px;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(167,199,235,0.10);
  border-radius: 22px;
  transition: background 300ms var(--ease-out), border-color 300ms var(--ease-out), transform 400ms var(--ease-out);
  overflow: hidden;
}
.feat-card:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(103,232,249,0.20);
}
.feat-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(220px 160px at var(--mx,50%) var(--my,0%), rgba(103,232,249,0.12), transparent 65%);
  opacity: 0; transition: opacity 300ms var(--ease-out);
}
.feat-card:hover::after { opacity: 1; }
.feat-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(103,232,249,0.10);
  border: 1px solid rgba(103,232,249,0.30);
  color: var(--cyan);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  box-shadow: 0 0 24px rgba(103,232,249,0.20);
}
.feat-icon svg { width: 22px; height: 22px; stroke-width: 1.75; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.feat-card h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
  color: var(--fg);
}
.feat-card p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg-muted);
  margin: 0;
}

/* ============================== HOW IT WORKS (sticky scroll) ============================== */
.how { padding: 100px 0 80px; }
.how-head { text-align: center; max-width: 720px; margin: 0 auto 80px; }
.how-head h2 {
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1.05; letter-spacing: -0.02em; margin: 0;
}
.how-head p { font-size: 18px; color: var(--fg-muted); margin-top: 18px; }

.how-stage {
  position: relative;
}
.how-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 960px) { .how-grid { grid-template-columns: 1fr; gap: 32px; } }
.how-pin {
  position: sticky;
  top: 14vh;
  height: 72vh;
  display: flex; align-items: center; justify-content: center;
}
@media (max-width: 960px) { .how-pin { position: relative; top: 0; height: auto; min-height: 60vh; } }

.how-phone {
  position: relative;
  width: 280px;
  border-radius: 38px;
  filter: drop-shadow(0 60px 80px rgba(0,0,0,0.55));
}
.how-phone img {
  width: 100%;
  border-radius: 38px;
  border: 1px solid rgba(167,199,235,0.20);
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 600ms var(--ease-out);
}
.how-phone img.on { opacity: 1; }
.how-phone .frame {
  position: relative;
  inset: auto;
  width: 100%;
  visibility: hidden;
  opacity: 1;
}

.how-phone-glow {
  position: absolute;
  inset: -40px;
  border-radius: 60px;
  background: radial-gradient(closest-side, rgba(103,232,249,0.20), transparent 70%);
  z-index: -1; filter: blur(24px);
}

.how-steps { display: flex; flex-direction: column; gap: 22vh; padding: 6vh 0 8vh; }
@media (max-width: 960px) { .how-steps { gap: 80px; padding: 0; } }

.how-step {
  opacity: 0.32;
  transition: opacity 400ms var(--ease-out);
}
.how-step.active { opacity: 1; }
.how-step .num {
  display: inline-block;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--cyan);
  margin-bottom: 18px;
  padding: 4px 12px;
  border: 1px solid rgba(103,232,249,0.35);
  border-radius: 999px;
}
.how-step h3 {
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.how-step p { font-size: 17px; line-height: 1.55; color: var(--fg-muted); margin: 0; max-width: 460px; }

/* ============================== SCREENS GALLERY ============================== */
.screens-gal { padding: 80px 0 100px; }
.screens-head {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 56px;
}
@media (max-width: 768px) { .screens-head { grid-template-columns: 1fr; gap: 18px; } }
.screens-head h2 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 14px 0 0;
}
.screens-head p {
  font-size: 18px; line-height: 1.55; color: var(--fg-muted);
  margin: 0 0 6px auto;
  max-width: 480px;
}
@media (max-width: 768px) { .screens-head p { margin: 0; } }

.screens-rail-wrap {
  position: relative;
  overflow-x: auto;
  overflow-y: visible;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 32px 0 60px;
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.screens-rail-wrap::-webkit-scrollbar { display: none; }
.screens-rail {
  display: flex;
  gap: 28px;
  padding: 0 max(32px, calc((100vw - 1240px) / 2 + 32px));
  width: max-content;
}
.screen-tile {
  width: 220px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 350ms var(--ease-out);
}
.screen-tile:hover { transform: translateY(-8px); }
.tile-frame {
  position: relative;
  border-radius: 32px;
  padding: 8px;
  background: linear-gradient(160deg, #2a3140 0%, #0c0f15 50%, #1a1f29 100%);
  box-shadow:
    0 24px 48px rgba(0,0,0,0.55),
    0 0 0 1px rgba(255,255,255,0.04);
  transition: box-shadow 350ms var(--ease-out);
}
.screen-tile:hover .tile-frame {
  box-shadow:
    0 32px 64px rgba(0,0,0,0.65),
    0 0 0 1px rgba(103,232,249,0.20),
    0 0 50px rgba(103,232,249,0.18);
}
.tile-frame::before {
  content: "";
  position: absolute; top: 16px; left: 50%;
  transform: translateX(-50%);
  width: 32%; max-width: 80px; height: 18px;
  background: #000;
  border-radius: 999px;
  z-index: 4;
}
.tile-frame img {
  width: 100%;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  border-radius: 24px;
  display: block;
}
.tile-cap b {
  display: block;
  font-size: 14px; font-weight: 600;
  color: var(--fg);
  margin-bottom: 2px;
}
.tile-cap small {
  display: block;
  font-size: 12px;
  color: var(--fg-dim);
  letter-spacing: 0.02em;
}

/* ============================== TRUST ============================== */
.trust { padding: 96px 0; }
.trust-head { text-align: center; max-width: 760px; margin: 0 auto 64px; }
.trust-head h2 {
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(40px, 5.5vw, 72px); line-height: 1.05;
  letter-spacing: -0.02em; margin: 0;
}
.trust-head p { font-size: 18px; color: var(--fg-muted); margin-top: 18px; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 768px) { .trust-grid { grid-template-columns: 1fr; } }
.trust-card {
  padding: 36px 30px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(167,199,235,0.10);
  border-radius: 22px;
}
.trust-card .icon {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--cyan); margin-bottom: 22px;
}
.trust-card .icon svg { width: 30px; height: 30px; stroke-width: 1.5; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.trust-card h3 {
  font-family: var(--font-serif); font-weight: 700;
  font-size: 24px; line-height: 1.18; letter-spacing: -0.01em;
  margin: 0 0 10px;
}
.trust-card p { font-size: 15px; color: var(--fg-muted); line-height: 1.55; margin: 0; }

/* ============================== FAQ ============================== */
.faq { padding: 100px 0 140px; }
.faq-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: start; }
@media (max-width: 960px) { .faq-grid { grid-template-columns: 1fr; gap: 32px; } }
.faq h2 {
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(40px, 5.5vw, 64px); line-height: 1.05;
  letter-spacing: -0.02em; margin: 0;
}
.faq-head p { color: var(--fg-muted); margin-top: 18px; line-height: 1.55; max-width: 360px; }
.faq-head a { color: var(--cyan); }
.faq-list { border-top: 1px solid rgba(167,199,235,0.10); }
.faq-item {
  border-bottom: 1px solid rgba(167,199,235,0.10);
}
.faq-q {
  width: 100%;
  background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0;
  text-align: left;
  color: var(--fg);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
  line-height: 1.25;
  transition: color 180ms var(--ease-out);
}
.faq-q:hover { color: var(--cyan); }
.faq-q .plus {
  width: 24px; height: 24px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--cyan);
  transition: transform 300ms var(--ease-out);
}
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 400ms var(--ease-out);
}
.faq-a-inner {
  padding: 0 0 28px;
  color: var(--fg-muted);
  font-size: 16px;
  line-height: 1.6;
  max-width: 640px;
}

/* ============================== FINAL CTA ============================== */
.final {
  padding: 120px 0 140px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-halo {
  position: absolute;
  width: 1100px; height: 1100px;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(103,232,249,0.16), rgba(96,165,250,0.04) 55%, transparent 75%);
  z-index: 0;
  filter: blur(8px);
}
.final-content { position: relative; z-index: 2; }
.final h2 {
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(56px, 10vw, 144px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin: 0;
  color: var(--fg);
}
.final h2 .punct { color: var(--cyan); }
.final p { color: var(--fg-muted); font-size: 18px; margin: 32px 0 40px; }
.final .badges { justify-content: center; opacity: 1; transform: none; }
.final .icon-pulse {
  width: 76px; height: 76px;
  margin: 0 auto 36px;
  border-radius: 22px;
  background: rgba(103,232,249,0.10);
  border: 1px solid rgba(103,232,249,0.35);
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan);
  animation: pulse-glow 3.6s ease-in-out infinite;
}
.final .icon-pulse svg { width: 36px; height: 36px; stroke-width: 1.75; fill: none; stroke: currentColor; }
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(103,232,249,0.30), 0 0 30px rgba(103,232,249,0.30); transform: scale(1); }
  50% { box-shadow: 0 0 0 16px rgba(103,232,249,0.0), 0 0 60px rgba(103,232,249,0.55); transform: scale(1.04); }
}

/* ============================== FOOTER ============================== */
footer {
  border-top: 1px solid rgba(167,199,235,0.08);
  padding: 40px 0 64px;
}
footer .row {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
footer .links { display: flex; gap: 28px; font-size: 13px; color: var(--fg-dim); }
footer .links a:hover { color: var(--fg-muted); opacity: 1; }
footer small { font-size: 12px; color: var(--fg-faint); letter-spacing: 0.06em; }

/* ============================== REVEAL ============================== */
.reveal { opacity: 0; transform: translateY(60px); }
