/* Flough website
   Tokens match the Flough style guide: graphite, one amber accent, Archivo, IBM Plex Mono.
   No gradients, glows or glass. Amber is never used as text on a light background. */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../fonts/archivo-variable-latin.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/ibm-plex-mono-400-latin.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/ibm-plex-mono-500-latin.woff2") format("woff2");
}

:root {
  --g900: #121413;
  --g800: #1A1D1B;
  --g700: #2A2E2B;
  --g600: #3A3F3B;
  --g500: #4D534F;
  --g400: #6B716C;
  --g300: #B9BCB5;
  --g200: #D6D8D3;
  --g100: #E6E7E2;
  --g50: #F4F5F2;
  --white: #FFFFFF;
  --ink: #1A1D1B;
  --on-dark: #ECEDE9;
  --on-dark-muted: #A3A9A4;

  --amber: #F2A900;
  --amber-hover: #D99700;
  --amber-text: #8A5A00;
  --amber-tint: #FDF1D2;

  --success: #2F7D4F;
  --success-tint: #E3F1E8;
  --danger: #B3261E;
  --danger-tint: #F9E3E1;

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --radius-sm: 3px;
  --radius-md: 6px;
  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 48px);
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--g600);
  background: var(--g900);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--amber);
  color: var(--g900);
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
}
.skip:focus { top: 12px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nb { white-space: nowrap; }
.mono { font-family: var(--mono); font-weight: 500; font-variant-numeric: tabular-nums; }

/* ---------- Type ---------- */

.display, .h2 {
  font-weight: 800;
  font-stretch: 122%;
  letter-spacing: -0.022em;
  color: var(--heading);
  text-wrap: balance;
}
.display { font-size: clamp(2rem, 4.45vw, 4rem); line-height: 1.03; }
.h2 { font-size: clamp(1.8rem, 1.15rem + 2.5vw, 2.85rem); line-height: 1.05; }
@media (max-width: 640px) {
  .display { font-stretch: 110%; font-size: clamp(1.7rem, 7.7vw, 2.4rem); line-height: 1.06; }
  .h2 { font-stretch: 114%; }
}
.h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  font-stretch: 108%;
  line-height: 1.3;
  color: var(--heading);
}
.lead { font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.2rem); line-height: 1.55; }
.small { font-size: 0.9375rem; line-height: 1.5; }
.muted { color: var(--fg-muted); }

.textlink {
  color: var(--link);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.textlink:hover { text-decoration-thickness: 2px; }

/* ---------- Sections ---------- */

.section {
  background: var(--bg);
  color: var(--fg);
  padding-block: clamp(72px, 9vw, 128px);
}
.section--dark {
  --bg: var(--g900);
  --fg: #D3D6D0;
  --fg-muted: var(--on-dark-muted);
  --heading: var(--on-dark);
  --rule: var(--g700);
  --rule-strong: #8D938E;
  --link: var(--on-dark);
}
.section--light, .section--paper {
  --fg: var(--g600);
  --fg-muted: var(--g500);
  --heading: var(--ink);
  --rule-strong: var(--ink);
  --link: var(--amber-text);
}
.section--light { --bg: var(--g100); --rule: #C9CCC5; }
.section--paper { --bg: var(--g50); --rule: var(--g200); }

.split {
  display: grid;
  gap: clamp(32px, 5vw, 56px);
}
@media (min-width: 960px) {
  .split {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(48px, 7vw, 112px);
    align-items: start;
  }
  .split__aside { position: sticky; top: calc(var(--header-h) + 40px); }
}
.split__aside > * + * { margin-top: 20px; }

/* Definition rows: the page's main list pattern */
.rows { border-top: 1px solid var(--rule-strong); }
.rows > li {
  display: grid;
  gap: 6px 32px;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
}
@media (min-width: 640px) {
  .rows > li { grid-template-columns: minmax(0, 13.5rem) minmax(0, 1fr); }
}
@media (min-width: 640px) {
  }
@media (max-width: 639px) {  }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 24px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--amber);
  color: var(--g900);
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s ease, transform 0.1s ease;
}
.btn:hover { background: var(--amber-hover); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline-offset: 4px; }
.btn--sm { min-height: 40px; padding: 9px 16px; font-size: 0.9375rem; }
.btn--block { width: 100%; }
.btn--quiet {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--g300);
  font-weight: 600;
}
.btn--quiet:hover { background: var(--g50); border-color: var(--g500); }
.btn--outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn--outline:hover { background: var(--ink); color: var(--on-dark); }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* ---------- Header ---------- */

