/* host42.in (#269, docs/website/README.md): the host42 brand kit's colours and typeface.
   No JavaScript, no third-party resources, no inline styles (the server's CSP forbids them). */

@font-face {
  font-family: "Comfortaa";
  src: url("fonts/comfortaa-bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --orange: #dd7700;          /* the mark */
  --orange-strong: #b35f00;   /* buttons and links on light: white text 4.6:1 */
  --orange-bright: #f5a04a;   /* buttons on dark: dark text 7.8:1 */
  --orange-soft: #fff3e3;
  --orange-line: #f6d3a6;
  --ink: #26272b;
  --ink-2: #45464d;
  --muted: #66676f;
  --paper: #ffffff;
  --mist: #f7f6f3;
  --line: #e7e5e0;
  --card: #ffffff;
  --night: #121317;
  --night-2: #1b1c21;
  --night-3: #26272e;
  --night-line: #31323a;
  --on-night: #f4f4f2;
  --on-night-2: #b9bac2;
  --pink: #d81b60;
  --pink-bright: #f0407e;
  --green: #1f8a4c;
  --code-bg: #f3f1ec;
  --shadow-sm: 0 1px 2px rgba(18, 19, 23, .06);
  --shadow: 0 1px 2px rgba(18, 19, 23, .05), 0 12px 32px rgba(18, 19, 23, .08);
  --shadow-lg: 0 2px 6px rgba(0, 0, 0, .2), 0 30px 80px rgba(0, 0, 0, .45);
  --radius: 16px;
  --wrap: 76rem;
  --head: "Comfortaa", ui-rounded, "Segoe UI", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", Ubuntu, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --link: var(--orange-strong);
  --hex: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34.641 60'%3E%3Cpath d='M17.32 0V10L34.64 20V40L17.32 50V60M17.32 10L0 20V40L17.32 50' fill='none' stroke='%23ffffff' stroke-opacity='.07' stroke-width='.8'/%3E%3C/svg%3E");
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --orange-soft: #2c1f10;
    --orange-line: #5a3b16;
    --ink: #f4f4f2;
    --ink-2: #d6d6d2;
    --muted: #a4a5ad;
    --paper: #121317;
    --mist: #17181d;
    --line: #2b2c33;
    --card: #1b1c21;
    --code-bg: #22232a;
    --green: #5ccf8c;
    --link: var(--orange-bright);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px rgba(0, 0, 0, .3);
    color-scheme: dark;
  }
}

