/* HexCorp theme v3.
   Layout: bold display type, screenshots as the visual material, the honeycomb as structure (hero mosaic, markers).
   Tokens: bg / surface / surface-2 / ink / muted / faint / line / accent (cyan→blue from the mark). Light-first, dark follows the OS. */
:root {
  --hx-bg: #f4f6fa; --hx-surface: #ffffff; --hx-surface-2: #e9eef6; --hx-surface-3: #0c1829;
  --hx-ink: #0c1829; --hx-ink-2: #1f2d44; --hx-muted: #4e5f7a; --hx-faint: #8794ab;
  --hx-line: rgba(12, 24, 41, 0.09); --hx-line-strong: rgba(12, 24, 41, 0.2);
  --hx-accent: #0b8fd6; --hx-accent-2: #2f5fe0; --hx-accent-ink: #ffffff; --hx-accent-soft: rgba(11, 143, 214, 0.1);
  --hx-ok: #178a54; --hx-warn: #b07515; --hx-danger: #c43d3d;
  --hx-shadow-sm: 0 1px 2px rgba(12, 24, 41, 0.05), 0 6px 18px -10px rgba(12, 24, 41, 0.2);
  --hx-shadow-lg: 0 2px 4px rgba(12, 24, 41, 0.06), 0 30px 60px -30px rgba(12, 24, 41, 0.35);
  --hx-display: "Schibsted Grotesk", "Avenir Next", ui-sans-serif, system-ui, sans-serif;
  --hx-sans: "Source Sans 3", "Helvetica Neue", ui-sans-serif, system-ui, sans-serif;
  --hx-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --hx-radius: 14px; --hx-radius-sm: 8px; --hx-max: 1160px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --hx-bg: #0a1322; --hx-surface: #111e35; --hx-surface-2: #0e1a2e; --hx-surface-3: #060d19;
    --hx-ink: #e9eff9; --hx-ink-2: #c9d5ea; --hx-muted: #93a6c6; --hx-faint: #627696;
    --hx-line: rgba(128, 170, 230, 0.14); --hx-line-strong: rgba(128, 170, 230, 0.3);
    --hx-accent: #2bd9ff; --hx-accent-2: #5b8cff; --hx-accent-ink: #06243a; --hx-accent-soft: rgba(43, 217, 255, 0.12);
    --hx-ok: #3fd58a; --hx-warn: #f2b84b; --hx-danger: #ff7b7b;
    --hx-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px -12px rgba(0, 0, 0, 0.6);
    --hx-shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.4), 0 40px 80px -30px rgba(0, 0, 0, 0.8);
    color-scheme: dark;
  }
}

