/* Lumen website. Brand: warm paper, terracotta, Newsreader headlines, Inter text, and Lumi's family of toons.
   No images: every illustration is HTML and SVG, so it stays sharp and adapts to any screen. */
@font-face { font-family: "Inter"; src: url(fonts/Inter.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url(fonts/Newsreader.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url(fonts/Newsreader-Italic.woff2) format("woff2"); font-weight: 400 600; font-style: italic; font-display: swap; }

:root {
  --bg: #FAF9F5; --bg2: #F3F1EA; --card: #FFFFFF; --ink: #1F1E1D; --ink2: #5F5D57; --ink3: #8E8B83; --line: #E5E1D6;
  --accent: #D97353; --accent-ink: #B5543A; --accent-soft: #F8E7DF;
  --sage: #6F9565; --ocean: #0070C9; --lav: #8B78C9; --amber: #FFD52E; --brown: #8B5E3C;
  --night: #1B1A19; --paper: #F5F4EE;
  --serif: Newsreader, "New York", Georgia, serif;
  --r: 22px; --r-l: 34px; --maxw: 1180px;
  --sh-1: 0 1px 2px rgba(31, 30, 29, .05), 0 6px 16px rgba(31, 30, 29, .05);
  --sh-2: 0 2px 6px rgba(31, 30, 29, .05), 0 24px 56px rgba(31, 30, 29, .12);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #1C1B1A; --bg2: #232220; --card: #292725; --ink: #F5F4EE; --ink2: #BAB7AD; --ink3: #8E8B83; --line: #37352F;
    --accent: #E28C6D; --accent-ink: #F0A283; --accent-soft: #3B2A22; --night: #121110;
    --sh-1: 0 1px 2px rgba(0, 0, 0, .3); --sh-2: 0 24px 56px rgba(0, 0, 0, .45); }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 Inter, -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased; font-feature-settings: "cv11", "ss01"; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--accent-ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--card); padding: 8px 14px; border-radius: 10px; z-index: 50; }
.skip:focus { left: 12px; }
.serif { font-family: var(--serif); }
em.acc, .acc em { font-style: italic; color: var(--accent); }
.center { text-align: center; margin-top: 36px; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--accent); }

/* ---------------------------------------------------------------- Header */
.top { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 80%, transparent);
  -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.top .wrap { display: flex; align-items: center; gap: 12px; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 600 25px/1 var(--serif); letter-spacing: -.4px; }
.brand svg { width: 32px; height: 32px; flex: none; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; font-size: 15px; font-weight: 550; }
.nav a { color: var(--ink2); text-decoration: none; padding: 8px 14px; border-radius: 999px; }
.nav a:hover, .nav a[aria-current] { color: var(--ink); background: color-mix(in srgb, var(--ink) 6%, transparent); }
.nav a.btn, .nav a.btn:hover { color: var(--bg); background: var(--ink); margin-left: 8px; }
@media (max-width: 720px) { .nav .hide-s { display: none; } .top .wrap { height: 60px; } .nav a { padding: 8px 10px; } .nav a.btn { height: 40px; padding: 0 14px; font-size: 14px; } }
@media (max-width: 420px) { .nav a.btn span { display: none; } .nav a.btn { width: 40px; padding: 0; } .brand { font-size: 23px; } }

