/* Hallmark v2.0.0 · theme: midnight (dealt 2/3, pixel type and notched corners by request) · genre: atmospheric · job: download · nav: floating pill, wordmark, links, two actions · footer: one quiet line · hero: video beside the headline · signature: the 20-second video, playing in the hero */
/* Hallmark · critique: dark midnight ground, one azure signal, the pixel spellbook and a looping video lead; the type and spacing stay small */
/* Hallmark · dismissed 58 · the install guide is a reference page of steps and fixes that people read to finish a task, so it runs past the landing page word limit */
:root {
  --color-paper: oklch(14% 0.05 275); --color-paper-2: oklch(18.5% 0.055 275); --color-paper-3: oklch(23% 0.06 275);
  --color-ink: oklch(95% 0.016 260); --color-ink-2: oklch(88% 0.05 255); --color-muted: oklch(73% 0.045 268);
  --color-rule: oklch(29% 0.06 275); --color-rule-2: oklch(40% 0.07 275);
  --color-accent: oklch(80% 0.11 230); --color-accent-2: oklch(58% 0.1 236); --color-accent-ink: oklch(16% 0.05 275); --color-focus: oklch(84% 0.12 228);
  --color-star: oklch(82% 0.1 300);
  --font-mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
  --font-display: "Pixelify Sans", ui-monospace, "Cascadia Mono", monospace; --font-body: "Geist", ui-sans-serif, system-ui, sans-serif;
  --text-body: 16px; --text-small: 14px; --text-lead: 18px; --text-h3: 18px; --text-h2: 28px; --text-h1: 40px;
  --wrap: 1080px; --gutter: clamp(20px, 4vw, 48px); --gap: 24px; --notch: 4px;
  --shadow-card: 0 24px 48px -24px oklch(6% 0.04 275 / 0.7);
  --ease-out: cubic-bezier(.2, .7, .2, 1); --dur: 600ms;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scrollbar-color: var(--color-rule-2) var(--color-paper); }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--color-paper); color: var(--color-ink); font: 400 var(--text-body)/1.6 var(--font-body); -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
::selection { background: var(--color-accent); color: var(--color-accent-ink); }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
section { position: relative; z-index: 1; scroll-margin-top: 104px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; letter-spacing: 0; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
h1 { font-size: var(--text-h1); line-height: 1.1; }
h2 { font-size: var(--text-h2); line-height: 1.15; }
h3 { font-size: var(--text-h3); line-height: 1.25; }
.small { font-size: var(--text-small); color: var(--color-muted); }
.trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: var(--text-small); color: var(--color-ink-2); }
.trust li::before { content: ''; display: inline-block; width: 8px; height: 8px; margin-right: 8px; background: var(--color-accent); }

