/* Lento website. Same palette and fonts as the app (tailwind.config.ts), dark only like the app. */
@font-face { font-family: "Space Grotesk"; src: url("fonts/space-grotesk.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("fonts/manrope.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
  --paper: #0A0F1C; --panel: #0D1424; --card: #111A2C; --mist: #1C2840; --line: #2B3A58;
  --ink: #E8EEF8; --muted: #93A3BF;
  --ledger: #3DD9A0; --azure: #6CA8FF; --harvest: #F2B84B; --rust: #FF7A7A;
  --display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --body: "Manrope", ui-sans-serif, system-ui, -apple-system, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--paper); scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--azure); }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--azure); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; margin: 0; text-wrap: balance; }
p { margin: 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding-inline: 20px; }
.muted { color: var(--muted); }
.eyebrow { font-family: var(--display); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ledger); }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(10,15,28,.85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--mist); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 20px; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.top nav { display: flex; align-items: center; gap: 6px; }
.top nav a.link { color: var(--muted); text-decoration: none; font-size: 15px; padding: 8px 10px; border-radius: 8px; }
.top nav a.link:hover { color: var(--ink); }
@media (max-width: 560px) { .top nav a.hide-sm { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 12px; font-family: var(--display); font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap; transition: opacity .15s, border-color .15s; }
.btn.primary { background: var(--ledger); color: var(--paper); }
.btn.primary:hover { opacity: .9; }
.btn.ghost { border: 1px solid var(--line); color: var(--ink); }
.btn.ghost:hover { border-color: var(--muted); }
.btn.sm { min-height: 38px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero: the illustration sits on the right (its own navy matches the page), text on the left. */
.hero { position: relative; overflow: clip; background: #0A101F; padding: 0; }
.hero .wrap { position: relative; z-index: 1; min-height: min(720px, 56vw); display: flex; align-items: center; padding-block: 64px; }
.hero-art { position: absolute; top: 0; right: 0; height: 100%; width: auto; max-width: none; }
.hero-text { max-width: 560px; }
.hero h1 { font-size: clamp(36px, 4.6vw, 58px); font-weight: 700; letter-spacing: -.02em; }
.hero h1 em { font-style: normal; color: var(--ledger); }
.hero .lead { font-size: 19px; color: var(--muted); margin-top: 20px; }
.hero .actions { margin-top: 30px; }
.acronym { font-family: var(--display); font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: .02em; margin-bottom: 14px; }
.acronym b { color: var(--ledger); font-weight: 700; }
.beta-note { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 14px; color: var(--muted); }
.beta-note i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--harvest); }
@media (max-width: 1100px) and (min-width: 861px) { .hero-art { right: -18%; } .hero-text { max-width: 500px; } }
@media (max-width: 860px) {
  .hero { display: flex; flex-direction: column; }
  .hero .wrap { min-height: 0; padding-block: 36px 0; }
  .hero-art { order: 2; position: static; width: 170%; max-width: none; height: auto; margin-left: -62%; margin-top: 8px; }
  .hero .actions .btn { flex: 1 1 220px; }
}

/* Phone frames around screenshots */
.phone { width: min(320px, 82vw); margin-inline: auto; border-radius: 40px; padding: 10px; background: linear-gradient(160deg, #24314d, #111A2C); box-shadow: 0 30px 80px -20px rgba(0,0,0,.7), 0 0 0 1px var(--line); }
.phone img { border-radius: 31px; width: 100%; height: auto; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; }
.glow { position: relative; }
.glow::before { content: ""; position: absolute; inset: 10% 5%; background: radial-gradient(closest-side, rgba(61,217,160,.18), transparent); filter: blur(30px); z-index: -1; }

/* Sections */
section { padding: 72px 0; }
@media (max-width: 860px) { section { padding: 48px 0; } }
.sec-head { max-width: 40em; margin-bottom: 40px; }
.sec-head h2 { font-size: clamp(28px, 4vw, 40px); margin-top: 10px; }
.sec-head p { color: var(--muted); margin-top: 14px; font-size: 18px; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.step { background: var(--card); border: 1px solid var(--mist); border-radius: 18px; padding: 26px; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(61,217,160,.12); color: var(--ledger); font-family: var(--display); font-weight: 700; margin-bottom: 16px; }
.step h3 { font-size: 20px; }
.step p { color: var(--muted); margin-top: 8px; font-size: 16px; }
@media (max-width: 860px) { .steps { grid-template-columns: minmax(0, 1fr); } }

.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; padding: 40px 0; }
.feature + .feature { border-top: 1px solid var(--mist); }
.feature:first-child { padding-top: 0; }
.feature.flip .text { order: 2; }
.feature h3 { font-size: clamp(24px, 3vw, 32px); margin-top: 10px; }
.feature .text > p { color: var(--muted); margin-top: 14px; font-size: 18px; }
.feature ul { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.feature li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; font-size: 16px; }
.feature li::before { content: "✓"; color: var(--ledger); font-weight: 700; }
@media (max-width: 860px) {
  .feature { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .feature.flip .text { order: 0; }
}

.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tile { background: var(--card); border: 1px solid var(--mist); border-radius: 16px; padding: 22px; }
.tile:hover { border-color: var(--line); }
.tile .icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(108,168,255,.12); color: var(--azure); margin-bottom: 14px; }
.tile .icon svg { width: 22px; height: 22px; }
.tile h3 { font-size: 18px; }
.tile p { color: var(--muted); margin-top: 6px; font-size: 15.5px; }
@media (max-width: 860px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .grid { grid-template-columns: minmax(0, 1fr); } }

.couples-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; margin-bottom: 8px; }
.couples-head .sec-head { margin-bottom: 32px; }
.couples-head .pose { width: 220px; height: auto; margin-bottom: 16px; }
.couples .tile h3 { color: var(--ledger); }
@media (max-width: 860px) { .couples-head { grid-template-columns: minmax(0, 1fr); gap: 0; } .couples-head .pose { width: 170px; order: -1; margin: 0 0 8px; } }

.trust { background: var(--panel); border-block: 1px solid var(--mist); }
.trust .grid .icon { background: rgba(61,217,160,.12); color: var(--ledger); }

.cta { text-align: center; }
.cta .pose { width: 150px; height: auto; margin: -16px auto 8px; }
.cta .box { background: radial-gradient(120% 140% at 50% 0%, rgba(61,217,160,.14), transparent 60%), var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 56px 24px; }
.cta h2 { font-size: clamp(28px, 4vw, 40px); }
.cta p { color: var(--muted); margin: 14px auto 0; max-width: 34em; font-size: 18px; }
.cta .actions { justify-content: center; margin-top: 28px; }
@media (max-width: 560px) { .cta .actions .btn { flex: 1 1 100%; } }

/* Footer */
footer { border-top: 1px solid var(--mist); padding: 32px 0 48px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; }
footer a { color: var(--muted); }
footer a:hover { color: var(--ink); }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* Legal pages (privacy, terms) */
.legal { max-width: 760px; margin: 0 auto; padding: 48px 20px 80px; }
.legal h1 { font-size: 40px; }
.legal h2 { font-size: 24px; margin: 40px 0 12px; }
.legal p, .legal li { color: #C9D3E4; }
.legal p { margin: 12px 0; }
.legal ul, .legal ol { padding-left: 22px; }
.legal li { margin: 6px 0; }
.legal strong { color: var(--ink); }
.legal hr { border: 0; border-top: 1px solid var(--mist); margin: 32px 0; }
.legal .table { overflow-x: auto; margin: 16px 0; }
.legal table { border-collapse: collapse; width: 100%; font-size: 15px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--mist); }
.legal th { font-family: var(--display); color: var(--ink); }
