/* Industry — design-system tokens and component classes. This file is the source of truth for the system's look; retune it here and see readme.md. */
/* vietnamese */
/* latin-ext */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/barlow-400-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/barlow-400-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
/* latin-ext */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/barlow-500-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/barlow-500-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
/* latin-ext */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/barlow-700-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/barlow-700-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
/* latin-ext */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/barlowcondensed-400-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/barlowcondensed-400-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
/* latin-ext */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/barlowcondensed-600-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/barlowcondensed-600-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


:root {
  --color-bg: #f6f1e9;
  --color-surface: #ede5d9;
  --color-text: #1d1f20;
  --color-accent: #5980a6;
  --color-accent-2: #728fab;
  --color-divider: color-mix(in srgb, #1d1f20 16%, transparent);

  /* Tonal ramps — generated in OKLCH on one shared lightness scale, so the
     same step of any role matches the others in visual value. */
  --color-neutral-100: #f5f5f8;
  --color-neutral-200: #e7e7ea;
  --color-neutral-300: #d4d4d7;
  --color-neutral-400: #b7b7ba;
  --color-neutral-500: #98989b;
  --color-neutral-600: #7a7a7d;
  --color-neutral-700: #5d5d60;
  --color-neutral-800: #424244;
  --color-neutral-900: #2b2b2d;

  --color-accent-100: #eef6ff;
  --color-accent-200: #d6ebff;
  --color-accent-300: #b5d9fd;
  --color-accent-400: #94bce3;
  --color-accent-500: #749dc4;
  --color-accent-600: #597ea3;
  --color-accent-700: #416180;
  --color-accent-800: #2c455d;
  --color-accent-900: #1d2d3d;

  --color-accent-2-100: #eef6ff;
  --color-accent-2-200: #d6ebff;
  --color-accent-2-300: #bdd8f2;
  --color-accent-2-400: #9ebbd8;
  --color-accent-2-500: #7e9cb8;
  --color-accent-2-600: #627d98;
  --color-accent-2-700: #486077;
  --color-accent-2-800: #314457;
  --color-accent-2-900: #1f2d3a;

  --font-heading: "Barlow Condensed", system-ui, sans-serif;
  --font-heading-weight: 600;
  --font-body: "Barlow", system-ui, sans-serif;

  --space-1: 3.4px;
  --space-2: 6.8px;
  --space-3: 10.2px;
  --space-4: 13.6px;
  --space-6: 20.4px;
  --space-8: 27.2px;

  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 7px;

  /* Elevation — derived from the ground: soft ink-tinted shadows on a
     light theme, a hairline edge + ambient darkness on a dark one. */
  --shadow-sm: 0 1px 2px color-mix(in srgb, #2b2b2d 14%, transparent);
  --shadow-md: 0 3px 10px color-mix(in srgb, #2b2b2d 16%, transparent);
  --shadow-lg: 0 12px 32px color-mix(in srgb, #2b2b2d 22%, transparent);
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
}
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: var(--font-heading-weight); }

.blueprint {
  position: relative;
  border: 1px solid var(--color-divider);
  border-radius: 0;
}
/* The overlay image treatments (halftone, duotone) clip their overlay
   (overflow:hidden); a blueprint wrapper draws its registration marks
   outside the box, so when both classes share a wrapper the frame must
   win. */
.blueprint.halftone, .blueprint.plate, .blueprint.duotone { overflow: visible; }
.blueprint > .corner {
  position: absolute; width: 11px; height: 11px;
  color: color-mix(in srgb, var(--color-text) 55%, transparent);
}
.blueprint > .corner::before, .blueprint > .corner::after {
  content: ""; position: absolute; background: currentColor;
}
.blueprint > .corner::before { left: 5px; top: 0; width: 1px; height: 100%; }
.blueprint > .corner::after  { top: 5px; left: 0; width: 100%; height: 1px; }
.blueprint > .corner.tl { top: -6px; left: -6px; }
.blueprint > .corner.tr { top: -6px; right: -6px; }
.blueprint > .corner.bl { bottom: -6px; left: -6px; }
.blueprint > .corner.br { bottom: -6px; right: -6px; }

.duotone{position:relative;overflow:hidden}
.duotone::after{content:"";position:absolute;inset:0;pointer-events:none;
  background:var(--color-accent);mix-blend-mode:color}

/* ══════════════════════════════════════════════════════════════════════════
   Components — built with the tokens above. Plain CSS
   on plain HTML: no JavaScript, no build step. Each class is documented in
   readme.md and demonstrated in foundations/ and components/.
   ══════════════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-size: 15px; line-height: 1.55; font-weight: 400; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 var(--space-2);
}
h1 { font-size: 42px; }
h2 { font-size: 32px; }
h3 { font-size: 25px; }
h4 { font-size: 20px; }
h5 { font-size: 16px; }
h6 { font-size: 13px; }
h6 { letter-spacing: 0.08em; text-transform: uppercase; }
p { margin: 0 0 var(--space-3); }
a { color: var(--color-accent); text-underline-offset: 3px; }
img { display: block; max-width: 100%; }
figure { margin: 0; }
figcaption {
  font-size: 11px; margin-top: var(--space-1);
  color: color-mix(in srgb, var(--color-text) 55%, transparent);
}
.text-muted { color: color-mix(in srgb, var(--color-text) 55%, transparent); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
::selection { background: color-mix(in srgb, var(--color-accent) 30%, transparent); }

/* — rules — */
.hr {
  height: 1px; border: 0; margin: var(--space-4) 0;
  background: var(--color-divider);
}

/* — buttons — */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  cursor: pointer; text-decoration: none;
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 14px; line-height: 1.2; color: var(--color-text); /* matches the .input's 14px —
     the pair sits side by side in sign-up rows */
  background: transparent; border: 1px solid transparent;
  padding: var(--space-2) calc(var(--space-3) * 1.2);
  border-radius: var(--radius-md);
}
.btn svg { display: block; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-primary { background: var(--color-accent); color: var(--color-bg); }
.btn-primary:hover { background: var(--color-accent-600); }
.btn-primary:active { background: var(--color-accent-700); }
.btn-secondary { border-color: var(--color-divider); }
.btn-secondary:hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); }
.btn-secondary:active { background: color-mix(in srgb, var(--color-text) 14%, transparent); }
.btn-ghost { color: var(--color-accent); padding-inline: var(--space-1); }
.btn-ghost:hover { background: color-mix(in srgb, var(--color-accent) 10%, transparent); }
.btn-ghost:active { background: color-mix(in srgb, var(--color-accent) 18%, transparent); }
.btn-icon { width: 36px; height: 36px; padding: 0; }
.btn-block { width: 100%; margin-top: var(--space-2); }

/* — forms — */
.field > label {
  display: block; font-size: 12px; margin-bottom: 5px;
  color: color-mix(in srgb, var(--color-text) 70%, transparent);
}
.input {
  width: 100%; min-height: 36px; padding: 6px 10px; font: inherit;
  font-size: 14px; color: var(--color-text); caret-color: var(--color-accent);
  background: var(--color-surface);
  border: 1px solid var(--color-divider); border-radius: var(--radius-md);
}
.input:hover { border-color: color-mix(in srgb, var(--color-text) 45%, transparent); }
.input:focus-visible { border-color: var(--color-accent); outline-offset: 0; }
textarea.input { min-height: 90px; resize: vertical; }
.radio { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 14px; }
.radio input, .seg-opt input {
  position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none;
}
.radio .dot {
  width: 16px; height: 16px; flex: none; border-radius: 50%;
  border: 1.5px solid var(--color-divider);
}
.radio:hover .dot { border-color: var(--color-accent); }
.radio input:checked + .dot {
  border-color: var(--color-accent); background: var(--color-accent);
  box-shadow: inset 0 0 0 4px var(--color-bg);
}
.radio input:focus-visible + .dot { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.seg {
  display: inline-flex; overflow: hidden;
  border: 1px solid var(--color-divider); border-radius: var(--radius-md);
}
.seg-opt {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; font-size: 13px; cursor: pointer;
}
.seg-opt + .seg-opt { border-left: 1px solid var(--color-divider); }
.seg-opt:has(input:checked) { background: var(--color-accent); color: var(--color-bg); }
.seg-opt:not(:has(input:checked)):hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); }
.seg-opt:has(input:focus-visible) { outline: 2px solid var(--color-accent); outline-offset: -2px; }