/* the night sky: a few pixel stars */
.sky { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.sky i { position: absolute; width: 3px; height: 3px; background: var(--color-star); opacity: .5; animation: twinkle 4s steps(2) infinite; }
.sky i.p { width: 5px; height: 5px; background: var(--color-ink-2); }
@keyframes twinkle { 0%, 100% { opacity: .25; } 50% { opacity: .8; } }

/* pixel-notched corners */
.btn, .vframe, .desk, .tiles details, .feat img, .vpill {
  clip-path: polygon(0 var(--notch), var(--notch) var(--notch), var(--notch) 0, calc(100% - var(--notch)) 0, calc(100% - var(--notch)) var(--notch), 100% var(--notch), 100% calc(100% - var(--notch)), calc(100% - var(--notch)) calc(100% - var(--notch)), calc(100% - var(--notch)) 100%, var(--notch) 100%, var(--notch) calc(100% - var(--notch)), 0 calc(100% - var(--notch)));
}

/* controls */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; background: var(--color-accent); color: var(--color-accent-ink); font-weight: 500; text-decoration: none; transition: transform .2s var(--ease-out), background-color .2s var(--ease-out); }
.btn:hover { transform: translateY(-2px); background: var(--color-focus); }
.btn:active { transform: translateY(0); }
.btn:disabled, button:disabled, [aria-disabled='true'] { opacity: .5; cursor: not-allowed; transform: none; }
.btn:focus-visible { outline-offset: -4px; outline-color: var(--color-accent-ink); }
.btn svg { flex: none; margin-right: 8px; }
.btn-s { min-height: 36px; padding: 0 16px; font-size: var(--text-small); }
.btn-2 { background: var(--color-paper-3); color: var(--color-ink); }
.btn-2:hover { background: var(--color-rule-2); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* nav */
.nav { position: sticky; top: 12px; z-index: 10; padding-top: 12px; }
.nav-in { display: flex; align-items: center; gap: 24px; height: 56px; padding: 0 8px 0 16px; background: var(--color-paper-2); box-shadow: var(--shadow-card); clip-path: polygon(0 var(--notch), var(--notch) var(--notch), var(--notch) 0, calc(100% - var(--notch)) 0, calc(100% - var(--notch)) var(--notch), 100% var(--notch), 100% calc(100% - var(--notch)), calc(100% - var(--notch)) calc(100% - var(--notch)), calc(100% - var(--notch)) 100%, var(--notch) 100%, var(--notch) calc(100% - var(--notch)), 0 calc(100% - var(--notch))); }
.nav-act { display: flex; gap: 8px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: 20px; }
.brand img { image-rendering: pixelated; }
.nav nav { display: flex; gap: 24px; margin-left: 24px; margin-right: auto; font-size: var(--text-small); color: var(--color-muted); }
.menu-btn { display: none; place-items: center; width: 40px; height: 36px; background: var(--color-paper-3); color: var(--color-ink); }
.menu-btn:hover { background: var(--color-rule-2); }
.nav nav a { text-decoration: none; padding: 8px 0; }
.nav nav a[aria-current] { color: var(--color-ink); }
.nav nav a:hover { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent); text-underline-offset: 6px; }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; padding: 56px 0 80px; }
.hero-text { display: grid; gap: 20px; justify-items: start; }
.hero-text > p:not(.small) { font-size: var(--text-lead); max-width: 30em; color: var(--color-ink-2); }
.vframe { position: relative; padding: 12px; background: var(--color-rule-2); box-shadow: var(--shadow-card); }
.vframe video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--color-paper-2); }
.vctl { position: absolute; left: 24px; bottom: 24px; display: flex; gap: 8px; align-items: center; }
.vbtn { display: grid; place-items: center; width: 36px; height: 36px; background: var(--color-paper); color: var(--color-ink); transition: background-color .2s var(--ease-out); }
.vbtn svg { fill: currentColor; }
.vbtn:hover, .vpill:hover { background: var(--color-paper-3); }
.vfs { position: absolute; right: 24px; bottom: 24px; }
.vframe:fullscreen { padding: 0; display: grid; place-items: center; background: var(--color-paper); clip-path: none; box-shadow: none; }
.vframe:fullscreen video { width: 100%; height: 100%; aspect-ratio: auto; object-fit: contain; }
.vframe:fullscreen .vctl { left: 24px; bottom: 24px; }
.vpill { height: 36px; padding: 0 16px; background: var(--color-paper); color: var(--color-ink); font-size: var(--text-small); font-weight: 500; transition: background-color .2s var(--ease-out); }

/* try it */
.try { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; padding: 56px 0 80px; }
.try-text { display: grid; gap: 16px; max-width: 36em; }
.try-text p { color: var(--color-ink-2); }

/* the real app on a desktop, in the same bezel as the video */
.desk { padding: 12px; background: var(--color-rule-2); box-shadow: var(--shadow-card); }
.screen { position: relative; height: 516px; overflow: hidden; background: var(--color-paper-2) url("assets/desk.jpg?v=2") center / cover; }
.screen iframe { position: absolute; inset: 0; margin: auto; display: block; width: 340px; max-width: 100%; height: 452px; border: 0; background: transparent; color-scheme: light dark; }