/* base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--hx-bg); color: var(--hx-ink); font-family: var(--hx-sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--hx-accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--hx-display); text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.015em; line-height: 1.2; }
p { margin: 0; }
code { font-family: var(--hx-mono); }

.hx-skip { position: absolute; left: -999px; top: 0; background: var(--hx-surface); padding: .6rem 1rem; z-index: 100; }
.hx-skip:focus { left: 12px; top: 12px; }
.hx-wrap { max-width: var(--hx-max); margin-inline: auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.hx-narrow { max-width: 760px; }
.hx-eyebrow { font-family: var(--hx-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--hx-accent); font-weight: 500; }
.hx-eyebrow--muted { color: var(--hx-muted); }
.hx-eyebrow--small { font-size: .64rem; }
.hx-lede { font-size: 1.2rem; line-height: 1.5; color: var(--hx-muted); max-width: 34em; }
.hx-mono { font-family: var(--hx-mono); font-variant-numeric: tabular-nums; }
.hx-faint { color: var(--hx-faint); }
.hx-muted { color: var(--hx-muted); }
.hx-small { font-size: .85rem; }
.hx-break { word-break: break-all; }
.hx-link { font-weight: 600; color: var(--hx-accent); text-decoration: none; }
.hx-link:hover { text-decoration: underline; }
.hx-band { background: var(--hx-surface-2); }

/* buttons & pills */
.hx-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .8rem 1.3rem; border-radius: 999px; font-weight: 600; font-size: .97rem; text-decoration: none; border: 1px solid var(--hx-line-strong); background: var(--hx-surface); color: var(--hx-ink); cursor: pointer; transition: transform .15s, border-color .15s, box-shadow .15s; box-shadow: var(--hx-shadow-sm); white-space: nowrap; }
.hx-btn:hover { transform: translateY(-1px); border-color: var(--hx-accent); }
.hx-btn--primary { background: linear-gradient(100deg, var(--hx-accent), var(--hx-accent-2)); color: var(--hx-accent-ink); border-color: transparent; }
.hx-btn--primary:hover { box-shadow: 0 10px 30px -10px var(--hx-accent-2); }
.hx-btn--ghost { background: transparent; box-shadow: none; }
.hx-btn--sm { padding: .45rem .9rem; font-size: .86rem; }
.hx-btn--lg { padding: .95rem 1.6rem; font-size: 1.05rem; }
.hx-pill { font-family: var(--hx-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; padding: .28rem .7rem; border-radius: 999px; border: 1px solid var(--hx-line-strong); color: var(--hx-muted); white-space: nowrap; background: var(--hx-surface); }
.hx-pill.is-live { color: var(--hx-ok); border-color: color-mix(in srgb, var(--hx-ok) 50%, transparent); background: color-mix(in srgb, var(--hx-ok) 8%, var(--hx-surface)); }
.hx-pill.is-soon { color: var(--hx-warn); border-color: color-mix(in srgb, var(--hx-warn) 50%, transparent); background: color-mix(in srgb, var(--hx-warn) 8%, var(--hx-surface)); }
.hx-pill.is-muted { color: var(--hx-faint); }

/* header */
.hx-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid var(--hx-line); background: color-mix(in srgb, var(--hx-bg) 86%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.hx-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .85rem; }
.hx-brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; font-family: var(--hx-display); font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; }
.hx-brand img, .hx-mark--brand { width: 34px; height: 34px; }
.hx-brand__tld { color: var(--hx-accent); font-weight: 700; }
.hx-nav { display: flex; align-items: center; gap: 1.6rem; }
.hx-nav__list { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; font-size: .97rem; font-weight: 500; }
.hx-nav__list a { text-decoration: none; color: var(--hx-muted); transition: color .15s; }
.hx-nav__list a:hover, .hx-nav__list .current-menu-item a { color: var(--hx-ink); }
.hx-nav__cta { display: inline-flex; }
@media (max-width: 720px) { .hx-nav__list { gap: 1rem; font-size: .9rem; } .hx-nav__cta { display: none; } }

/* hero */
.hx-hero { position: relative; overflow: hidden; padding-block: clamp(3.5rem, 8vw, 7rem) clamp(2.5rem, 6vw, 5rem); }
.hx-hero::before { content: ""; position: absolute; inset: -20% -10% auto; height: 120%; background:
  radial-gradient(60% 50% at 80% 30%, var(--hx-accent-soft), transparent 70%),
  radial-gradient(40% 40% at 15% 80%, color-mix(in srgb, var(--hx-accent-2) 9%, transparent), transparent 70%); pointer-events: none; }
