/* Marginalia marketing site. Self-contained: no external fonts, scripts or requests. */

@font-face { font-family: "Jost"; font-weight: 300; font-style: normal; font-display: swap; src: url(../fonts/jost-latin-300-normal.woff2) format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 400; font-style: normal; font-display: swap; src: url(../fonts/jost-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 500; font-style: normal; font-display: swap; src: url(../fonts/jost-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 600; font-style: normal; font-display: swap; src: url(../fonts/jost-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Playfair Display"; font-weight: 400; font-style: normal; font-display: swap; src: url(../fonts/playfair-display-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Playfair Display"; font-weight: 500; font-style: normal; font-display: swap; src: url(../fonts/playfair-display-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Playfair Display"; font-weight: 400; font-style: italic; font-display: swap; src: url(../fonts/playfair-display-latin-400-italic.woff2) format("woff2"); }
@font-face { font-family: "Playfair Display"; font-weight: 500; font-style: italic; font-display: swap; src: url(../fonts/playfair-display-latin-500-italic.woff2) format("woff2"); }
@font-face { font-family: "Playfair Display"; font-weight: 600; font-style: italic; font-display: swap; src: url(../fonts/playfair-display-latin-600-italic.woff2) format("woff2"); }

:root {
  --paper: #f3f8fd;
  --sheet: #e4eff9;
  --ink: #142538;
  --blue: #2467a8;
  --blue-deep: #1b4f85;
  --sky: #82bdee;
  --orange: #ac480e;
  --orange-soft: #f4a062;
  --line: #cce0f1;
  --muted: #586e86;
  --night: #0e1a29;
  --night-2: #142438;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Century Gothic", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --wrap: 1180px;
  --radius: 22px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.04; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
.lede, .card p, .step p { text-wrap: pretty; }
em { font-style: italic; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(36, 103, 168, 0.22); }

.wrap { width: min(var(--wrap), calc(100% - 48px)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.eyebrow { font-size: 0.78rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--orange); }
.lede { font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.5; color: var(--muted); font-weight: 300; }
.section { padding: clamp(84px, 11vw, 150px) 0; position: relative; }
.section-head { max-width: 780px; margin: 0 auto clamp(48px, 6vw, 84px); text-align: center; }
.section-head h2 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); margin-top: 14px; }
.section-head .lede { margin-top: 20px; }
.blue { color: var(--blue); }
.grad { background: linear-gradient(100deg, var(--blue) 10%, #4c9be0 55%, var(--orange) 110%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 500 1rem/1 var(--sans); letter-spacing: 0.02em; padding: 17px 30px; border-radius: 999px;
  border: 1.5px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform 0.35s var(--ease), background 0.3s var(--ease), box-shadow 0.35s var(--ease), color 0.3s, border-color 0.3s;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 30px -10px rgba(36, 103, 168, 0.65); }
.btn-primary:hover { background: var(--blue-deep); transform: translateY(-2px); box-shadow: 0 16px 38px -10px rgba(36, 103, 168, 0.75); }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(20, 37, 56, 0.28); }
.btn-ghost:hover { border-color: var(--ink); background: rgba(20, 37, 56, 0.05); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--blue-deep); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.45); }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; transform: translateY(-2px); }
.btn-sm { padding: 12px 22px; font-size: 0.92rem; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), backdrop-filter 0.4s; }
.nav.scrolled { background: rgba(243, 248, 253, 0.82); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); box-shadow: 0 1px 0 var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-style: italic; font-size: 1.5rem; letter-spacing: -0.01em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav-links { display: flex; gap: 34px; font-size: 0.95rem; color: var(--muted); }
.nav-links a { position: relative; transition: color 0.3s; }
.nav-links a:hover { color: var(--ink); }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1.5px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.nav-links a:hover::after { transform: scaleX(1); }

/* nav turns to dark glass over the dark and blue sections */
.nav.on-dark.scrolled { background: rgba(14, 26, 41, 0.72); box-shadow: 0 1px 0 rgba(130, 189, 238, 0.18); }
.nav.on-dark .brand { color: #fff; }
.nav.on-dark .nav-links { color: #9db4cb; }
.nav.on-dark .nav-links a:hover { color: #fff; }

/* ---------- hero ---------- */
.hero { padding: 150px 0 40px; position: relative; overflow: clip; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 90%; z-index: -1;
  background:
    radial-gradient(600px 380px at 78% 18%, rgba(130, 189, 238, 0.45), transparent 70%),
    radial-gradient(520px 340px at 12% 8%, rgba(244, 160, 98, 0.25), transparent 70%),
    radial-gradient(700px 420px at 50% 60%, rgba(36, 103, 168, 0.10), transparent 70%);
}
.hero-copy { text-align: center; max-width: 980px; margin-inline: auto; }
.hero h1 { font-size: clamp(3.1rem, 9.2vw, 7.6rem); margin: 22px 0 28px; line-height: 0.98; letter-spacing: -0.035em; }
.hero h1 em { color: var(--blue); }
.hero .lede { max-width: 700px; margin-inline: auto; }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.hero-meta { margin-top: 22px; font-size: 0.92rem; color: var(--muted); display: flex; gap: 8px 22px; justify-content: center; flex-wrap: wrap; }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta svg { width: 15px; height: 15px; color: var(--orange); }

.stage { position: relative; margin: 64px auto 0; max-width: 1080px; perspective: 1800px; }
.win {
  border-radius: 14px; overflow: hidden; background: #fff;
  box-shadow: 0 0 0 1px rgba(20, 37, 56, 0.1), 0 40px 90px -30px rgba(20, 37, 56, 0.5), 0 18px 40px -20px rgba(36, 103, 168, 0.35);
  transform-style: preserve-3d; transition: transform 0.6s var(--ease-out);
}
.win-bar { display: flex; align-items: center; justify-content: space-between; height: 38px; padding: 0 0 0 14px; background: #eef4fa; border-bottom: 1px solid var(--line); font-size: 0.78rem; color: var(--muted); }
.win-bar .t { display: flex; align-items: center; gap: 8px; }
.win-bar .t img { width: 16px; height: 16px; border-radius: 4px; }
.win-ctl { display: flex; height: 100%; }
.win-ctl i { width: 46px; display: grid; place-items: center; font-style: normal; font-size: 0.85rem; color: #4a5f78; }
.win-ctl i:last-child:hover { background: #d94343; color: #fff; }
.win img.shot { width: 100%; height: auto; }

.float { position: absolute; z-index: 3; background: #fff; border-radius: 16px; padding: 14px 18px; display: flex; align-items: center; gap: 12px; font-size: 0.92rem; box-shadow: 0 24px 50px -18px rgba(20, 37, 56, 0.45), 0 0 0 1px rgba(20, 37, 56, 0.06); animation: bob 7s ease-in-out infinite; }
.float b { font-weight: 500; }
.float .dot { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(36, 103, 168, 0.12); color: var(--blue); }
.float .dot svg { width: 18px; height: 18px; }
.float small { display: block; color: var(--muted); font-size: 0.78rem; margin-top: 1px; }
.f1 { left: -3%; top: 24%; animation-delay: -1s; }
.f2 { right: -4%; top: 12%; animation-delay: -3s; }
.f3 { right: 2%; bottom: 10%; animation-delay: -5s; }
.f2 .dot { background: rgba(172, 72, 14, 0.12); color: var(--orange); }
.f3 .dot { background: rgba(36, 150, 90, 0.12); color: #1f8a55; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- facts strip ---------- */
.facts { padding: 70px 0 0; }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.fact { padding: 36px 26px; text-align: center; border-right: 1px solid var(--line); }
.fact:last-child { border-right: 0; }
.fact strong { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(2.2rem, 4vw, 3.4rem); color: var(--blue); line-height: 1; letter-spacing: -0.03em; }
.fact span { display: block; margin-top: 10px; font-size: 0.95rem; color: var(--muted); }

/* ---------- statement (scroll-scrubbed words) ---------- */
.statement { padding: clamp(110px, 16vw, 220px) 0; }
.statement p { font-family: var(--serif); font-size: clamp(2rem, 5.2vw, 4.3rem); line-height: 1.12; letter-spacing: -0.025em; max-width: 1020px; margin-inline: auto; text-align: center; }
.statement .w { opacity: 0.16; transition: opacity 0.35s var(--ease); }
.statement .w.on { opacity: 1; }
.statement .w.hot.on { color: var(--orange); font-style: italic; }
.js-off .statement .w { opacity: 1; }

/* ---------- demo ---------- */
.dark { background: var(--night); color: #e8f1fa; }
.dark .eyebrow { color: var(--orange-soft); }
.dark .lede { color: #9db4cb; }
.dark .blue { color: var(--sky); }
.demo { position: relative; overflow: clip; }
.demo::before { content: ""; position: absolute; inset: 0; background: radial-gradient(800px 420px at 85% 0%, rgba(36, 103, 168, 0.35), transparent 70%), radial-gradient(600px 360px at 0% 100%, rgba(172, 72, 14, 0.2), transparent 70%); pointer-events: none; }
.demo-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 28px; align-items: stretch; }
.pane { background: var(--night-2); border: 1px solid rgba(130, 189, 238, 0.18); border-radius: var(--radius); padding: 28px; position: relative; min-height: 440px; }
.pane-label { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: #7f9ab4; display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.pane-label b { font-weight: 500; color: var(--sky); }
.note-text { font-family: var(--serif); font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.75; color: #eef6ff; min-height: 230px; }
.note-text .cursor { display: inline-block; width: 2px; height: 1.1em; background: var(--sky); vertical-align: -0.15em; margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hl { border-radius: 4px; padding: 1px 3px; margin: 0 -3px; transition: background 0.5s var(--ease), color 0.5s; }
.hl.date.on { background: rgba(244, 160, 98, 0.22); color: #ffc9a2; }
.hl.urg.on { background: rgba(244, 160, 98, 0.34); color: #ffd9bd; }
.hl.ign.on { color: #6f8aa5; text-decoration: line-through; text-decoration-thickness: 1px; }
.org-btn { margin-top: 22px; display: inline-flex; align-items: center; gap: 10px; font: 500 0.82rem var(--sans); letter-spacing: 0.16em; text-transform: uppercase; background: var(--blue); color: #fff; padding: 13px 22px; border-radius: 999px; border: 0; transition: transform 0.2s, background 0.3s, box-shadow 0.4s; }
.org-btn.press { transform: scale(0.94); background: var(--blue-deep); }
.org-btn.busy { box-shadow: 0 0 0 6px rgba(130, 189, 238, 0.18); }
.status { font-family: var(--serif); font-style: italic; color: #86a3bf; font-size: 0.95rem; margin-top: 16px; min-height: 1.5em; }
.tasks { list-style: none; margin: 0; padding: 0; }
.task { display: flex; gap: 14px; align-items: flex-start; padding: 15px 0; border-bottom: 1px solid rgba(130, 189, 238, 0.14); opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease-out); }
.task.in { opacity: 1; transform: none; }
.task .box { width: 18px; height: 18px; border: 1.5px solid #6f8aa5; margin-top: 5px; flex: none; border-radius: 2px; }
.task h4 { font-family: var(--serif); font-weight: 400; font-size: 1.12rem; letter-spacing: 0; line-height: 1.3; color: #f2f8ff; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.chip { font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; padding: 4px 9px; border-radius: 5px; background: rgba(130, 189, 238, 0.14); color: var(--sky); }
.chip.d { background: rgba(244, 160, 98, 0.16); color: var(--orange-soft); }
.chip.u { background: var(--orange-soft); color: #2a1305; font-weight: 500; }
.ignored { margin-top: 18px; font-size: 0.86rem; color: #7f9ab4; display: flex; gap: 10px; align-items: flex-start; opacity: 0; transition: opacity 0.7s var(--ease); }
.ignored.in { opacity: 1; }
.ignored svg { width: 16px; height: 16px; flex: none; margin-top: 3px; }
.demo-foot { position: relative; margin-top: 26px; display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; font-size: 0.88rem; color: #86a3bf; }
.replay { background: transparent; border: 1px solid rgba(130, 189, 238, 0.35); color: var(--sky); border-radius: 999px; padding: 9px 18px; font: 500 0.82rem var(--sans); letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; transition: background 0.3s, border-color 0.3s; }
.replay:hover { background: rgba(130, 189, 238, 0.12); border-color: var(--sky); }

/* ---------- date reader infographic ---------- */
.dates-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.dates-copy h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); margin: 14px 0 20px; }
.dates-copy p { color: var(--muted); font-size: 1.12rem; font-weight: 300; }
.dates-list { background: #fff; border-radius: var(--radius); box-shadow: 0 30px 70px -34px rgba(20, 37, 56, 0.4), 0 0 0 1px var(--line); padding: 14px 26px 22px; }
.dates-list .ctx { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); padding: 16px 0 14px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; }
.drow { display: grid; grid-template-columns: 1fr 34px 1fr; align-items: center; gap: 10px; padding: 17px 0; border-bottom: 1px solid var(--line); opacity: 0; transform: translateX(-16px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease-out); }
.drow:last-child { border-bottom: 0; }
.in-view .drow { opacity: 1; transform: none; }
.drow:nth-child(3) { transition-delay: 0.12s; } .drow:nth-child(4) { transition-delay: 0.24s; } .drow:nth-child(5) { transition-delay: 0.36s; } .drow:nth-child(6) { transition-delay: 0.48s; }
.said { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--ink); }
.arrow { color: var(--orange); }
.arrow svg { width: 22px; height: 22px; }
.got { justify-self: end; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; background: rgba(172, 72, 14, 0.1); color: var(--orange); padding: 7px 12px; border-radius: 7px; font-weight: 500; }

/* ---------- bento features ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.card { position: relative; background: #fff; border-radius: var(--radius); padding: clamp(26px, 3vw, 40px); overflow: hidden; box-shadow: 0 0 0 1px var(--line); transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px var(--line), 0 34px 60px -30px rgba(20, 37, 56, 0.4); }
.card { display: flex; flex-direction: column; }
.card .arch-scroll, .card .minical, .card .toggle-demo, .card .lock { margin-top: auto; padding-top: 26px; }
.card h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); margin: 10px 0 12px; }
.card p { color: var(--muted); font-weight: 300; font-size: 1.04rem; }
.card .tag { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange); font-weight: 500; }
.c-priv { grid-column: span 4; background: linear-gradient(160deg, #fff, var(--sheet)); }
.c-cal { grid-column: span 2; }
.c-ai { grid-column: span 3; }
.c-bak { grid-column: span 3; }
.c-theme { grid-column: span 3; padding: 0; display: grid; grid-template-rows: auto 1fr; }
.c-theme .txt { padding: clamp(26px, 3vw, 40px) clamp(26px, 3vw, 40px) 18px; }
.c-price { grid-column: span 3; background: var(--blue); color: #fff; }
.c-price .tag { color: var(--orange-soft); }
.c-price p { color: #cfe4f7; }
.c-price .big { font-family: var(--serif); font-size: clamp(3.6rem, 7vw, 5.4rem); line-height: 1; letter-spacing: -0.04em; margin: 8px 0; }
.c-price .big small { font-family: var(--sans); font-size: 1rem; font-weight: 300; letter-spacing: 0; margin-left: 8px; color: #cfe4f7; }
.c-price:hover { box-shadow: 0 34px 70px -30px rgba(36, 103, 168, 0.8); }

.arch-scroll { overflow-x: auto; margin-inline: -6px; padding-inline: 6px; scrollbar-width: thin; }
.arch { width: 100%; height: auto; }
@media (max-width: 680px) { .arch { min-width: 540px; } }
.arch .flow { stroke-dasharray: 6 8; animation: dash 1.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -28; } }
.arch .pulse { animation: pulse 2.6s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes pulse { 0%, 100% { opacity: 0.55; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }

.minical { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; font-size: 0.78rem; text-align: center; }
.minical .h { color: var(--muted); font-size: 0.66rem; letter-spacing: 0.12em; padding-bottom: 4px; }
.minical .d { aspect-ratio: 1; display: grid; place-items: center; position: relative; border-radius: 8px; color: var(--ink); }
.minical .d.t { outline: 1.5px solid var(--orange); color: var(--orange); }
.minical .d.k::after { content: ""; position: absolute; bottom: 3px; width: 5px; height: 5px; border-radius: 50%; background: var(--orange); transform: scale(0); transition: transform 0.5s var(--ease-out); }
.in-view .minical .d.k::after { transform: scale(1); }
.minical .d.k:nth-of-type(odd)::after { transition-delay: 0.1s; }

.toggle-demo { display: flex; flex-direction: column; gap: 12px; }
.mode { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--paper); transition: border-color 0.4s, background 0.4s; }
.mode.active { border-color: var(--blue); background: rgba(36, 103, 168, 0.07); }
.mode .ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: #fff; color: var(--blue); box-shadow: 0 0 0 1px var(--line); flex: none; }
.mode .ic svg { width: 20px; height: 20px; }
.mode b { font-weight: 500; display: block; line-height: 1.2; }
.mode small { color: var(--muted); font-size: 0.85rem; }
.mode .st { margin-left: auto; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.mode.active .st { color: var(--blue); }

.lock { display: flex; align-items: center; gap: 22px; }
.lock svg { width: 86px; height: 86px; flex: none; }
.cipher { font-family: "Consolas", "Courier New", monospace; font-size: 0.78rem; line-height: 1.5; color: var(--muted); word-break: break-all; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.cipher b { color: var(--orange); font-weight: 600; }

.theme-pair { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-self: end; margin-top: 8px; }
.theme-pair img { width: 100%; height: 100%; object-fit: cover; object-position: left top; aspect-ratio: 4 / 3; }
.theme-pair::after { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: #fff; }

/* ---------- gallery ---------- */
.gallery { padding-top: clamp(30px, 5vw, 70px); background: linear-gradient(180deg, var(--paper), var(--sheet) 40%, var(--paper)); }
.tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.tab { font: 500 0.92rem var(--sans); padding: 11px 22px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--muted); cursor: pointer; transition: all 0.3s var(--ease); }
.tab:hover { color: var(--ink); border-color: var(--blue); }
.tab[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.shots { max-width: 1060px; margin-inline: auto; position: relative; }
.shot-panel { display: none; }
.shot-panel.on { display: block; animation: rise 0.6s var(--ease-out); }
@keyframes rise { from { opacity: 0; transform: translateY(18px) scale(0.985); } to { opacity: 1; transform: none; } }
.shot-cap { text-align: center; margin-top: 28px; color: var(--muted); font-size: 1.05rem; font-weight: 300; max-width: 640px; margin-inline: auto; }
.shot-cap b { color: var(--ink); font-weight: 500; }

/* ---------- how it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; position: relative; counter-reset: s; }
.steps::before { content: ""; position: absolute; top: 56px; left: 16%; right: 16%; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 10px, transparent 10px 20px); z-index: 0; }
.step { position: relative; text-align: center; z-index: 1; }
.step .ico { width: 112px; height: 112px; margin: 0 auto 26px; border-radius: 32px; background: #fff; display: grid; place-items: center; box-shadow: 0 0 0 1px var(--line), 0 24px 44px -24px rgba(36, 103, 168, 0.5); position: relative; transition: transform 0.5s var(--ease-out); }
.step:hover .ico { transform: translateY(-8px) rotate(-3deg); }
.step .ico svg { width: 52px; height: 52px; color: var(--blue); }
.step .n { position: absolute; top: -8px; right: -8px; width: 32px; height: 32px; border-radius: 50%; background: var(--orange); color: #fff; font: 600 0.9rem var(--sans); display: grid; place-items: center; }
.step h3 { font-size: 1.8rem; margin-bottom: 10px; }
.step p { color: var(--muted); font-weight: 300; max-width: 300px; margin-inline: auto; }

/* ---------- who ---------- */
.who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.who { background: #fff; border-radius: var(--radius); padding: 34px 30px 36px; box-shadow: 0 0 0 1px var(--line); position: relative; overflow: hidden; transition: transform 0.5s var(--ease-out), box-shadow 0.5s; }
.who::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--blue), var(--sky), var(--orange)); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease-out); }
.who:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px var(--line), 0 30px 54px -30px rgba(20, 37, 56, 0.4); }
.who:hover::before { transform: scaleX(1); }
.who .ic { width: 54px; height: 54px; border-radius: 16px; background: rgba(36, 103, 168, 0.1); color: var(--blue); display: grid; place-items: center; margin-bottom: 22px; }
.who .ic svg { width: 28px; height: 28px; }
.who h3 { font-size: 1.55rem; margin-bottom: 10px; }
.who p { color: var(--muted); font-weight: 300; font-size: 1rem; }
.who .eg { margin-top: 16px; font-family: var(--serif); font-style: italic; color: var(--ink); font-size: 0.98rem; padding-left: 14px; border-left: 2px solid var(--orange); }

/* ---------- compare ---------- */
.cmp-wrap { max-width: 980px; margin-inline: auto; background: #fff; border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line), 0 40px 80px -50px rgba(20, 37, 56, 0.45); overflow: hidden; }
.cmp { width: 100%; border-collapse: collapse; font-size: 1rem; }
.cmp th, .cmp td { padding: 22px 26px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cmp thead th { font-family: var(--serif); font-weight: 500; font-size: 1.35rem; padding-block: 28px; }
.cmp thead th:nth-child(2) { background: var(--blue); color: #fff; }
.cmp thead th:nth-child(3) { color: var(--muted); }
.cmp tbody th { font-weight: 500; color: var(--ink); width: 34%; }
.cmp td:nth-child(2) { background: rgba(36, 103, 168, 0.06); font-weight: 500; }
.cmp td:nth-child(3) { color: var(--muted); }
.cmp tr:last-child th, .cmp tr:last-child td { border-bottom: 0; }
.yes, .no { display: inline-flex; align-items: center; gap: 9px; }
.yes svg { width: 20px; height: 20px; color: #1f8a55; flex: none; }
.no svg { width: 20px; height: 20px; color: var(--orange); flex: none; }
.cmp-note { text-align: center; margin-top: 18px; font-size: 0.86rem; color: var(--muted); }

/* ---------- pricing ---------- */
.price-wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; max-width: 1040px; margin-inline: auto; align-items: stretch; }
.price-card { background: #fff; border-radius: 28px; padding: clamp(32px, 4vw, 52px); box-shadow: 0 0 0 1px var(--line), 0 50px 90px -50px rgba(36, 103, 168, 0.6); position: relative; overflow: hidden; }
.price-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: linear-gradient(90deg, var(--blue), var(--sky), var(--orange)); }
.price-card .amt { font-family: var(--serif); font-size: clamp(4.4rem, 9vw, 6.8rem); line-height: 1; letter-spacing: -0.045em; margin: 14px 0 4px; display: flex; align-items: flex-start; gap: 6px; }
.price-card .amt sup { font-family: var(--sans); font-size: 1.6rem; font-weight: 400; margin: clamp(14px, 2.2vw, 24px) 4px 0 0; color: var(--muted); letter-spacing: 0; align-self: flex-start; }
.price-card .once { color: var(--muted); font-size: 1.05rem; font-weight: 300; }
.ticks { list-style: none; padding: 0; margin: 30px 0 34px; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 1.04rem; }
.ticks svg { width: 20px; height: 20px; color: var(--blue); flex: none; margin-top: 3px; }
.price-card .cta-col { display: grid; gap: 12px; }
.fine { font-size: 0.84rem; color: var(--muted); margin-top: 18px; }
.how-lic { display: flex; flex-direction: column; justify-content: center; background: var(--sheet); border-radius: 28px; padding: clamp(28px, 3.4vw, 44px); box-shadow: 0 0 0 1px var(--line); }
.how-lic h3 { font-size: 1.7rem; margin-bottom: 22px; }
.how-lic ol { list-style: none; counter-reset: l; padding: 0; margin: 0; display: grid; gap: 22px; }
.how-lic li { counter-increment: l; display: grid; grid-template-columns: 38px 1fr; gap: 16px; align-items: start; }
.how-lic li::before { content: counter(l); width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--blue); font: 500 1.05rem var(--sans); display: grid; place-items: center; box-shadow: 0 0 0 1px var(--line); }
.how-lic li b { display: block; font-weight: 500; }
.how-lic li span { color: var(--muted); font-size: 0.96rem; font-weight: 300; }

/* ---------- tax picker ---------- */
.where { margin-top: 26px; }
.where label { display: block; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; font-weight: 500; }
.selects { display: grid; grid-template-columns: 1fr 1.3fr; gap: 10px; }
.selects select { width: 100%; appearance: none; -webkit-appearance: none; font: 400 1rem var(--sans); color: var(--ink); padding: 14px 40px 14px 16px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23586e86' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px; cursor: pointer; transition: border-color 0.3s, box-shadow 0.3s; }
.selects select:hover { border-color: var(--blue); }
.selects select:focus-visible { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(36, 103, 168, 0.15); outline: none; }
.selects select[hidden] { display: none; }
.selects.single { grid-template-columns: 1fr; }
.tax-box { margin-top: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 6px 20px; min-height: 64px; display: flex; flex-direction: column; justify-content: center; }
.tax-hint { color: var(--muted); font-size: 0.98rem; padding: 14px 0; }
.trow { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 1rem; color: var(--muted); }
.trow:last-child { border-bottom: 0; }
.trow.total { color: var(--ink); font-weight: 500; font-size: 1.15rem; }
.trow.total b { font-family: var(--serif); font-weight: 500; font-size: 1.6rem; letter-spacing: -0.02em; color: var(--blue); }
.tax-note { font-size: 0.84rem; color: var(--muted); padding: 4px 0 12px; line-height: 1.5; }
.mid-note { margin-top: 14px; font-size: 0.88rem; color: var(--muted); }
.mid-note b { font-family: "Consolas", "Courier New", monospace; letter-spacing: 0.06em; color: var(--ink); font-weight: 600; }
.copy-mini { margin-left: 6px; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 3px 12px; font: 500 0.74rem var(--sans); letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; color: var(--blue); }
.copy-mini:hover { border-color: var(--blue); }
.btn[aria-disabled="true"] { opacity: 0.55; pointer-events: none; }

/* ---------- faq ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 26px 0; font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.55rem); display: flex; justify-content: space-between; gap: 20px; align-items: center; letter-spacing: -0.01em; transition: color 0.3s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--blue); }
.faq summary i { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); flex: none; position: relative; transition: transform 0.4s var(--ease-out), background 0.3s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 0.4s var(--ease-out); }
.faq details[open] summary i { transform: rotate(180deg); background: var(--ink); color: #fff; border-color: var(--ink); }
.faq details[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.faq .ans { padding: 0 0 28px; color: var(--muted); font-size: 1.06rem; font-weight: 300; max-width: 680px; animation: rise 0.5s var(--ease-out); }
.faq .ans a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- final cta ---------- */
.final { padding: clamp(90px, 12vw, 160px) 0; background: radial-gradient(700px 400px at 20% 0%, rgba(130, 189, 238, 0.32), transparent 70%), radial-gradient(600px 380px at 90% 100%, rgba(244, 160, 98, 0.28), transparent 70%), var(--blue); color: #fff; text-align: center; position: relative; overflow: clip; }
.final h2 { font-size: clamp(2.6rem, 7.2vw, 6rem); max-width: 900px; margin-inline: auto; letter-spacing: -0.035em; }
.final h2 em { color: var(--orange-soft); }
.final p { max-width: 560px; margin: 22px auto 0; color: #d6e8f8; font-weight: 300; font-size: 1.2rem; }
.final .cta-row { margin-top: 42px; }
.final .sub { margin-top: 26px; font-size: 0.9rem; color: #bcd6ee; }

/* ---------- footer ---------- */
.foot { background: var(--night); color: #9db4cb; padding: 70px 0 40px; font-size: 0.95rem; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.4fr; gap: 40px; }
.foot .brand { color: #fff; font-size: 1.6rem; margin-bottom: 14px; }
.foot h5 { font: 500 0.75rem var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: #6f8aa5; margin: 0 0 16px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot a { transition: color 0.3s; }
.foot a:hover { color: #fff; }
.hash { font-family: "Consolas", "Courier New", monospace; font-size: 0.72rem; line-height: 1.5; color: #8aa3bc; word-break: break-all; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.08); padding: 10px 12px; border-radius: 10px; margin-top: 8px; }
.copy { margin-top: 8px; background: transparent; border: 1px solid rgba(255, 255, 255, 0.2); color: #cfe0f0; border-radius: 999px; padding: 6px 14px; font: 500 0.75rem var(--sans); letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; transition: all 0.3s; }
.copy:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; color: #fff; }
.foot-bottom { margin-top: 56px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, 0.08); display: flex; flex-wrap: wrap; gap: 12px 30px; justify-content: space-between; font-size: 0.85rem; color: #6f8aa5; }
.priv-note { display: inline-flex; align-items: center; gap: 8px; }
.priv-note svg { width: 15px; height: 15px; color: var(--orange-soft); }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(34px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
.js-off .rv { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .demo-grid, .dates-grid, .price-wrap { grid-template-columns: 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .c-priv, .c-cal, .c-ai, .c-bak, .c-theme, .c-price { grid-column: span 2; }
  .who-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .float { display: none; }
}
@media (max-width: 680px) {
  .selects { grid-template-columns: 1fr; }
  .wrap { width: calc(100% - 36px); }
  .hero { padding-top: 118px; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr; gap: 48px; }
  .steps::before { display: none; }
  .who-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .cmp th, .cmp td { padding: 16px 14px; font-size: 0.92rem; }
  .cmp thead th { font-size: 1.05rem; }
  .pane { padding: 22px; min-height: 0; }
  .nav .btn { padding: 10px 16px; font-size: 0.85rem; }
  .brand { font-size: 1.25rem; }
  .lock { flex-direction: column; align-items: flex-start; }
  .win-bar { height: 30px; }
  .win-ctl i { width: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .rv, .task, .drow, .ignored { opacity: 1 !important; transform: none !important; }
  .statement .w { opacity: 1 !important; }
}