/* the install guide page */
.guide { display: grid; gap: 64px; padding: 64px 0 96px; }
.guide-head { display: grid; gap: 16px; justify-items: start; max-width: 46rem; }
.guide-head > p { font-size: var(--text-lead); color: var(--color-ink-2); }
.gsec { display: grid; gap: 20px; max-width: 46rem; }
.gsec p, .gblock p { color: var(--color-ink-2); }
.gsec p b, .gblock p b, .steps b { font-weight: 500; color: var(--color-ink); }
.gsec a { text-decoration: underline; text-decoration-color: var(--color-accent); text-underline-offset: 4px; }
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 28px; }
.steps li { counter-increment: step; position: relative; display: grid; gap: 8px; padding-left: 64px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: -4px; width: 40px; height: 40px; display: grid; place-items: center; background: var(--color-accent); color: var(--color-accent-ink); font-family: var(--font-display); font-size: 22px; }
.steps p { color: var(--color-ink-2); }
.gblock { display: grid; gap: 8px; }
code { display: inline-block; line-height: 1.2; font-family: var(--font-mono); font-size: 0.9em; padding: 4px 8px; background: var(--color-paper-3); color: var(--color-ink); }
.code { margin: 4px 0 0; padding: 12px 16px; background: var(--color-paper-2); color: var(--color-ink); font-family: var(--font-mono); font-size: var(--text-small); overflow-x: auto; }
.facts-list { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 12px 24px; margin: 0; }
.facts-list dt, .fixes dt { font-weight: 500; }
.facts-list dd, .fixes dd { margin: 0; color: var(--color-ink-2); }
.fixes { display: grid; gap: 4px; margin: 0; }
.fixes dd { margin-bottom: 16px; }

/* the comparison page */
.cmp-page { gap: 56px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { display: grid; gap: 8px; align-content: start; padding: 24px; background: var(--color-paper-2); color: var(--color-ink); border-top: 2px solid var(--color-accent); }
.card h2 { font-size: 20px; }
.card p { color: var(--color-ink-2); }
.gsec.wide { max-width: none; }
.cmp-wrap { overflow-x: auto; }
.cmp { width: 100%; min-width: 560px; border-collapse: collapse; text-align: left; }
.cmp th, .cmp td { padding: 16px; border-top: 1px solid var(--color-rule); font-weight: 400; color: var(--color-ink-2); }
.cmp thead th { border-top: 0; font-family: var(--font-display); font-weight: 500; font-size: var(--text-h3); color: var(--color-ink); }
.cmp tbody th { color: var(--color-ink); font-weight: 500; }
.cmp .us { background: var(--color-paper-3); color: var(--color-ink); }
.cmp td.y { color: var(--color-accent); }
.cmp td.n { color: var(--color-muted); }
.lg { display: inline-flex; align-items: center; gap: 8px; }
.lg-i { flex: none; width: 20px; height: 20px; }
.lg-mono { filter: invert(1); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.pair figure { margin: 0; display: grid; gap: 12px; }
.pair img { width: 100%; height: auto; box-sizing: border-box; padding: 8px; background: var(--color-rule-2); box-shadow: var(--shadow-card); }
.pair figcaption { font-weight: 500; }
.note { display: grid; gap: 8px; padding: 24px; background: var(--color-paper-2); color: var(--color-ink); border-top: 2px solid var(--color-accent-2); }
.note h2 { font-size: 20px; }
.note p { color: var(--color-ink-2); }

/* features */
.features { padding: 56px 0 40px; }
.features h2 { margin-bottom: 40px; }
.feat { display: grid; gap: 24px; margin-bottom: 72px; }
.feat-text { display: grid; gap: 8px; max-width: 36em; }
.feat-text p { color: var(--color-ink-2); }
.feat img { width: 100%; height: auto; box-sizing: border-box; padding: 12px; background: var(--color-rule-2); box-shadow: var(--shadow-card); }

/* the box */
.box { padding: 56px 0 80px; }
.box h2 { margin-bottom: 32px; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; }
.facts li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--color-rule); }
.facts span { font-weight: 500; }
.facts em { font-style: normal; font-size: var(--text-small); color: var(--color-muted); text-align: right; }