.hx-hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
@media (max-width: 900px) { .hx-hero__inner { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; } }
.hx-hero__copy { display: grid; gap: 1.5rem; min-width: 0; }
.hx-hero__title { max-width: 11em; }
.hx-hero__title em { font-style: normal; background: linear-gradient(100deg, var(--hx-accent), var(--hx-accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hx-cta { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.hx-hero__note { font-size: .9rem; color: var(--hx-faint); }

/* honeycomb mosaic: 7 pointy-top hexes in a 2-3-2 flower */
.hx-comb { position: relative; width: min(100%, 520px); aspect-ratio: 1 / 0.98; margin-inline: auto; }
.hx-cell { position: absolute; width: 32%; aspect-ratio: 1 / 1.1547; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: var(--hx-surface-2); overflow: hidden; text-decoration: none; color: #fff; transition: transform .25s ease, filter .25s ease; display: block; }
.hx-cell img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .4s ease; }
.hx-cell::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 13, 25, 0) 40%, rgba(6, 13, 25, .8) 100%); }
.hx-cell__label { position: absolute; left: 0; right: 0; bottom: 14%; text-align: center; font-family: var(--hx-display); font-weight: 700; font-size: clamp(.7rem, 1.3vw, .92rem); letter-spacing: -.01em; z-index: 1; text-shadow: 0 1px 2px rgba(0,0,0,.4); padding-inline: 18%; }
.hx-cell:hover { transform: translateY(-4px) scale(1.03); z-index: 2; }
.hx-cell:hover img { transform: scale(1.06); }
.hx-cell--core { background: linear-gradient(135deg, var(--hx-accent), var(--hx-accent-2)); display: grid; place-items: center; }
.hx-cell--core::after { display: none; }
.hx-cell--core svg { width: 58%; height: auto; filter: drop-shadow(0 6px 14px rgba(0,0,0,.25)); }
.hx-cell--core .hx-mark polygon { stroke: #fff; }
.hx-cell--core .hx-mark polygon:first-child { fill: #fff; }
.hx-cell--empty { background: var(--hx-surface-2); border: 0; display: grid; place-items: center; color: var(--hx-faint); font-family: var(--hx-mono); font-size: .7rem; letter-spacing: .1em; }
.hx-cell--empty::after { display: none; }
.hx-cell:nth-child(1) { left: 18%; top: 3.8%; }
.hx-cell:nth-child(2) { left: 50%; top: 3.8%; }
.hx-cell:nth-child(3) { left: 2%;  top: 31.5%; }
.hx-cell:nth-child(4) { left: 34%; top: 31.5%; }
.hx-cell:nth-child(5) { left: 66%; top: 31.5%; }
.hx-cell:nth-child(6) { left: 18%; top: 59.2%; }
.hx-cell:nth-child(7) { left: 50%; top: 59.2%; }

/* stats */
.hx-stats { border-block: 1px solid var(--hx-line); }
.hx-stats__inner { display: grid; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 720px) { .hx-stats__inner { grid-template-columns: repeat(2, 1fr); } }
.hx-stat { padding: 1.4rem 1.2rem; border-left: 1px solid var(--hx-line); display: grid; gap: .2rem; }
.hx-stat:first-child { border-left: 0; padding-left: 0; }
@media (max-width: 720px) { .hx-stat:nth-child(3) { border-left: 0; padding-left: 0; } .hx-stat:nth-child(n+3) { border-top: 1px solid var(--hx-line); } }
.hx-stat__n { font-family: var(--hx-display); font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.4rem); letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.hx-stat__l { font-size: .9rem; color: var(--hx-muted); }

/* sections */
.hx-section { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.hx-section--first { padding-top: clamp(2.5rem, 5vw, 4rem); }
.hx-section__head { display: grid; gap: .8rem; margin-bottom: 2.6rem; max-width: 44em; }
.hx-section__head--row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem; max-width: none; }
.hx-section__head--row > div { display: grid; gap: .8rem; max-width: 44em; }
.hx-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 860px) { .hx-split { grid-template-columns: 1fr; } }
.hx-grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 980px) { .hx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .hx-grid { grid-template-columns: 1fr; } }

/* product card */
.hx-card { position: relative; display: flex; flex-direction: column; background: var(--hx-surface); border: 1px solid var(--hx-line); border-radius: var(--hx-radius); min-width: 0; overflow: hidden; box-shadow: var(--hx-shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s; scroll-margin-top: 5rem; }
.hx-card:hover { transform: translateY(-3px); box-shadow: var(--hx-shadow-lg); border-color: var(--hx-line-strong); }
.hx-card__media { position: relative; aspect-ratio: 16 / 10; background: var(--hx-surface-2); overflow: hidden; border-bottom: 1px solid var(--hx-line); }
.hx-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s ease; }
.hx-card:hover .hx-card__media img { transform: scale(1.03); }
.hx-card__media--empty { display: grid; place-items: center; background: linear-gradient(135deg, color-mix(in srgb, var(--hx-accent) 14%, var(--hx-surface-2)), color-mix(in srgb, var(--hx-accent-2) 14%, var(--hx-surface-2))); }
.hx-card__media--empty .hx-mark { width: 26%; opacity: .9; }
.hx-card__pill { position: absolute; top: .8rem; right: .8rem; box-shadow: var(--hx-shadow-sm); }
.hx-card__body { display: flex; flex-direction: column; gap: .75rem; padding: 1.35rem 1.5rem 1.5rem; flex: 1; }
.hx-card__kind { display: flex; align-items: center; gap: .6rem; }
.hx-card__title { font-size: 1.5rem; }
.hx-card__title a { text-decoration: none; }
.hx-card__title a::after { content: ""; position: absolute; inset: 0; }
.hx-card__title a:hover { color: var(--hx-accent); }
.hx-card__tagline { color: var(--hx-muted); font-size: 1.02rem; }
.hx-card__problem { margin-top: .2rem; padding: .85rem 1rem; border-radius: var(--hx-radius-sm); background: var(--hx-surface-2); font-size: .93rem; line-height: 1.5; color: var(--hx-ink-2); display: grid; gap: .2rem; }
.hx-card__foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1rem; padding-top: .8rem; font-size: .88rem; position: relative; z-index: 1; }
.hx-card__foot .hx-link { position: relative; }
.hx-card__pro { font-family: var(--hx-mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--hx-accent-2); }