/* — cards — */
.card {
  display: flex; flex-direction: column; gap: var(--space-2);
  padding: var(--space-3); border-radius: var(--radius-md); background: var(--color-surface);
}
.card-kicker { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-accent); }
.card-title {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 17px; line-height: 1.2;
}
.card-body { margin: 0; font-size: 13px; opacity: 0.8; flex: 1; }
.card-meta {
  display: flex; align-items: center; gap: 6px; font-size: 11px;
  color: color-mix(in srgb, var(--color-text) 50%, transparent);
}
.elev-sm { box-shadow: var(--shadow-sm); }
.elev-md { box-shadow: var(--shadow-md); }
.elev-lg { box-shadow: var(--shadow-lg); }

/* — tags — */
.tag {
  display: inline-flex; align-items: center; font-size: 11px;
  letter-spacing: 0.02em; padding: 3px 10px;
  border-radius: calc(var(--radius-md) * 0.75);
}
.tag-accent { background: var(--color-accent-100); color: var(--color-accent-800); }
.tag-accent-2 { background: var(--color-accent-2-100); color: var(--color-accent-2-800); }
.tag-neutral { background: var(--color-neutral-100); color: var(--color-neutral-800); }
.tag-outline { border: 1px solid var(--color-accent); color: var(--color-accent); }

