/* Division Radiology — static marketing site
   Palette: deep navy + teal, warm paper, brass seal.
   Newsreader and Outfit are self-hosted under the SIL Open Font License.
   See assets/fonts/. */

@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/assets/fonts/newsreader-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/assets/fonts/outfit-latin.woff2") format("woff2");
}

:root {
  --navy: #071422;
  --navy-800: #10263d;
  --navy-700: #173454;
  --ink: #122033;
  --teal: #0c6b64;
  --teal-deep: #084e49;
  --teal-bright: #1aa39a;
  --teal-on-navy: #b7f3ec;
  --teal-soft: #e5f4f2;
  --paper: #f3f0e8;
  --paper-2: #e7e2d6;
  --white: #fffcf7;
  --line: #d5ddd8;
  --muted: #3e5162;
  --brass: #6b5016;
  --brass-bg: #f8f1de;
  --shadow: 0 24px 50px rgba(7, 20, 34, 0.12);
  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --header: 72px;
  --max: 1120px;
  --wide: 1200px;
  --radius: 16px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
}

body.nav-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--navy);
  margin: 0 0 0.6rem;
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.35rem); line-height: 1.02; }
h2 { font-size: clamp(1.8rem, 3vw, 2.65rem); }
h3 { font-size: 1.35rem; line-height: 1.25; }

p { margin: 0 0 0.9rem; }

a {
  color: var(--teal-deep);
  text-underline-offset: 0.16em;
}

a:hover { color: var(--teal); }

:focus-visible {
  outline: 2px solid var(--teal-bright);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: var(--white);
  color: var(--navy);
  padding: 0.6rem 1rem;
  border-radius: 8px;
}

.skip:focus { top: 0.75rem; }

#main:focus { outline: none; }

.container {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

.container-wide {
  width: min(var(--wide), calc(100% - 2.5rem));
  margin-inline: auto;
}

.demo-banner {
  background: #083f3c;
  color: #e7f7f5;
  text-align: center;
  font-size: 0.84rem;
  letter-spacing: 0.01em;
  padding: 0.55rem 1rem;
}

.demo-banner strong { font-weight: 600; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--navy);
  color: white;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  width: min(var(--wide), calc(100% - 2.5rem));
  margin-inline: auto;
  min-height: var(--header);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: white;
  text-decoration: none;
  flex: 0 0 auto;
}

.logo:hover { color: white; }

.logo-mark { width: 34px; height: 34px; color: #f4f1ea; }

.logo-word { display: flex; flex-direction: column; line-height: 1; }

.logo-name {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.logo-sub {
  margin-top: 0.18rem;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-on-navy);
  font-weight: 500;
}

#site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.35rem 1.05rem;
}

#site-nav a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 500;
  white-space: nowrap;
}

#site-nav a:hover,
#site-nav a[aria-current="page"] { color: white; }

#site-nav a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--teal-bright);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 0.4rem;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  min-height: 44px;
  padding: 0 0.8rem;
  cursor: pointer;
}

.nav-toggle-bars {
  width: 16px;
  height: 2px;
  background: white;
  box-shadow: 0 -5px 0 white, 0 5px 0 white;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
  padding: 0.65rem 1.1rem;
  border-radius: 8px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.2;
  cursor: pointer;
  background: transparent;
}

.btn-primary {
  background: var(--teal);
  border-color: var(--teal);
  color: white;
}

.btn-primary:hover { background: var(--teal-deep); color: white; }

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
  color: white;
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); color: white; }

.btn-line {
  background: transparent;
  border-color: rgba(7, 20, 34, 0.28);
  color: var(--navy);
}

.btn-line:hover { border-color: var(--navy); color: var(--navy); background: white; }

.btn-line-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: white;
}

.btn-line-light:hover { background: rgba(255, 255, 255, 0.08); color: white; }

.btn[disabled],
.btn.is-disabled {
  opacity: 0.72;
  cursor: not-allowed;
  pointer-events: none;
}