.hdr {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--g900);
  border-bottom: 1px solid var(--g700);
  color: var(--on-dark);
}
.hdr__in {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  color: var(--on-dark);
  text-decoration: none;
  font-weight: 800;
  font-stretch: 122%;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}
.logo svg { width: 22px; height: 22px; flex: none; }
.hdr__nav { display: none; gap: 28px; }
.hdr__nav a {
  color: var(--on-dark-muted);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.hdr__nav a:hover { color: var(--on-dark); }
.hdr__nav a[aria-current="true"] { color: var(--on-dark); border-bottom-color: var(--amber); }
.hdr__menu {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 12px;
  background: transparent;
  border: 1px solid var(--g700);
  border-radius: var(--radius-sm);
  color: var(--on-dark);
  font-size: 0.9375rem;
  font-weight: 600;
}
.hdr__menu svg { width: 16px; height: 16px; }
.hdr__drawer { border-top: 1px solid var(--g700); background: var(--g900); }
.hdr__drawer a {
  display: block;
  padding: 16px var(--gutter);
  border-bottom: 1px solid var(--g800);
  color: var(--on-dark);
  font-weight: 600;
  text-decoration: none;
}
@media (min-width: 1000px) {
  .hdr__nav { display: flex; }
  .hdr__menu, .hdr__drawer { display: none !important; }
}
.hdr .btn, .hdr__menu, .hdr__menu svg { flex: none; }
@media (max-width: 420px) {
  .hdr__in { gap: 10px; }
  .hdr__menu span { display: none; }
}
@media (max-width: 360px) {
  .logo { font-size: 1.1rem; gap: 8px; }
  .hdr .btn--sm { padding-inline: 12px; }
}

/* ---------- Hero ---------- */

.hero { padding-block: clamp(40px, 6vw, 80px) 0; }
.hero__for {
  display: flex;
  gap: 12px;
  max-width: 54rem;
  color: var(--on-dark-muted);
  font-size: 0.9375rem;
  line-height: 1.45;
}

.hero__title { margin-top: 22px; max-width: 21em; }
.hero__kicker { display: block; color: var(--amber); }
.hero__body {
  display: grid;
  gap: 32px;
  margin-top: clamp(24px, 3vw, 36px);
}
.hero__sub { max-width: 37rem; color: #D3D6D0; }
.hero__sub strong { color: var(--on-dark); font-weight: 600; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.hero__assure {
  margin-top: 14px;
  color: var(--on-dark-muted);
  font-size: 0.9375rem;
}
.hero__assure li { display: inline-flex; align-items: center; gap: 8px; }
.tick { width: 14px; height: 14px; flex: none; color: var(--amber); }
@media (min-width: 960px) {
  .hero__body { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 64px; }
  .hero__cta { padding-bottom: 4px; }

}

/* Sample account: a light "app window" inside the dark hero */
.app {
  margin-top: clamp(40px, 5vw, 64px);
  background: var(--white);
  color: var(--g600);
  border-radius: var(--radius-md);
  overflow: hidden;
  font-size: 0.9375rem;
  line-height: 1.4;
}
.app__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 14px;
  padding: 12px 20px;
  background: var(--g800);
  color: var(--on-dark);
  border-bottom: 1px solid var(--g700);
}
.app__name { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; }
.app__name svg { width: 15px; height: 15px; }
.app__hint { color: var(--on-dark-muted); font-size: 0.8125rem; }
.app__reset {
  margin-left: auto;
  padding: 4px 10px;
  background: transparent;
  border: 1px solid var(--g600);
  border-radius: var(--radius-sm);
  color: var(--on-dark);
  font-size: 0.8125rem;
  font-weight: 600;
}
.app__reset:hover { background: var(--g700); }

.app__stats { display: grid; grid-template-columns: 1fr 1fr; background: var(--g50); }
@media (min-width: 860px) { .app__stats { grid-template-columns: repeat(4, 1fr); } }
.stat {
  position: relative;
  display: grid;
  gap: 2px;
  align-content: start;
  padding: 14px 20px 16px;
  background: var(--g50);
  border: 0;
  border-right: 1px solid var(--g200);
  border-bottom: 1px solid var(--g200);
  text-align: left;
  color: var(--g500);
  transition: background-color 0.15s ease;
}
.stat:hover { background: #FAFAF8; }
.stat[aria-selected="true"] { background: var(--white); border-bottom-color: var(--white); }
.stat[aria-selected="true"]::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--amber);
}
.stat:focus-visible { outline-offset: -3px; }
.stat__label { font-size: 0.8125rem; font-weight: 600; }
.stat__value {
  font-family: var(--mono);
  font-weight: 500;
  font-size: clamp(1.4rem, 1.1rem + 1vw, 1.85rem);
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.stat__sub { font-size: 0.8125rem; color: var(--g400); }
.stat.is-bumped .stat__value { animation: bump 0.9s ease; }
@keyframes bump {
  0% { background: var(--amber-tint); box-shadow: 0 0 0 6px var(--amber-tint); }
  100% { background: transparent; box-shadow: 0 0 0 6px transparent; }
}

.app__panel { padding: 4px 0 0; }
.recs > li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 20px;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid var(--g200);
}
.rec__main { min-width: 0; }
.rec__title { font-weight: 600; color: var(--ink); }
.rec__sub { color: var(--g400); font-size: 0.8125rem; }
.rec__meta {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  color: var(--g500);
  font-size: 0.8125rem;
}
.rec__amt { font-family: var(--mono); font-weight: 500; color: var(--ink); text-align: right; white-space: nowrap; }
.rec__act { grid-column: 1 / -1; }
@media (min-width: 860px) {
  .recs > li { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.5fr) 8.5rem 7.5rem; }
  .recs--noact > li { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.5fr) 8.5rem; }
  .rec__meta, .rec__act { grid-column: auto; }
  .rec__act { text-align: right; }
}
@media (max-width: 859px) {
  .rec__main { grid-column: 1; grid-row: 1; }
  .rec__amt { grid-column: 2; grid-row: 1; align-self: start; }
  .rec__meta { grid-row: 2; margin-top: 4px; }
  .rec__act { grid-row: 3; margin-top: 6px; }
  .rec__act:empty { display: none; }
  .handoff { grid-row: 4; }
  .rec__btn { min-height: 40px; padding-inline: 18px; }
}
.rec__btn {
  min-height: 34px;
  padding: 6px 14px;
  background: var(--white);
  border: 1px solid var(--ink);
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 700;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.rec__btn:hover { background: var(--ink); color: var(--on-dark); }
.rec__done { color: var(--success); font-size: 0.8125rem; font-weight: 600; }
.recs > li.is-new { animation: rowin 1.2s ease; }
@keyframes rowin { 0% { background: var(--amber-tint); } 100% { background: transparent; } }

.handoff {
  grid-column: 1 / -1;
  display: grid;
  gap: 8px;
  margin-top: 8px;
  padding: 12px 14px;
  background: var(--success-tint);
  border-radius: var(--radius-sm);
  color: #1F5235;
  font-size: 0.875rem;
}
.handoff strong { font-weight: 700; }
.handoff ul { display: grid; gap: 4px; }
.handoff ul { list-style: disc; padding-left: 1.2em; }
.handoff .tick { color: var(--success); margin-top: 3px; }
.handoff button {
  justify-self: start;
  padding: 0;
  background: none;
  border: 0;
  color: #1F5235;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.app__foot {
  padding: 12px 20px 14px;
  color: var(--g500);
  font-size: 0.8125rem;
}
.app__foot strong { color: var(--ink); font-weight: 600; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  background: var(--g100);
  color: var(--g500);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
}
.badge--ok { background: var(--success-tint); color: var(--success); }
.badge--warn { background: var(--amber-tint); color: var(--amber-text); }
.badge--bad { background: var(--danger-tint); color: var(--danger); }
.badge svg { width: 11px; height: 11px; }

/* Three-part strip */
.parts {
  display: grid;
  margin-top: clamp(48px, 6vw, 80px);
  border-top: 1px solid var(--g700);
}
.part { padding: 28px 0; border-bottom: 1px solid var(--g700); }
.part__t {
  margin-top: 10px;
  font-size: 1.35rem;
  font-weight: 800;
  font-stretch: 122%;
  letter-spacing: -0.015em;
  color: var(--on-dark);
}
.part p { margin-top: 8px; max-width: 26rem; color: #D3D6D0; }
@media (min-width: 860px) {
  .parts { grid-template-columns: repeat(3, 1fr); }
  .part { padding: 36px 40px 44px 0; border-bottom: 0; }
  .part + .part { padding-left: 40px; border-left: 1px solid var(--g700); }
}

/* ---------- Kit: role demo ---------- */

.roles {
  display: grid;
  gap: 32px;
  margin-top: clamp(48px, 6vw, 80px);
  padding: clamp(24px, 4vw, 44px);
  background: var(--white);
  border: 1px solid var(--g200);
  border-radius: var(--radius-md);
}
@media (min-width: 960px) {
  .roles { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 0 64px; }
  .roles__copy { grid-column: 1; grid-row: 1; align-self: end; }
  .roles .record { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .roles__proof { grid-column: 1; grid-row: 2; align-self: start; margin-top: 16px; }
}
.roles__title {
  font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.85rem);
  font-weight: 800;
  font-stretch: 122%;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
}
.roles__copy > * + * { margin-top: 14px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.seg button {
  min-height: 40px;
  padding: 8px 14px;
  background: var(--white);
  border: 1px solid var(--g300);
  border-radius: var(--radius-sm);
  color: var(--g600);
  font-size: 0.9375rem;
  font-weight: 600;
}
.seg button:hover { border-color: var(--g500); }
.seg button[aria-pressed="true"] { background: var(--g900); border-color: var(--g900); color: var(--on-dark); }
.roles__says { min-height: 3.1em; color: var(--ink); font-weight: 600; }
@media (max-width: 959px) { .roles { gap: 20px; } .roles__says { min-height: 4.7em; } }
.roles__proof { padding-top: 14px; border-top: 1px solid var(--g200); color: var(--g500); font-size: 0.9375rem; }

.record {
  position: relative;
  border: 1px solid var(--g200);
  border-radius: var(--radius-md);
  background: var(--g50);
  font-size: 0.9375rem;
  overflow: hidden;
}
.record__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 14px 18px;
  background: var(--white);
  border-bottom: 1px solid var(--g200);
}
.record__title { font-weight: 700; color: var(--ink); }
.record__who { color: var(--g400); font-size: 0.8125rem; }
.record dl { margin: 0; padding: 4px 18px 8px; }
.record dl > div {
  display: grid;
  grid-template-columns: minmax(6.75rem, 0.62fr) minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--g200);
}
.record dl > div:last-child { border-bottom: 0; }
.record dt { color: var(--g500); font-size: 0.8125rem; font-weight: 600; padding-top: 2px; }
.record dd { color: var(--ink); min-width: 0; }
.record dd.mono { font-size: 0.9375rem; }
.locked {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 8px;
  background: var(--g100);
  border-radius: var(--radius-sm);
  color: var(--g500);
  font-size: 0.8125rem;
  font-weight: 600;
}
.locked svg { width: 12px; height: 12px; }
.record__body { position: relative; }
.record__blocked {
  position: absolute;
  inset: 0;
  display: none;
  place-content: center;
  place-items: center;
  gap: 10px;
  padding: 24px;
  text-align: center;
  color: var(--g500);
}
.record__blocked svg { width: 26px; height: 26px; color: var(--g400); }
.record__blocked strong { display: block; color: var(--ink); }
/* What each role sees */
.roles .only-margin-hidden { display: none; }
.roles[data-role="operations"] .f-margin .val { display: none; }
.roles[data-role="operations"] .f-margin .only-margin-hidden { display: inline-flex; }
.roles[data-role="supervisor"] .record dl,
.roles[data-role="supervisor"] .record__head .badge { visibility: hidden; }
.roles[data-role="supervisor"] .record__blocked { display: grid; }
.roles[data-role="supervisor"] .record__title { color: var(--g400); }

/* ---------- Team ---------- */

.team__blocks { display: grid; gap: 40px; }
.team__blocks h3 { margin-bottom: 10px; font-size: 1.25rem; font-weight: 800; font-stretch: 118%; }
.team__blocks p + p { margin-top: 14px; }
@media (min-width: 860px) {
      }

/* ---------- How it works ---------- */

.steps { display: grid; gap: 0; margin-top: clamp(36px, 5vw, 56px); border-top: 1px solid var(--rule-strong); counter-reset: step; }
.step { padding: 24px 0 28px; border-bottom: 1px solid var(--rule); }
.step__n { color: var(--g400); }
.step h3 {
  margin-top: 0;
  font-size: 1.35rem;
  font-weight: 800;
  font-stretch: 122%;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.step p { margin-top: 8px; }
.step__tag { display: inline-block; margin-top: 12px; background: var(--white); color: var(--ink); font-family: var(--mono); font-weight: 500; }
@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
  .step { padding: 28px 28px 8px 0; border-bottom: 0; }
  .step + .step { padding-left: 28px; border-left: 1px solid var(--rule); }
}
.section__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: clamp(32px, 4vw, 48px); }

