/* lysn.one — samme tokens som appen (docs/design/lysn/tokens/lysn.tokens.json i BygITdk/lysn) */
:root {
  --bg: #F3F0E9;
  --surface: #FBFAF7;
  --surface-2: #EAE6DD;
  --text: #121212;
  --text-2: #4A4741;
  --muted: #8C887F;
  --line: #DDD8CD;
  --border: #D6D0C3;
  --btn: #121212;
  --on-btn: #F3F0E9;
  --accent: #FF7A1A;
  --accent-text: #C2560A;
  --bezel: #121212;
  --shadow: 0 30px 80px rgba(18, 18, 18, 0.18);
  --radius: 20px;
  --gutter: 24px;
  --max: 1160px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --surface: #0E0E10;
    --surface-2: #0A0A0B;
    --text: #FFFFFF;
    --text-2: #A1A1A6;
    --muted: #6E6E73;
    --line: #1C1C1F;
    --border: #2C2C2E;
    --btn: #FFFFFF;
    --on-btn: #000000;
    --accent-text: #FF9A52;
    --bezel: #1C1C1F;
    --shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter Tight', 'Helvetica Neue', Arial, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.02em; }
h1 { font-size: clamp(40px, 6.2vw, 76px); line-height: 1.02; letter-spacing: -0.035em; }
h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.08; margin-bottom: 40px; }
h3 { font-size: 22px; line-height: 1.25; margin-bottom: 10px; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--btn); color: var(--on-btn); padding: 10px 16px; border-radius: 8px; }

.overline { font-size: 14px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.lead { font-size: clamp(19px, 2vw, 22px); line-height: 1.5; color: var(--text-2); max-width: 36em; }
.hint { margin-top: 22px; font-size: 15px; color: var(--muted); }

/* Top */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.top__inner { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { font-size: 30px; font-weight: 700; letter-spacing: -0.045em; text-decoration: none; line-height: 1; }
.logo--small { font-size: 24px; }
.nav { display: flex; gap: 4px; }
.nav a { text-decoration: none; font-size: 16px; font-weight: 500; color: var(--text-2); padding: 8px 14px; border-radius: 999px; }
.nav a:hover { color: var(--text); background: var(--surface-2); }

/* Buttons */
.btn { display: inline-flex; align-items: center; height: 52px; padding: 0 24px; border-radius: 999px; border: 1px solid var(--border); text-decoration: none; font-weight: 600; font-size: 17px; transition: transform .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--btn); color: var(--on-btn); border-color: var(--btn); }

/* Hero */
.hero { padding: 72px 0 56px; overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero__text h1 { margin-bottom: 24px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__screens { position: relative; height: 700px; }

/* Device frame */
.device { margin: 0; padding: 10px; background: var(--bezel); border-radius: 30px; box-shadow: var(--shadow); }
.device img { border-radius: 22px; }
.device--front { position: absolute; width: 68%; right: 0; top: 48px; z-index: 2; }
.device--back { position: absolute; width: 58%; left: 0; top: 0; opacity: .92; transform: rotate(-3deg); }
.device--single { width: 100%; max-width: 420px; justify-self: center; }

/* Manifest */
.manifest { padding: 48px 0 88px; }
.manifest__text { font-size: clamp(24px, 3.2vw, 38px); line-height: 1.3; letter-spacing: -0.02em; color: var(--text-2); max-width: 28em; }
.manifest__text strong { color: var(--text); font-weight: 600; }

/* Sections */
.section { padding: 96px 0; border-top: 1px solid var(--line); }
.section--alt { background: var(--surface-2); }

.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; padding: 40px 0; }
.feature--flip .feature__text { order: 2; }
.feature__text h3 { font-size: clamp(26px, 3vw, 36px); line-height: 1.12; margin-bottom: 16px; }
.feature__text p { color: var(--text-2); max-width: 30em; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 26px; color: var(--text-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 12px; height: 3px; border-radius: 2px; background: var(--accent); }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card p { color: var(--text-2); font-size: 17px; }

.cars { list-style: none; padding: 0; margin: 32px 0 0; border-top: 1px solid var(--line); }
.cars li { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.cars__name { font-size: 22px; font-weight: 600; }
.pill { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 12px; border-radius: 6px; border: 1px solid var(--border); color: var(--muted); }
.pill--on { color: var(--text); border-color: var(--text); }

/* Footer */
.foot { padding: 48px 0 56px; border-top: 1px solid var(--line); }
.foot__inner { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; }
.foot__legal, .foot__copy { font-size: 14px; color: var(--muted); }

/* Responsiv */
@media (max-width: 900px) {
  .hero { padding-top: 48px; }
  .hero__inner, .feature { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero__screens { height: auto; aspect-ratio: 1 / 1; max-width: 520px; width: 100%; justify-self: center; }
  .feature--flip .feature__text { order: 0; }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .section { padding: 72px 0; }
  .foot__inner { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 600px) {
  :root { --gutter: 16px; }
  .nav { display: none; }
  .device { padding: 7px; border-radius: 22px; }
  .device img { border-radius: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
html, body { overflow-x: clip; }
