/* blokvane.com
   Ghost white page, ink text, coral from the icon. Bricolage Grotesque for headings,
   Atkinson Hyperlegible for reading. One bold thing per page; everything else stays calm. */
@font-face { font-family: 'Bricolage'; src: url(/static/fonts/bricolage.woff2) format('woff2'); font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: 'Atkinson'; src: url(/static/fonts/atkinson-400.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Atkinson'; src: url(/static/fonts/atkinson-700.woff2) format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --bg: #FBFAFF;
  --ink: #231B33;
  --muted: #5E5670;
  --fog: #E7E3F1;
  --fog-2: #F3F0FA;
  --coral: #FF6B5E;
  --peach: #FF9466;
  --coral-ink: #B8322A;
  --plum: #3B2C5A;
  --plum-text: #EDE7FA;
  --plum-muted: #C4B8E0;
  --mint: #0B7D58;
  --warn-bg: #FFF1EC;
  --r-s: 10px;
  --r-l: 22px;
  --display: 'Bricolage', 'Segoe UI', system-ui, sans-serif;
  --body: 'Atkinson', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17131F; --ink: #F1EDF8; --muted: #ADA5BF; --fog: #2E2741; --fog-2: #201A2D;
    --coral-ink: #FF9A90; --plum: #2A2041; --plum-text: #EDE7FA; --plum-muted: #B9AEDA; --mint: #3DD39A; --warn-bg: #3A2022;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--body); }
img { max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--coral-ink); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 12px; border-radius: var(--r-s); z-index: 10; }
.skip:focus { left: 8px; }

h1, h2, h3 { font-family: var(--display); font-weight: 760; font-variation-settings: 'opsz' 72; letter-spacing: -0.015em; line-height: 1.08; margin: 0 0 .5em; }
h1 { font-size: clamp(40px, 6.2vw, 74px); font-stretch: 84%; font-variation-settings: 'opsz' 96; line-height: 1.0; letter-spacing: -0.025em; }
h2 { font-size: clamp(28px, 3.4vw, 40px); font-stretch: 90%; }
h3 { font-size: 21px; font-variation-settings: 'opsz' 24; letter-spacing: -0.005em; }
p { margin: 0 0 1em; }
.lead { font-size: 20px; line-height: 1.5; color: var(--muted); max-width: 34em; }
.muted { color: var(--muted); }
.small { font-size: 15px; }

/* ---------- frame */
.top { max-width: 1160px; margin: 0 auto; padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; font-variation-settings: 'opsz' 24; }
.brand img { border-radius: 8px; }
.top nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.top nav a { text-decoration: none; font-weight: 700; color: var(--muted); padding: 8px 12px; border-radius: var(--r-s); }
.top nav a:hover, .top nav a[aria-current="page"] { color: var(--ink); background: var(--fog-2); }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.foot { max-width: 1160px; margin: 72px auto 0; padding: 28px 20px 48px; border-top: 1px solid var(--fog); display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: 15px; }
.foot .brandline { flex: 1 1 260px; }

/* ---------- buttons and fields */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: var(--r-s); border: 0;
  background: var(--coral); color: #231B33; font: 700 17px/1 var(--body); text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--peach); color: #231B33; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .55; cursor: default; }
.btn.quiet { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--fog); }
.btn.quiet:hover { box-shadow: inset 0 0 0 2px var(--ink); background: transparent; }
.btn.small { min-height: 38px; padding: 0 14px; font-size: 15px; }
.btn.danger { background: transparent; color: var(--coral-ink); box-shadow: inset 0 0 0 2px currentColor; }
.btns { display: flex; flex-wrap: wrap; gap: 10px; }
input, select { font: 400 17px/1.3 var(--body); color: var(--ink); background: var(--bg); border: 2px solid var(--fog); border-radius: var(--r-s); padding: 11px 13px; min-height: 48px; }
input:focus, select:focus { border-color: var(--ink); outline: none; }
label.field { display: grid; gap: 6px; font-weight: 700; }
.form-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; }
.form-row input[type=email] { flex: 1 1 260px; }
.note { background: var(--fog-2); border-radius: var(--r-s); padding: 14px 16px; }
.note.good { border-left: 4px solid var(--mint); }
.note.bad { background: var(--warn-bg); border-left: 4px solid var(--coral); }

/* ---------- home: hero with the live demo */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; padding: 40px 0 24px; }
.hero h1 { max-width: 9.5em; }
.hero .lead { margin-bottom: 26px; }
.hero .fine { margin-top: 14px; color: var(--muted); font-size: 15px; }