.hero {
  position: relative;
  color: white;
  background:
    radial-gradient(ellipse at 85% 0%, rgba(26, 163, 154, 0.2), transparent 46%),
    linear-gradient(180deg, #071422 0%, #0c1e33 100%);
  overflow: clip;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 72%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  padding: 3.25rem 0 3.75rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
  gap: 3rem;
  align-items: center;
}

.kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  color: var(--teal-on-navy);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.kicker-rule {
  width: 1.6rem;
  height: 1px;
  background: var(--teal-bright);
}

.hero h1,
.band h1,
.band h2,
.cta-band h2 { color: white; }

.lead {
  font-size: 1.14rem;
  max-width: 40rem;
  color: #d5e4ec;
}

.hero .lead { margin-bottom: 1.4rem; }

.hero-actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.panel-stack { display: grid; gap: 0.85rem; }

.audience {
  background: rgba(255, 252, 247, 0.96);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem 1.2rem;
  box-shadow: var(--shadow);
}

.audience h2 {
  font-size: 1.45rem;
  margin-bottom: 0.35rem;
}

.audience p { margin-bottom: 0.7rem; color: var(--muted); }

.audience ul {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.audience li {
  position: relative;
  padding-left: 1.15rem;
  margin: 0.28rem 0;
}

.audience li::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--teal);
  position: absolute;
  left: 0;
  top: 0.55rem;
}

.section { padding: 4.5rem 0; }

.section-head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.section-head p:last-child { margin-bottom: 0; color: var(--muted); }

.kicker-ink {
  color: var(--teal-deep);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 650;
  margin: 0 0 0.55rem;
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1.15fr;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.stat {
  padding: 1.4rem 1.35rem 1.25rem;
  border-right: 1px solid var(--line);
}

.stat:last-child { border-right: 0; }

.stat-value {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 1;
  color: var(--navy);
  margin: 0 0 0.4rem;
}

.stat-label { margin: 0; font-weight: 600; color: var(--navy); }

.stat p { margin: 0.35rem 0 0; color: var(--muted); font-size: 0.95rem; }

.source {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.source a { font-weight: 600; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.4rem 1.3rem;
}

.card h3 { margin-bottom: 0.35rem; }

.steps { list-style: none; margin: 1rem 0 0; padding: 0; }

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
}

.step-num {
  font-family: var(--serif);
  font-size: 1.45rem;
  color: var(--teal);
  line-height: 1;
  padding-top: 0.15rem;
}

.steps h3 { font-family: var(--sans); font-size: 1.02rem; letter-spacing: 0; font-weight: 650; margin: 0 0 0.2rem; }

.steps p { margin: 0; color: var(--muted); font-size: 0.98rem; }

.profile {
  background: var(--white);
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 1.15rem 1.15rem 1rem;
}

.profile-top,
.profile-id,
.check-row,
.profile-foot {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
}

.profile-top { margin-bottom: 1rem; }

.seal {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid #c6ae6e;
  color: var(--brass);
  background: var(--brass-bg);
  border-radius: 999px;
  padding: 0.22rem 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}

.seal-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--teal);
}

.sample-flag {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px dashed #b7c3c8;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  font-weight: 600;
}

.profile-id {
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 1rem;
}

.avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--teal-on-navy);
  font-weight: 650;
  letter-spacing: 0.04em;
  flex: 0 0 auto;
}

.profile-id h3 { margin: 0; font-size: 1.45rem; }

.profile-id p { margin: 0.15rem 0 0; color: var(--muted); }

.checks { list-style: none; margin: 0; padding: 0; }

.check-row {
  padding: 0.55rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}

.check-row span:last-child {
  color: var(--teal-deep);
  font-weight: 650;
  text-align: right;
}

.vendor-label {
  margin: 0.9rem 0 0.45rem;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
}

.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; margin: 0; padding: 0; }

.chips li,
.chip {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 999px;
  padding: 0.22rem 0.6rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy);
}