/* workshop: compact cards */
.hx-grid--compact { gap: 1rem; }
.hx-card--compact .hx-card__media { aspect-ratio: 21 / 9; }
.hx-card--compact .hx-card__body { padding: 1.1rem 1.25rem 1.25rem; gap: .5rem; }
.hx-card--compact .hx-card__title { font-size: 1.2rem; }
.hx-card--compact .hx-card__problem { background: transparent; padding: 0; color: var(--hx-muted); }

/* release log */
.hx-log { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hx-line); }
.hx-log li { display: grid; grid-template-columns: 1fr auto auto; gap: 1.2rem; align-items: baseline; padding: .95rem 0; border-bottom: 1px solid var(--hx-line); }
.hx-log a { text-decoration: none; font-weight: 600; }
.hx-log a:hover { color: var(--hx-accent); }
.hx-log .hx-log__notes { grid-column: 1 / -1; color: var(--hx-muted); font-size: .92rem; margin-top: -.5rem; }
.hx-log .hx-mono { color: var(--hx-accent); font-size: .85rem; font-weight: 500; }
@media (max-width: 560px) { .hx-log li { grid-template-columns: 1fr auto; } .hx-log time { grid-column: 1 / -1; } }

/* approach */
.hx-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; counter-reset: step; }
@media (max-width: 860px) { .hx-steps { grid-template-columns: 1fr; } }
.hx-steps li { counter-increment: step; position: relative; padding: 1.6rem 1.5rem 1.6rem; background: var(--hx-surface); border: 1px solid var(--hx-line); border-radius: var(--hx-radius); box-shadow: var(--hx-shadow-sm); display: grid; gap: .6rem; align-content: start; }
.hx-steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--hx-mono); font-size: .8rem; color: var(--hx-accent); width: 2.4rem; height: 2.4rem; display: grid; place-items: center; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: var(--hx-accent-soft); font-weight: 500; }
.hx-steps h3 { font-size: 1.15rem; }
.hx-steps p { color: var(--hx-muted); font-size: .97rem; }
.hx-prose { display: grid; gap: 1rem; max-width: 36em; }
.hx-prose p { color: var(--hx-muted); }
.hx-prose > p:first-of-type { color: var(--hx-ink); font-size: 1.15rem; }
.hx-prose--small { font-size: .95rem; }
.hx-prose ul, .hx-prose ol { margin: 0; padding-left: 1.2rem; color: var(--hx-muted); }
.hx-stack { margin-top: 1.2rem; font-family: var(--hx-mono); font-size: .78rem; color: var(--hx-faint); line-height: 1.9; }
.hx-stack b { color: var(--hx-muted); font-weight: 500; }

