/* Lullpage website — "Dusk Teal & Apricot" */
:root {
  --teal: #1e6f6a; --teal-2: #23847d; --teal-deep: #0e3d3a; --teal-soft: #e3f0ee;
  --apricot: #f4a259; --apricot-lt: #ffc58f; --coral: #e4704a; --apricot-soft: #fdebd9;
  --bg: #fbf6ee; --card: #ffffff; --line: #ece3d5; --ink: #1f2a2e; --muted: #5b6663;
  --shadow: 0 1px 2px rgba(31,42,46,.05), 0 12px 32px rgba(31,42,46,.08);
  --radius: 20px;
  --wrap: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root { --teal: #4fb3a9; --teal-soft: #1d3432; --apricot-soft: #3a2a1d; --bg: #101718; --card: #172022;
    --line: #25322f; --ink: #e7eeec; --muted: #9aa7a3; --shadow: 0 1px 2px rgba(0,0,0,.3), 0 12px 32px rgba(0,0,0,.3); }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.65 "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 8px; z-index: 99; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--apricot); outline-offset: 2px; border-radius: 6px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -.4px; }
.brand img { width: 34px; height: 34px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 10px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: var(--card); }
.menu-btn { display: none; border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: 10px; padding: 8px 12px; font: inherit; font-weight: 700; }
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 10px 22px 16px; }
  .nav.open { display: flex; }
  .nav .btn { margin-top: 6px; text-align: center; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; font-weight: 750;
  padding: 13px 22px; border-radius: 14px; border: 0; cursor: pointer; font-size: 16px; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--apricot); color: #2b1a0c; box-shadow: 0 8px 22px rgba(244,162,89,.4); }
.btn-primary:hover { background: #f7b273; }
.btn-teal { background: var(--teal); color: #fff; }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.3); }
.nav .btn { padding: 9px 16px; font-size: 14.5px; color: #fff; background: var(--teal); }
@media (prefers-color-scheme: dark) { .nav .btn { color: #0e2422; } }
.btn svg { width: 20px; height: 20px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff; padding: 84px 0 150px;
  background: radial-gradient(700px 420px at 80% 5%, rgba(79,179,169,.55), transparent 60%),
              radial-gradient(600px 400px at 0% 0%, #2a948b 0, transparent 55%),
              linear-gradient(160deg, #1d7a73 0%, #135450 55%, #0e3d3a 100%); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; position: relative; z-index: 2; }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 700; color: #ffe3c4; }
.hero h1 { font-size: clamp(40px, 6vw, 66px); line-height: 1.02; letter-spacing: -2.2px; margin: 18px 0 18px; font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--apricot-lt); }
.hero .lead { font-size: 20px; color: #d7ece9; margin: 0 0 28px; max-width: 560px; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .meta { margin-top: 22px; font-size: 14.5px; color: #bfe0dc; display: flex; gap: 18px; flex-wrap: wrap; }
.hero .meta span::before { content: "✓ "; color: var(--apricot-lt); font-weight: 800; }
.waves { position: absolute; left: 0; bottom: -1px; width: 100%; height: 120px; z-index: 1; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } .hero { padding: 56px 0 130px; } }

/* Interactive demo */
.demo { position: relative; }
.browser { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 70px rgba(4,26,24,.5), 0 6px 18px rgba(0,0,0,.2); }
.browser .bar { height: 32px; background: #eef0f0; display: flex; align-items: center; gap: 7px; padding: 0 12px; }
.browser .bar i { width: 10px; height: 10px; border-radius: 50%; }
.browser .bar span { flex: 1; height: 16px; border-radius: 8px; background: #fff; margin-left: 10px; font-size: 10.5px; color: #8a8f8d; line-height: 16px; padding-left: 10px; }
.page { padding: 20px 24px 26px; transition: background .35s; color: var(--p-text); background: var(--p-bg); }
.page .pnav { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; font-size: 13px; }
.page .plogo { font-weight: 800; color: #e63946; font-size: 16px; }
.page .pnav a { color: var(--p-text); opacity: .7; text-decoration: none; }
.page .psub { margin-left: auto; background: #1a73e8; color: #fff; padding: 5px 12px; border-radius: 6px; font-weight: 700; font-size: 12px; }
.page .ptag { background: #ffd166; color: #333; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 4px; }
.page h3 { color: var(--p-head); font-size: 22px; line-height: 1.2; margin: 10px 0 8px; transition: color .35s; }
.page p { font-size: 14px; margin: 0 0 10px; line-height: 1.55; transition: color .35s; }
.page .pimg { height: 84px; border-radius: 10px; background: linear-gradient(135deg, #ff9a9e, #fad0c4 50%, #a1c4fd); margin: 12px 0; }
.page .plink { color: var(--p-link); font-weight: 700; font-size: 14px; }
.swatches { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; justify-content: center; }
.swatches button { width: 36px; height: 36px; border-radius: 50%; border: 2px solid rgba(255,255,255,.8); cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,.25); transition: transform .15s; }
.swatches button:hover { transform: scale(1.1); }
.swatches button[aria-pressed="true"] { outline: 3px solid var(--apricot); outline-offset: 2px; }
.demo-label { text-align: center; color: #d7ece9; font-size: 14px; margin-top: 10px; }

/* ---------- Sections ---------- */
section { padding: 76px 0; }
.section-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.kicker { color: var(--coral); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: 13px; }
h2 { font-size: clamp(30px, 4vw, 42px); line-height: 1.12; letter-spacing: -1.2px; margin: 8px 0 14px; }
.section-head p { color: var(--muted); font-size: 18.5px; margin: 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } section { padding: 56px 0; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card h3 { margin: 12px 0 6px; font-size: 19px; letter-spacing: -.3px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--teal-soft); color: var(--teal); }
.icon.warm { background: var(--apricot-soft); color: var(--coral); }
.icon svg { width: 24px; height: 24px; }

.alt { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.shot { border-radius: 18px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split.rev > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.rev > :first-child { order: 0; } }
.split h2 { text-align: left; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; }
.ticks li { padding-left: 30px; position: relative; margin-bottom: 10px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat; }

/* Steps */
.steps { counter-reset: s; }
.steps .card { position: relative; padding-top: 30px; }
.steps .card::before { counter-increment: s; content: counter(s); position: absolute; top: -16px; left: 24px; width: 36px; height: 36px; border-radius: 50%;
  background: var(--apricot); color: #2b1a0c; font-weight: 800; display: grid; place-items: center; box-shadow: 0 6px 14px rgba(244,162,89,.45); }

/* Theme gallery */
.theme-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.theme { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow); }
.theme .sw { padding: 16px; min-height: 108px; }
.theme .sw b { display: block; font-size: 17px; margin-bottom: 4px; }
.theme .sw span { font-size: 13.5px; opacity: .85; }
.theme .sw i { display: inline-block; font-style: normal; font-weight: 700; font-size: 13.5px; margin-top: 8px; text-decoration: underline; }
.theme .info { padding: 10px 16px 12px; font-size: 14px; color: var(--muted); }
.theme .info code { font-size: 12.5px; }

/* Table */
.table-wrap { overflow-x: auto; border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; background: var(--card); font-size: 16px; min-width: 560px; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--teal-soft); font-size: 14px; }
tbody tr:last-child td { border-bottom: 0; }
td.yes { color: var(--teal); font-weight: 700; }

/* FAQ */
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; margin-bottom: 12px; box-shadow: var(--shadow); }
.faq summary { font-weight: 750; font-size: 17.5px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--teal); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* CTA band */
.cta-band { position: relative; overflow: hidden; border-radius: 28px; padding: 56px 40px 90px; text-align: center; color: #fff;
  background: linear-gradient(160deg, #1d7a73, #0e3d3a); }
.cta-band h2 { color: #fff; }
.cta-band p { color: #d7ece9; font-size: 18.5px; margin: 0 auto 26px; max-width: 560px; }
.cta-band .waves { height: 70px; }
.cta-band > * { position: relative; z-index: 2; }
.cta-band > svg.waves { position: absolute; z-index: 1; left: 0; bottom: -1px; width: 100%; }

/* Prose pages */
.page-hero { padding-top: 64px; padding-bottom: 30px; }
.page-hero.narrow { max-width: 780px; }
.page-hero h1 { font-size: clamp(34px, 5vw, 50px); letter-spacing: -1.6px; line-height: 1.08; margin: 8px 0 12px; }
.page-hero p { color: var(--muted); font-size: 19px; margin: 0; max-width: 720px; }
.crumbs { font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.prose { max-width: 780px; padding-bottom: 60px; }
.prose h2 { font-size: 26px; letter-spacing: -.5px; margin: 38px 0 10px; }
.prose h3 { font-size: 19px; margin: 26px 0 6px; }
.prose p, .prose li { color: var(--ink); }
.prose .note { background: var(--apricot-soft); border-radius: 14px; padding: 14px 18px; }
.prose table { min-width: 0; }
.tldr { background: var(--teal-soft); border-left: 4px solid var(--teal); border-radius: 12px; padding: 14px 18px; margin: 10px 0 24px; }
kbd { font: 700 13.5px/1 Consolas, monospace; background: var(--card); border: 1px solid var(--line); border-bottom-width: 3px; border-radius: 7px; padding: 4px 8px; }
.release { border-left: 3px solid var(--apricot); padding-left: 20px; margin-bottom: 34px; }
.release h2 { margin-top: 0; }
.badge { display: inline-block; background: var(--apricot-soft); color: #b3541f; font-size: 13px; font-weight: 800; padding: 3px 10px; border-radius: 999px; vertical-align: middle; }
@media (prefers-color-scheme: dark) { .badge { color: var(--apricot); } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 40px; margin-top: 40px; font-size: 15px; color: var(--muted); }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.site-footer h4 { color: var(--ink); margin: 0 0 10px; font-size: 15px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 7px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--teal); }
.site-footer .legal { margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