/* ---------- Cost calculator ---------- */

.calc__field + .calc__field { margin-top: 26px; }
.calc__label { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; color: var(--on-dark); }
.calc__label output { font-family: var(--mono); font-weight: 500; font-size: 1.25rem; color: var(--on-dark); }
.calc input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  height: 28px;
  margin: 10px 0 0;
  background: transparent;
  --pct: 20%;
}
.calc input[type="range"]::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(to right, var(--amber) var(--pct), var(--g700) var(--pct));
}
.calc input[type="range"]::-moz-range-track { height: 6px; border-radius: 3px; background: var(--g700); }
.calc input[type="range"]::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--amber); }
.calc input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  margin-top: -9px;
  border-radius: 50%;
  background: var(--amber);
  border: 3px solid var(--g900);
  box-shadow: 0 0 0 1px var(--amber);
}
.calc input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--amber);
  border: 3px solid var(--g900);
  box-shadow: 0 0 0 1px var(--amber);
}
.calc input[type="range"]:focus-visible { outline-offset: 6px; }
.calc__ref { margin-top: 12px; color: var(--on-dark-muted); font-size: 0.8125rem; }

.result { border-top: 1px solid var(--rule-strong); }
.result__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
}
.result__row dt { color: #D3D6D0; }
.result__row dd { font-family: var(--mono); font-weight: 500; font-size: 1.125rem; color: var(--on-dark); white-space: nowrap; }
.result__row--total { align-items: center; padding: 24px 0; }
.result__row--total dt { color: var(--on-dark); font-weight: 700; }
.result__row--total dd {
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--amber);
}
.result__row--total.is-neutral dd { color: var(--on-dark); }
.result__notes { margin-top: 20px; color: var(--on-dark-muted); font-size: 0.9375rem; }
.result__notes p + p { margin-top: 10px; }
.result__notes strong { color: var(--on-dark); font-weight: 600; }

