/* Windy: weather-chart editorial. Warm paper, ink, one vermilion accent. */

:root {
  --paper: #f4f0e8;
  --paper-2: #ebe5d8;
  --card: #fbf9f4;
  --ink: #17212b;
  --ink-2: #4a5663;
  --line: rgba(23, 33, 43, .14);
  --line-strong: rgba(23, 33, 43, .28);
  --accent: #e8502a;
  --accent-ink: #b93513;      /* accent for text on paper, AA */
  --iso: rgba(23, 33, 43, .11);
  --key: #fffdf8;
  --focus: #1d6fdc;

  --band: #101b24;
  --band-ink: #efe9dc;
  --band-ink-2: #a3b3bf;
  --band-line: rgba(239, 233, 220, .16);
  --band-chip: rgba(239, 233, 220, .08);

  --wall: linear-gradient(158deg, #8fc0d6 0%, #cfe0d8 34%, #f5d9b5 66%, #f0a07e 100%);
  --win-bg: #fbfaf7;
  --win-ink: #25303a;
  --sk: rgba(37, 48, 58, .12);

  --display: "Bricolage Grotesque", "Avenir Next", "Helvetica Neue", sans-serif;
  --body: "Instrument Sans", "Avenir Next", "Helvetica Neue", sans-serif;
  --mono: "DM Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gut: 16px;
  --radius: 18px;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0e161d;
    --paper-2: #131d26;
    --card: #17222c;
    --ink: #f1ebdf;
    --ink-2: #a8b4bf;
    --line: rgba(241, 235, 223, .14);
    --line-strong: rgba(241, 235, 223, .3);
    --accent: #ff7a55;
    --accent-ink: #ff8e6d;
    --iso: rgba(241, 235, 223, .08);
    --key: #223140;
    --focus: #6fb0ff;
    --band: #0a1016;
    --wall: linear-gradient(158deg, #5f93ab 0%, #98ada7 34%, #cba988 66%, #c87a5c 100%);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 8px; }
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gut); }
@media (min-width: 700px) { :root { --gut: 28px; } }
@media (min-width: 1100px) { :root { --gut: 40px; } }

h1, h2, h3, .brand, .amount { font-family: var(--display); }
h2 { font-size: clamp(2rem, 4.8vw, 3.5rem); line-height: 1.04; letter-spacing: -.025em; font-weight: 800; font-variation-settings: "opsz" 72; text-wrap: balance; }
h3 { font-size: 1.25rem; line-height: 1.2; letter-spacing: -.01em; font-weight: 700; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 .8rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 18px; }
.eyebrow .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }

/* Keycaps */
kbd {
  display: inline-grid; place-items: center;
  min-width: 1.9em; height: 1.9em; padding: 0 .5em;
  font: 500 .88em/1 var(--mono);
  color: var(--ink);
  background: var(--key);
  border: 1px solid var(--line-strong);
  border-bottom-width: 3px;
  border-radius: .5em;
  vertical-align: middle;
}
.keys { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .28em; vertical-align: middle; font-size: 1rem; }
.keys .plus { font: 500 .75em var(--mono); opacity: .6; padding: 0 .1em; }
.keys .word { font-size: .88em; opacity: .85; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 44px; padding: 0 20px;
  border: 1px solid transparent; border-radius: 999px;
  font: 600 .98rem/1 var(--body);
  text-decoration: none;
  transition: transform .2s var(--ease), background-color .2s, color .2s, box-shadow .2s;
}
.btn:active { transform: translateY(1px) scale(.985); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--accent-ink); color: #fff; }
@media (prefers-color-scheme: dark) { .btn-ink:hover { background: var(--accent); color: #1a0d08; } }
.btn-accent { background: var(--accent); color: #1a0d08; }
.btn-accent:hover { background: #ff7a55; }
.btn-ghost { border-color: var(--line-strong); background: transparent; }
.btn-ghost:hover { background: var(--paper-2); }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 82%, transparent); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 12px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.35rem; letter-spacing: -.02em; }
.nav-links { display: none; margin-left: auto; margin-right: 6px; gap: 2px; }
.nav-links a { text-decoration: none; padding: 8px 11px; border-radius: 999px; font-size: .95rem; color: var(--ink-2); transition: background-color .2s, color .2s; }
.nav-links a:hover { background: var(--paper-2); color: var(--ink); }
.nav-cta { margin-left: auto; min-height: 40px; padding: 0 16px; font-size: .92rem; }
.nav-toggle { border: 1px solid var(--line-strong); background: transparent; border-radius: 999px; min-height: 40px; padding: 0 14px; font-weight: 600; font-size: .92rem; }
.nav-links.open { display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 64px; margin: 0; padding: 10px var(--gut) 16px; background: var(--paper); border-bottom: 1px solid var(--line); }
.nav-links.open a { padding: 12px 8px; font-size: 1.05rem; }
@media (min-width: 1000px) {
  .nav-toggle { display: none; }
  .nav-links { display: flex; }
  .nav-cta { margin-left: 0; }
}
@media (max-width: 380px) { .nav-cta { padding: 0 12px; font-size: .85rem; } .brand span { font-size: 1.2rem; } }

/* Hero */
.hero { position: relative; padding: 48px 0 40px; overflow: hidden; }
.isobars { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.isobars g { animation: drift 40s ease-in-out infinite alternate; }
@keyframes drift { from { transform: translateX(-30px); } to { transform: translateX(30px); } }
.hero-in { position: relative; display: grid; gap: 44px; align-items: center; }
.hero h1 { font-size: clamp(2.7rem, 9.4vw, 6rem); line-height: .98; letter-spacing: -.035em; font-weight: 800; font-variation-settings: "opsz" 96; text-wrap: balance; }
.swash { position: relative; white-space: nowrap; color: var(--accent-ink); }
.swash::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -.12em; height: .2em;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 8' preserveAspectRatio='none'%3E%3Cpath d='M0 5C5 5 5 1.5 10 1.5S15 5 20 5s5-3.500 10-3.500S35 5 40 5' fill='none' stroke='black' stroke-width='2.200' stroke-linecap='round'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 8' preserveAspectRatio='none'%3E%3Cpath d='M0 5C5 5 5 1.5 10 1.5S15 5 20 5s5-3.500 10-3.500S35 5 40 5' fill='none' stroke='black' stroke-width='2.200' stroke-linecap='round'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
}
.lede { margin-top: 26px; max-width: 34em; font-size: clamp(1.08rem, 2.2vw, 1.25rem); color: var(--ink-2); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.cta-center { justify-content: center; }
.meta { margin-top: 22px; font: 400 .86rem/1.7 var(--mono); color: var(--ink-2); }
.meta i { font-style: normal; opacity: .45; padding: 0 .5em; }
.hero-art { min-width: 0; }
.laptop {
  border-radius: 18px; padding: 9px; background: #0c1217;
  box-shadow: 0 40px 70px -30px rgba(10, 20, 30, .55), 0 0 0 1px rgba(255, 255, 255, .08) inset;
}
@media (min-width: 1000px) {
  .hero { padding: 72px 0 56px; }
  .hero-in { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 56px; }
  .hero h1 { font-size: clamp(2.7rem, 5.4vw, 6rem); }
  .laptop { transform: rotate(1.6deg); margin-right: -40px; }
}
.facts { position: relative; display: grid; gap: 10px 28px; margin-top: 52px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .95rem; color: var(--ink-2); }
.facts li { display: flex; gap: 10px; align-items: center; }
.facts svg { flex: none; color: var(--accent-ink); }
@media (min-width: 800px) { .facts { grid-template-columns: repeat(3, auto); justify-content: space-between; } }

/* Sections */
.sec { padding: 84px 0; }
.sec-alt { background: var(--paper-2); }
.sec-head { max-width: 40rem; margin-bottom: 40px; }
.sec-head > p:last-child { margin-top: 18px; color: var(--ink-2); font-size: 1.1rem; }
.on-band h2 { color: var(--band-ink); }
.on-band .eyebrow, .on-band > p:last-child { color: var(--band-ink-2); }
@media (min-width: 900px) { .sec { padding: 112px 0; } }

/* Reveal */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* DEMO */
.band { background: var(--band); color: var(--band-ink); position: relative; padding: 84px 0 72px; }
.band::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: var(--band-line); }
.demo-sec .keys kbd, .toolbar kbd { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .24); color: var(--band-ink); }
.toolbar { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px 22px; margin-bottom: 14px; }
.toolbar-2 { align-items: center; gap: 10px; margin-bottom: 18px; }
.group { display: grid; gap: 6px; }
.glabel { font: 500 .7rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--band-ink-2); }
.seg { display: inline-flex; padding: 3px; gap: 2px; background: var(--band-chip); border: 1px solid var(--band-line); border-radius: 12px; }
.seg button { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 0 12px; border: 0; border-radius: 9px; background: transparent; color: var(--band-ink-2); font-weight: 500; font-size: .9rem; transition: background-color .2s, color .2s; }
.seg button:hover { color: var(--band-ink); }
.seg button[aria-pressed="true"], .seg button[aria-checked="true"] { background: var(--band-ink); color: var(--band); }
.chip { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 8px 0 14px; border: 1px solid var(--band-line); background: var(--band-chip); color: var(--band-ink); border-radius: 999px; font-size: .9rem; font-weight: 500; transition: background-color .2s, border-color .2s; }
.chip .keys { font-size: .78rem; }
.chip:hover:not(:disabled) { border-color: rgba(239, 233, 220, .4); }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #1a0d08; }
.chip[aria-pressed="true"] kbd { color: #1a0d08; background: rgba(255, 255, 255, .35); border-color: rgba(0, 0, 0, .25); }
.chip:disabled { opacity: .45; cursor: not-allowed; }
.status { margin-left: auto; font: 400 .82rem/1.3 var(--mono); color: var(--band-ink-2); }
@media (max-width: 640px) { .status { margin-left: 0; width: 100%; } .seg button { padding: 0 10px; } }

.desk {
  position: relative; container-type: inline-size;
  aspect-ratio: 16 / 10; width: 100%;
  border-radius: 16px; overflow: hidden;
  background: var(--wall);
  box-shadow: 0 0 0 8px #0b1319, 0 0 0 9px rgba(255, 255, 255, .1), 0 50px 80px -30px rgba(0, 0, 0, .7);
  --hl: #e8502a;
  user-select: none; -webkit-user-select: none;
}
@media (max-width: 640px) { .desk { aspect-ratio: 1 / 1.05; box-shadow: 0 0 0 5px #0b1319, 0 0 0 6px rgba(255, 255, 255, .1); } }
.desk::before { content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 250' preserveAspectRatio='none'%3E%3Cg fill='none' stroke='white' stroke-opacity='.28' stroke-width='.8'%3E%3Cpath d='M-10 60C60 20 110 90 190 60S330 10 410 50'/%3E%3Cpath d='M-10 90C60 50 110 120 190 90S330 40 410 80'/%3E%3Cpath d='M-10 120C60 80 110 150 190 120S330 70 410 110'/%3E%3Cpath d='M-10 150C60 110 110 180 190 150S330 100 410 140'/%3E%3Cpath d='M-10 180C60 140 110 210 190 180S330 130 410 170'/%3E%3Cpath d='M-10 210C60 170 110 240 190 210S330 160 410 200'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 100% 100%; pointer-events: none; transition: opacity .4s; }
.desk[data-mode="clean"] { background: #e7e3da; }
.desk[data-mode="clean"]::before { opacity: 0; }
.menubar {
  position: absolute; z-index: 200; inset: 0 0 auto 0; height: 28px; padding: 0 12px;
  display: flex; align-items: center; gap: 14px;
  background: rgba(255, 255, 255, .42); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  color: #1b242c; font: 500 12px/1 var(--body);
  white-space: nowrap; overflow: hidden;
}
.menubar .mb-app { font-weight: 700; }
.mb-spacer { flex: 1; }
.mb-windy { display: grid; place-items: center; width: 26px; height: 22px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: #1b242c; }
.mb-windy:hover, .mb-windy[aria-expanded="true"] { background: rgba(0, 0, 0, .14); }
.mb-ico { flex: none; opacity: .85; }
@container (max-width: 560px) { .mb-item, .mb-ico { display: none; } .menubar { gap: 10px; } }
.popover {
  position: absolute; z-index: 300; top: 32px; right: 10px; width: 232px; padding: 12px;
  background: rgba(250, 248, 243, .92); backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-radius: 12px; color: #1b242c; box-shadow: 0 18px 40px rgba(0, 0, 0, .35), 0 0 0 1px rgba(0, 0, 0, .08);
}
.popover[hidden] { display: none; }
.pop-title { display: flex; align-items: center; gap: 7px; font: 700 .9rem var(--display); margin-bottom: 8px; }
.pop-label { font: 500 .68rem var(--mono); letter-spacing: .07em; text-transform: uppercase; color: #5c6772; margin: 10px 0 5px; }
.pop-row { display: flex; gap: 4px; }
.pop-row button { flex: 1; min-height: 30px; padding: 0 6px; border: 1px solid rgba(0, 0, 0, .14); border-radius: 7px; background: #fff; font-size: .78rem; font-weight: 500; color: #1b242c; }
.pop-row button[aria-pressed="true"] { background: #1b242c; color: #fff; border-color: #1b242c; }
.desktop { position: absolute; inset: 28px 0 0 0; }
.desk-sm .desktop { inset: 0; }
.empty { position: absolute; inset: 0; display: grid; place-items: center; font: 500 .9rem var(--mono); color: rgba(20, 30, 40, .55); text-align: center; padding: 20px; transition: opacity .3s; }
.has-windows .empty { opacity: 0; pointer-events: none; }
.drop { position: absolute; border-radius: 12px; border: 2px dashed #fff; background: rgba(255, 255, 255, .22); opacity: 0; pointer-events: none; transition: opacity .15s, left .15s, top .15s, width .15s, height .15s; z-index: 90; }
.drop.on { opacity: 1; }
.toast { position: absolute; z-index: 400; left: 50%; bottom: 14px; display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 10px; transform: translate(-50%, 12px); opacity: 0; background: rgba(15, 24, 32, .86); color: #f1ebdf; border-radius: 12px; font-size: .85rem; font-weight: 500; backdrop-filter: blur(8px); transition: opacity .2s, transform .3s var(--ease); pointer-events: none; white-space: nowrap; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast kbd { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .25); color: #f1ebdf; }
.hint { margin-top: 26px; max-width: 54rem; font-size: .95rem; color: var(--band-ink-2); line-height: 2; }
.hint-dark { margin-top: 18px; color: var(--ink-2); line-height: 1.5; }

/* Windows */
.win {
  position: absolute; display: flex; flex-direction: column; overflow: hidden;
  background: var(--win-bg); color: var(--win-ink);
  border-radius: 10px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 6px 18px rgba(15, 25, 35, .22), 0 0 0 1px rgba(15, 25, 35, .12);
  opacity: var(--o, 1);
  transition: left .55s var(--ease), top .55s var(--ease), width .55s var(--ease), height .55s var(--ease), opacity .35s var(--ease), transform .45s var(--ease), box-shadow .3s, filter .35s;
  will-change: left, top, width, height;
}
.win.enter { transition: none; opacity: 0; transform: scale(.9); }
.win.leaving { opacity: 0 !important; transform: scale(.92); pointer-events: none; }
.win.dragging { transition: box-shadow .2s, filter .2s; z-index: 150 !important; box-shadow: 0 24px 50px rgba(0, 0, 0, .4); cursor: grabbing; }
.win.is-under { pointer-events: none; }
.win.is-hidden { visibility: hidden; transition-property: left, top, width, height, opacity, transform, visibility; }
.tb { position: relative; flex: none; display: flex; align-items: center; gap: 8px; height: 28px; padding: 0 10px; background: var(--tb); color: var(--tbfg); touch-action: none; cursor: grab; }
.lights { display: flex; gap: 6px; }
.light { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .85); position: relative; }
.light.close { background: #ff5f57; box-shadow: 0 0 0 1px rgba(0, 0, 0, .25) inset; }
.light.min { background: #febc2e; box-shadow: 0 0 0 1px rgba(0, 0, 0, .2) inset; }
.light.max { background: #28c840; box-shadow: 0 0 0 1px rgba(0, 0, 0, .2) inset; }
.light.close::after { content: "×"; position: absolute; inset: 0; display: grid; place-items: center; font: 700 10px/1 var(--body); color: rgba(60, 0, 0, .8); opacity: 0; }
.tb:hover .light.close::after, .light.close:focus-visible::after { opacity: 1; }
.light.close { cursor: pointer; }
.light.close::before { content: ""; position: absolute; inset: -9px; } /* larger hit area */
.title { flex: 1; text-align: center; font: 600 11.5px/1 var(--body); margin-right: 42px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.badge { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); padding: 3px 6px; border-radius: 999px; background: rgba(0, 0, 0, .28); color: #fff; font: 500 10px/1 var(--mono); }
.badge[hidden] { display: none; }
.body { flex: 1; min-height: 0; overflow: hidden; padding: 10px; font-size: 10.5px; }
@container (max-width: 560px) {
  .win { border-radius: 7px; }
  .tb { height: 20px; padding: 0 7px; gap: 6px; }
  .light { width: 7px; height: 7px; }
  .light.close::after { display: none; }
  .lights { gap: 4px; }
  .title { font-size: 9.5px; margin-right: 30px; }
  .badge { font-size: 8.5px; padding: 2px 5px; }
  .body { padding: 6px; }
}

/* Highlight and modes */
.desk .win.is-active { z-index: 40; }
.desk[data-hl="border"] .win.is-active { box-shadow: 0 0 0 3px var(--hl), 0 12px 30px rgba(15, 25, 35, .3); }
.desk[data-hl="glow"] .win.is-active { box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--hl) 85%, white), 0 0 30px 7px color-mix(in srgb, var(--hl) 80%, transparent), 0 12px 30px rgba(15, 25, 35, .3); }
.desk[data-hl="none"] .win.is-active { box-shadow: 0 10px 28px rgba(15, 25, 35, .3), 0 0 0 1px rgba(15, 25, 35, .12); }
.desk.nopeek .win:not(.is-active) { filter: brightness(.42) saturate(.6); }
.desk[data-mode="clean"] .win:not(.is-active) { --o: 0; pointer-events: none; }
.desk[data-mode="focus"] .win:not(.is-active) { filter: brightness(.8); }

/* Window content (skeletons) */
.sk { display: block; height: 6px; border-radius: 3px; background: var(--sk); margin: 6px 0; }
.c-notes b { display: block; font: 700 12px var(--display); margin-bottom: 4px; }
.c-notes p { display: flex; align-items: center; gap: 7px; }
.c-notes .sk { flex: none; }
.ck { flex: none; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid #d09b1c; }
.c .addr { height: 14px; border-radius: 7px; background: var(--sk); margin-bottom: 8px; }
.c .hero-block { height: 34%; min-height: 24px; border-radius: 6px; background: linear-gradient(135deg, #7fb2ff, #c9a2ff 60%, #ffc1a0); margin-bottom: 8px; }
.body:has(.c-term) { background: #151d24; }
.c-term { font: 400 10px/1.7 var(--mono); color: #d7e0e8; }
.c-term span { color: #6fe0a8; }
.c-term .dim { color: #7f8e9b; }
.c-term em { display: inline-block; width: 6px; height: 11px; background: #d7e0e8; vertical-align: -2px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.row { display: flex; align-items: center; gap: 8px; padding: 4px 0; border-bottom: 1px solid var(--sk); }
.row > div { flex: 1; }
.row .sk { margin: 4px 0; }
.av { flex: none; width: 18px; height: 18px; border-radius: 50%; background: hsl(var(--h) 60% 62%); }
.c-music { display: flex; gap: 10px; align-items: center; height: 100%; }
.c-music .art { flex: none; width: 38%; max-width: 86px; aspect-ratio: 1; border-radius: 8px; background: conic-gradient(from 200deg, #a06be8, #ff8a6b, #ffd36b, #a06be8); }
.c-music > div:last-child { flex: 1; }
.prog { height: 4px; border-radius: 2px; background: var(--sk); margin-top: 10px; }
.prog span { display: block; width: 42%; height: 100%; border-radius: 2px; background: #8f5bd6; }
.c-files { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.c-files .fd { display: block; height: 22px; border-radius: 5px; background: #5ec7ad; margin-bottom: 4px; }
.c-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; height: 100%; align-content: start; }
.c-cal span { aspect-ratio: 1.3; border-radius: 3px; background: var(--sk); }
.c-cal .today { background: #d94f7e; }

/* Mini diagrams */
.mini { position: relative; container-type: inline-size; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: var(--wall); box-shadow: 0 0 0 1px rgba(0, 0, 0, .1); }
.mini-menubar { position: absolute; inset: 0 0 auto 0; height: 7%; min-height: 12px; display: flex; align-items: center; gap: 12px; padding: 0 10px; background: rgba(255, 255, 255, .42); font: 500 9px var(--body); color: #1b242c; z-index: 5; overflow: hidden; white-space: nowrap; }
.mini-menubar em { flex: 1; }
.mini-menubar svg { opacity: .8; }
.mini-hero .mini-menubar { font-size: 11px; }
.mini-desktop { position: absolute; inset: 0; }
.mini-hero .mini-desktop { inset: 7% 0 0 0; }
.mw { position: absolute; display: flex; flex-direction: column; overflow: hidden; border-radius: 7px; background: var(--win-bg); box-shadow: 0 4px 12px rgba(15, 25, 35, .22), 0 0 0 1px rgba(15, 25, 35, .1); opacity: var(--o, 0); transform: scale(var(--s, .9)); transition: left .7s var(--ease), top .7s var(--ease), width .7s var(--ease), height .7s var(--ease), opacity .5s var(--ease), transform .6s var(--ease); }
.mw .mtb { flex: none; height: 16px; display: flex; align-items: center; gap: 3px; padding: 0 6px; background: var(--tb); }
.mw .mtb i { width: 4px; height: 4px; border-radius: 50%; background: rgba(255, 255, 255, .7); }
.mw .mb { flex: 1; padding: 6px; overflow: hidden; }
.mw .mb .sk { height: 4px; margin: 4px 0; }
.mini-hero .mw { border-radius: 10px; }
.mini-hero .mtb { height: 22px; gap: 5px; padding: 0 9px; }
.mini-hero .mtb i { width: 7px; height: 7px; }
.mini-hero .mb { padding: 10px; }
.mini-hero .mb .sk { height: 6px; margin: 7px 0; }

/* How it works */
.steps { display: grid; gap: 18px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 14px 24px; }
.step .num { font: 500 .8rem var(--mono); color: var(--accent-ink); margin: 18px 6px 6px; }
.step h3 { margin: 0 6px 8px; }
.step > p:last-child { margin: 0 6px; color: var(--ink-2); font-size: .98rem; }
@media (min-width: 760px) {
  .steps { grid-template-columns: repeat(6, 1fr); }
  .s-a, .s-b, .s-c { grid-column: span 2; }
  .s-d, .s-e { grid-column: span 3; }
  .s-b { margin-top: 28px; }
  .s-e { margin-top: 0; }
}

/* Features */
.cards { display: grid; gap: 16px; }
.card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px 24px 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .3s var(--ease), border-color .3s; }
.card:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.card .ico { width: 62px; height: 46px; color: var(--ink); margin-bottom: 14px; }
.card p { color: var(--ink-2); font-size: .98rem; }
.card .keys { margin-top: auto; padding-top: 12px; }
@media (min-width: 700px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  .cards { grid-template-columns: repeat(6, 1fr); }
  .card { grid-column: span 2; }
  .c-focus { grid-column: span 3; }
  .c-peek { grid-column: span 3; }
  .c-disp { grid-column: span 2; }
  .c-priv { grid-column: span 2; background: var(--ink); color: var(--paper); border-color: var(--ink); }
  .c-priv p { color: color-mix(in srgb, var(--paper) 78%, transparent); }
  .c-priv .ico { color: var(--paper); }
}
@media (min-width: 1000px) and (prefers-color-scheme: dark) { .c-priv { background: var(--card); color: var(--ink); } .c-priv p { color: var(--ink-2); } .c-priv .ico { color: var(--ink); } }

/* Customize */
.cust { display: grid; gap: 40px; align-items: center; }
.ctl { margin-bottom: 26px; }
.ctl-label { display: flex; justify-content: space-between; margin-bottom: 10px; font: 500 .78rem var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2); }
.ctl-label output { color: var(--ink); }
.seg-light { background: var(--paper-2); border-color: var(--line); }
.seg-light button { color: var(--ink-2); }
.seg-light button:hover { color: var(--ink); }
.seg-light button[aria-checked="true"] { background: var(--ink); color: var(--paper); }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.swatches button { width: 36px; height: 36px; padding: 0; border-radius: 50%; border: 2px solid var(--paper); background: var(--sw); box-shadow: 0 0 0 1px var(--line-strong); transition: transform .2s var(--ease), box-shadow .2s; }
.swatches button:hover { transform: scale(1.08); }
.swatches button[aria-checked="true"] { box-shadow: 0 0 0 3px var(--ink); }
.sw-custom { position: relative; width: 36px; height: 36px; border-radius: 50%; overflow: hidden; background: conic-gradient(red, yellow, lime, cyan, blue, magenta, red); box-shadow: 0 0 0 1px var(--line-strong); cursor: pointer; }
.sw-custom input { position: absolute; inset: -6px; width: 48px; height: 48px; opacity: 0; cursor: pointer; }
.sw-custom:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.range { width: 100%; max-width: 380px; accent-color: var(--accent); height: 28px; }
.plain { display: grid; gap: 8px; margin-top: 8px; color: var(--ink-2); font-size: .98rem; }
.plain li { display: flex; gap: 10px; }
.plain li::before { content: ""; flex: none; width: 14px; height: 2px; margin-top: .8em; background: var(--accent); border-radius: 2px; }
.cust-prev { min-width: 0; }
.desk-sm { aspect-ratio: 4 / 3; }
@media (max-width: 640px) { .desk-sm { aspect-ratio: 1 / 1; } }
@media (min-width: 960px) { .cust { grid-template-columns: .85fr 1.15fr; gap: 64px; } }

/* Shortcuts */
.table-wrap { max-width: 880px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.sc { width: 100%; border-collapse: collapse; font-size: 1rem; }
.sc th, .sc td { text-align: left; padding: 14px 20px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.sc thead th { font: 500 .75rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); background: var(--paper-2); }
.sc tbody th[scope="row"] { font-weight: 500; }
.sc tr.grp th { padding: 22px 20px 8px; font: 700 1.05rem var(--display); border-bottom: 0; color: var(--accent-ink); }
.sc tbody:last-child tr:last-child th, .sc tbody:last-child tr:last-child td { border-bottom: 0; }
.sc td { width: 46%; }
@media (max-width: 560px) { .sc th, .sc td { padding: 12px 14px; } .sc td { width: 42%; } .sc { font-size: .95rem; } }

/* Pricing */
.price { display: grid; gap: 36px; align-items: center; }
.price .sec-head { margin-bottom: 0; }
.price-card { position: relative; background: var(--card); border: 1px solid var(--line-strong); border-radius: 26px; padding: 30px 26px 26px; box-shadow: 10px 10px 0 var(--accent); }
.price-top { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.amount { font-size: 5.2rem; line-height: .9; font-weight: 800; letter-spacing: -.04em; }
.amount .cur { font-size: .5em; vertical-align: .55em; margin-right: 4px; color: var(--accent-ink); }
.amount-note { font: 400 .9rem var(--mono); color: var(--ink-2); }
.ticks { display: grid; gap: 14px; padding: 22px 0 26px; }
.ticks li { position: relative; padding-left: 32px; color: var(--ink-2); }
.ticks li b { color: var(--ink); font-weight: 600; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .28em; width: 20px; height: 20px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5.500 10.300 3 3 6-6.500' fill='none' stroke='%231a0d08' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
@media (min-width: 900px) { .price { grid-template-columns: 1fr minmax(0, 480px); gap: 80px; } .price-card { padding: 38px 36px 34px; } }
@media (max-width: 520px) { .price-card { box-shadow: 6px 6px 0 var(--accent); } }

/* FAQ */
.faq { display: grid; gap: 28px; }
.qa { display: grid; gap: 0; border-top: 1px solid var(--line-strong); }
.qa details { border-bottom: 1px solid var(--line-strong); }
.qa summary { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 22px 4px; list-style: none; cursor: pointer; font: 700 1.18rem/1.3 var(--display); letter-spacing: -.01em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; flex: none; width: 22px; height: 22px; background: linear-gradient(var(--ink), var(--ink)) center / 100% 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 2px 100% no-repeat; transition: transform .3s var(--ease); }
.qa details[open] summary::after { transform: rotate(135deg); }
.qa summary:hover { color: var(--accent-ink); }
.qa details p { padding: 0 44px 24px 4px; max-width: 46rem; color: var(--ink-2); }
@media (min-width: 960px) { .faq { grid-template-columns: .7fr 1.3fr; gap: 72px; } .sec-head { margin-bottom: 40px; } .faq .sec-head { position: sticky; top: 100px; align-self: start; } }

/* Closer + footer */
.closer { padding: 100px 0 90px; text-align: center; position: relative; overflow: hidden; }
.closer h2 { font-size: clamp(2.2rem, 6.4vw, 4.6rem); max-width: 14em; margin: 0 auto; }
.closer .cta-row { margin-top: 34px; }
.foot { border-top: 1px solid var(--line); padding: 44px 0 32px; }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; }
.foot-tag { margin-top: 10px; color: var(--ink-2); font-size: .95rem; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; align-content: flex-start; }
.foot-nav a { text-decoration: none; color: var(--ink-2); font-size: .95rem; }
.foot-nav a:hover { color: var(--ink); text-decoration: underline; }
.foot-legal { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--ink-2); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
  .win, .mw, .btn, .card, .toast, .drop, .js [data-reveal] { transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
