/* LumaWindow site. The palette is the app icon's. */
:root {
  --navy: #16243a;
  --navy-2: #1d2f4a;
  --slate: #2b4466;
  --sky: #9fd3e8;
  --sun: #f6d77a;
  --warm: #fff4d6;

  --bg: #f7f8fa;
  --surface: #ffffff;
  --ink: #142033;
  --muted: #56647a;
  --line: #dde3ec;
  --accent: #2f6fbf;
  --accent-ink: #ffffff;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", system-ui, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", system-ui, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, monospace;

  --radius: 14px;
  --measure: 62ch;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1520;
    --surface: #152030;
    --ink: #e7edf5;
    --muted: #9aa8bb;
    --line: #26344a;
    --accent: #7fb2f0;
    --accent-ink: #0e1520;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; text-wrap: balance; margin: 0; }
p { margin: 0; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--navy) 88%, transparent); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 650; font-size: 17px; }
.brand img { width: 30px; height: 30px; }
.site-header nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.site-header nav a { color: #c9d6e6; text-decoration: none; font-size: 15px; }
.site-header nav a:hover { color: #fff; }
.site-header nav a.btn-primary, .site-header nav a.btn-primary:hover { color: var(--navy); }
@media (max-width: 640px) { .site-header nav a.hide-sm { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 999px; font: 600 16px/1 var(--font); text-decoration: none; border: 0; cursor: pointer; }
.btn-primary { background: var(--sun); color: var(--navy); }
.btn-primary:hover { background: #ffe39a; }
.btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.7); }
.btn-small { padding: 8px 14px; font-size: 14px; }

/* Hero: the one dark band, the app's own desk */
.hero { background: radial-gradient(120% 90% at 20% 0%, var(--navy-2), var(--navy) 60%); color: #fff; padding-block: 64px 72px; overflow: hidden; }
.hero-copy { max-width: 720px; display: grid; gap: 20px; }
.eyebrow { font: 600 13px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--sky); }
.hero h1 { font-size: clamp(40px, 6.4vw, 72px); font-weight: 750; letter-spacing: -0.02em; }
.hero h1 .lit { color: var(--sun); }
.hero .lede { font-size: clamp(18px, 2.2vw, 21px); color: #c9d6e6; max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 6px; }
.hero-note { font-size: 14px; color: #8fa3bd; }

/* Demo: a small desktop */
.demo { margin-top: 48px; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: start; }
@media (max-width: 900px) { .demo { grid-template-columns: minmax(0, 1fr); } }
.desk { position: relative; aspect-ratio: 16 / 10; max-width: 100%; border-radius: 16px; overflow: hidden;
  background: radial-gradient(80% 70% at 75% 15%, #3e6a8f 0%, transparent 60%), linear-gradient(160deg, #24496a, #12243b 55%, #0c1626);
  box-shadow: 0 30px 80px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,255,255,.08); }
.menubar { position: absolute; inset: 0 0 auto; height: 22px; background: rgba(10,18,30,.55); display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 0 10px; font-size: 11px; color: #dfe8f3; }
.menubar svg { width: 15px; height: 15px; }
.win { position: absolute; border-radius: 10px; overflow: hidden; background: #fff; color: #1d2633; box-shadow: 0 18px 40px rgba(0,0,0,.35); cursor: pointer; transition: box-shadow .2s; }
.win.focused { box-shadow: 0 22px 50px rgba(0,0,0,.5), 0 0 0 2px rgba(159,211,232,.65); }
.win .bar { height: 26px; display: flex; align-items: center; gap: 6px; padding: 0 10px; background: #eceef2; font-size: 11px; color: #4c5868; }
.win .bar i { width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; display: inline-block; }
.win .bar i:nth-child(2) { background: #febc2e; } .win .bar i:nth-child(3) { background: #28c840; }
.win .bar span { margin-left: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win .body { padding: 12px 14px; display: grid; gap: 7px; }
.line { height: 7px; border-radius: 4px; background: #d6dce5; }
.line.h { height: 11px; width: 55%; background: #b9c4d3; }
.win.notes { background: var(--warm); } .win.notes .bar { background: #f3e6bf; }
.win.notes .line { background: #e6d7ab; } .win.notes .line.h { background: #cfba7f; }
.win.chat .body { gap: 9px; } .bubble { height: 16px; border-radius: 9px; background: #d9e6f6; width: 62%; } .bubble.me { background: #bfe3d2; justify-self: end; width: 48%; }
.win .shade { position: absolute; inset: 0; background: #000; pointer-events: none; opacity: 0; transition: opacity .15s ease-out; }
@media (prefers-reduced-motion: reduce) { .win .shade, .win { transition: none; } }

.panel { background: rgba(28,36,48,.92); border-radius: 16px; padding: 12px; display: grid; gap: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.4), inset 0 0 0 1px rgba(255,255,255,.08); color: #e9eef5; }
.panel h3 { font-size: 13px; color: #9fb0c6; font-weight: 600; letter-spacing: .02em; padding: 2px 4px 0; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tile { display: grid; gap: 2px; text-align: left; padding: 10px 12px; border-radius: 12px; border: 0; background: rgba(255,255,255,.07); color: inherit; font: 600 14px/1.25 var(--font); cursor: pointer; }
.tile small { font-weight: 500; font-size: 12px; opacity: .75; }
.tile[aria-pressed="true"] { background: #2f6fbf; color: #fff; }
.row { display: grid; gap: 6px; padding: 8px 10px; border-radius: 12px; background: rgba(255,255,255,.05); }
.row.focused { background: rgba(159,211,232,.14); }
.row label { display: flex; justify-content: space-between; font-size: 13px; }
.row output { font-variant-numeric: tabular-nums; color: #c8d6e6; }
.row input[type=range] { width: 100%; accent-color: var(--sun); }
.row .why { font-size: 11.5px; color: #8fa3bd; min-height: 1em; }
.layouts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (max-width: 900px) { .layouts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
#active { transition: left .22s ease, top .22s ease, width .22s ease, height .22s ease, box-shadow .2s; }
@media (prefers-reduced-motion: reduce) { #active { transition: none; } }
.demo-hint { font-size: 14px; color: #8fa3bd; margin-top: 14px; }

/* Sections */
section { padding-block: 84px; }
.section-head { display: grid; gap: 12px; margin-bottom: 40px; max-width: 760px; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -0.015em; }
.section-head p { color: var(--muted); font-size: 19px; max-width: var(--measure); }
.kicker { font: 600 13px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }

/* Core idea: three statements */
.core { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 820px) { .core { grid-template-columns: minmax(0, 1fr); } }
.core h3 { font-size: 21px; margin-bottom: 8px; }
.core p { color: var(--muted); }
.scale { display: flex; gap: 6px; margin-bottom: 16px; }
.scale span { flex: 1; height: 36px; border-radius: 8px; background: var(--warm); position: relative; overflow: hidden; }
.scale span::after { content: ""; position: absolute; inset: 0; background: #000; opacity: var(--a); }
.scale-labels { display: flex; gap: 6px; margin-top: -10px; margin-bottom: 16px; font: 12px/1 var(--font-mono); color: var(--muted); }
.scale-labels span { flex: 1; text-align: center; }

/* Feature list */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .features { grid-template-columns: minmax(0, 1fr); } }
.feature { background: var(--surface); padding: 26px 24px; display: grid; gap: 8px; align-content: start; }
.feature svg { width: 26px; height: 26px; color: var(--accent); }
.feature h3 { font-size: 18px; }
.feature p { color: var(--muted); font-size: 15.5px; }
.feature kbd, .faq kbd { font: 13px/1 var(--font-mono); padding: 2px 6px; border-radius: 5px; background: color-mix(in srgb, var(--ink) 8%, transparent); }

/* Privacy band */
.privacy { background: var(--surface); border-block: 1px solid var(--line); }
.privacy-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
@media (max-width: 820px) { .privacy-grid { grid-template-columns: minmax(0, 1fr); } }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; }
.checks li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6 11.5l3.2 3.2L16 8' fill='none' stroke='%2316243a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/22px no-repeat; margin-top: 2px; }
.checks b { display: block; }
.checks span { color: var(--muted); }

/* Pricing */
.pricing { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: center; }
@media (max-width: 820px) { .pricing { grid-template-columns: minmax(0, 1fr); } }
.price-card { background: var(--navy); color: #fff; border-radius: 20px; padding: clamp(20px, 6vw, 32px); display: grid; gap: 18px; min-width: 0; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.price strong { font: 750 56px/1 var(--font-display); letter-spacing: -0.02em; }
.price span { color: #9fb0c6; }
.price-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; color: #d5e0ec; }
.price-card li::before { content: "—"; color: var(--sun); margin-right: 10px; }
.price-card .btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.fineprint { font-size: 13.5px; color: #8fa3bd; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 4px 20px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 16px; max-width: var(--measure); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 36px; font-size: 14.5px; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 18px; margin-left: auto; }
.site-footer a { color: var(--muted); }

/* Legal pages */
.doc { max-width: 760px; padding-block: 56px 80px; }
.doc h1 { font-size: 40px; margin-bottom: 8px; }
.doc .updated { color: var(--muted); margin-bottom: 32px; }
.doc h2 { font-size: 22px; margin: 32px 0 10px; }
.doc p, .doc li { color: var(--ink); max-width: var(--measure); }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 22px; display: grid; gap: 6px; }
