/* mymonitor.kartikkabadi.com. White ground, the Mac's own type, hairline rules, one blue for the one thing to do.
   The home page leads with a Mac desktop built in HTML: the product is the picture. No glows, no scroll effects. */

:root {
  color-scheme: light dark;
  --bg: #fff;
  --wash: #f5f5f7;
  --ink: #1d1d1f;
  --ink-2: #424245;
  --ink-3: #6e6e73;
  --line: rgb(0 0 0 / 0.08);
  --line-2: rgb(0 0 0 / 0.14);
  --accent: #0071e3;
  --accent-deep: #0062c4;
  --accent-soft: #eaf3fe;
  --link: #0066cc;
  --link-hover: #004f9f;
  --surface: #fff;
  --fill: rgb(0 0 0 / 0.05);
  --fill-2: rgb(0 0 0 / 0.09);
  --header: rgb(255 255 255 / 0.86);
  --select: #cfe3fb;
  --ok-soft: #e5f4ea;
  --shadow: rgb(0 30 80 / 0.22);
  --wall:
    radial-gradient(80% 70% at 15% 110%, #2f6fd6 0%, rgb(47 111 214 / 0) 70%),
    radial-gradient(70% 60% at 90% 100%, #5b9cf0 0%, rgb(91 156 240 / 0) 70%),
    linear-gradient(180deg, #dbe9fb 0%, #a9c9f2 50%, #6fa2e8 100%);
  --menubar: rgb(255 255 255 / 0.45);
  --menubar-ink: rgb(0 0 0 / 0.85);
  --chip: rgb(0 0 0 / 0.1);
  --pop: rgb(246 246 248 / 0.82);
  --pop-ring: rgb(0 0 0 / 0.18);
  --pop-row: rgb(255 255 255 / 0.85);
  --pop-row-ring: rgb(0 0 0 / 0.08);
  --pop-icon: rgb(0 0 0 / 0.6);
  --track: rgb(0 0 0 / 0.1);
  --sw: #8e8e93;
  --ok: #1d8348;
  --err: #c9342b;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Helvetica Neue", sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --wide: 68rem;
}

/* ---- Base ---- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}
body { overflow-x: clip; }
::selection { background: var(--select); color: var(--ink); }
[hidden] { display: none !important; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2 { font-weight: 600; color: var(--ink); letter-spacing: -0.03em; line-height: 1.08; text-wrap: balance; }
h3, h4 { font-weight: 600; color: var(--ink); letter-spacing: -0.012em; line-height: 1.3; }
p, li { text-wrap: pretty; }
strong, b { font-weight: 600; color: var(--ink); }
a { color: var(--link); text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 0.4rem; }
ul, ol { margin: 0; padding: 0; list-style: none; }
code, kbd { font-family: var(--mono); }
kbd {
  display: inline-block; min-width: 1.55em; padding: 0.04em 0.38em; margin: 0 0.06em;
  font: 500 0.8em/1.5 var(--sans); text-align: center; color: var(--ink);
  background: var(--surface); border-radius: 0.38em; box-shadow: 0 0 0 1px var(--line-2), 0 1px 0 var(--line-2);
}

/* ---- Buttons ---- */
.cta, .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  height: 2.75rem; padding: 0 1.3rem; border: 0; border-radius: 999px; cursor: pointer;
  font: 600 0.94rem/1 var(--sans); letter-spacing: -0.01em; white-space: nowrap;
  color: #fff; background: var(--accent);
  transition: background-color 150ms ease, transform 160ms var(--ease);
}
.cta.ghost, .btn { color: var(--ink); background: var(--fill); box-shadow: inset 0 0 0 1px var(--line); }
.btn.primary { color: #fff; background: var(--accent); box-shadow: none; }
.cta.small { height: 2.1rem; padding: 0 0.95rem; font-size: 0.84rem; }
.cta.block { display: flex; width: 100%; height: 3rem; }
.cta:active, .btn:active { transform: scale(0.97); }
.btn[disabled] { opacity: 0.5; cursor: default; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1.25rem 0 0; }
@media (hover: hover) and (pointer: fine) {
  a:hover { color: var(--link-hover); }
  .cta:hover, .btn.primary:hover { color: #fff; background: var(--accent-deep); }
  .cta.ghost:hover, .btn:not(.primary):hover { color: var(--ink); background: var(--fill-2); }
  header.sticky nav a:not(.cta):hover, .simple-footer nav a:hover { color: var(--ink); }
}

/* ---- Header ---- */
header.sticky {
  position: sticky; top: 0; z-index: 20; white-space: nowrap; line-height: 1;
  background: var(--header); -webkit-backdrop-filter: blur(18px) saturate(1.8); backdrop-filter: blur(18px) saturate(1.8);
  box-shadow: 0 1px 0 var(--line);
}
header.sticky .bar { display: flex; align-items: center; gap: 1.5rem; max-width: var(--wide); height: 3.5rem; margin: 0 auto; padding: 0 var(--gutter); }
header.sticky .logo { display: flex; align-items: center; gap: 0.5rem; color: var(--ink); font-size: 1rem; font-weight: 600; letter-spacing: -0.02em; }
header.sticky .logo img { width: 1.75rem; height: 1.75rem; }
header.sticky nav { display: flex; align-items: center; gap: 1.6rem; font-size: 0.88rem; font-weight: 500; }
header.sticky nav a:not(.cta) { color: var(--ink-2); }
.spacer { flex: 1 0 auto; }

/* ---- Landing ---- */
main > section { padding: 0 var(--gutter); }
.wrap { max-width: var(--wide); margin: 0 auto; }
.section { margin-top: 8rem; }
.section-head { max-width: 38rem; margin: 0 auto 3rem; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4.2vw, 2.9rem); }
.section-head p { margin: 1rem auto 0; font-size: 1.1rem; color: var(--ink-2); }

.hero { padding-top: clamp(4rem, 9vw, 6.5rem) !important; text-align: center; }
.hero h1 { max-width: 15ch; margin: 0 auto; font-size: clamp(2.6rem, 6vw, 4.5rem); letter-spacing: -0.032em; line-height: 1.05; }
.hero .tagline { max-width: 35rem; margin: 1.4rem auto 0; font-size: clamp(1.08rem, 1.6vw, 1.25rem); line-height: 1.5; color: var(--ink-2); }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
.hero .actions { margin-top: 2.1rem; }
.hero .meta { margin-top: 1rem; font-size: 0.85rem; color: var(--ink-3); }

/* The demo: a Mac desktop in light mode with MyMonitor's popover open under its menu bar icon. */
.stage { max-width: var(--wide); margin: clamp(3rem, 6vw, 4.5rem) auto 0; padding: 0.5rem; border-radius: 1.6rem; background: var(--wash); box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px -30px var(--shadow); }
.screen {
  position: relative; overflow: hidden; aspect-ratio: 2.3 / 1; border-radius: 1.15rem; text-align: left;
  background: var(--wall);
  user-select: none; -webkit-user-select: none;
}
.screen::after { content: ""; position: absolute; inset: 0; z-index: 3; background: #000; opacity: var(--dim, 0.15); pointer-events: none; transition: opacity 0.12s linear; }
.menubar {
  position: absolute; inset: 0 0 auto; height: 1.9rem; display: flex; align-items: center; gap: 1.1rem; padding: 0 1rem;
  font-size: 0.72rem; font-weight: 500; color: var(--menubar-ink);
  background: var(--menubar); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
}
.menubar b { font-weight: 700; }
.menubar svg { width: 0.95rem; height: 0.95rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.menubar .status { display: grid; place-items: center; width: 1.75rem; height: 1.35rem; border-radius: 0.4rem; background: var(--chip); }
.menubar .spacer { flex: 1; }

.popover {
  position: absolute; z-index: 4; right: 2.5%; top: 2.5rem; width: min(360px, 34%); min-width: 270px;
  padding: 0.6rem; border-radius: 1.1rem; color: var(--ink);
  background: var(--pop); -webkit-backdrop-filter: blur(30px) saturate(1.8); backdrop-filter: blur(30px) saturate(1.8);
  box-shadow: 0 0 0 0.5px var(--pop-ring), 0 20px 50px -12px rgb(0 0 0 / 0.35);
  font-size: 0.86rem;
}
.popover .head { display: flex; align-items: center; gap: 0.35rem; padding: 0.15rem 0.2rem 0.5rem 0.4rem; }
.popover .head strong { flex: 1; font-size: 0.95rem; font-weight: 700; letter-spacing: -0.01em; }
.popover .head i { display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--fill); color: var(--pop-icon); }
.popover .head i.on { color: #fff; background: var(--accent); }
.popover .link-toggle { all: unset; cursor: pointer; border-radius: 50%; }
.popover .link-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.popover .head svg { width: 0.85rem; height: 0.85rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.popover .row { padding: 0.6rem 0.75rem 0.7rem; border-radius: 0.8rem; background: var(--pop-row); box-shadow: 0 0 0 0.5px var(--pop-row-ring); }
.popover .row + .row { margin-top: 0.4rem; }
.popover .row-head { display: flex; align-items: center; gap: 0.55rem; margin-bottom: 0.5rem; }
.popover .badge { display: grid; place-items: center; width: 1.4rem; height: 1.4rem; border-radius: 0.42rem; background: var(--accent); }
.popover .badge.sw { background: var(--sw); }
.popover .badge svg { width: 0.8rem; height: 0.8rem; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.popover .name { flex: 1; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.popover output { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ink-3); }
.popover .slider { display: flex; align-items: center; gap: 0.55rem; color: var(--ink-3); }
.popover .slider svg { flex: none; width: 0.85rem; height: 0.85rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.popover .note { margin: 0.45rem 0 0 !important; font-size: 0.72rem !important; }

input[type="range"] { --v: 50%; flex: 1; min-width: 0; height: 1.4rem; margin: 0; background: none; cursor: pointer; -webkit-appearance: none; appearance: none; }
input[type="range"]::-webkit-slider-runnable-track { height: 0.3rem; border-radius: 99px; background: linear-gradient(90deg, var(--accent) var(--v), var(--track) var(--v)); }
input[type="range"]::-moz-range-track { height: 0.3rem; border-radius: 99px; background: linear-gradient(90deg, var(--accent) var(--v), var(--track) var(--v)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 1.1rem; height: 1.1rem; margin-top: -0.4rem; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0.5px rgb(0 0 0 / 0.2), 0 1px 3px rgb(0 0 0 / 0.3); }
input[type="range"]::-moz-range-thumb { width: 1.1rem; height: 1.1rem; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0.5px rgb(0 0 0 / 0.2), 0 1px 3px rgb(0 0 0 / 0.3); }
input[type="range"]:focus-visible { outline: none; }
input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px rgb(0 113 227 / 0.45), 0 1px 3px rgb(0 0 0 / 0.3); }

.stage-hint { margin-top: 1rem; font-size: 0.85rem; color: var(--ink-3); }

/* Problem */
.problem { max-width: 50rem; margin: 8rem auto 0; text-align: center; }
.problem h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); letter-spacing: -0.032em; line-height: 1.12; color: var(--ink-3); }
.problem h2 span { color: var(--ink); }

/* Features: a plain grid on hairline rules */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 3rem; }
.feature { padding: 1.75rem 0 2.25rem; border-top: 1px solid var(--line); }
.feature svg { width: 1.6rem; height: 1.6rem; fill: none; stroke: var(--link); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { margin-top: 1rem; font-size: 1.1rem; }
.feature p { margin-top: 0.45rem; font-size: 0.98rem; line-height: 1.55; color: var(--ink-2); }
.ports-line { margin-top: 1rem; text-align: center; font-size: 0.9rem; color: var(--ink-3); }

/* Install guide */
.guide { max-width: 40rem; margin: 0 auto; padding: 2.25rem; border-radius: 1.5rem; background: var(--wash); }
.guide ol { counter-reset: g; }
.guide li { counter-increment: g; position: relative; padding: 0 0 1.75rem 3rem; }
.guide li:last-child { padding-bottom: 0; }
.guide li::before {
  content: counter(g); position: absolute; left: 0; top: -0.1rem; display: grid; place-items: center; width: 1.9rem; height: 1.9rem;
  border-radius: 50%; font-size: 0.85rem; font-weight: 700; color: #fff; background: var(--accent);
}
.guide strong { display: block; font-size: 1.06rem; letter-spacing: -0.012em; }
.guide span { display: block; margin-top: 0.3rem; font-size: 0.98rem; line-height: 1.6; color: var(--ink-2); }
.guide .install { margin: 0.75rem 0 0; max-width: none; }
.guide-note { margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--line-2); font-size: 0.9rem; color: var(--ink-3); }

/* Install line (landing, welcome, support) */
.install {
  display: flex; align-items: center; gap: 0.75rem;
  max-width: 36rem; margin: 0.9rem auto 0;
  padding: 0.35rem 0.35rem 0.35rem 1rem; border-radius: 0.85rem;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2);
}
.install code, .page .install code {
  flex: 1; min-width: 0; overflow-x: auto; white-space: nowrap; padding: 0; background: none;
  font-size: 0.8rem; line-height: 1.4; color: var(--ink); scrollbar-width: none;
  -webkit-mask-image: linear-gradient(to right, #000 92%, transparent); mask-image: linear-gradient(to right, #000 92%, transparent);
}
.install code::-webkit-scrollbar { display: none; }
.install button {
  flex: none; height: 2.1rem; padding: 0 1rem; border: 0; border-radius: 0.6rem; cursor: pointer;
  font: 600 0.82rem/1 var(--sans); color: #fff; background: var(--accent);
  transition: background-color 150ms ease, transform 160ms var(--ease);
}
.install button:hover { background: var(--accent-deep); }
.install button:active { transform: scale(0.96); }

/* Pricing */
.price-card { max-width: 25rem; margin: 0 auto; padding: 2.25rem 2rem 1.75rem; border-radius: 1.5rem; text-align: center; background: var(--surface); box-shadow: 0 0 0 1px var(--line), 0 20px 50px -25px var(--shadow); }
.price-card img { width: 4.25rem; height: 4.25rem; margin: 0 auto 0.9rem; }
.price-card h3 { font-size: 1.1rem; }
.price { display: flex; align-items: baseline; justify-content: center; gap: 0.4rem; margin: 0.6rem 0 0.3rem; }
.price strong { font-size: 4rem; font-weight: 600; letter-spacing: -0.045em; line-height: 1; }
.price small { font-size: 1rem; color: var(--ink-3); }
.price-sub { font-size: 0.9rem; color: var(--ink-3); }
.features { margin: 1.6rem 0; text-align: left; font-size: 0.95rem; }
.features li { display: flex; align-items: center; gap: 0.7rem; padding: 0.6rem 0; color: var(--ink-2); border-top: 1px solid var(--line); }
.features li::before {
  content: ""; flex: none; width: 1rem; height: 1rem; background: var(--link);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.price-card .alt { display: inline-block; margin-top: 1rem; font-size: 0.9rem; }

/* FAQ */
.questions { max-width: 42rem; margin: 8rem auto 0; }
.questions .section-head { margin-bottom: 2rem; }
.questions details.faq summary { font-size: 1.05rem; padding: 0.25rem 0; }
.questions details.faq p { font-size: 0.98rem; line-height: 1.6; color: var(--ink-2); }

/* Closer */
.closer { max-width: var(--wide); margin: 8rem auto 5rem; padding: 4.5rem var(--gutter); border-radius: 1.75rem; text-align: center; background: var(--wash); }
main > section.closer { padding: 4.5rem var(--gutter); }
.closer img { width: 5.5rem; height: 5.5rem; margin: 0 auto; }
.closer h2 { max-width: 16ch; margin: 1.5rem auto 0; font-size: clamp(2rem, 4.4vw, 3rem); }
.closer .actions { margin-top: 2rem; }

/* ---- Shared page chrome (subpages) ---- */
.page { max-width: 40rem; margin: 0 auto; padding: 4rem var(--gutter) 5rem; }
.page h1 { margin: 0 0 0.75rem; font-size: clamp(2.2rem, 5vw, 3rem); letter-spacing: -0.035em; }
.page .kicker { margin: 0 0 0.75rem; font-size: 0.9rem; font-weight: 600; color: var(--link); }
.page .intro { margin: 0 0 2.5rem; font-size: 1.15rem; color: var(--ink-2); }
.page h2 { margin: 3rem 0 0.7rem; font-size: 1.4rem; letter-spacing: -0.02em; }
.page h3 { margin: 1.75rem 0 0.4rem; font-size: 1.08rem; }
.page p, .page li { font-size: 1rem; line-height: 1.65; color: var(--ink-2); }
.page p + p { margin-top: 0.9rem; }
.page ul.bullets { list-style: disc; padding-left: 1.25rem; margin: 0.75rem 0; }
.page ul.bullets li { margin: 0.35rem 0; }
.page a:not(.cta):not(.btn):hover { text-decoration: underline; text-underline-offset: 3px; }
.page code { font-size: 0.86em; color: var(--ink); background: var(--wash); padding: 0.12em 0.4em; border-radius: 0.35em; overflow-wrap: anywhere; }
.page .updated { margin: 0 0 2rem; font-size: 0.85rem; color: var(--ink-3); }
.page .key code { background: none; padding: 0; }

.card { margin: 1.5rem 0; padding: 1.6rem; border-radius: 1.25rem; background: var(--wash); }
.card h2:first-child, .card h3:first-child { margin-top: 0; }
.card > :last-child { margin-bottom: 0; }

.key { display: flex; align-items: center; gap: 0.75rem; margin: 1rem 0 0; padding: 0.5rem 0.5rem 0.5rem 1.1rem; border-radius: 0.85rem; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); }
.key code { flex: 1; min-width: 0; font: 600 1.05rem var(--mono); letter-spacing: 0.04em; color: var(--ink); overflow-wrap: anywhere; user-select: all; -webkit-user-select: all; }

.steps { counter-reset: step; margin: 1.5rem 0 0; }
.steps > li { counter-increment: step; position: relative; padding: 0 0 1.75rem 3rem; }
.steps > li::before {
  content: counter(step); position: absolute; left: 0; top: -0.1rem; display: grid; place-items: center; width: 1.9rem; height: 1.9rem;
  border-radius: 50%; font-size: 0.85rem; font-weight: 700; color: #fff; background: var(--accent);
}
.steps > li > strong:first-child { display: block; margin-bottom: 0.2rem; }
.steps .install { margin: 0.75rem 0 0; max-width: none; }

.field { display: flex; gap: 0.5rem; margin: 1rem 0 0; }
.field input {
  flex: 1; min-width: 0; height: 2.75rem; padding: 0 1rem; border: 0; border-radius: 0.75rem;
  font: inherit; font-size: 0.95rem; color: var(--ink); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2);
}
.field input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.note { margin: 0.75rem 0 0; font-size: 0.88rem !important; color: var(--ink-3) !important; }
.status { min-height: 1.4em; margin: 0.75rem 0 0; font-size: 0.92rem !important; }
.status.ok { color: var(--ok) !important; }
.status.err { color: var(--err) !important; }

.spinner { flex: none; width: 1.1rem; height: 1.1rem; border-radius: 50%; border: 2px solid var(--line-2); border-top-color: var(--ink); animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.state-row { display: flex; align-items: center; gap: 0.75rem; }

.check-badge { display: grid; place-items: center; width: 3.2rem; height: 3.2rem; margin: 0 0 1.5rem; border-radius: 50%; color: var(--ok); background: var(--ok-soft); }
.check-badge svg { width: 1.5rem; height: 1.5rem; }

details.faq { border-top: 1px solid var(--line); padding: 1rem 0; }
details.faq:last-of-type { border-bottom: 1px solid var(--line); }
details.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: var(--ink); font-weight: 600; font-size: 1rem; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: ""; flex: none; width: 1rem; height: 1rem; background: var(--ink-3);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 200ms var(--ease);
}
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq > :not(summary) { margin: 0.7rem 0 0.2rem; }

.simple-footer { padding: 2.5rem var(--gutter) 3rem; border-top: 1px solid var(--line); text-align: center; font-size: 0.85rem; color: var(--ink-3); }
.simple-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.5rem; margin: 0 0 1rem; }
.simple-footer nav a { color: var(--ink-2); }
.simple-footer .brand { display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 1.25rem; color: var(--ink); font-weight: 600; }
.simple-footer .brand img { width: 1.6rem; height: 1.6rem; }

/* Dark: true black ground, raised grey surfaces, and text kept bright enough to read at length. */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000;
    --wash: #161617;
    --surface: #1d1d1f;
    --ink: #f5f5f7;
    --ink-2: #d2d2d7;
    --ink-3: #a1a1a6;
    --line: rgb(255 255 255 / 0.1);
    --line-2: rgb(255 255 255 / 0.18);
    --link: #2997ff;
    --link-hover: #5cb0ff;
    --fill: rgb(255 255 255 / 0.08);
    --fill-2: rgb(255 255 255 / 0.14);
    --header: rgb(0 0 0 / 0.72);
    --select: #0b4a8f;
    --ok: #4cd07d;
    --ok-soft: rgb(76 208 125 / 0.14);
    --err: #ff6961;
    --shadow: rgb(0 0 0 / 0.7);
    --wall:
      radial-gradient(80% 70% at 15% 110%, #1b4fb0 0%, rgb(27 79 176 / 0) 70%),
      radial-gradient(70% 60% at 90% 100%, #2a6ad0 0%, rgb(42 106 208 / 0) 70%),
      linear-gradient(180deg, #050b18 0%, #0b1f45 55%, #163d85 100%);
    --menubar: rgb(0 0 0 / 0.35);
    --menubar-ink: rgb(255 255 255 / 0.92);
    --chip: rgb(255 255 255 / 0.2);
    --pop: rgb(36 36 40 / 0.8);
    --pop-ring: rgb(255 255 255 / 0.16);
    --pop-row: rgb(255 255 255 / 0.07);
    --pop-row-ring: rgb(255 255 255 / 0.06);
    --pop-icon: rgb(255 255 255 / 0.75);
    --track: rgb(255 255 255 / 0.18);
    --sw: #636366;
  }
  .price-card, .stage { box-shadow: 0 0 0 1px var(--line); }
  .guide, .card, .closer { box-shadow: inset 0 0 0 1px var(--line); }
}

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .features-grid { grid-template-columns: 1fr 1fr; gap: 0 2rem; }
  .popover { left: 50%; right: auto; transform: translateX(-50%); width: 70%; }
  .screen { aspect-ratio: 4 / 3; }
}
@media (max-width: 640px) {
  html { font-size: 16px; }
  header.sticky .bar { gap: 1rem; }
  header.sticky nav { gap: 1rem; }
  header.sticky nav .wide { display: none; }
  .section, .problem, .questions { margin-top: 5.5rem; }
  .closer { margin: 5.5rem auto 3rem; }
  .features-grid { grid-template-columns: 1fr; }
  .feature { padding: 1.4rem 0 1.6rem; }
  .stage { padding: 0.35rem; border-radius: 1.3rem; }
  .screen { border-radius: 1rem; aspect-ratio: 1 / 1; }
  .popover { width: 90%; min-width: 0; }
  .menubar .hide-sm { display: none; }
  .guide { padding: 1.5rem 1.25rem; }
  .guide li { padding-left: 2.6rem; }
}
@media (max-width: 380px) {
  header.sticky nav a:not(.cta) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .spinner { animation-duration: 2.4s !important; }
}
