:root {
  --ink: #20202A;
  --ink55: rgba(30, 30, 45, .55);
  --ink40: rgba(30, 30, 45, .4);
  --ink22: rgba(30, 30, 45, .22);
  --warn: #A8791A;
  --danger: #B42318;
  --teal: #3FA796;
  --shadow: 40, 30, 70;
  --c1: #B6A7DD;
  --c2: #93B8DE;
  --c3: #A7D4C8;
  --c4: #E9CDB4;
  --radius: 20px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
  background: var(--c2);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ink); }
:focus-visible { outline: 2px solid rgba(78, 134, 199, .8); outline-offset: 3px; border-radius: 6px; }

.aurora { position: fixed; inset: 0; z-index: -2; background: linear-gradient(140deg, var(--c1) 0%, var(--c2) 35%, var(--c3) 68%, var(--c4) 100%); }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .75; mix-blend-mode: screen; will-change: transform; }
.b1 { width: 60vw; height: 60vw; left: -15vw; top: -20vh; background: #c9b8ff; animation: drift 26s ease-in-out infinite alternate; }
.b2 { width: 55vw; height: 55vw; right: -20vw; top: 10vh; background: #8fd8ff; animation: drift 32s ease-in-out infinite alternate-reverse; }
.b3 { width: 50vw; height: 50vw; left: 20vw; bottom: -30vh; background: #ffd9b8; animation: drift 38s ease-in-out infinite alternate; }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(12vw, 8vh) scale(1.15); } }
.grain { position: fixed; inset: 0; z-index: -1; opacity: .06; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

.glass {
  background: rgba(255, 255, 255, .42);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .78), 0 3px 4px rgba(var(--shadow), .12), 0 12px 20px rgba(var(--shadow), .18);
}
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; }

.masthead { position: sticky; top: 0; z-index: 10; padding: 14px 0; }
.bar { display: flex; align-items: center; justify-content: space-between; padding: 10px 18px; border-radius: 999px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; color: var(--ink); }
.logo i { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, #21999e, #1a5785 55%, #14336a); display: grid; place-items: center; color: #fff; font: 600 14px/1 sans-serif; font-style: normal; }
.bar nav a { color: var(--ink55); text-decoration: none; margin-left: 22px; font-size: 14px; }
.bar nav a:hover { color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px; font: 500 15px/1 inherit; font-family: inherit;
  text-decoration: none; cursor: pointer; border: 1px solid rgba(255, 255, 255, .6);
  background: rgba(255, 255, 255, .45); color: var(--ink);
  transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s, opacity .25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(var(--shadow), .18); }
.btn-primary { background: linear-gradient(135deg, #21999e, #1a5785); color: #fff; border-color: transparent; box-shadow: 0 6px 16px rgba(26, 87, 133, .25); }
.btn-primary:hover { box-shadow: 0 10px 24px rgba(26, 87, 133, .35); }
.btn[disabled] { opacity: .5; cursor: default; transform: none; box-shadow: none; }
.btn[hidden] { display: none; }

.hero { padding: 70px 0 40px; text-align: center; }
h1 { font-size: clamp(38px, 6vw, 74px); font-weight: 300; letter-spacing: -.025em; line-height: 1.02; margin: 0 0 18px; }
h1 b { font-weight: 600; }
.lead { font-size: 19px; font-weight: 300; color: var(--ink55); max-width: 620px; margin: 0 auto 30px; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta small { display: block; width: 100%; color: var(--ink40); font-size: 13px; margin-top: 8px; }

.stage { perspective: 1600px; margin: 48px auto 0; max-width: 920px; scroll-margin-top: 84px; }
.win { position: relative; transform-style: preserve-3d; transition: transform .5s cubic-bezier(.2, .8, .2, 1); overflow: hidden; border-radius: 22px; text-align: left; display: grid; grid-template-columns: 196px 1fr; }
.win-side { padding: 42px 10px 14px; border-right: 1px solid rgba(255, 255, 255, .5); font-size: 12px; }
.win-side h6 { margin: 10px 8px 3px; font: 600 9.5px/1 inherit; letter-spacing: .12em; text-transform: uppercase; color: var(--ink40); }
.win-side span { display: flex; justify-content: space-between; align-items: center; padding: 4px 8px; border-radius: 7px; color: var(--ink); transition: background .35s; }
.win-side span.on { background: rgba(255, 255, 255, .6); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8); }
.win-side span em { font-style: normal; font-size: 8.5px; font-weight: 600; letter-spacing: .08em; color: var(--warn); text-transform: uppercase; }
.pane-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.tools { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.tools span { font-size: 10.5px; padding: 5px 9px; border-radius: 999px; background: rgba(255, 255, 255, .4); border: 1px solid rgba(255, 255, 255, .6); color: var(--ink40); transition: color .35s, background .35s, box-shadow .35s; white-space: nowrap; }
.tools span.hot { color: var(--ink); background: rgba(255, 255, 255, .8); box-shadow: 0 4px 12px rgba(var(--shadow), .14); }
.tools span.hot.pulse { animation: tool-pulse 1.6s ease-in-out infinite; }
@keyframes tool-pulse { 50% { box-shadow: 0 0 0 5px rgba(63, 167, 150, .25); } }
.pane-scene .scene { aspect-ratio: auto; height: 236px; font-size: 11.5px; }
.pane-scene .scene.enter { animation: scene-in .5s cubic-bezier(.2, .8, .2, 1); }
@keyframes scene-in { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.feats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.feat { padding: 16px 18px; border-radius: 14px; background: rgba(255, 255, 255, .35); border: 1px solid rgba(255, 255, 255, .6); display: grid; gap: 4px; }
.feat i { font-style: normal; font-size: 18px; }
.feat b { font-weight: 500; font-size: 14.5px; }
.feat span { font-size: 13px; font-weight: 300; color: var(--ink55); }
.traffic { position: absolute; top: 14px; left: 14px; display: flex; gap: 7px; }
.traffic i { width: 11px; height: 11px; border-radius: 50%; background: var(--ink22); }
.win-title { position: absolute; top: 12px; left: 0; right: 0; text-align: center; font-size: 12.5px; color: var(--ink40); }
.pane { padding: 40px 22px 18px; min-width: 0; }
.pane h4 { margin: 0; font-size: 18px; font-weight: 500; }
.pane p { margin: 2px 0 0; font-size: 12.5px; font-weight: 300; color: var(--ink55); }

.app { display: grid; grid-template-columns: 248px 1fr; gap: 18px; padding-top: 40px; scroll-margin-top: 44px; }
.sidebar { position: sticky; top: 84px; height: calc(100vh - 102px); padding: 16px 12px; display: flex; flex-direction: column; font-size: 13.5px; overflow-y: auto; }
.seg { display: grid; grid-template-columns: 1fr 1fr; padding: 3px; border-radius: 999px; background: rgba(30, 30, 45, .08); margin: 4px 6px 14px; position: relative; }
.seg::before { content: ""; position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 999px; background: rgba(255, 255, 255, .85); box-shadow: 0 2px 6px rgba(var(--shadow), .15); transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
body.pro .seg::before { transform: translateX(100%); }
.seg button { position: relative; background: none; border: 0; font: 500 13px/1 inherit; font-family: inherit; padding: 8px; border-radius: 999px; cursor: pointer; color: var(--ink55); }
body:not(.pro) .seg button:first-child, body.pro .seg button:last-child { color: var(--ink); }
.sidebar h6 { margin: 12px 8px 4px; font: 600 10px/1 inherit; letter-spacing: .12em; text-transform: uppercase; color: var(--ink40); }
.sidebar a { display: flex; justify-content: space-between; align-items: center; padding: 6px 10px; border-radius: 8px; color: var(--ink); text-decoration: none; transition: background .2s, color .3s; }
.sidebar a:hover { background: rgba(255, 255, 255, .35); }
.sidebar a.on { background: rgba(255, 255, 255, .62); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8); }
.sidebar a em, .em { font-style: normal; font-size: 9.5px; font-weight: 600; letter-spacing: .08em; color: var(--warn); text-transform: uppercase; }
body:not(.pro) .sidebar a[data-pro] { color: var(--ink40); }
.sidebar .foot { margin-top: auto; padding: 14px 8px 4px; font-size: 12px; color: var(--ink40); line-height: 1.6; }
.sidebar .foot a { display: inline; padding: 0; color: var(--ink55); }

.content { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.mod { padding: 40px 56px; scroll-margin-top: 90px; display: grid; grid-template-columns: 1fr 300px; gap: 32px; align-items: center; transition: opacity .4s, filter .4s; }
.mod .g { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink40); margin-bottom: 8px; }
.mod h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 300; letter-spacing: -.02em; margin: 0 0 10px; }
.mod h2 .em { vertical-align: middle; margin-left: 8px; }
.mod p { font-weight: 300; color: var(--ink55); margin: 0; font-size: 16px; max-width: 560px; }
body:not(.pro) .mod[data-pro] { opacity: .42; filter: saturate(.4); }
.lock { display: none; align-items: center; gap: 6px; margin-top: 12px; font-size: 13px; color: var(--warn); }
body:not(.pro) .mod[data-pro] .lock { display: inline-flex; }
.lock button { background: none; border: 0; padding: 0; font: inherit; color: var(--warn); text-decoration: underline; cursor: pointer; }


.row { padding: 40px 56px; scroll-margin-top: 90px; }
.row h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 300; letter-spacing: -.02em; margin: 0 0 8px; }
.row .sub { color: var(--ink55); font-weight: 300; margin: 0 0 24px; max-width: 640px; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.plan { padding: 32px; transition: opacity .4s; position: relative; overflow: hidden; }
.plan.pro::before { content: ""; position: absolute; inset: -40%; background: conic-gradient(from 0deg, transparent 0 70%, rgba(255, 255, 255, .55) 80%, transparent 90%); animation: spin 9s linear infinite; pointer-events: none; }
.plan > * { position: relative; }
.plan h3 { margin: 0; font-size: 24px; font-weight: 400; }
.price { font-size: 42px; font-weight: 200; letter-spacing: -.03em; margin: 8px 0 2px; font-variant-numeric: tabular-nums; }
.price small { font-size: 14px; color: var(--ink55); font-weight: 300; letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 16px 0 22px; font-size: 14px; font-weight: 300; display: grid; gap: 6px; }
.plan ul li::before { content: "✓"; display: inline-block; width: 18px; color: var(--teal); }
body:not(.pro) .plans:not(:has(.plan:hover, .plan:focus-within)) .plan.pro,
body.pro .plans:not(:has(.plan:hover, .plan:focus-within)) .plan.basic,
.plans:has(.plan:hover) .plan:not(:hover),
.plans:has(.plan:focus-within):not(:has(.plan:hover)) .plan:not(:focus-within) { opacity: .6; }
@keyframes spin { to { transform: rotate(360deg); } }

form { display: flex; gap: 8px; flex-wrap: wrap; }
label { display: block; width: 100%; font-size: 13px; color: var(--ink55); }
input[type="email"] { flex: 1; min-width: 200px; font: inherit; padding: 11px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .55); outline: none; color: var(--ink); }
input[type="email"]:focus { box-shadow: 0 0 0 3px rgba(78, 134, 199, .35); }
.note { font-size: 12.5px; color: var(--ink40); margin: 12px 0 0; font-weight: 300; }
.note a { color: var(--ink55); }
.muted { color: var(--ink55); font-weight: 300; }
.error { color: var(--danger); }

.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { font-weight: 500; text-align: left; padding: 10px 14px; border-bottom: 1px solid rgba(255, 255, 255, .7); }
.table td { padding: 8px 14px; border-bottom: 1px solid rgba(255, 255, 255, .4); font-weight: 300; }
.table td:not(:first-child), .table th:not(:first-child) { text-align: center; width: 100px; }
.table .g { color: var(--ink40); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; padding-top: 16px; }
.yes { color: var(--teal); }
.no { color: var(--ink40); }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px 24px; font-size: 14px; margin: 0; }
.facts dt { font-size: 11px; color: var(--ink40); letter-spacing: .08em; text-transform: uppercase; }
.facts dd { margin: 2px 0 0; }

details { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .5); }
details:last-of-type { border-bottom: 0; }
summary { cursor: pointer; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--ink40); font-weight: 300; font-size: 20px; line-height: 1; flex: none; }
details[open] summary::after { content: "–"; }
details p { margin: 8px 0 0; font-weight: 300; color: var(--ink55); font-size: 14.5px; max-width: 680px; }

.footer { padding: 40px 20px 56px; font-size: 13px; color: var(--ink55); font-weight: 300; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; border-top: 1px solid rgba(255, 255, 255, .55); padding-top: 24px; }
.footer a { color: var(--ink55); }
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 20; max-width: 420px; padding: 16px 18px; font-size: 13px; color: var(--ink55); }
.consent p { margin: 0; font-weight: 300; }
.consent a { color: var(--ink); }
.consent .actions { margin: 12px 0 0; }
.consent .btn { padding: 8px 16px; font-size: 13px; }

.sheet { max-width: 720px; margin: 40px auto; padding: 36px 40px; }
.sheet h1 { font-size: clamp(28px, 4vw, 40px); }
.meta { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--ink40); margin: 0 0 8px; }
.keybox { background: rgba(255, 255, 255, .45); border: 1px solid rgba(255, 255, 255, .7); border-radius: 16px; padding: 20px; margin: 20px 0; }
.key { white-space: pre-wrap; word-break: break-all; font-size: 14px; margin: 0; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 16px 0; }