/* faq */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; align-items: start; padding: 56px 0 80px; }
.faq h2 { position: sticky; top: 96px; }
.tiles { display: grid; gap: 8px; }
.tiles details { background: var(--color-paper-2); transition: background-color .25s var(--ease-out); }
.tiles details[open] { background: var(--color-paper-3); }
.tiles summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 0 20px; font-weight: 500; cursor: pointer; }
.tiles summary::-webkit-details-marker { display: none; }
.tiles summary::after { content: '+'; flex: none; font-family: var(--font-display); font-size: 24px; line-height: 1; color: var(--color-accent); transition: transform .3s var(--ease-out); }
.tiles details[open] summary::after { transform: rotate(45deg); }
.tiles summary:focus-visible { outline-offset: -4px; }
.tiles details p { padding: 0 20px 20px; max-width: 52ch; color: var(--color-ink-2); }

/* cta */
.cta { background: var(--color-paper-2); color: var(--color-ink); padding: 72px 0; }
.cta-in { display: grid; justify-items: center; gap: 24px; text-align: center; }
.cta-book { width: 96px; height: 96px; image-rendering: pixelated; }
.cta h2 { max-width: 14em; }

/* footer: a slim solid band, so the sky does not run through it */
.foot { position: relative; z-index: 1; margin-top: 64px; padding: 24px 0 16px; background: var(--color-paper-2); font-size: var(--text-small); color: var(--color-muted); }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.foot .brand { color: var(--color-ink); font-size: 18px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot nav a { color: var(--color-ink); text-decoration: none; }
.foot nav a:hover { text-decoration: underline; text-decoration-color: var(--color-accent); text-underline-offset: 4px; }
.foot-end { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; margin-top: 16px; }

/* entrances: visible by default, hidden only while the script is running */
.js [data-rise] { opacity: 0; transform: translateY(20px); }
.js [data-rise].in { opacity: 1; transform: none; transition: opacity var(--dur) var(--ease-out) var(--d, 0ms), transform var(--dur) var(--ease-out) var(--d, 0ms); }

@media (max-width: 860px) {
  .cards, .pair { grid-template-columns: minmax(0, 1fr); }
  .cmp-page { gap: 40px; }
  .guide { gap: 48px; padding: 40px 0 72px; }
  .facts-list { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .facts-list dd { margin-bottom: 12px; }
  :root { --text-h1: 32px; --text-h2: 24px; }
  .menu-btn { display: grid; }
  .nav nav { display: none; }
  .nav-in { justify-content: space-between; }
  .nav.open .nav-in { flex-wrap: wrap; height: auto; padding-bottom: 12px; }
  .nav.open nav { display: grid; order: 3; width: 100%; margin: 0; gap: 4px; font-size: var(--text-lead); color: var(--color-ink); }
  .nav.open nav a { padding: 12px 0; border-top: 1px solid var(--color-rule); }
  .nav-act .btn-2 { display: none; }
  .hero, .try, .faq { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .screen { height: 520px; }
  .hero { padding: 32px 0 56px; }
  .try, .features, .box, .faq { padding-top: 40px; padding-bottom: 56px; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .faq h2 { position: static; }
  .foot { margin-top: 48px; }
  .foot-in { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .sky i { animation: none; } .js [data-rise] { opacity: 1; transform: none; }
  html { scroll-behavior: auto; } .btn:hover { transform: none; } .tiles summary::after { transition: none; }
}