.profile-foot {
  margin-top: 0.9rem;
  background: var(--teal-soft);
  border-radius: 12px;
  padding: 0.75rem 0.8rem;
  align-items: flex-start;
}

.profile-foot p { margin: 0; }

.profile-foot p:last-child { font-weight: 700; color: var(--teal-deep); text-align: right; }

.ready-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 2.5rem;
  align-items: center;
}

.stage {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(26, 163, 154, 0.18), transparent 42%),
    var(--navy);
  color: white;
  padding: 4.5rem 0;
}

.stage h2 { color: white; }

.stage .section-head p { color: #c9d8e2; }

.stage-label {
  display: inline-block;
  margin-bottom: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--teal-on-navy);
  border: 1px solid rgba(183, 243, 236, 0.35);
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
}

.stage-grid {
  display: grid;
  grid-template-columns: 280px 280px minmax(0, 1fr);
  gap: 1.4rem;
  align-items: end;
}

figure.device { margin: 0; }

.device figcaption {
  color: #d5e4ec;
  font-size: 0.92rem;
  margin-top: 0.75rem;
}

.device figcaption strong { color: white; font-weight: 650; }

.phone,
.laptop { margin-inline: auto; }

.phone {
  background: #0c1a2b;
  border-radius: 32px;
  padding: 12px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.phone-screen {
  background: #f6f4ef;
  color: var(--ink);
  border-radius: 22px;
  overflow: hidden;
  min-height: 500px;
}

.phone-status,
.app-bar,
.dash-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.phone-status {
  font-size: 0.68rem;
  font-weight: 650;
  padding: 0.45rem 0.75rem 0.15rem;
  color: var(--navy);
}

.app-bar {
  background: var(--navy);
  color: white;
  padding: 0.7rem 0.75rem;
}

.app-bar strong { font-family: var(--serif); font-weight: 500; font-size: 1.05rem; }

.app-bar span { font-size: 0.72rem; color: var(--teal-on-navy); letter-spacing: 0.08em; text-transform: uppercase; }

.app-body { padding: 0.75rem; }

.filter-row { display: flex; gap: 0.35rem; margin-bottom: 0.7rem; }

.filter {
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 650;
  background: white;
  border: 1px solid var(--line);
  color: var(--navy);
}

.filter.on { background: var(--navy); color: white; border-color: var(--navy); }

.shift {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem 0.7rem 0.65rem;
  margin-bottom: 0.55rem;
}

.shift-k {
  display: flex;
  justify-content: space-between;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 0.2rem;
}

.shift h3 {
  font-family: var(--sans);
  font-size: 0.98rem;
  letter-spacing: 0;
  font-weight: 650;
  margin: 0 0 0.15rem;
}

.shift p { margin: 0; font-size: 0.84rem; color: var(--muted); }

.payline {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 0.45rem;
  padding-top: 0.45rem;
  border-top: 1px solid var(--line);
}

.payline strong {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 550;
  color: var(--navy);
}

.fake-btn {
  display: inline-flex;
  margin-top: 0.55rem;
  background: var(--teal);
  color: white;
  border-radius: 7px;
  padding: 0.35rem 0.6rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.42rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.82rem;
}

.detail-row span { color: var(--muted); }

.detail-row b { font-weight: 650; text-align: right; }

.laptop {
  background: #0c1a2b;
  border-radius: 16px 16px 12px 12px;
  padding: 10px 10px 0;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.laptop-screen {
  background: #f7f5f0;
  color: var(--ink);
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  min-height: 430px;
}

.laptop-base {
  height: 12px;
  margin: 0 -10px;
  background: linear-gradient(#1a2c40, #0c1a2b);
  border-radius: 0 0 10px 10px;
}

.dash {
  display: grid;
  grid-template-columns: 108px 1fr;
  min-height: 430px;
}

.dash-nav {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
  padding: 0.8rem 0.55rem;
  font-size: 0.75rem;
}

.dash-nav p {
  margin: 0 0 0.8rem;
  color: white;
  font-family: var(--serif);
  font-size: 0.95rem;
}

.dash-nav ul { list-style: none; margin: 0; padding: 0; }

.dash-nav li { padding: 0.35rem 0.4rem; border-radius: 6px; margin-bottom: 0.15rem; }

.dash-nav li.on { background: rgba(26, 163, 154, 0.25); color: white; }

.dash-main { padding: 0.75rem 0.8rem 0.9rem; }

.dash-top h3 {
  font-family: var(--sans);
  font-size: 0.98rem;
  letter-spacing: 0;
  font-weight: 700;
  margin: 0;
}

.dash-top span { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brass); }

table.mini {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
  margin: 0.6rem 0 0.8rem;
}

table.mini th {
  text-align: left;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  padding: 0.3rem 0.25rem;
  border-bottom: 1px solid var(--line);
}

table.mini td {
  padding: 0.42rem 0.25rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.rank { list-style: none; margin: 0; padding: 0; }

.rank li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.45rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.8rem;
}

.rank b {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--teal);
  font-weight: 550;
}

.feature-grid,
.mod-grid,
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.mod-grid { grid-template-columns: repeat(4, 1fr); }

.mod {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1rem 0.9rem;
  min-height: 100%;
}

.mod-flag {
  display: inline-block;
  margin-bottom: 0.55rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-deep);
  background: var(--teal-soft);
  border-radius: 999px;
  padding: 0.15rem 0.45rem;
}