.demo { margin: 0; border-radius: var(--r-l); background: var(--bg); box-shadow: 0 0 0 1px var(--fog), 0 30px 60px -30px rgba(59, 44, 90, .35); overflow: hidden; }
.demo-bar { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--fog-2); border-bottom: 1px solid var(--fog); }
.demo-bar .dots { display: flex; gap: 6px; }
.demo-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--fog); display: block; }
.demo-bar .url { flex: 1; min-width: 0; font-size: 14px; color: var(--muted); background: var(--bg); border-radius: 99px; padding: 5px 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.switch { display: inline-flex; align-items: center; gap: 9px; cursor: pointer; font-weight: 700; font-size: 15px; user-select: none; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch .track { width: 46px; height: 26px; border-radius: 99px; background: var(--fog); position: relative; transition: background .25s; flex: none; }
.switch .track::after { content: ''; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .25s; }
.switch input:checked + .track { background: var(--coral); }
.switch input:checked + .track::after { transform: translateX(20px); }
.switch input:focus-visible + .track { outline: 3px solid var(--coral); outline-offset: 3px; }

.demo-page { padding: 22px 22px 6px; display: grid; gap: 14px; }
.d-kicker { width: 22%; height: 10px; border-radius: 6px; background: var(--coral); opacity: .55; }
.d-title { font-family: var(--display); font-weight: 760; font-size: 23px; line-height: 1.15; letter-spacing: -0.01em; font-variation-settings: 'opsz' 24; margin: 0; }
.d-lines { display: grid; gap: 8px; }
.d-lines i { display: block; height: 9px; border-radius: 6px; background: var(--fog); }
.d-lines i:nth-child(3n) { width: 82%; }
.d-lines i:nth-child(4n) { width: 64%; }
.d-row { display: grid; grid-template-columns: 1.5fr 1fr; gap: 14px; align-items: start; }
/* the ads: striped boxes with a dark AD tag, like the one the ghost eats in the icon */
.ad { position: relative; border-radius: 12px; padding: 14px 14px 14px 54px; font-weight: 700; font-size: 15px; line-height: 1.3; color: #3a1d1a;
  background: repeating-linear-gradient(135deg, #FFD9D2 0 10px, #FFE8E3 10px 20px);
  max-height: 160px; overflow: hidden; transition: max-height .5s cubic-bezier(.6,0,.2,1), opacity .35s ease, padding .5s cubic-bezier(.6,0,.2,1), margin .5s cubic-bezier(.6,0,.2,1); }
.ad .tag { position: absolute; left: 12px; top: 12px; background: #231B33; color: #fff; font: 800 12px/1 var(--display); padding: 5px 6px; border-radius: 5px; letter-spacing: .02em; }
.ad small { display: block; font-weight: 400; opacity: .8; margin-top: 2px; }
.ad.pop { position: absolute; left: 22px; bottom: 16px; width: 250px; box-shadow: 0 18px 40px -12px rgba(35, 27, 51, .45); background: #fff; color: #231B33; padding-left: 14px; }
.ad.pop .tag { position: static; display: block; width: max-content; margin-bottom: 8px; }
.demo-body { position: relative; }
.demo.on .ad { max-height: 0; opacity: 0; padding-top: 0; padding-bottom: 0; margin: -7px 0; }
.demo.on .ad.pop { transform: translateY(12px); transition: opacity .3s ease, transform .3s ease; }
.demo figcaption { padding: 14px 22px 18px; font-size: 15px; color: var(--muted); min-height: 54px; }
.demo figcaption b { color: var(--mint); }

/* ---------- home: free vs pro */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 88px; }
.split h2 { margin-bottom: .2em; }
.split .sub { color: var(--muted); margin-bottom: 18px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.ticks li { padding: 13px 0 13px 34px; border-top: 1px solid var(--fog); position: relative; }
.ticks li::before { content: ''; position: absolute; left: 4px; top: 19px; width: 16px; height: 9px; border-left: 3px solid var(--mint); border-bottom: 3px solid var(--mint); transform: rotate(-45deg); }
.ticks.pro li::before { border-color: var(--coral); }

/* ---------- privacy band */
.band { background: var(--plum); color: var(--plum-text); border-radius: var(--r-l); padding: 48px clamp(22px, 5vw, 56px); margin-top: 88px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 40px; }
.band h2 { color: #fff; }
.band p { color: var(--plum-muted); }
.band .facts { display: grid; gap: 18px; }
.band .facts p { margin: 0; padding-left: 18px; border-left: 3px solid var(--coral); color: var(--plum-text); }

/* ---------- trial steps (a real sequence) */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 88px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--fog-2); font: 800 20px/1 var(--display); margin-bottom: 12px; }
.steps h3 { margin-bottom: .3em; }
.cta-end { margin-top: 88px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-top: 32px; border-top: 1px solid var(--fog); }
.cta-end h2 { margin: 0; }

/* ---------- pricing */
.price-wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; padding-top: 32px; align-items: start; }
.calc { border-radius: var(--r-l); box-shadow: 0 0 0 1px var(--fog); padding: 28px; display: grid; gap: 22px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.seg label { cursor: pointer; border-radius: var(--r-s); box-shadow: inset 0 0 0 2px var(--fog); padding: 14px; display: grid; gap: 2px; }
.seg label b { font-family: var(--display); font-size: 26px; font-weight: 780; letter-spacing: -0.02em; font-variation-settings: 'opsz' 48; }
.seg label span { color: var(--muted); font-size: 15px; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg input:checked + label { box-shadow: inset 0 0 0 3px var(--coral); }
.seg input:focus-visible + label { outline: 3px solid var(--coral); outline-offset: 3px; }
.stepper { display: flex; align-items: center; gap: 10px; }
.stepper button { width: 48px; height: 48px; border-radius: var(--r-s); border: 0; background: var(--fog-2); color: var(--ink); font: 700 24px/1 var(--body); cursor: pointer; }
.stepper input { width: 84px; text-align: center; font-variant-numeric: tabular-nums; }
.total { margin: 0; font-family: var(--display); font-weight: 760; font-size: 30px; letter-spacing: -0.02em; font-variation-settings: 'opsz' 48; }
.total small { display: block; font: 400 15px/1.4 var(--body); color: var(--muted); letter-spacing: 0; margin-top: 4px; }
.faq dt { font-weight: 700; margin-top: 18px; }
.faq dd { margin: 4px 0 0; color: var(--muted); }

/* ---------- simple pages (download, legal, messages) */
.page { max-width: 760px; padding-top: 24px; }
.page h1 { font-size: clamp(36px, 5vw, 56px); }
.legal h2 { font-size: 26px; margin-top: 1.6em; }
.legal table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 8px 0 18px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 9px 10px 9px 0; border-top: 1px solid var(--fog); }
.legal th { font-weight: 700; }
.store { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 22px 0; border-top: 1px solid var(--fog); }
.store img { width: 48px; height: 48px; }
.store h3 { margin: 0; }
.card { max-width: 560px; margin: 48px auto 0; }
.card h1 { font-size: clamp(32px, 4.4vw, 46px); }
.card ol { padding-left: 22px; }
.card li { margin: 0 0 14px; }

/* ---------- account */
.acct { padding-top: 24px; max-width: 980px; }
.acct-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; }
.acct section { margin-top: 40px; }
.acct h2 { font-size: 28px; }
.plan-line { font-size: 19px; }
.seats { width: 100%; border-collapse: collapse; }
.seats th { text-align: left; font-size: 15px; color: var(--muted); font-weight: 700; padding: 0 12px 8px 0; }
.seats td { border-top: 1px solid var(--fog); padding: 14px 12px 14px 0; vertical-align: top; }
.seats td .muted { font-size: 15px; display: block; }
.seats select { min-height: 40px; padding: 6px 10px; font-size: 15px; }
.give { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.give input { min-height: 40px; padding: 6px 10px; font-size: 15px; flex: 1 1 200px; }
.hidden { display: none !important; }

@media (max-width: 860px) {
  .hero, .split, .band, .price-wrap { grid-template-columns: 1fr; gap: 32px; }
  .steps { grid-template-columns: 1fr; gap: 22px; }
  .hero { padding-top: 16px; }
  .seats thead { display: none; }
  .seats tr { display: grid; border-top: 1px solid var(--fog); padding: 10px 0; }
  .seats td { border: 0; padding: 4px 0; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .lead { font-size: 18px; }
  .top { padding: 14px 16px; }
  .wrap { padding: 0 16px; }
  .brand span { display: none; }
  .top nav a { padding: 8px 9px; }
  .d-row { grid-template-columns: 1fr; }
  .ad.pop { position: static; width: auto; }
  .store { grid-template-columns: auto 1fr; }
  .store .btn { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