/* contact */
.hx-mailbox { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; margin-top: 1.4rem; padding: 1rem 1.2rem; background: var(--hx-surface); border: 1px solid var(--hx-line); border-radius: var(--hx-radius); box-shadow: var(--hx-shadow-sm); }
.hx-mailbox code { font-size: 1.05rem; user-select: all; word-break: break-all; }
.hx-mailbox .hx-btn { margin-left: auto; }
.hx-meta { margin: 1.2rem 0 0; font-size: .95rem; color: var(--hx-muted); }
.hx-meta dt { font-family: var(--hx-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--hx-faint); }
.hx-meta dd { margin: 0 0 .6rem; }
.hx-form { display: grid; gap: 1rem; padding: 1.6rem; background: var(--hx-surface); border: 1px solid var(--hx-line); border-radius: var(--hx-radius); box-shadow: var(--hx-shadow-sm); }
.hx-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 520px) { .hx-form__row { grid-template-columns: 1fr; } }
.hx-field { display: grid; gap: .35rem; }
.hx-field > span { font-size: .84rem; font-weight: 600; color: var(--hx-muted); }
.hx-field input, .hx-field select, .hx-field textarea { width: 100%; font: inherit; font-size: .97rem; color: var(--hx-ink); background: var(--hx-bg); border: 1px solid var(--hx-line-strong); border-radius: var(--hx-radius-sm); padding: .65rem .8rem; }
.hx-field textarea { resize: vertical; line-height: 1.5; }
.hx-field input:focus, .hx-field select:focus, .hx-field textarea:focus { outline: 2px solid var(--hx-accent); outline-offset: 0; border-color: transparent; }
.hx-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hx-notice { padding: .8rem 1rem; border-radius: var(--hx-radius-sm); border: 1px solid; font-size: .95rem; margin-bottom: 1rem; }
.hx-notice--ok { color: var(--hx-ok); border-color: color-mix(in srgb, var(--hx-ok) 45%, transparent); background: color-mix(in srgb, var(--hx-ok) 8%, transparent); }
.hx-notice--error { color: var(--hx-danger); border-color: color-mix(in srgb, var(--hx-danger) 45%, transparent); background: color-mix(in srgb, var(--hx-danger) 8%, transparent); }
.hx-notice--warn { color: var(--hx-warn); border-color: color-mix(in srgb, var(--hx-warn) 45%, transparent); background: color-mix(in srgb, var(--hx-warn) 8%, transparent); }