.mod-flag.later {
  color: var(--muted);
  background: var(--paper-2);
}

.mod h3 { font-size: 1.25rem; margin-bottom: 0.3rem; }

.mod p,
.feature p,
.info-grid p { margin: 0; color: var(--muted); font-size: 0.96rem; }

.feature h3,
.info-grid h3 { font-size: 1.25rem; }

.band {
  background: var(--navy-800);
  color: #d5e4ec;
}

.band .container { padding: 1.3rem 0; }

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.principles h3 { color: white; font-size: 1.25rem; }

.principles p { margin: 0; font-size: 0.95rem; }

.faq-list { border-bottom: 1px solid var(--line); }

.faq-item { border-top: 1px solid var(--line); background: transparent; }

.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1.05rem 0;
  font-weight: 620;
  color: var(--navy);
  font-size: 1.05rem;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--teal);
  line-height: 1;
}

.faq-item[open] summary::after { content: "–"; }

.faq-item .answer { padding: 0 0 1.1rem; max-width: 46rem; color: var(--muted); }

.faq-item .answer p:last-child { margin-bottom: 0; }

.cta-band {
  background:
    radial-gradient(ellipse at 100% 0%, rgba(26, 163, 154, 0.2), transparent 45%),
    var(--navy);
  color: white;
  padding: 4rem 0;
}

.cta-band p { color: #d5e4ec; max-width: 38rem; }

.site-footer {
  background: #05101b;
  color: #c5d3dc;
  padding: 3rem 0 1.4rem;
  font-size: 0.96rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 1.1fr;
  gap: 1.5rem;
}

.site-footer h2 {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: white;
  font-weight: 650;
  margin-bottom: 0.7rem;
}

.site-footer a { color: #e7f7f5; }

.site-footer ul { list-style: none; margin: 0; padding: 0; }

.site-footer li { margin: 0.3rem 0; }

.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
  padding-top: 1rem;
}

.footer-base p { margin: 0; }

.page-hero { padding: 3.2rem 0 2.4rem; }

.page-hero .lead { margin-bottom: 0; }

.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: start;
}

.form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: grid;
  gap: 0.85rem;
}

.field { display: grid; gap: 0.35rem; }

.field label { font-weight: 650; font-size: 0.95rem; }

.req { font-weight: 500; color: var(--muted); }

input,
select {
  width: 100%;
  min-height: 48px;
  border-radius: 8px;
  border: 1px solid #c5d0d4;
  background: var(--white);
  color: var(--ink);
  padding: 0.6rem 0.75rem;
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23122033' stroke-width='1.6' d='M3 6l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
  background-size: 14px;
  padding-right: 2.4rem;
}