/* ---------- Pricing ---------- */

.pricing__head { display: grid; gap: 20px; }
@media (min-width: 960px) {
  .pricing__head { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 7vw, 112px); align-items: end; }
}
.includes { margin-top: clamp(28px, 4vw, 40px); padding: 16px 0; border-block: 1px solid var(--rule); color: var(--ink); }

.billing {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  margin-top: 28px;
}
.toggle { display: inline-flex; padding: 3px; background: var(--white); border: 1px solid var(--g300); border-radius: var(--radius-sm); }
.toggle button {
  min-height: 38px;
  padding: 7px 16px;
  background: transparent;
  border: 0;
  border-radius: 2px;
  color: var(--g600);
  font-size: 0.9375rem;
  font-weight: 600;
}
.toggle button[aria-pressed="true"] { background: var(--g900); color: var(--on-dark); }

.plans { display: grid; gap: 16px; margin-top: 20px; }
@media (min-width: 640px) { .plans { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .plans { grid-template-columns: repeat(4, 1fr); } }
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 22px 22px;
  background: var(--white);
  border: 1px solid var(--g200);
  border-radius: var(--radius-md);
}
.plan.is-fit { border-color: var(--ink); box-shadow: inset 0 4px 0 var(--amber), 0 0 0 1px var(--ink); }
.plan__fit {
  position: absolute;
  top: -11px;
  left: 20px;
  display: none;
  padding: 2px 10px;
  background: var(--g900);
  border-radius: var(--radius-sm);
  color: var(--on-dark);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.6;
}
.plan.is-fit .plan__fit { display: block; }
.plan__name { font-size: 1.2rem; font-weight: 800; font-stretch: 122%; letter-spacing: -0.015em; color: var(--ink); }
.plan__fits { margin-top: 2px; color: var(--g500); font-size: 0.9375rem; }
.plan__price { display: flex; align-items: baseline; gap: 6px; margin-top: 18px; color: var(--ink); }
.plan__amount { font-family: var(--mono); font-weight: 500; font-size: 2.1rem; line-height: 1; letter-spacing: -0.04em; }
.plan__per { color: var(--g500); font-size: 0.9375rem; }
.plan__note { min-height: 1.5em; margin-top: 6px; color: var(--g500); font-size: 0.8125rem; }
.plan__hours {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding: 14px 0;
  border-block: 1px solid var(--g200);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.3;
}
.plan__hours b { font-family: var(--mono); font-weight: 500; font-size: 1.9rem; line-height: 1; letter-spacing: -0.04em; min-width: 1.4em; }
.plan__list { display: grid; gap: 10px; margin: 16px 0 22px; font-size: 0.9375rem; }
.plan__list li { display: flex; gap: 10px; align-items: flex-start; color: var(--g600); }
.plan__list .tick { margin-top: 5px; color: var(--success); }
.plan__list li.is-off { color: var(--g400); }
.plan__list .dash { flex: none; width: 14px; height: 2px; margin-top: 11px; background: var(--g300); }
.plan .btn { margin-top: auto; }
.plan.is-fit .btn { background: var(--amber); border-color: var(--amber); color: var(--g900); }
.plan.is-fit .btn:hover { background: var(--amber-hover); border-color: var(--amber-hover); }