.doc { max-width: 760px; line-height: 1.65; padding: 32px 40px; margin: 40px auto; }
.doc h1 { font-size: clamp(26px, 4vw, 34px); font-weight: 400; letter-spacing: -.02em; line-height: 1.15; }
.doc h2 { font-size: 21px; font-weight: 500; margin-top: 40px; border-bottom: 1px solid rgba(255, 255, 255, .6); padding-bottom: 6px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 14px; }
.doc th, .doc td { border: 1px solid rgba(255, 255, 255, .6); padding: 6px 10px; text-align: left; vertical-align: top; }
.doc .footer { padding: 24px 0 0; }
.back { display: inline-block; font-size: 14px; margin-bottom: 20px; color: var(--ink55); text-decoration: none; }
.callout { border: 1px solid rgba(255, 255, 255, .7); border-radius: 14px; padding: 14px 18px; margin: 0 0 24px; }
.draft { background: rgba(255, 215, 140, .35); border-color: rgba(168, 121, 26, .35); font-size: 14px; }

@media (min-width: 901px) {
  .plans { grid-template-rows: repeat(8, auto); }
  .plan { display: grid; grid-row: span 8; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
  .plan form { display: contents; }
  .plan form > * { position: relative; }
  .plan label { grid-row: 4; margin-bottom: 6px; }
  .plan input[type="email"] { grid-row: 5; margin-bottom: 12px; width: 100%; }
  .plan .btn { grid-row: 6; }
  .plan .price small { display: block; margin-top: 6px; }
  #basic-note { grid-row: 6; }
  #buy-status { grid-row: 7; }
  .plan.pro > .note:last-child { grid-row: 8; }
}
@media (max-width: 900px) {
  .app { grid-template-columns: 1fr; }
  .sidebar { position: relative; top: auto; height: auto; }
  .sidebar h6, .sidebar a, .sidebar .foot { display: none; }
  .mod, .plans { grid-template-columns: 1fr; }
  .win { grid-template-columns: 1fr; }
  .win-side { display: none; }
  .tools { display: none; }
  .mod, .row { padding: 28px 24px; }
  .bar nav { display: none; }
  .sheet, .doc { padding: 24px; margin: 20px auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