::placeholder { color: #4a5d6c; opacity: 1; }

.form-note { margin: 0; color: var(--muted); font-size: 0.92rem; }

.form-thanks {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.25rem;
}

.form-thanks h3 { margin-bottom: 0.4rem; }

[hidden] { display: none !important; }

.price-panel {
  background: rgba(8, 28, 48, 0.72);
  color: #d5e4ec;
  border: 1px solid rgba(183, 243, 236, 0.28);
  border-radius: 18px;
  padding: 1.5rem 1.4rem;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.18);
}

.price-panel h2,
.price-panel h3 { color: white; }

.price-panel h2 { font-size: clamp(1.7rem, 2.5vw, 2.25rem); }

.price-list { list-style: none; margin: 1rem 0 0; padding: 0; }

.price-list li {
  padding: 0.75rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.price-list strong { color: white; display: block; margin-bottom: 0.15rem; }

.doc-list { list-style: none; margin: 0; padding: 0; }

.doc-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  padding: 0.8rem 0;
  border-top: 1px solid var(--line);
}

.doc-mark {
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  border: 1.5px solid var(--teal);
  color: var(--teal-deep);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  margin-top: 0.15rem;
}

.mono {
  background: var(--navy);
  color: white;
  border-radius: 18px;
  min-height: 220px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1.5rem;
}

.mono span {
  font-family: var(--serif);
  font-size: 3rem;
  letter-spacing: -0.03em;
  display: block;
}

.mono p { margin: 0.3rem 0 0; color: #c9d8e2; }

.callout {
  background: var(--brass-bg);
  border: 1px solid #e2d2a4;
  border-radius: 14px;
  padding: 1rem 1.05rem;
  color: #3e3212;
}

.callout p:last-child { margin: 0; }

.store-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.4rem; }

.store {
  min-width: 180px;
  border: 1px dashed #b7c3c8;
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
  background: var(--white);
}

.store b { display: block; }
.store span { color: var(--muted); font-size: 0.88rem; }

.two { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2rem; align-items: start; }

.plain-list { margin: 0; padding-left: 1.1rem; }
.plain-list li { margin: 0.35rem 0; }

@media (min-width: 1080px) {
  .hero-inner {
    min-height: calc(100svh - 118px);
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }

  #site-nav {
    display: none;
    position: fixed;
    inset: var(--header) 0 0 0;
    margin: 0;
    background: #071422;
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem 1.25rem 2rem;
    overflow: auto;
    z-index: 45;
    gap: 0;
  }

  body.nav-open #site-nav { display: flex; }

  #site-nav > a {
    font-size: 1.2rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-cta {
    margin: 1rem 0 0;
    flex-direction: column;
    align-items: stretch;
  }

  .nav-cta .btn { width: 100%; }
}

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .ready-grid,
  .form-layout,
  .two,
  .stage-grid,
  .footer-grid,
  .stats,
  .principles,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .mod-grid { grid-template-columns: 1fr 1fr; }

  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }

  .stage-grid { justify-items: center; }
  .phone { width: min(320px, 100%); }
  .laptop { width: min(560px, 100%); }
  figure.device { width: min(560px, 100%); }
  .dash { grid-template-columns: 92px 1fr; }
}

@media (max-width: 640px) {
  .container,
  .container-wide,
  .header-inner { width: min(100% - 1.5rem, var(--wide)); }

  .mod-grid { grid-template-columns: 1fr; }

  .section { padding: 3.1rem 0; }
  .hero-inner { padding: 2.2rem 0 2.6rem; }
  .demo-banner { font-size: 0.78rem; text-align: left; }
  .header-inner { min-height: 64px; }
  .dash { grid-template-columns: 1fr; }
  .dash-nav { display: none; }
  .profile-foot { flex-direction: column; }
  .profile-foot p:last-child { text-align: left; }
  .footer-base { flex-direction: column; }
}

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