/* ------------------------------------------------------------------ base */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.65 var(--body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--orange); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 700; line-height: 1.2; letter-spacing: -.015em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 0 0 1rem; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); margin: 0 0 1rem; }
h3 { font-size: 1.2rem; margin: 0 0 .5rem; }
h4 { font-size: 1rem; margin: 0 0 .4rem; }
p { margin: 0 0 1rem; }
code, pre, kbd { font-family: var(--mono); font-size: .88em; }
code { background: var(--code-bg); padding: .12em .38em; border-radius: 6px; }
pre {
  background: var(--night); color: #e8e8e4; padding: 1rem 1.2rem; border-radius: 12px;
  overflow-x: auto; line-height: 1.55; font-size: .86rem; border: 1px solid var(--night-line);
}
pre code { background: none; padding: 0; color: inherit; font-size: inherit; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 50rem; }
.skip { position: absolute; left: -999px; top: 0; background: var(--orange-strong); color: #fff; padding: .5rem 1rem; z-index: 50; }
.skip:focus { left: 1rem; top: .5rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.center { text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font: 700 .78rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase;
  color: var(--orange-strong); margin: 0 0 1rem;
}
.eyebrow::before { content: ""; width: 1.6rem; height: .32rem; border-radius: 99px; background: var(--orange); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-2); line-height: 1.6; }

/* ------------------------------------------------------------------ draft ribbon */

.draft-bar {
  background: repeating-linear-gradient(135deg, #2b1a05 0 14px, #33200a 14px 28px);
  color: var(--orange-bright); font: 600 .82rem/1.4 var(--body); text-align: center; padding: .45rem 1rem;
}

/* ------------------------------------------------------------------ header */

.top {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.top-in { display: flex; align-items: center; gap: 1.5rem; height: 68px; }
.logo { display: flex; align-items: center; flex: none; }
.logo img { display: block; height: 34px; width: auto; }
.on-dark { display: none !important; }
@media (prefers-color-scheme: dark) {
  .on-light { display: none !important; }
  .on-dark { display: block !important; }
}
.nav-wide { margin-left: auto; }
.nav-wide > ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav-wide > ul > li { position: relative; }
.nav-wide .top-link {
  display: block; padding: .5rem .8rem; border-radius: 10px; color: var(--ink);
  text-decoration: none; font-weight: 600; font-size: .95rem; cursor: pointer;
}
.nav-wide .top-link:hover, .nav-wide li:focus-within > .top-link, .nav-wide .top-link[aria-current] {
  background: var(--mist); color: var(--ink);
}
.nav-wide .has-menu > .top-link::after {
  content: ""; display: inline-block; width: .42em; height: .42em; margin-left: .45em;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-.2em) rotate(45deg); opacity: .6;
}
.menu-panel {
  position: absolute; left: -.5rem; top: 100%; padding-top: .5rem;
  visibility: hidden; opacity: 0; transform: translateY(-4px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.has-menu:hover .menu-panel, .has-menu:focus-within .menu-panel { visibility: visible; opacity: 1; transform: none; }
.menu-panel ul {
  list-style: none; margin: 0; padding: .5rem; width: 20rem;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
}
.menu-panel a, .menu-panel .soon-item { display: block; padding: .6rem .75rem; border-radius: 10px; text-decoration: none; color: var(--ink); }
.menu-panel a:hover { background: var(--orange-soft); }
.menu-panel strong { display: block; font-size: .95rem; }
.menu-panel small { color: var(--muted); font-size: .82rem; }
.soon-item { opacity: .55; cursor: default; }
.soon-item small::after { content: " · in the full site"; }
.top-cta { flex: none; }
.nav-narrow { display: none; margin-left: auto; }
.nav-narrow summary {
  list-style: none; cursor: pointer; width: 44px; height: 44px; border-radius: 10px;
  display: grid; place-content: center; gap: 5px; border: 1px solid var(--line);
}
.nav-narrow summary::-webkit-details-marker { display: none; }
.nav-narrow summary span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; }
.nav-narrow[open] summary { background: var(--mist); }
.nav-narrow .drawer {
  position: absolute; left: 0; right: 0; top: 68px; max-height: calc(100vh - 68px); overflow-y: auto;
  background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 1rem 1.25rem 1.5rem;
}
.drawer h2 { font: 700 .75rem/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 1rem 0 .4rem; }
.drawer ul { list-style: none; margin: 0; padding: 0; }
.drawer a, .drawer .soon-item { display: block; padding: .5rem 0; color: var(--ink); text-decoration: none; font-weight: 600; }

/* ------------------------------------------------------------------ buttons */

.btn {
  display: inline-flex; align-items: center; gap: .5rem; justify-content: center;
  padding: .8rem 1.35rem; border-radius: 999px; font: 700 1rem/1.2 var(--body);
  text-decoration: none; border: 2px solid transparent; transition: transform .12s ease, background .12s ease;
  background: var(--orange-strong); color: #fff;
}
.btn:hover { color: #fff; background: #9a5200; transform: translateY(-1px); }
.btn-small { padding: .55rem 1.05rem; font-size: .92rem; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--mist); color: var(--ink); }
.btn svg { width: 1.1em; height: 1.1em; }
@media (prefers-color-scheme: dark) {
  .btn { background: var(--orange-bright); color: var(--night); }
  .btn:hover { background: #ffb766; color: var(--night); }
  .btn-ghost { background: transparent; color: var(--ink); }
  .btn-ghost:hover { background: var(--night-3); color: var(--ink); }
}
.on-night .btn { background: var(--orange-bright); color: var(--night); }
.on-night .btn:hover { background: #ffb766; color: var(--night); }
.on-night .btn-ghost { background: rgba(255, 255, 255, .04); color: var(--on-night); border-color: rgba(255, 255, 255, .22); }
.on-night .btn-ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

/* ------------------------------------------------------------------ dark surfaces */

.on-night {
  --ink: var(--on-night); --ink-2: var(--on-night-2); --muted: #9d9ea6; --line: var(--night-line);
  --card: var(--night-2); --mist: var(--night-3); --link: var(--orange-bright);
  color: var(--on-night);
  background-color: var(--night);
  background-image:
    radial-gradient(56rem 28rem at 88% -8%, rgba(221, 119, 0, .30), transparent 62%),
    radial-gradient(40rem 26rem at -6% 108%, rgba(221, 119, 0, .14), transparent 60%),
    var(--hex);
  background-size: auto, auto, 52px 90px;
}
.on-night .eyebrow { color: var(--orange-bright); }

/* ------------------------------------------------------------------ hero */

.hero { padding: 5.5rem 0 0; overflow: hidden; }
.hero-text { max-width: 54rem; margin: 0 auto; text-align: center; }
.hero h1 { font-size: clamp(2.5rem, 6.4vw, 4.6rem); letter-spacing: -.025em; }
.hero h1 em { font-style: normal; color: var(--orange-bright); }
.hero .lead { max-width: 44rem; margin: 0 auto; }
.hero .actions { justify-content: center; }
.hero-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.6rem; margin: 1.6rem 0 0; padding: 0; list-style: none; color: var(--on-night-2); font-size: .92rem; }
.hero-facts li { display: inline-flex; align-items: center; gap: .45rem; }
.hero-facts svg { width: 1.05rem; height: 1.05rem; color: var(--orange-bright); }
.hero-shot { margin: 3.5rem auto 0; max-width: 64rem; position: relative; }
.hero-shot::before {
  content: ""; position: absolute; inset: 8% 4% auto; height: 70%;
  background: radial-gradient(closest-side, rgba(221, 119, 0, .45), transparent);
  filter: blur(40px); z-index: 0;
}
.hero-shot .window { position: relative; z-index: 1; border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom: 0; margin-bottom: -1px; }

/* screenshots in a window frame */
.window {
  border-radius: 14px; overflow: hidden; background: var(--night-2);
  border: 1px solid rgba(255, 255, 255, .12); box-shadow: var(--shadow-lg);
}
.window-bar { display: flex; align-items: center; gap: .4rem; padding: .6rem .9rem; background: #24252b; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.window-bar i { width: .7rem; height: .7rem; border-radius: 50%; background: #45464e; }
.window-bar i:first-child { background: #e0664e; }
.window-bar i:nth-child(2) { background: #e3b341; }
.window-bar i:nth-child(3) { background: #5bb974; }
.window-bar span { margin-left: .8rem; font: 500 .78rem/1 var(--body); color: #a4a5ad; }
.window img { display: block; width: 100%; }
.shot { margin: 0; }
.shot figcaption { font-size: .88rem; color: var(--muted); margin-top: .8rem; text-align: center; }
.light-frame .window { box-shadow: var(--shadow); border-color: var(--line); }

/* ------------------------------------------------------------------ sections */

.section { padding: 6rem 0; }
.section-tight { padding: 4rem 0; }
.section-alt { background: var(--mist); }
.section-head { max-width: 46rem; margin: 0 auto 3.2rem; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head .lead { margin: 0; }
.trust {
  border-bottom: 1px solid var(--line); padding: 1.4rem 0; background: var(--paper);
}
.trust ul { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem 2rem; list-style: none; margin: 0; padding: 0; color: var(--muted); font-weight: 600; font-size: .92rem; }
.trust li { display: inline-flex; align-items: center; gap: .55rem; }
.trust svg { width: 1.2rem; height: 1.2rem; color: var(--orange); }

/* grids and cards */
.grid { display: grid; gap: 1.4rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem; box-shadow: var(--shadow-sm); position: relative;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
a.card { display: block; color: inherit; text-decoration: none; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--orange-line); color: inherit; }
.card h3 { margin-top: 1rem; }
.card p { color: var(--ink-2); margin: 0; }
.card .more { display: inline-flex; align-items: center; gap: .35rem; margin-top: 1rem; color: var(--link); font-weight: 700; font-size: .95rem; }
.card .more svg { width: 1rem; height: 1rem; transition: transform .15s ease; }
a.card:hover .more svg { transform: translateX(3px); }
.hexicon { width: 52px; height: 52px; display: block; }
.hexicon .hx { fill: var(--orange); stroke: var(--orange); stroke-width: 5; stroke-linejoin: round; }
.hexicon .gl { fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.hexicon .gl .fill { fill: #fff; stroke: none; }
.hexicon.soft .hx { fill: var(--orange-soft); stroke: var(--orange-soft); }
.hexicon.soft .gl { stroke: var(--orange-strong); }
.hexicon.soft .gl .fill { fill: var(--orange-strong); }
@media (prefers-color-scheme: dark) {
  .hexicon.soft .gl { stroke: var(--orange-bright); }
  .hexicon.soft .gl .fill { fill: var(--orange-bright); }
}
.ic { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.18em; }
.ic .fill { fill: currentColor; stroke: none; }

/* audience cards */
.audience .card { padding: 2rem; }
.audience .tag { font: 700 .75rem/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.step { position: relative; padding: 1.8rem 1.6rem; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 999px;
  background: var(--orange-soft); color: var(--orange-strong); font: 700 1.05rem/1 var(--head); margin-bottom: 1rem;
}
.step p { color: var(--ink-2); margin: 0; }
@media (prefers-color-scheme: dark) { .step::before { color: var(--orange-bright); } }

/* diagram */
.diagram { margin: 3rem 0 0; padding: 1.5rem; border-radius: 20px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.diagram svg { display: block; width: 100%; height: auto; }
.diagram figcaption { color: var(--muted); font-size: .9rem; text-align: center; margin-top: .8rem; }
.dg-host { fill: var(--mist); stroke: var(--orange); stroke-width: 2; }
.dg-org { fill: var(--card); stroke: var(--line); stroke-width: 1.5; }
.dg-vpc { fill: var(--orange-soft); stroke: var(--orange-line); stroke-width: 1.2; }
.dg-vm { fill: var(--card); stroke: var(--orange); stroke-width: 1.4; }
.dg-edge { fill: var(--orange); }
.dg-nas { fill: var(--card); stroke: var(--ink-2); stroke-width: 1.4; }
.dg-g42 { fill: var(--pink); }
.dg-line { fill: none; stroke: var(--muted); stroke-width: 1.6; }
.dg-line.dash { stroke-dasharray: 5 5; }
.dg-line.orange { stroke: var(--orange); stroke-width: 2.2; }
.dg-arrow { fill: var(--muted); }
.dg-arrow.orange { fill: var(--orange); }
.dg-t { fill: var(--ink); font: 700 15px var(--body); }
.dg-s { fill: var(--muted); font: 500 12.5px var(--body); }
.dg-w { fill: #fff; font: 700 13px var(--body); }
.dg-vt { fill: var(--ink); font: 600 11.5px var(--body); }

/* CSS-only tabs (radio buttons) */
.tabs { position: relative; }
.tabs > input { position: absolute; opacity: 0; pointer-events: none; }
.tab-labels { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 2rem; }
.tab-labels label {
  cursor: pointer; padding: .6rem 1.1rem; border-radius: 999px; font-weight: 700; font-size: .95rem;
  border: 1px solid var(--line); color: var(--ink-2); background: var(--card); transition: background .15s ease;
}
.tab-labels label:hover { border-color: var(--orange-line); }
.tab-panel { display: none; }
.tab-panel .tab-text { max-width: 44rem; margin: 0 auto 1.6rem; text-align: center; color: var(--ink-2); }
#tour-1:checked ~ .tab-panels .tp-1, #tour-2:checked ~ .tab-panels .tp-2,
#tour-3:checked ~ .tab-panels .tp-3, #tour-4:checked ~ .tab-panels .tp-4 { display: block; }
#tour-1:checked ~ .tab-labels label[for="tour-1"], #tour-2:checked ~ .tab-labels label[for="tour-2"],
#tour-3:checked ~ .tab-labels label[for="tour-3"], #tour-4:checked ~ .tab-labels label[for="tour-4"] {
  background: var(--ink); color: var(--paper); border-color: var(--ink);
}
#tour-1:focus-visible ~ .tab-labels label[for="tour-1"], #tour-2:focus-visible ~ .tab-labels label[for="tour-2"],
#tour-3:focus-visible ~ .tab-labels label[for="tour-3"], #tour-4:focus-visible ~ .tab-labels label[for="tour-4"] {
  outline: 3px solid var(--orange); outline-offset: 3px;
}

/* comparison */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow-sm); }
table { border-collapse: collapse; width: 100%; font-size: .96rem; }
th, td { text-align: left; padding: .9rem 1.1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font: 700 .8rem/1.3 var(--body); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--mist); }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
.compare th[scope="row"] { font-weight: 700; width: 22%; }
.compare .us { background: var(--orange-soft); }
.compare thead .us { color: var(--orange-strong); }
.yes { color: var(--green); font-weight: 700; }
@media (prefers-color-scheme: dark) { .compare thead .us { color: var(--orange-bright); } }

/* gate42 band */
.g42 { --g: var(--pink-bright); }
.g42.on-night {
  background-image:
    radial-gradient(50rem 26rem at 90% 10%, rgba(216, 27, 96, .30), transparent 60%),
    radial-gradient(40rem 24rem at 0% 100%, rgba(221, 119, 0, .16), transparent 60%),
    var(--hex);
}
.g42-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.g42 h2 .h { color: var(--orange-bright); }
.g42 h2 .g { color: var(--g); }
.g42-logos { display: flex; align-items: center; justify-content: center; gap: 1.2rem; flex-wrap: wrap; padding: 2.4rem; border-radius: 20px; background: rgba(255, 255, 255, .04); border: 1px solid var(--night-line); }
.g42-logos img { height: 44px; width: auto; }
.g42-logos .plus { font: 700 2rem/1 var(--head); color: var(--on-night-2); }
.g42 ul.checks li::before { background: var(--g); }
.btn-pink { background: var(--pink) !important; color: #fff !important; }
.btn-pink:hover { background: #b0124c !important; }

/* lists with marks */
ul.checks { list-style: none; padding: 0; margin: 1.2rem 0; }
ul.checks li { position: relative; padding-left: 1.9rem; margin: .55rem 0; color: var(--ink-2); }
ul.checks li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 1.05rem; height: 1.05rem; border-radius: 50%;
  background: var(--orange);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10'/%3E%3C/svg%3E") center/contain no-repeat;
}
ul.checks li::after {
  content: ""; position: absolute; left: .34rem; top: .62em; width: .36rem; height: .58rem;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}

/* numbers */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.stat { padding: 1.6rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); }
.stat b { display: block; font: 700 clamp(2rem, 4vw, 2.8rem)/1.05 var(--head); color: var(--orange-strong); letter-spacing: -.02em; }
.stat span { display: block; margin-top: .5rem; color: var(--ink-2); font-size: .95rem; }
@media (prefers-color-scheme: dark) { .stat b { color: var(--orange-bright); } }

/* plans */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 2.2rem; border-radius: 22px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); position: relative; }
.plan.featured { border: 2px solid var(--orange); box-shadow: var(--shadow); }
.plan .ribbon { position: absolute; top: -.85rem; left: 2.2rem; background: var(--orange); color: #1b1203; font: 700 .75rem/1 var(--body); letter-spacing: .08em; text-transform: uppercase; padding: .45rem .8rem; border-radius: 999px; }
.plan h3 { font-size: 1.5rem; margin: 0 0 .4rem; }
.plan .summary { color: var(--ink-2); min-height: 3.2em; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .3rem .5rem; margin: 1rem 0 .2rem; }
.price b { font: 700 clamp(2.4rem, 5vw, 3.2rem)/1 var(--head); letter-spacing: -.03em; }
.price .cur { font: 700 1.6rem/1 var(--body); align-self: flex-start; margin-top: .35rem; }
.price .per { color: var(--muted); font-size: .95rem; }
.price-note { color: var(--muted); font-size: .9rem; margin: 0 0 1.2rem; }
.setup { display: inline-block; background: var(--orange-soft); color: var(--ink); border-radius: 10px; padding: .55rem .8rem; font-size: .92rem; margin-bottom: .4rem; }
.plan ul.checks { flex: 1; }
.plan .btn { align-self: flex-start; margin-top: 1rem; }
.plans + p { margin-top: 1.8rem; }
.addons .card h3 { margin-top: .8rem; font-size: 1.1rem; }
.addons .card .amt { font: 700 1.5rem/1.2 var(--head); margin: .4rem 0 .5rem; }
.addons .card .amt small { font: 500 .9rem var(--body); color: var(--muted); }
.price-table td, .price-table th { text-align: right; white-space: nowrap; }
.price-table td:first-child, .price-table th:first-child { text-align: left; }
.price-table .em { background: var(--orange-soft); font-weight: 700; }

/* faq */
.faq { max-width: 52rem; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 1.1rem 0; }
.faq summary { cursor: pointer; font: 700 1.08rem/1.4 var(--body); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 700 1.4rem/1 var(--head); color: var(--orange); transition: transform .15s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: .8rem 0 0; color: var(--ink-2); }

/* call to action */
.cta-box { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2.5rem; align-items: center; padding: 3rem; border-radius: 26px; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.contact-list li { display: flex; gap: .9rem; align-items: flex-start; }
.contact-list .ic { width: 1.35rem; height: 1.35rem; color: var(--orange-bright); flex: none; margin-top: .2rem; }
.contact-list small { display: block; color: var(--muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.contact-list a { color: inherit; font-weight: 700; text-decoration: none; }
.contact-list a:hover { color: var(--orange-bright); }

/* ------------------------------------------------------------------ inner pages */

.page-hero { padding: 4.5rem 0 3.5rem; }
.page-hero h1 { max-width: 48rem; }
.page-hero .lead { max-width: 46rem; }
.page-hero.split .wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: 3rem; align-items: center; }
.crumbs { font-size: .88rem; margin-bottom: 1.2rem; color: var(--on-night-2); }
.crumbs a { color: var(--on-night-2); }
.badge {
  display: inline-block; font: 700 .72rem/1 var(--body); letter-spacing: .06em; text-transform: uppercase;
  padding: .35rem .55rem; border-radius: 999px; vertical-align: .2em;
  background: var(--orange-soft); color: var(--orange-strong); border: 1px solid var(--orange-line);
}
@media (prefers-color-scheme: dark) { .badge { color: var(--orange-bright); } }

.prose { font-size: 1.04rem; }
.prose h2 { margin: 3.2rem 0 1rem; }
.prose h3 { margin: 2rem 0 .5rem; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin: .35rem 0; }
.prose table { margin: 1.4rem 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: table; width: 100%; }
.prose thead tr:has(> th:first-child:empty + th:empty:last-child) { display: none; }
@media (max-width: 640px) { .prose table { display: block; overflow-x: auto; } }
.prose blockquote { margin: 1.5rem 0; padding: 1rem 1.3rem; border-left: 4px solid var(--orange); background: var(--orange-soft); border-radius: 0 12px 12px 0; }
.prose blockquote p:last-child { margin: 0; }
.prose .grid { margin: 1.6rem 0; }
.prose .card h3 { margin-top: .9rem; }
.prose .card p + p { margin-top: .6rem; }
.prose figure { margin: 2rem 0; }
.prose .narrow { margin-left: auto; margin-right: auto; }
.prose h2.center { text-align: center; }

.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 2.2rem; margin: 1.4rem 0; padding: 0; list-style: none; }
.feature-list li { padding: 1.1rem 0; border-top: 1px solid var(--line); }
.feature-list strong { display: block; font-size: 1.02rem; margin-bottom: .2rem; }
.feature-list span { color: var(--ink-2); font-size: .97rem; }

.split-row { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; margin: 4rem 0; }
.split-row.rev > :first-child { order: 2; }

/* ------------------------------------------------------------------ phase 2: terms, family, story */

ul.terms { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.6rem; padding: 0; margin: 1rem 0 0; color: var(--ink-2); font-size: .94rem; }
ul.terms li { display: inline-flex; align-items: center; gap: .4rem; }
ul.terms .ic { color: var(--green); }


.family { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.fam {
  display: flex; flex-direction: column; padding: 1.6rem; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line); color: inherit; text-decoration: none; position: relative;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
a.fam:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--orange-line); color: inherit; }
.fam .q { font: 600 .95rem/1.4 var(--body); color: var(--muted); margin: 0 0 .9rem; min-height: 2.8em; }
.fam .name { font: 700 1.7rem/1 var(--head); letter-spacing: -.02em; margin: 0 0 .8rem; }
.fam .name span { color: var(--orange); }
.fam.f-gate42 .name span { color: var(--pink); }
.fam.f-desk42 .name span { color: #3f7fd9; }
.fam.f-mount42 .name span { color: #2f9a6a; }
.fam p { color: var(--ink-2); margin: 0; font-size: .96rem; flex: 1; }
.fam .more { margin-top: 1rem; font-weight: 700; font-size: .92rem; color: var(--link); display: inline-flex; gap: .35rem; align-items: center; }
.fam .more .ic { width: 1rem; height: 1rem; }
.on-night .fam { background: rgba(255, 255, 255, .04); border-color: var(--night-line); }
.on-night .fam .name { color: #fff; }
.on-night .card h3 { color: #fff; }
.on-night .card p { color: var(--on-night-2); }

.story { font-size: 1.12rem; line-height: 1.75; }
.story p { color: var(--ink-2); }
.story .big {
  font: 700 clamp(5rem, 16vw, 11rem)/1 var(--head); letter-spacing: -.05em; margin: 0;
  background: linear-gradient(135deg, var(--orange-bright), var(--orange) 60%, #b35f00);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.qa-list { list-style: none; margin: 2rem 0; padding: 0; display: grid; gap: .8rem; }
.qa-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1rem 1.3rem; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.qa-list .q { color: var(--ink-2); }
.qa-list .a { font: 700 1.25rem/1 var(--head); white-space: nowrap; }
.qa-list .a span { color: var(--orange); }
.ascii { display: grid; grid-template-columns: auto 1fr; gap: 1.6rem; align-items: center; padding: 1.8rem; border-radius: 20px; background: var(--night); color: var(--on-night); margin: 2.4rem 0; }
.ascii .glyph { font: 700 5.5rem/1 var(--mono); color: var(--orange-bright); width: 7rem; height: 7rem; display: grid; place-items: center; border-radius: 18px; background: rgba(221, 119, 0, .12); border: 1px solid rgba(221, 119, 0, .35); }
.ascii code { background: rgba(255, 255, 255, .08); color: var(--on-night); }
.ascii p { color: var(--on-night-2); margin: 0; }
.ascii strong { color: #fff; }
.dont-panic {
  text-align: center; padding: 3.5rem 1.5rem; border-radius: 26px; margin: 2.4rem 0 0;
}
.dont-panic .words { font: 700 clamp(2.8rem, 8vw, 5.5rem)/1 var(--head); letter-spacing: -.02em; color: #fff; margin: .4rem 0 1rem; }
.dont-panic .words span { color: var(--orange-bright); }
.dont-panic p { color: var(--on-night-2); max-width: 36rem; margin: 0 auto 1rem; }
.dont-panic .actions { justify-content: center; }

.offer-book { display: grid; grid-template-columns: auto 1fr; gap: 1.4rem; align-items: center; }
.offer-book .hexicon { width: 72px; height: 72px; }
.trademarks { font-size: .86rem; color: var(--muted); border-top: 1px solid var(--line); margin-top: 3rem; padding-top: 1.2rem; }
.vs { margin: 1.4rem 0 2.6rem; }
.vs h3 { display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap; }
.vs h3 small { font: 600 .85rem var(--body); color: var(--muted); }
.vs .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: .8rem; }
.vs .col { padding: 1.2rem 1.3rem; border-radius: 14px; border: 1px solid var(--line); background: var(--card); }
.vs .col.us { border-color: var(--orange-line); background: var(--orange-soft); }
.vs .col h4 { margin: 0 0 .5rem; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-family: var(--body); }
.vs .col.us h4 { color: var(--orange-strong); }
.vs .col ul { margin: 0; padding-left: 1.1rem; }
.vs .col li { margin: .3rem 0; color: var(--ink-2); font-size: .97rem; }
@media (prefers-color-scheme: dark) { .vs .col.us h4 { color: var(--orange-bright); } }

.made-in a { color: var(--on-night-2); text-decoration: none; display: inline-flex; align-items: center; gap: .35rem; }
.made-in a:hover { color: #fff; }
.made-in .ic { color: #e2445c; width: 1.05em; height: 1.05em; }

@media (max-width: 1080px) { .family { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .vs .cols, .offer-book { grid-template-columns: 1fr; } .ascii { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .family { grid-template-columns: 1fr; } .qa-list li { flex-direction: column; } }

.promise-title { font-size: clamp(2.8rem, 7vw, 4.8rem); letter-spacing: -.025em; }
.promise-title span { color: var(--orange-bright); }
.promise .card .hexicon { width: 46px; height: 46px; }
.promise-foot { margin: 2.2rem 0 0; color: var(--on-night-2); }
.foot-brand .panic { font: 700 1.05rem/1.3 var(--head); color: #fff; margin: 0 0 .4rem; }
.foot-brand .panic span { color: var(--orange-bright); }

/* ------------------------------------------------------------------ footer */

.foot { background: var(--night); color: var(--on-night-2); padding: 4.5rem 0 2rem; margin-top: 0; }
.foot-in { display: grid; grid-template-columns: 1.3fr 2.7fr; gap: 3rem; }
.foot-brand img { height: 32px; width: auto; }
.foot-brand p { margin: 1rem 0; font-size: .95rem; max-width: 22rem; }
.foot-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.foot h2 { font: 700 .78rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: #fff; margin: 0 0 1rem; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin: .5rem 0; font-size: .94rem; }
.foot a { color: var(--on-night-2); text-decoration: none; }
.foot a:hover { color: var(--orange-bright); }
.foot .soon-item { color: #6d6e76; }
.foot .soon-item small::after { content: none; }
.foot-legal { border-top: 1px solid var(--night-line); margin-top: 3rem; padding-top: 1.6rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .86rem; color: #8b8c94; }
.foot-legal p { margin: 0; }
.made-in { display: inline-flex; align-items: center; gap: .5rem; }

/* ------------------------------------------------------------------ responsive */

@media (max-width: 1080px) {
  .nav-wide, .top-cta { display: none; }
  .nav-narrow { display: block; }
  .grid-4, .stats { grid-template-columns: repeat(2, 1fr); }
  .foot-in { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .grid-3, .steps, .plans, .g42-grid, .cta-box, .page-hero.split .wrap, .split-row { grid-template-columns: 1fr; }
  .split-row.rev > :first-child { order: 0; }
  .grid-2, .feature-list { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 4.2rem 0; }
  .hero { padding-top: 3.8rem; }
  .cta-box { padding: 2rem 1.4rem; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .grid-4, .stats { grid-template-columns: 1fr; }
  .plan { padding: 1.6rem; }
  .window-bar span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .top, .foot, .draft-bar { display: none; }
  .on-night { background: none; color: #000; }
}