/* — navigation — */
.nav {
  display: flex; align-items: center; gap: var(--space-4);
  padding: var(--space-3) var(--space-4);
  border-bottom: none;
}
.nav-brand {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 18px; margin-right: auto;
}
.nav a { color: inherit; text-decoration: none; font-size: 14px; }
.nav a:hover, .nav a[aria-current='page'] { color: var(--color-accent); }

/* — tables — */
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th {
  text-align: left; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: color-mix(in srgb, var(--color-text) 60%, transparent);
  padding: var(--space-2); border-bottom: 1px solid var(--color-divider);
}
.table td {
  padding: var(--space-2);
  border-bottom: 1px solid color-mix(in srgb, var(--color-text) 8%, transparent);
}
.table tbody tr:hover { background: color-mix(in srgb, var(--color-text) 4%, transparent); }

/* — dialog — */
.dialog-backdrop {
  position: fixed; inset: 0; display: grid; place-items: center;
  padding: var(--space-4);
  background: color-mix(in srgb, var(--color-neutral-900) 50%, transparent);
}
.dialog {
  width: min(440px, 100%); display: flex; flex-direction: column; gap: var(--space-3);
  padding: var(--space-4); border-radius: var(--radius-lg);
  background: var(--color-surface); box-shadow: var(--shadow-lg);
}
.dialog-title {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 20px;
}
.dialog-body { font-size: 14px; opacity: 0.85; }
.dialog-actions { display: flex; justify-content: flex-end; gap: var(--space-2); margin-top: var(--space-2); }

/* — blueprint frame: components are wireframe objects (see .blueprint
     and .corner above) — square, transparent, hairline-bordered — */
.card, .btn, .input, .tag, .seg, .dialog { border-radius: 0; }
.card, .dialog { background: transparent; border: 1px solid var(--color-divider); }
.btn { border: 1px solid var(--color-divider); }
.btn-primary { border-color: var(--color-accent); }
.btn-ghost { border-color: transparent; }



  body { margin: 0; background: var(--color-bg); color: var(--color-text); text-wrap: pretty; }
  html { scroll-behavior: smooth; }
  a { color: var(--color-accent-700); text-decoration: none; }
  a:hover { color: var(--color-accent); }
  summary::-webkit-details-marker { display: none; }
  summary::marker { content: ""; }