/* ---------------------------------------------------------------- Buttons and labels */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 22px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--ink); color: var(--bg); font: 650 15.5px/1 Inter, sans-serif; text-decoration: none; white-space: nowrap; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 10px 24px color-mix(in srgb, var(--ink) 20%, transparent); }
.btn.big { height: 56px; padding: 0 26px; font-size: 16.5px; }
.btn.accent { background: var(--accent); color: #fff; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink3); }
.btn svg { width: 21px; height: 21px; flex: none; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--accent-ink); }
.kicker::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.checks { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 11px; background: var(--accent-soft)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%23D97353' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/15px no-repeat; }

/* ---------------------------------------------------------------- Hero */
.hero { position: relative; overflow: hidden; padding: 80px 0 72px; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(40% 55% at 74% 52%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%),
              radial-gradient(30% 40% at 4% 0%, color-mix(in srgb, var(--amber) 14%, transparent), transparent 70%),
              radial-gradient(30% 40% at 100% 100%, color-mix(in srgb, var(--lav) 12%, transparent), transparent 70%); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; height: 36px; padding: 0 16px 0 12px; border-radius: 999px; background: color-mix(in srgb, var(--card) 70%, transparent);
  box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; font-weight: 650; letter-spacing: 1.4px; text-transform: uppercase; color: var(--ink2); }
.pulse { width: 8px; height: 8px; border-radius: 4px; background: #34C759; box-shadow: 0 0 0 4px color-mix(in srgb, #34C759 20%, transparent); }
.hero h1 { font: 500 clamp(50px, 6.4vw, 88px)/.96 var(--serif); letter-spacing: -.04em; margin: 24px 0 0; }
.hero .lead { font-size: clamp(18px, 1.7vw, 21px); line-height: 1.55; color: var(--ink2); max-width: 540px; margin: 26px 0 0; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero .note { margin: 16px 0 0; color: var(--ink3); font-size: 14px; }
.hero-scene { position: relative; aspect-ratio: 1 / .92; width: 100%; }
.orbit { position: absolute; border-radius: 50%; border: 2px dashed color-mix(in srgb, var(--accent) 28%, transparent); inset: 6% 2%; }
.orbit.o2 { inset: 20% 14%; border-style: solid; border-width: 1.5px; border-color: color-mix(in srgb, var(--accent) 16%, transparent); }
.cast { position: absolute; left: 0; right: 0; bottom: 18%; height: 46%; }
.cast svg { position: absolute; bottom: 0; }
.cast .t1 { width: 17%; left: 4%; } .cast .t2 { width: 23%; left: 17%; bottom: 7%; }
.cast .t3 { width: 36%; left: 32%; } .cast .t4 { width: 23%; left: 63%; } .cast .t5 { width: 18%; left: 80%; bottom: 5%; }
.tag { position: absolute; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; border-radius: 999px; background: var(--card);
  box-shadow: var(--sh-2), inset 0 0 0 1px var(--line); font-size: 14.5px; font-weight: 620; white-space: nowrap; }
.tag svg { width: 18px; height: 18px; color: var(--accent); }
.tg1 { left: 0; top: 14%; rotate: -4deg; } .tg1 svg { color: #E8933A; }
.tg2 { right: 0; top: 4%; rotate: 3deg; }
.tg3 { right: 6%; bottom: 4%; rotate: -2deg; }
.switch { width: 40px; height: 24px; border-radius: 12px; background: #34C759; position: relative; flex: none; }
.switch::after { content: ""; position: absolute; right: 3px; top: 3px; width: 18px; height: 18px; border-radius: 9px; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
@keyframes hop { 0%, 70%, 100% { transform: translateY(0); } 80% { transform: translateY(-14%); } 90% { transform: translateY(2%); } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.cast .t3 { animation: hop 4.5s ease-in-out infinite; } .cast .t2 { animation: hop 5.5s ease-in-out 1.2s infinite; } .cast .t5 { animation: hop 6s ease-in-out 2.4s infinite; }
.tag { animation: float 6s ease-in-out infinite; } .tg2 { animation-delay: 1.5s; } .tg3 { animation-delay: 3s; }
@media (max-width: 900px) {
  .hero { padding: 48px 0 40px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 24px; }
  .hero-scene { max-width: 520px; margin: 0 auto; }
}
@media (max-width: 480px) { .hero .ctas .btn { width: 100%; } .tag { font-size: 13px; padding: 8px 12px 8px 10px; } }

/* ---------------------------------------------------------------- Strip */
.strip { border-block: 1px solid var(--line); background: var(--bg2); }
.strip .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 34px; padding-block: 20px; }
.strip span { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 650; letter-spacing: 1.4px; text-transform: uppercase; color: var(--ink2); }
.strip svg { width: 18px; height: 18px; color: var(--accent); }

/* ---------------------------------------------------------------- Sections */
section.block { padding: 112px 0; }
section.alt { background: var(--bg2); }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 64px; }
.sec-head h2, .h2 { font: 500 clamp(36px, 5vw, 60px)/1.03 var(--serif); letter-spacing: -.035em; margin: 16px 0 0; }
.sec-head p, .sub { color: var(--ink2); font-size: 19px; margin: 18px auto 0; max-width: 620px; }
@media (max-width: 700px) { section.block { padding: 72px 0; } .sec-head { margin-bottom: 40px; } }

/* ---------------------------------------------------------------- Features with illustrated "stages" */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.feature + .feature { margin-top: 96px; }
.feature.flip .stagebox { order: 2; }
.stagebox { position: relative; border-radius: var(--r-l); padding: clamp(24px, 5vw, 56px); display: flex; align-items: center; justify-content: center; min-height: 420px;
  background: radial-gradient(70% 60% at 50% 100%, color-mix(in srgb, var(--tint) 30%, transparent), transparent 70%),
              linear-gradient(160deg, color-mix(in srgb, var(--tint) 13%, var(--card)), color-mix(in srgb, var(--tint) 4%, var(--bg2)));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tint) 20%, var(--line)); }
.copy .badge { width: 52px; height: 52px; border-radius: 16px; display: flex; align-items: center; justify-content: center; color: var(--on, #fff); background: var(--tint);
  box-shadow: 0 10px 22px color-mix(in srgb, var(--tint) 30%, transparent); margin-bottom: 22px; }
.copy .badge svg { width: 26px; height: 26px; }
.copy h3 { font: 500 clamp(32px, 3.8vw, 46px)/1.05 var(--serif); letter-spacing: -.03em; margin: 14px 0 0; }
.copy p { color: var(--ink2); font-size: 18.5px; margin: 18px 0 0; max-width: 480px; }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; gap: 32px; } .feature.flip .stagebox { order: 0; } .feature + .feature { margin-top: 72px; } .stagebox { min-height: 0; } }

/* The mini app windows */
.ui { width: 100%; max-width: 420px; background: var(--card); border-radius: 26px; padding: 22px; box-shadow: var(--sh-2), inset 0 0 0 1px var(--line); font-size: 14.5px; line-height: 1.5; }
.ui-bar { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px solid var(--line); font-weight: 650; }
.ui-bar .dot { width: 26px; height: 26px; border-radius: 13px; background: var(--accent); box-shadow: inset 0 0 0 6px color-mix(in srgb, #fff 70%, var(--accent)); flex: none; }
.ui-bar .ttl { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ui-bar .air { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: #B86E16; background: color-mix(in srgb, #E8933A 16%, transparent); padding: 4px 10px; border-radius: 999px; }
.ui-bar .air svg { width: 13px; height: 13px; }
.ui .bubble { margin-left: auto; width: fit-content; max-width: 82%; background: var(--bg2); border-radius: 18px; padding: 10px 14px; }
.ui .thought { display: inline-flex; align-items: center; gap: 7px; margin: 14px 0 8px; padding: 5px 11px; border-radius: 999px; background: var(--bg2); color: var(--ink2); font-size: 12.5px; font-weight: 600; }
.ui .thought svg { width: 12px; height: 12px; color: var(--accent); }
.ui .answer p { margin: 0 0 8px; }
.ui .answer p.h { font: 600 17px/1.3 var(--serif); margin-top: 12px; margin-bottom: 2px; }
.ui .answer sup { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; margin-left: 2px;
  background: var(--accent-soft); color: var(--accent-ink); font-size: 11px; font-weight: 750; vertical-align: 2px; }
.ui .meta { display: flex; justify-content: space-between; gap: 10px; color: var(--ink3); font-size: 12px; margin-top: 6px; }
.ui .composer { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding: 8px 8px 8px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink3); }
.ui .send { width: 32px; height: 32px; border-radius: 16px; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; }
.ui .send svg { width: 17px; height: 17px; }
.docs-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.docpill { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 8px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-size: 10.5px; font-weight: 800; color: #fff;
  background: linear-gradient(90deg, var(--c) 0 40px, transparent 40px); }
.docpill b { color: var(--ink); font-size: 13px; font-weight: 600; margin-left: 4px; }
.ui .src { display: flex; align-items: center; gap: 10px; margin-top: 8px; padding: 9px 12px; border-radius: 12px; background: var(--bg2); font-weight: 600; font-size: 13.5px; }
.ui .src .n { width: 20px; height: 20px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-ink); font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.ui .src em { margin-left: auto; color: var(--ink3); font-style: normal; font-weight: 500; }
.codeui { padding: 0; overflow: hidden; }
.diff-head { display: flex; align-items: center; gap: 10px; padding: 16px 18px; font: 600 14px ui-monospace, Menlo, monospace; }
.diff-head svg { width: 18px; height: 18px; color: var(--accent); }
.diff-head .plus { margin-left: auto; color: #3E8E5A; } .diff-head .minus { color: #C2413A; }
.codeui pre { margin: 0; padding: 10px 0; border-block: 1px solid var(--line); font: 12.5px/1.8 ui-monospace, Menlo, monospace; overflow-x: auto; }
.codeui pre span { display: block; padding: 0 18px; white-space: pre; }
.codeui .a { background: color-mix(in srgb, #3E8E5A 12%, transparent); } .codeui .d { background: color-mix(in srgb, #C2413A 10%, transparent); color: var(--ink2); }
.codeui .wait { margin: 14px 18px 10px; color: var(--ink2); font-size: 13px; }
.codeui .btns { display: flex; gap: 10px; padding: 0 18px 18px; }
.codeui .btns span { flex: 1; text-align: center; padding: 11px; border-radius: 999px; font-weight: 650; }
.codeui .b1 { background: var(--accent); color: #fff; } .codeui .b2 { background: var(--bg2); }
.voiceui { text-align: center; padding: 34px 22px 26px; }
.voiceui .vl { width: 130px; margin: 0 auto; animation: hop 4s ease-in-out infinite; }
.voiceui .bars { display: flex; align-items: center; justify-content: center; gap: 5px; height: 58px; margin: 18px 0 14px; }
.voiceui .bars i { display: block; width: 6px; border-radius: 3px; background: var(--accent); opacity: .85; }
.voiceui .said { font: 500 21px/1.3 var(--serif); margin: 0; }
.voiceui .listen { color: var(--ink3); font-size: 13px; margin: 8px 0 0; }
.q-top { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 650; color: var(--ink2); }
.q-top svg { width: 16px; height: 16px; color: var(--accent); flex: none; }
.q-top span { margin-left: auto; font-weight: 500; white-space: nowrap; }
.ui .q { font-size: 19px; font-weight: 700; letter-spacing: -.3px; margin: 12px 0 14px; }
.ui .opt { display: flex; align-items: center; padding: 11px 14px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 8px; background: var(--bg); }
.ui .opt.on { box-shadow: inset 0 0 0 2px var(--accent); background: color-mix(in srgb, var(--accent) 8%, var(--card)); font-weight: 600; }
.ui .opt span { margin-left: auto; color: var(--accent); } .ui .opt svg { width: 16px; height: 16px; }
.ui .mem { display: flex; gap: 12px; align-items: center; margin-top: 16px; padding: 12px 14px; border-radius: 16px; background: color-mix(in srgb, var(--lav) 12%, var(--card)); font-weight: 600; }
.ui .mem svg { width: 20px; height: 20px; color: var(--lav); flex: none; }
.ui .mem small { display: block; font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--ink3); font-weight: 700; }

/* ---------------------------------------------------------------- Privacy (night) */
.night { background: radial-gradient(60% 80% at 30% 0%, #302B27, var(--night) 70%); color: var(--paper); }
.night .kicker { color: #F0A283; } .night h2 em { color: #F0A283; } .night .sub { color: #B9B6AC; margin-left: 0; }
.night-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: center; }
.rings { position: relative; aspect-ratio: 1; width: 100%; max-width: 440px; margin: 0 auto; }
.rings i { position: absolute; inset: 0; margin: auto; border-radius: 50%; border: 1.5px solid rgba(240, 162, 131, .14); }
.rings i:nth-child(1) { width: 44%; height: 44%; border-color: rgba(240, 162, 131, .6); background: radial-gradient(circle, rgba(217, 119, 87, .3), rgba(217, 119, 87, .04) 70%); box-shadow: 0 0 120px rgba(217, 119, 87, .45); }
.rings i:nth-child(2) { width: 64%; height: 64%; border-color: rgba(240, 162, 131, .3); }
.rings i:nth-child(3) { width: 84%; height: 84%; border-color: rgba(240, 162, 131, .18); }
.rings i:nth-child(4) { width: 100%; height: 100%; border-style: dashed; }
.rings svg { position: absolute; width: 30%; left: 35%; top: 33%; animation: hop 5s ease-in-out infinite; }
.pgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 34px; }
.pitem { padding: 20px; border-radius: var(--r); background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.pi { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: rgba(240, 162, 131, .14); color: #F0A283; margin-bottom: 12px; }
.pi svg { width: 21px; height: 21px; }
.pitem h3 { margin: 0 0 4px; font-size: 16.5px; } .pitem p { margin: 0; color: #B9B6AC; font-size: 14.5px; line-height: 1.5; }
@media (max-width: 900px) { .night-grid { grid-template-columns: 1fr; gap: 40px; } .rings { max-width: 280px; } }
@media (max-width: 540px) { .pgrid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- Bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile { border-radius: var(--r-l); background: var(--card); box-shadow: inset 0 0 0 1px var(--line), var(--sh-1); padding: 28px; transition: transform .2s ease, box-shadow .2s ease; min-width: 0; }
.tile:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--line), var(--sh-2); }
.tile.wide { grid-column: span 2; }
.ti { width: 44px; height: 44px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent-ink); margin-bottom: 18px; }
.ti svg { width: 22px; height: 22px; }
.tile h3 { margin: 0; font: 600 24px/1.15 var(--serif); }
.tile p { margin: 8px 0 0; color: var(--ink2); font-size: 15.5px; }
.models { display: grid; gap: 8px; margin-top: 22px; }
.models span { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 14px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); font-size: 14.5px; }
.models em { margin-left: auto; font-style: normal; font-size: 12px; font-weight: 700; color: #3E8E5A; background: color-mix(in srgb, #3E8E5A 14%, transparent); padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.models em.pur { color: #6C55C9; background: color-mix(in srgb, #6C55C9 14%, transparent); }
.models .bar { margin-left: auto; width: 40%; height: 6px; border-radius: 3px; background: var(--bg2); overflow: hidden; display: block; }
.models .bar i { display: block; height: 100%; width: 62%; background: var(--accent); }
.toons { display: flex; align-items: flex-end; gap: 6px; margin-top: 22px; }
.toons svg { width: 64px; min-width: 0; flex: 0 1 64px; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.swatches i { width: 26px; height: 26px; border-radius: 13px; display: block; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
@media (max-width: 900px) { .bento { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } .tile.wide { grid-column: auto; } }

/* ---------------------------------------------------------------- Pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 900px; margin: 0 auto; }
.plan { position: relative; display: flex; flex-direction: column; border-radius: var(--r-l); background: var(--card); padding: 34px; box-shadow: inset 0 0 0 1px var(--line), var(--sh-1); }
.plan.pro { box-shadow: inset 0 0 0 2px var(--accent), var(--sh-2); }
.plan .ribbon { position: absolute; top: 24px; right: 24px; background: var(--accent); color: #fff; font-size: 11.5px; font-weight: 750; letter-spacing: 1.2px; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.plan h3 { margin: 0; font: 500 38px/1 var(--serif); letter-spacing: -.02em; }
.plan .sub { color: var(--ink2); margin: 10px 0 0; font-size: 16px; }
.plan .checks { margin-bottom: 28px; font-size: 16px; }
.plan .btn { margin-top: auto; width: 100%; }
.plan .note { color: var(--ink3); font-size: 13.5px; margin: 14px 0 0; text-align: center; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } .plan { padding: 26px; } .plan .ribbon { position: static; align-self: flex-start; margin-bottom: 14px; } }

/* ---------------------------------------------------------------- FAQ and cards */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; align-items: start; max-width: 1040px; margin: 0 auto; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }
details { background: var(--card); border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line); padding: 0 22px; margin-bottom: 12px; }
.faq details { margin: 0; }
details[open] { box-shadow: inset 0 0 0 1px var(--ink3), var(--sh-1); }
summary { cursor: pointer; padding: 19px 0; font-weight: 620; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: none; width: 26px; height: 26px; border-radius: 13px; transition: transform .2s ease; background: var(--bg2)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5' fill='none' stroke='%23D97353' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
details[open] summary::after { transform: rotate(180deg); }
details > div { padding: 0 0 20px; color: var(--ink2); }
details > div p { margin: 0 0 8px; }
.gcards, .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 14px; }
.gcard, .card { display: block; text-decoration: none; color: inherit; padding: 22px; border-radius: 22px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); transition: transform .15s ease, box-shadow .15s ease; }
a.gcard:hover, a.card:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--accent), var(--sh-2); }
.gcard .n { font: italic 500 15px/1 var(--serif); color: var(--accent-ink); }
.gcard h3, .card h3 { margin: 10px 0 6px; font-size: 17.5px; }
.card h3 { margin-top: 0; }
.gcard p, .card p { margin: 0; color: var(--ink2); font-size: 15px; line-height: 1.5; }
.card .ic { width: 36px; height: 36px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; font: italic 600 16px var(--serif); }

/* ---------------------------------------------------------------- Final band */
.band { position: relative; overflow: hidden; text-align: center; padding: 112px 0; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 70% at 50% 100%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%); }
.band .family { width: min(440px, 88%); margin: 0 auto 30px; }
.band h1, .band h2, h2.big { font: 500 clamp(42px, 6vw, 74px)/1 var(--serif); letter-spacing: -.04em; margin: 0; }
.band p { color: var(--ink2); font-size: 19px; max-width: 560px; margin: 18px auto 32px; }

/* ---------------------------------------------------------------- Inner pages: guide, support, legal */
.page { padding: 56px 0 104px; }
.page h1 { font: 500 clamp(40px, 5.6vw, 64px)/1.03 var(--serif); letter-spacing: -.035em; margin: 12px 0 0; }
.page .lede { color: var(--ink2); font-size: 19.5px; line-height: 1.55; margin: 16px 0 36px; max-width: 680px; }
.prose { max-width: 720px; font-size: 17.5px; line-height: 1.7; }
.prose h2 { font: 600 29px/1.2 var(--serif); letter-spacing: -.015em; margin: 48px 0 10px; scroll-margin-top: 90px; }
.prose h3 { font-size: 18.5px; margin: 30px 0 6px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin: 8px 0; padding-left: 4px; }
.prose li::marker { color: var(--accent); font-weight: 700; }
.prose code { background: var(--bg2); padding: 2px 7px; border-radius: 7px; font: 14.5px ui-monospace, Menlo, monospace; }
.prose blockquote { margin: 24px 0; padding: 18px 22px 18px 52px; position: relative; background: var(--accent-soft); border-radius: 18px; }
.prose blockquote::before { content: "✦"; position: absolute; left: 22px; top: 17px; color: var(--accent); }
.prose blockquote p { margin: 0; }
.prose table { border-collapse: separate; border-spacing: 0; width: 100%; margin: 22px 0; font-size: 15.5px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose tr:last-child td { border-bottom: 0; }
.prose th { background: var(--bg2); color: var(--ink3); font-size: 12.5px; text-transform: uppercase; letter-spacing: 1.2px; }
.prose em { color: var(--ink2); }
.docs { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 64px; }
.docs > * { min-width: 0; }
.side { position: sticky; top: 92px; align-self: start; max-height: calc(100vh - 110px); overflow: auto; }
.side h4 { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--ink3); margin: 6px 0 12px 12px; }
.side a { display: block; padding: 8px 12px; border-radius: 12px; color: var(--ink2); text-decoration: none; font-size: 15px; }
.side a:hover { background: var(--bg2); color: var(--ink); }
.side a[aria-current] { background: var(--accent-soft); color: var(--accent-ink); font-weight: 620; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 60px; max-width: 720px; }
.pager a { text-decoration: none; padding: 18px 20px; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); background: var(--card); font-weight: 620; }
.pager a:hover { box-shadow: inset 0 0 0 1px var(--accent), var(--sh-1); }
.pager a small { display: block; color: var(--ink3); font-size: 13px; font-weight: 500; }
.pager a.next { text-align: right; grid-column: 2; }
@media (max-width: 960px) {
  .docs { grid-template-columns: 1fr !important; gap: 0 !important; }
  .side { position: static; max-height: none; margin: 0 0 28px; }
  .side nav { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
  .side a { white-space: nowrap; background: var(--bg2); } .side h4 { display: none; }
  #contact { margin-top: 40px; }
}
@media (max-width: 560px) { .pager { grid-template-columns: 1fr; } .pager a.next { grid-column: auto; } }
form.contact { background: var(--card); border-radius: var(--r-l); box-shadow: inset 0 0 0 1px var(--line), var(--sh-2); padding: 30px; display: grid; gap: 16px; }
.field label { display: block; font-weight: 620; font-size: 14.5px; margin-bottom: 7px; }
.field .hint { font-weight: 400; color: var(--ink3); }
input, select, textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; }
select { appearance: none; -webkit-appearance: none; padding-right: 40px;
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5' fill='none' stroke='%238E8B83' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 12px center/18px no-repeat; }
textarea { min-height: 170px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.hp { position: absolute; left: -5000px; }
@media (max-width: 560px) { form.contact { padding: 20px; } }

/* ---------------------------------------------------------------- Footer */
footer { border-top: 1px solid var(--line); background: var(--bg2); padding: 64px 0 44px; color: var(--ink3); font-size: 14.5px; }
.foot { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.foot p { margin: 14px 0 0; max-width: 300px; line-height: 1.55; }
.foot h4 { color: var(--ink); font-size: 12.5px; letter-spacing: 1.6px; text-transform: uppercase; margin: 6px 0 12px; }
.foot nav a { display: block; color: var(--ink2); text-decoration: none; padding: 4px 0; }
.foot nav a:hover { color: var(--ink); }
.fine { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 13px; }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* ---------------------------------------------------------------- Small screens and motion */
@media (max-width: 600px) { .wrap { padding: 0 18px; } body { font-size: 16.5px; } .copy p, .sec-head p { font-size: 17px; } .ui { padding: 18px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
.feature > *, .hero .wrap > *, .night-grid > * { min-width: 0; }
.ui { max-width: min(420px, 100%); }
@media (max-width: 370px) { .top .wrap { gap: 6px; } .nav { gap: 0; } .nav a { padding: 8px 7px; font-size: 14px; } .nav a.btn { margin-left: 4px; } .brand { font-size: 21px; gap: 8px; } .brand svg { width: 28px; height: 28px; } }