.terms { display: grid; gap: 0; margin-top: 28px; border-top: 1px solid var(--rule-strong); }
.terms > div { padding: 18px 0; border-bottom: 1px solid var(--rule); }
.terms dt { color: var(--ink); font-weight: 700; }
.terms dd { margin-top: 2px; color: var(--g600); font-size: 0.9375rem; }
@media (min-width: 860px) {
  .terms { grid-template-columns: repeat(4, 1fr); }
  .terms > div { padding: 20px 24px 20px 0; }
  .terms > div + div { padding-left: 24px; border-left: 1px solid var(--rule); }
}
.fineprint { margin-top: 18px; color: var(--g500); font-size: 0.875rem; font-style: italic; }

.founding {
  display: grid;
  gap: 18px;
  align-items: center;
  margin-top: clamp(36px, 5vw, 56px);
  padding: clamp(22px, 3vw, 32px);
  background: var(--g900);
  border-radius: var(--radius-md);
  color: #D3D6D0;
}
.founding strong { display: block; color: var(--on-dark); font-size: 1.25rem; font-weight: 800; font-stretch: 118%; letter-spacing: -0.01em; }
@media (min-width: 760px) { .founding { grid-template-columns: minmax(0, 1fr) auto; gap: 32px; } }

/* ---------- FAQ ---------- */