/* footer */
.hx-footer { margin-top: auto; background: var(--hx-surface-3); color: #b9c6dc; padding-block: 3.5rem 2rem; }
.hx-footer a { color: #dfe7f5; text-decoration: none; }
.hx-footer a:hover { color: #fff; text-decoration: underline; }
.hx-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.1); }
@media (max-width: 760px) { .hx-footer__grid { grid-template-columns: 1fr; gap: 2rem; } }
.hx-footer .hx-brand { color: #fff; }
.hx-footer__blurb { margin-top: .9rem; max-width: 30em; font-size: .95rem; color: #9fb0cc; }
.hx-footer h4 { color: #fff; font-size: .78rem; font-family: var(--hx-mono); letter-spacing: .14em; text-transform: uppercase; font-weight: 500; margin-bottom: .9rem; }
.hx-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; font-size: .95rem; }
.hx-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 1rem; padding-top: 1.4rem; font-size: .82rem; color: #7f90ad; }

/* ================= product page ================= */
.hx-ph { position: relative; overflow: hidden; padding-block: clamp(3rem, 7vw, 6rem) 0; }
.hx-ph::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(50% 45% at 50% 0%, var(--hx-accent-soft), transparent 70%),
  radial-gradient(35% 35% at 90% 60%, color-mix(in srgb, var(--hx-accent-2) 8%, transparent), transparent 70%); pointer-events: none; }
.hx-ph__inner { position: relative; display: grid; justify-items: center; text-align: center; gap: 1.1rem; max-width: 880px; }
.hx-crumbs { font-size: .85rem; color: var(--hx-faint); }
.hx-crumbs a { text-decoration: none; }
.hx-crumbs a:hover { color: var(--hx-accent); }
.hx-crumbs span { margin-inline: .35rem; }
.hx-ph__meta { display: flex; align-items: center; gap: .8rem; }
.hx-ph__title { font-size: clamp(2.8rem, 7vw, 5.4rem); letter-spacing: -.04em; line-height: .98; max-width: 12em; }
.hx-ph__tagline { font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.4; color: var(--hx-muted); max-width: 30em; text-wrap: balance; }
.hx-ph__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin-top: .4rem; }
.hx-ph__facts { font-family: var(--hx-mono); font-size: .78rem; letter-spacing: .02em; color: var(--hx-faint); margin-top: .2rem; white-space: pre-wrap; }
.hx-ph__shot { position: relative; margin-top: clamp(2rem, 5vw, 3.5rem); }
.hx-ph__shot::after { content: ""; position: absolute; left: 50%; bottom: -1px; transform: translateX(-50%); width: min(100%, 1160px); height: 45%; background: linear-gradient(180deg, transparent, var(--hx-bg)); pointer-events: none; z-index: 1; }
.hx-ph__shot .hx-window { margin-inline: auto; max-width: 1160px; }
.hx-ph__shot .hx-window img { max-height: none; aspect-ratio: 16 / 9.4; object-fit: cover; object-position: top; }
.hx-ph__shot--phone .hx-window { max-width: 340px; margin-inline: auto; }
.hx-ph__shot--phone .hx-window img { aspect-ratio: auto; max-height: 640px; object-fit: contain; }
.hx-ph__shot--phone::after { display: none; }

/* browser window frame */
.hx-window { margin: 0; min-width: 0; border-radius: var(--hx-radius); background: var(--hx-surface); border: 1px solid var(--hx-line-strong); box-shadow: var(--hx-shadow-lg); overflow: hidden; }
.hx-window__bar { display: flex; align-items: center; gap: .4rem; padding: .7rem .9rem; border-bottom: 1px solid var(--hx-line); background: var(--hx-surface-2); }
.hx-window__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--hx-line-strong); }
.hx-window__bar span { flex: 1; min-width: 0; margin-left: .6rem; font-family: var(--hx-mono); font-size: .7rem; color: var(--hx-faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hx-window img { width: 100%; height: auto; }
.hx-window--phone { max-width: 300px; margin-inline: auto; }
.hx-window--phone img { max-height: 560px; object-fit: contain; background: var(--hx-surface-2); }
.hx-window--empty { aspect-ratio: 16 / 10; display: grid; place-items: center; }

/* anchors */
.hx-anchors { border-block: 1px solid var(--hx-line); background: var(--hx-bg); }
.hx-anchors .hx-wrap { display: flex; gap: 2rem; overflow-x: auto; font-size: .9rem; font-weight: 500; }
.hx-anchors a { flex: none; padding: .9rem 0; color: var(--hx-muted); text-decoration: none; }
.hx-anchors a:hover { color: var(--hx-accent); }

/* story */
.hx-story { padding-block: clamp(4rem, 8vw, 7rem); scroll-margin-top: 4rem; }
.hx-story__inner { max-width: 720px; display: grid; gap: 1rem; }
.hx-story__problem { font-family: var(--hx-display); font-weight: 700; font-size: clamp(1.5rem, 2.8vw, 2.1rem); line-height: 1.25; letter-spacing: -.025em; margin-bottom: 2.2rem; text-wrap: pretty; }
.hx-story__built { display: grid; gap: 1rem; font-size: 1.12rem; line-height: 1.65; color: var(--hx-ink-2); }
.hx-story__built p:first-child { font-size: 1.25rem; color: var(--hx-ink); }
.hx-story__built ul, .hx-story__built ol { margin: 0; padding-left: 1.2rem; }

/* pricing */
.hx-pricing { padding-block: clamp(4rem, 8vw, 7rem); background: var(--hx-surface-2); scroll-margin-top: 4rem; }
.hx-pricing__head { display: grid; gap: .8rem; max-width: 40em; margin-bottom: 2.6rem; }
.hx-tiers { display: grid; gap: 1.2rem; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); align-items: stretch; }
.hx-tiers--1 { --cols: 1; max-width: 520px; }
.hx-tiers--2 { --cols: 2; }
.hx-tiers--3 { --cols: 3; }
.hx-tiers--4 { --cols: 4; }
@media (max-width: 1080px) { .hx-tiers--4 { --cols: 2; } .hx-tiers--3 { --cols: 3; } }
@media (max-width: 860px) { .hx-tiers--3 { --cols: 1; max-width: 520px; } }
@media (max-width: 640px) { .hx-tiers { --cols: 1 !important; max-width: 520px; } }
.hx-tier { display: flex; flex-direction: column; gap: 1.1rem; padding: 1.8rem 1.7rem; border-radius: var(--hx-radius); background: var(--hx-surface); border: 1px solid var(--hx-line); box-shadow: var(--hx-shadow-sm); min-width: 0; position: relative; }
.hx-tier--free { background: transparent; box-shadow: none; border-style: dashed; border-color: var(--hx-line-strong); }
.hx-tier__head { display: grid; gap: .5rem; }
.hx-tier__name { font-family: var(--hx-mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--hx-muted); }
.hx-tier__price { display: flex; align-items: baseline; gap: .4rem; }
.hx-tier__price strong { font-family: var(--hx-display); font-weight: 800; font-size: 2.4rem; letter-spacing: -.04em; line-height: 1; }
.hx-tier__price small { font-size: .9rem; color: var(--hx-muted); }
.hx-tier__blurb { color: var(--hx-muted); font-size: .95rem; }
.hx-tier__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; font-size: .93rem; }
.hx-tier__list li { position: relative; padding-left: 1.35rem; color: var(--hx-ink-2); }
.hx-tier__list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 9px; height: 9px; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: var(--hx-faint); }
.hx-tier__list--pro li::before { background: linear-gradient(135deg, var(--hx-accent), var(--hx-accent-2)); }
.hx-tier__more a { color: var(--hx-accent); text-decoration: none; font-weight: 600; }
.hx-tier__cta { margin-top: auto; display: grid; gap: .6rem; padding-top: .8rem; }
.hx-tier__cta .hx-btn { width: 100%; }
.hx-tier__note { font-size: .8rem; color: var(--hx-faint); line-height: 1.45; }
.hx-tier__pending { font-size: .9rem; color: var(--hx-muted); text-align: center; padding: .75rem; border-radius: var(--hx-radius-sm); background: var(--hx-surface-2); }

