/* VEIL by Nicholas Xerri. Nocturne theme by default, warm ivory in light mode.
   Fonts are self-hosted under the SIL Open Font License (see /fonts/). */
@font-face { font-family: 'Newsreader'; font-weight: 400; font-style: normal; font-display: swap; src: url(/fonts/newsreader-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Newsreader'; font-weight: 500; font-style: normal; font-display: swap; src: url(/fonts/newsreader-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Newsreader'; font-weight: 400; font-style: italic; font-display: swap; src: url(/fonts/newsreader-latin-400-italic.woff2) format('woff2'); }
@font-face { font-family: 'Newsreader'; font-weight: 500; font-style: italic; font-display: swap; src: url(/fonts/newsreader-latin-500-italic.woff2) format('woff2'); }
@font-face { font-family: 'Instrument Sans'; font-weight: 400 700; font-display: swap; src: url(/fonts/InstrumentSans.woff2) format('woff2'); }

:root {
  color-scheme: dark;
  --bg: #0B1426;
  --bg2: #111C33;
  --bg3: #08101F;
  --text: #F5EFE4;
  --text2: #D9D2C5;
  --muted: #A7AFBF;
  --line: rgba(245, 239, 228, .10);
  --line2: rgba(245, 239, 228, .24);
  --accent: #C9A96E;
  --kicker: #C9A96E;
  --link: #E2C690;
  --gold: #C9A96E;
  --gold-hover: #D8BC86;
  --on-gold: #0B1426;
  --tag-pro: #E2C690;
  --tag-free: #D9D2C5;
  --hdr: rgba(11, 20, 38, .92);
  --glow1: rgba(201, 169, 110, .13);
  --glow2: rgba(120, 140, 190, .10);
  --shadow: 0 24px 64px rgba(0, 0, 0, .45);
  --maker-bg: #F5EFE4;
  --maker-text: #0B1426;
  --maker-text2: #2A3346;
  --maker-link: #7A5C24;
  --cross: #C9A96E;
  --display: 'Newsreader', 'Iowan Old Style', Georgia, serif;
  --sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --bg: #FAF7F1;
    --bg2: #FFFFFF;
    --bg3: #F1ECE2;
    --text: #0B1426;
    --text2: #2A3346;
    --muted: #4E586B;
    --line: rgba(11, 20, 38, .12);
    --line2: rgba(11, 20, 38, .30);
    --accent: #7A5C24;
    --kicker: #7A5C24;
    --link: #6B4F1C;
    --tag-pro: #7A5C24;
    --tag-free: #2A3346;
    --hdr: rgba(250, 247, 241, .94);
    --glow1: rgba(201, 169, 110, .18);
    --glow2: rgba(11, 20, 38, .05);
    --shadow: 0 20px 50px rgba(11, 20, 38, .16);
    --maker-bg: #0B1426;
    --maker-text: #F5EFE4;
    --maker-text2: #D9D2C5;
    --maker-link: #E2C690;
    --cross: #7A5C24;
  }
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { background: var(--bg); color: var(--text); font: 17px/1.6 var(--sans); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { background: var(--bg); min-height: 100vh; overflow-x: hidden; }
img, svg, picture { display: block; max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 8px; }
.skip:focus { left: 16px; z-index: 20; background: var(--gold); color: var(--on-gold); padding: 8px 14px; border-radius: 8px; font-weight: 600; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--hdr); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(10px)) { .site-header { backdrop-filter: blur(10px); } }
.hdr { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo { display: block; flex: none; border-radius: 8px; }
.logo img { height: 44px; width: auto; }
.nav-main { display: flex; gap: 22px; margin-left: auto; font-size: 15px; }
.nav-main a, .menu nav a { color: var(--text2); text-decoration: none; }
.nav-main a:hover, .menu nav a:hover { color: var(--text); text-decoration: underline; }
.nav-main a[aria-current="page"] { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.menu { display: none; position: relative; margin-left: auto; }
.menu summary { list-style: none; cursor: pointer; border: 1px solid var(--line2); border-radius: 10px; padding: 8px 14px; font-size: 15px; color: var(--text); min-height: 40px; }
.menu summary::-webkit-details-marker { display: none; }
.menu nav { position: absolute; right: 0; top: 50px; display: flex; flex-direction: column; background: var(--bg2); border: 1px solid var(--line); border-radius: 12px; padding: 10px 18px; min-width: 230px; box-shadow: var(--shadow); }
.menu nav a { padding: 9px 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; font-weight: 600; text-decoration: none; border-radius: 10px; padding: 11px 20px; font-size: 16px; line-height: 1.25; text-align: center; }
.btn-gold { background: var(--gold); color: var(--on-gold); }
.btn-gold:hover { background: var(--gold-hover); }
.btn-ghost { border: 1px solid var(--line2); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-small { padding: 8px 16px; font-size: 15px; min-height: 40px; }
.btn-disabled { border: 1px dashed var(--line2); color: var(--muted); cursor: default; }

/* Type */
.kicker { font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--kicker); }
h1, h2, .plan h3 { font-family: var(--display); font-weight: 400; line-height: 1.04; letter-spacing: -.01em; }
h1 { font-size: clamp(44px, 6.4vw, 84px); margin: 14px 0 22px; overflow-wrap: break-word; }
h2 { font-size: clamp(34px, 4.6vw, 58px); margin: 12px 0 18px; }
h1 em, h2 em { font-style: italic; color: var(--accent); }
h3, .h3 { font-family: var(--sans); font-size: 20px; font-weight: 700; line-height: 1.3; text-transform: none; letter-spacing: 0; color: var(--text); }
.lead { font-size: 20px; color: var(--text2); max-width: 36em; }
.fine, .note-small, figcaption { font-size: 14px; color: var(--muted); }
.note-small { margin-top: 14px; max-width: 46em; }
p + p { margin-top: 12px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 80px 0 64px; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 520px at 85% 0%, var(--glow1), transparent 60%), radial-gradient(600px 500px at 0% 100%, var(--glow2), transparent 60%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 14px; }

/* Screens */
.phone, .tablet { margin: 0; }
.phone { max-width: 340px; margin: 0 auto; }
.phone picture { border-radius: 44px; overflow: hidden; border: 1px solid var(--line2); box-shadow: var(--shadow); background: var(--bg3); }
.tablet { margin-top: 30px; }
.tablet picture { border-radius: 22px; overflow: hidden; border: 1px solid var(--line2); box-shadow: var(--shadow); background: var(--bg3); }
.phone img, .tablet img { width: 100%; }
.phone figcaption, .tablet figcaption { margin-top: 12px; font-style: italic; text-align: center; }
.hero-phones .phone { max-width: 360px; }

/* Promises strip */
.promises { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg2); }
.promises-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; padding-top: 20px; padding-bottom: 20px; font-size: 15px; font-weight: 600; letter-spacing: .04em; color: var(--text2); }
.promises-row span::before { content: "\25C6"; color: var(--kicker); margin-right: 8px; font-size: 11px; vertical-align: 2px; }

/* Sections */
.band { padding: 88px 0; }
.band-tight { padding: 40px 0 72px; }
.page-head { padding: 72px 0 24px; }
.page-head .lead { margin-bottom: 8px; }
.walls, .cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 34px; }
.wall, .card { background: var(--bg2); border: 1px solid var(--line); border-radius: 16px; padding: 26px; }
.wall h3, .card h3 { margin: 14px 0 8px; }
.card h3 { margin-top: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.wall p, .card p { color: var(--text2); font-size: 16px; }
.cross { width: 30px; height: 30px; fill: var(--cross); }
.cross-sm { width: 20px; height: 20px; }
.cross-lg { width: 96px; height: 96px; flex: none; fill: var(--maker-text); }
.more { margin-top: 26px; }
.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.split.rev { grid-template-columns: 1fr 1.2fr; }
.split p { color: var(--text2); }
.ticks { list-style: none; margin-top: 16px; }
.ticks li { padding-left: 28px; position: relative; margin: 8px 0; color: var(--text2); }
.ticks li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 9px; height: 9px; border-radius: 2px; background: var(--accent); transform: rotate(45deg); }
.tag { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; border: 1px solid currentColor; vertical-align: middle; line-height: 1.5; }
.tag-pro { color: var(--tag-pro); }
.tag-free { color: var(--tag-free); }
.tag-planned { color: var(--muted); border-style: dashed; }

/* Pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; }
.plans + .fine { margin-top: 18px; }
.platforms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.plan { border: 1px solid var(--line); border-radius: 18px; padding: 30px; background: var(--bg2); }
.plan-pro { border-color: var(--tag-pro); }
.plan h3 { font-size: 38px; font-family: var(--display); }
.plan p { color: var(--text2); }
.price { font-size: 15px; margin: 6px 0 14px; }
.price b { font-size: 26px; color: var(--text); font-weight: 700; margin-right: 6px; }
.status { color: var(--muted); font-style: italic; margin-top: 12px; }
.note { margin-top: 22px; color: var(--text2); }
.coming { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.coming div { border: 1px dashed var(--line2); border-radius: 16px; padding: 22px; color: var(--text2); }
.coming b { display: block; color: var(--text); margin-bottom: 6px; font-size: 18px; }

/* Tables */
.table-wrap { overflow-x: auto; margin: 18px 0; border: 1px solid var(--line); border-radius: 14px; }
table { width: 100%; border-collapse: collapse; font-size: 16px; }
caption { text-align: left; padding: 14px 16px 4px; color: var(--muted); font-size: 14px; }
th, td { text-align: left; padding: 12px 16px; border-top: 1px solid var(--line); vertical-align: top; }
thead th { border-top: 0; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
tbody th { font-weight: 600; }
.compare td, .compare thead th + th { text-align: center; width: 11em; }
.compare .price-row td { white-space: nowrap; }
.yes { color: var(--accent); font-weight: 700; }
.no { color: var(--muted); }
.price-row th, .price-row td { font-weight: 700; color: var(--text); }

/* Prose pages */
.prose > * { max-width: 820px; }
.prose > .table-wrap { max-width: 900px; }
.prose h2 { font-size: clamp(30px, 3.6vw, 44px); margin-top: 44px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose dd, .prose li { color: var(--text2); }
.prose ul.ticks { margin-bottom: 12px; }
.faq dt { font-weight: 700; color: var(--text); margin-top: 20px; }
.faq dd { margin-top: 4px; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; margin-bottom: 20px; }
.facts dt { font-weight: 700; }
.steps { padding-left: 1.4em; }
.steps li { margin: 10px 0; padding-left: 4px; }
.contact { margin-top: 18px; font-size: 20px; }
.cta-line { margin-top: 24px; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px; }
.feature { border-top: 1px solid var(--line); padding-top: 16px; }
.feature h2 { margin: 0 0 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.feature p { color: var(--text2); font-size: 16px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.cta-band { text-align: center; }
.cta-band .ctas { justify-content: center; }

/* Maker band */
.maker { background: var(--maker-bg); color: var(--maker-text); }
.maker-row { display: flex; gap: 36px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.maker h2 { color: var(--maker-text); font-size: clamp(34px, 4vw, 52px); }
.maker p { font-size: 19px; max-width: 40em; color: var(--maker-text2); }
.maker a { color: var(--maker-link); font-weight: 600; }

/* Footer */
.site-footer { padding: 48px 0 32px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.ftr { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.ftr nav a { display: block; text-decoration: none; color: var(--text2); padding: 4px 0; }
.ftr nav a:hover { color: var(--text); text-decoration: underline; }
.ftr .logo img { height: 40px; }
.by { display: flex; gap: 10px; align-items: center; margin: 14px 0 8px; color: var(--text); font-family: var(--display); font-size: 21px; font-weight: 500; }
.fine-print { margin-top: 28px; font-size: 13px; }
/* The rule sits on the content edge, not across the .wrap padding, so it lines up with the columns above. */
.fine-print::before { content: ""; display: block; border-top: 1px solid var(--line); margin-bottom: 20px; }
.fine-print p + p { margin-top: 6px; }

@media (max-width: 980px) {
  .nav-main, .hdr-cta { display: none; }
  .menu { display: block; }
  .hero { padding: 44px 0 40px; }
  .hero-grid, .split, .split.rev, .plans, .coming, .ftr, .platforms, .feature-list, .gallery { grid-template-columns: 1fr; gap: 32px; }
  .walls, .cards3 { grid-template-columns: 1fr; }
  .split.rev .media { order: 2; }
  .lead { font-size: 18px; }
  .band { padding: 56px 0; }
  .band-tight { padding: 24px 0 48px; }
  .page-head { padding: 44px 0 16px; }
  .maker-row { flex-direction: column; align-items: flex-start; }
  .phone, .hero-phones .phone { max-width: 300px; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .logo img { height: 38px; }
  .cross-lg { width: 64px; height: 64px; }
  .facts { grid-template-columns: 1fr; gap: 2px; }
  .facts dd { margin-bottom: 10px; }
  th, td { padding: 10px 12px; }
  .compare td, .compare thead th + th { width: 5.2em; padding-left: 6px; padding-right: 6px; }
  table { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .menu, .skip { display: none; } }