.faq { border-top: 1px solid var(--rule-strong); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 14px 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2px 14px no-repeat;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--amber-text); }
.faq__a { max-width: 42rem; padding: 0 0 22px; }

/* ---------- Demo form ---------- */

.demo__founding {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  color: var(--on-dark);
  font-weight: 600;
}

.form {
  padding: clamp(22px, 3vw, 36px);
  background: var(--g800);
  border: 1px solid var(--g700);
  border-radius: var(--radius-md);
}
.form__grid { display: grid; gap: 18px; }
@media (min-width: 560px) {
  .form__grid { grid-template-columns: 1fr 1fr; }
  .field--full { grid-column: 1 / -1; }
}
.field label { display: block; margin-bottom: 7px; color: var(--on-dark); font-size: 0.9375rem; font-weight: 600; }
.field .opt { color: var(--on-dark-muted); font-weight: 400; }
.field input, .field select, .field textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  background: var(--g900);
  border: 1px solid #454A46;
  border-radius: var(--radius-sm);
  color: var(--on-dark);
  font-size: 1rem;
  line-height: 1.4;
}
.field textarea { min-height: 96px; resize: vertical; }
.field select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23A3A9A4' stroke-width='1.8'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px 8px;
}
.field select:invalid { color: var(--on-dark-muted); }
.field option { color: var(--ink); background: var(--white); }
.field input::placeholder, .field textarea::placeholder { color: #7E857F; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--g400); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 1px;
  border-color: var(--amber);
}
.field.has-error input, .field.has-error select { border-color: #E5766F; }
.field__error { display: none; margin-top: 6px; color: #F0958F; font-size: 0.875rem; }
.field.has-error .field__error { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__submit { margin-top: 22px; }
.form__after { margin-top: 12px; color: var(--on-dark-muted); font-size: 0.875rem; text-align: center; }
.form__status { display: none; margin-top: 16px; padding: 12px 14px; border-radius: var(--radius-sm); font-size: 0.9375rem; }
.form__status.is-error { display: block; background: #3A1D1B; color: #F6C2BE; border: 1px solid #6B2B27; }
.form__status.is-info { display: block; background: var(--g900); color: var(--on-dark); border: 1px solid var(--g600); }
.form__done { display: none; padding: 8px 0; color: #D3D6D0; }
.form__done h3 { color: var(--on-dark); font-size: 1.5rem; font-weight: 800; font-stretch: 122%; letter-spacing: -0.02em; line-height: 1.15; }
.form__done p { margin-top: 12px; }
.form.is-done form { display: none; }
.form.is-done .form__done { display: block; }

/* ---------- Footer ---------- */

.ftr { background: var(--g900); border-top: 1px solid var(--g700); color: var(--on-dark-muted); font-size: 0.9375rem; }
.ftr__in { display: grid; gap: 28px; padding-block: 44px 40px; }
.ftr .logo { font-size: 1.15rem; margin: 0 0 12px; }
.ftr p { max-width: 34rem; }
.ftr__nav { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.ftr__nav a { color: var(--on-dark); text-decoration: none; font-weight: 500; }
.ftr__nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ftr .ftr__legal { max-width: none; padding-top: 20px; border-top: 1px solid var(--g800); font-size: 0.8125rem; }
@media (min-width: 860px) {
  .ftr__in { grid-template-columns: minmax(0, 1fr) auto; align-items: start; }
  .ftr__legal { grid-column: 1 / -1; }
}

/* ---------- Sticky phone CTA ---------- */

.dock {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: var(--g900);
  border-top: 1px solid var(--g700);
  color: var(--on-dark);
  font-size: 0.875rem;
  line-height: 1.3;
  transform: translateY(110%);
  transition: transform 0.25s ease;
}
.dock.is-on { transform: none; }
.dock strong { display: block; font-weight: 700; }
.dock span { color: var(--on-dark-muted); }
@media (min-width: 760px) { .dock { display: none; } }
@media (max-width: 759px) { .ftr { padding-bottom: 72px; } }

/* ---------- No-JS and reduced motion ---------- */

.no-js [role="tabpanel"][hidden] { display: block !important; }
.no-js .rec__btn, .no-js .seg, .no-js .billing .toggle, .no-js .hdr__menu, .no-js .app__foot strong { display: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