@font-face{font-family:'Caveat';font-style:normal;font-weight:700;font-display:swap;src:url("fonts/caveat-700-latin-ext.woff2") format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:'Caveat';font-style:normal;font-weight:700;font-display:swap;src:url("fonts/caveat-700-latin.woff2") format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
  @media (max-width: 620px) { .kn-nav-links { display: none !important; } }

  .kn-waves { animation: knDrift 14s linear infinite; }
  .kn-boat { animation: knBob 5s ease-in-out infinite; transform-box: fill-box; }
  .kn-glide { animation: knGlide 18s ease-in-out infinite; }
  .kn-glide-2 { animation-duration: 24s; animation-direction: reverse; }
  @keyframes knDrift { from { transform: translateX(0); } to { transform: translateX(-120px); } }
  @keyframes knBob { 0%,100% { translate: 0 0; } 50% { translate: 0 3px; } }
  @keyframes knGlide { 0%,100% { translate: 0 0; } 50% { translate: 40px 14px; } }
  @media (prefers-reduced-motion: reduce) { .kn-waves, .kn-boat, .kn-glide { animation: none; } }

  .kn-show input { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
  .kn-tabs { display: flex; gap: 12px; margin-bottom: 24px; overflow-x: auto; padding: 2px; scrollbar-width: thin; }
  .kn-tabs label { flex: 1 1 0; min-width: 190px; cursor: pointer; display: flex; flex-direction: column; gap: 6px; padding: 14px 18px; border: 1px solid var(--color-divider); background: transparent; color: var(--color-text); transition: background .15s, color .15s; }
  .kn-tabs label:hover { border-color: var(--color-accent-700); }
  .kn-n { font-size: 12px; line-height: 14px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; opacity: .7; }
  .kn-h { font-family: var(--font-heading); font-weight: var(--font-heading-weight); font-size: 20px; line-height: 24px; }
  .kn-stage { padding: 12px; background: color-mix(in srgb, var(--color-surface) 55%, transparent); }
  .kn-bar { display: flex; align-items: center; gap: 6px; padding: 0 4px 10px; }
  .kn-bar i { width: 9px; height: 9px; border-radius: 50%; background: color-mix(in srgb, var(--color-text) 22%, transparent); }
  .kn-bar span { margin-left: 10px; font-size: 12px; line-height: 16px; letter-spacing: 0.04em; color: color-mix(in srgb, var(--color-text) 60%, transparent); padding: 2px 14px; border: 1px solid var(--color-divider); background: rgba(255,255,255,.55); }
  .kn-panel { display: none; margin: 0; }
  .kn-shot { display: block; position: relative; cursor: zoom-in; }
  .kn-shot img { display: block; width: 100%; height: auto; aspect-ratio: 1800 / 1059; border: 1px solid var(--color-divider); background: #fff; box-shadow: var(--shadow-md); }
  .kn-panel figcaption { font-size: 15px; line-height: 24px; margin-top: 16px; max-width: 72ch; color: color-mix(in srgb, var(--color-text) 78%, transparent); }
  .kn-show:not(:has(input[name=kn-tab]:checked)) #kn-p1 { display: block; }
  .kn-show:not(:has(input[name=kn-tab]:checked)) .kn-tabs label[for=kn-t1] { background: var(--color-accent-800); color: #fff; border-color: var(--color-accent-800); }
  .kn-hint { position: absolute; right: 10px; bottom: 10px; font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 0.04em; padding: 6px 10px; background: rgba(29,31,32,.82); color: #fff; }
  .kn-zoom { display: none; position: fixed; inset: 0; z-index: 10000; flex-direction: column; background: rgba(20,24,28,.94); }
  .kn-zin:checked ~ .kn-zoom { display: flex; }
  .kn-close { flex: 0 0 auto; align-self: flex-end; margin: 12px; padding: 10px 16px; cursor: pointer; font-size: 14px; font-weight: 600; background: #fff; color: var(--color-text); }
  .kn-zs { flex: 1 1 auto; overflow: auto; -webkit-overflow-scrolling: touch; padding: 0 12px 24px; }
  .kn-zs img { display: block; width: max(1300px, 100%); max-width: none; height: auto; margin: 0 auto; background: #fff; }
  @media (max-width: 620px) {
    .kn-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; overflow: visible; padding: 0; }
    .kn-tabs label { min-width: 0; padding: 12px 12px; }
    .kn-n { font-size: 11px; letter-spacing: 0.04em; }
    .kn-h { font-size: 18px; line-height: 20px; }
    .kn-stage { padding: 8px; }
    .kn-bar { display: none; }
    .kn-panel figcaption { font-size: 14px; margin-top: 12px; }
  }
  #kn-t1:checked ~ .kn-tabs label[for=kn-t1] { background: var(--color-accent-800); color: #fff; border-color: var(--color-accent-800); }
  #kn-t1:checked ~ .kn-stage #kn-p1 { display: block; }
  #kn-t1:focus-visible ~ .kn-tabs label[for=kn-t1] { outline: 2px solid var(--color-accent); outline-offset: 2px; }
  #kn-t2:checked ~ .kn-tabs label[for=kn-t2] { background: var(--color-accent-800); color: #fff; border-color: var(--color-accent-800); }
  #kn-t2:checked ~ .kn-stage #kn-p2 { display: block; }
  #kn-t2:focus-visible ~ .kn-tabs label[for=kn-t2] { outline: 2px solid var(--color-accent); outline-offset: 2px; }
  #kn-t3:checked ~ .kn-tabs label[for=kn-t3] { background: var(--color-accent-800); color: #fff; border-color: var(--color-accent-800); }
  #kn-t3:checked ~ .kn-stage #kn-p3 { display: block; }
  #kn-t3:focus-visible ~ .kn-tabs label[for=kn-t3] { outline: 2px solid var(--color-accent); outline-offset: 2px; }
  #kn-t4:checked ~ .kn-tabs label[for=kn-t4] { background: var(--color-accent-800); color: #fff; border-color: var(--color-accent-800); }
  #kn-t4:checked ~ .kn-stage #kn-p4 { display: block; }
  #kn-t4:focus-visible ~ .kn-tabs label[for=kn-t4] { outline: 2px solid var(--color-accent); outline-offset: 2px; }

  .kn-phone { display: none; }
  .kn-mhint { display: none; }
  .kn-device { position: relative; width: min(340px, 100%); margin: 0 auto; padding: 9px; background: #14171a; border-radius: 40px; box-shadow: 0 14px 34px rgba(29,31,32,.28), inset 0 0 0 2px #3a4047; }
  .kn-screen { aspect-ratio: 728 / 1344; overflow-y: auto; overflow-x: hidden; border-radius: 0 0 32px 32px; background: #f4f6fb; scrollbar-width: none; overscroll-behavior: auto; -webkit-overflow-scrolling: touch; }
  .kn-screen::-webkit-scrollbar { display: none; }
  .kn-screen img { display: block; width: 100%; height: auto; }
  .kn-status { display: flex; align-items: center; justify-content: space-between; height: 30px; padding: 4px 26px 0; background: #fff; border-radius: 32px 32px 0 0; font-size: 12px; font-weight: 700; color: #1d1f20; }
  .kn-bat { width: 20px; height: 10px; border: 1.5px solid #1d1f20; border-radius: 3px; position: relative; }
  .kn-bat::after { content: ""; position: absolute; inset: 1px; background: #1d1f20; border-radius: 1px; }
  .kn-island { position: absolute; top: 14px; left: 50%; width: 70px; height: 18px; margin-left: -35px; background: #14171a; border-radius: 12px; z-index: 2; }
  .kn-home { position: absolute; bottom: 14px; left: 50%; width: 96px; height: 4px; margin-left: -48px; background: rgba(29,31,32,.55); border-radius: 3px; z-index: 2; }
  @media (max-width: 620px) {
    .kn-shot { display: none; }
    .kn-phone { display: block; padding: 6px 0 4px; }
    .kn-mhint { display: block; margin-top: 6px; font-size: 13px; line-height: 20px; opacity: .8; }
    .kn-stage { background: transparent; }
  }
  .kn-wave-top { position: relative; }
  .kn-wave-top::before { content: ""; position: absolute; left: 0; right: 0; top: -6px; height: 12px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='12'%3E%3Cpath d='M0 6 q12 -8 24 0 t24 0' fill='none' stroke='%23749dc4' stroke-width='1.4'/%3E%3C/svg%3E") repeat-x; }

  @media (max-width: 620px) {
    table.table, table.table tbody { display: block !important; width: 100% !important; }
    table.table thead { display: none !important; }
    table.table tr { display: grid !important; grid-template-columns: 40px 1fr auto; align-items: start; column-gap: 8px; padding: 14px 16px; border-top: 1px solid var(--color-divider); }
    table.table tbody tr:first-child { border-top: 0; }
    table.table td { display: block !important; width: auto !important; padding: 0 !important; border: 0 !important; }
    table.table td:nth-child(4) { grid-column: 2 / -1; margin-top: 8px; }
  }


/* ---------------------------------------------------------------------------
   Flattened from the artifact export. The design-system runtime resolved these
   as `style-before` / `style-hover` attributes; as plain CSS they need no JS.
   --------------------------------------------------------------------------- */

:root { --color-danger: #b4232e; }

/* Hero: ruled notebook paper, red margin rule and punched holes. */
.kn-hero::before {
  content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, transparent 0, transparent 0),
    linear-gradient(to right, rgba(214,69,80,.6) 0 2px, transparent 2px),
    radial-gradient(circle at 20px 50%, #f6f1e9 0 6px, rgba(0,0,0,.18) 6.5px, transparent 8px),
    linear-gradient(to right, rgba(95,150,205,.30) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(95,150,205,.30) 1px, transparent 1px);
  background-repeat: no-repeat, no-repeat, repeat-y, repeat, repeat;
  background-size: 0 0, 2px 100%, 40px 120px, 24px 24px, 24px 24px;
  background-position: 0 0, calc(clamp(34px,6vw,72px) - 4px) 0, 0 0, 0 12px, 0 12px;
}

#sss summary:hover { color: var(--color-accent-700); }
#sss summary:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }

/* Lead form. The honeypot must be reachable by bots but never by people:
   off-screen rather than display:none, which some bots skip. */
.kn-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
#kn-form-note[data-tone="error"] { color: var(--color-danger); }
#kn-form-note[data-tone="ok"] { color: var(--color-accent-800); font-weight: 600; }
#kn-lead-form button[disabled] { opacity: .6; cursor: progress; }

/* Skip link — the page is a long scroll before the sign-up form. */
.kn-skip { position: absolute; left: -9999px; top: 0; z-index: 100; padding: 10px 16px; background: var(--color-accent-800); color: #fff; }
.kn-skip:focus { left: 8px; top: 8px; color: #fff; }