/* screenshots: dark band + carousel */
.hx-shots { padding-block: clamp(4rem, 8vw, 7rem); background: var(--hx-surface-3); color: #e9eff9; scroll-margin-top: 4rem; }
.hx-shots .hx-eyebrow { color: var(--hx-accent); }
.hx-shots h2 { color: #fff; }
.hx-shots__head { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.hx-shots__head > div { display: grid; gap: .6rem; max-width: 40em; }
.hx-shots__nav { display: flex; align-items: center; gap: .6rem; }
.hx-shots__btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); color: #fff; font-size: 1.1rem; cursor: pointer; display: grid; place-items: center; transition: background .15s; }
.hx-shots__btn:hover { background: rgba(255,255,255,.14); }
.hx-shots__count { font-size: .8rem; color: #9fb0cc; min-width: 3.2em; text-align: center; }
.hx-carousel { display: flex; gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(20px, calc((100vw - var(--hx-max)) / 2 + 20px)); padding-inline: max(20px, calc((100vw - var(--hx-max)) / 2 + 20px)); padding-bottom: .6rem; scrollbar-width: none; }
.hx-carousel::-webkit-scrollbar { display: none; }
.hx-slide { flex: 0 0 min(100% - 40px, 920px); scroll-snap-align: start; margin: 0; display: grid; gap: .8rem; min-width: 0; }
.hx-slide--phone { flex-basis: min(100% - 40px, 360px); }
.hx-slide__btn { display: block; width: 100%; padding: 0; border: 1px solid rgba(255,255,255,.14); border-radius: var(--hx-radius); background: #0f1b30; cursor: zoom-in; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); }
.hx-slide__btn img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: contain; background: #0f1b30; }
.hx-slide--phone .hx-slide__btn img { aspect-ratio: 9 / 19; }
.hx-slide figcaption { font-size: .92rem; color: #b9c6dc; }
.hx-slide figcaption .hx-mono { color: var(--hx-accent); margin-right: .4rem; font-size: .78rem; }
.hx-lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1400px); max-height: 94vh; width: auto; }
.hx-lightbox::backdrop { background: rgba(4, 10, 20, .92); backdrop-filter: blur(6px); }
.hx-lightbox__figure { margin: 0; display: grid; gap: .6rem; justify-items: center; }
.hx-lightbox__figure img { max-width: min(96vw, 1400px); max-height: 82vh; width: auto; height: auto; border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.hx-lightbox__figure figcaption { color: #e7eef9; font-size: .95rem; text-align: center; max-width: 60ch; }
.hx-lightbox__close, .hx-lightbox__nav { position: fixed; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(10, 19, 34, .7); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.hx-lightbox__close { top: max(16px, env(safe-area-inset-top, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); transform: none; font-size: 1.5rem; }
.hx-lightbox__nav--prev { left: max(12px, env(safe-area-inset-left, 0px)); }
.hx-lightbox__nav--next { right: max(12px, env(safe-area-inset-right, 0px)); }
.hx-lightbox__nav[hidden] { display: none; }
@media (max-width: 640px) { .hx-lightbox__nav { top: auto; bottom: max(16px, env(safe-area-inset-bottom, 0px)); transform: none; } }

/* features: open list, no cards */
.hx-features { padding-block: clamp(4rem, 8vw, 7rem); scroll-margin-top: 4rem; }
.hx-features__head { display: grid; gap: .8rem; max-width: 40em; margin-bottom: 2.8rem; }
.hx-features__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.4rem 2.5rem; counter-reset: feat; }
@media (max-width: 960px) { .hx-features__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .hx-features__list { grid-template-columns: 1fr; gap: 1.8rem; } }
.hx-feature { counter-increment: feat; border-top: 1px solid var(--hx-line-strong); padding-top: 1.1rem; display: grid; gap: .45rem; min-width: 0; }
.hx-feature::before { content: counter(feat, decimal-leading-zero); font-family: var(--hx-mono); font-size: .72rem; letter-spacing: .12em; color: var(--hx-accent); }
.hx-feature h3 { font-size: 1.12rem; }
.hx-feature p { color: var(--hx-muted); font-size: .96rem; line-height: 1.55; }

/* changelog */
.hx-changelog { padding-block: clamp(4rem, 8vw, 7rem); border-top: 1px solid var(--hx-line); scroll-margin-top: 4rem; }
.hx-changelog__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 860px) { .hx-changelog__inner { grid-template-columns: 1fr; } }
.hx-changelog__head { display: grid; gap: .8rem; }
.hx-changelog__dev { font-size: .85rem; color: var(--hx-faint); line-height: 1.6; }
.hx-changelog__dev code { font-size: .74rem; color: var(--hx-muted); word-break: break-all; }
.hx-changelog__list { list-style: none; margin: 0; padding: 0; display: grid; }
.hx-changelog__list li { display: grid; gap: .6rem; padding: 1.3rem 0; border-top: 1px solid var(--hx-line); }
.hx-changelog__list li:first-child { border-top: 0; padding-top: 0; }
.hx-changelog__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; }
.hx-changelog__v { font-family: var(--hx-display); font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; }
.hx-changelog__meta time { font-family: var(--hx-mono); font-size: .8rem; color: var(--hx-faint); }
.hx-changelog__notes { color: var(--hx-muted); font-size: .97rem; line-height: 1.6; display: grid; gap: .6rem; }
.hx-changelog__notes p { color: inherit; }

/* faq */
.hx-faq { padding-block: clamp(4rem, 8vw, 7rem); background: var(--hx-surface-2); scroll-margin-top: 4rem; }
.hx-faq__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 860px) { .hx-faq__inner { grid-template-columns: 1fr; } }
.hx-faq__head { display: grid; gap: .8rem; }
.hx-faq__list { display: grid; border-top: 1px solid var(--hx-line-strong); }
.hx-faq__item { border-bottom: 1px solid var(--hx-line-strong); }
.hx-faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; }
.hx-faq__item summary::-webkit-details-marker { display: none; }
.hx-faq__item summary::after { content: "+"; font-family: var(--hx-mono); font-size: 1.2rem; color: var(--hx-accent); flex: none; transition: transform .2s; }
.hx-faq__item[open] summary::after { transform: rotate(45deg); }
.hx-faq__item h3 { font-size: 1.08rem; font-weight: 700; }
.hx-faq__item p { color: var(--hx-muted); padding: 0 0 1.2rem; max-width: 60ch; line-height: 1.6; }
.hx-related { padding-block: clamp(4rem, 8vw, 7rem); border-top: 1px solid var(--hx-line); }

/* archive / generic */
.pagination { margin-top: 2rem; font-size: .95rem; }
.pagination .page-numbers { margin-right: .6rem; }
.hx-rows { display: grid; gap: 0; border-top: 1px solid var(--hx-line); }
.hx-row { display: grid; gap: .3rem; padding-block: 1.1rem; border-bottom: 1px solid var(--hx-line); }
.hx-row__head { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.hx-row__head h3 { font-size: 1.05rem; }
.hx-row__head a { text-decoration: none; }

