:root {
  --ink-950: #050816;
  --ink-900: #090e22;
  --ink-850: #0d142b;
  --ink-800: #111a36;
  --ink-700: #1a2850;
  --paper: #f7f8ff;
  --paper-muted: #bdc7e7;
  --paper-faint: #8e9abd;
  --blue: #69b8ff;
  --blue-strong: #3d98ff;
  --violet: #9a8cff;
  --cyan: #68e4f7;
  --mint: #78e8bd;
  --warning: #ffd875;
  --warning-bg: #2b210a;
  --danger: #ffb1b8;
  --danger-bg: #2b1018;
  --line: rgba(173, 193, 255, 0.16);
  --line-strong: rgba(173, 193, 255, 0.3);
  --surface: rgba(15, 23, 50, 0.72);
  --surface-strong: rgba(19, 29, 61, 0.92);
  --surface-soft: rgba(128, 154, 255, 0.07);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
  --radius-lg: 30px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --content: 1160px;
  --reading: 760px;
  --font-sans: ui-rounded, "SF Pro Rounded", "SF Pro Display", -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--paper);
  background:
    radial-gradient(circle at 78% 8%, rgba(64, 144, 255, 0.2), transparent 30rem),
    radial-gradient(circle at 14% 28%, rgba(145, 113, 255, 0.16), transparent 34rem),
    linear-gradient(180deg, var(--ink-950) 0%, #080d20 48%, #050815 100%);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(rgba(135, 159, 238, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(135, 159, 238, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

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

picture {
  display: block;
}

a {
  color: #8ecbff;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 0.08em;
}

a:hover {
  color: #c2e3ff;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--warning);
  outline-offset: 4px;
  border-radius: 6px;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: #fff;
  font-family: var(--font-sans);
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(3rem, 5.8vw, 5.4rem);
}

h2 {
  font-size: clamp(2rem, 3.6vw, 3.25rem);
}

h3 {
  font-size: clamp(1.28rem, 2.2vw, 1.65rem);
  letter-spacing: -0.02em;
}

h4 {
  font-size: 1.04rem;
  letter-spacing: -0.01em;
}

p,
ul,
ol,
blockquote {
  margin-block: 0 1.2rem;
}

ul,
ol {
  padding-left: 1.25rem;
}

li + li {
  margin-top: 0.48rem;
}

strong {
  color: #f8faff;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 0.72rem 1rem;
  color: var(--ink-950);
  background: var(--warning);
  border-radius: 10px;
  font-weight: 800;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.draft-ribbon {
  padding: 0.56rem 1rem;
  color: #fff4cf;
  background: var(--warning-bg);
  border-bottom: 1px solid rgba(255, 216, 117, 0.35);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 8, 22, 0.76);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
}

.header-inner,
.container {
  width: min(calc(100% - 40px), var(--content));
  margin-inline: auto;
}

.header-inner {
  display: flex;
  min-height: 74px;
  align-items: center;
  gap: 1.4rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 1.16rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(159, 198, 255, 0.24);
  border-radius: 11px;
  box-shadow: 0 8px 24px rgba(30, 119, 255, 0.22);
}

.site-nav {
  display: flex;
  margin-left: auto;
  align-items: center;
  gap: 0.25rem;
}

.site-nav a {
  padding: 0.55rem 0.72rem;
  color: var(--paper-muted);
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: #fff;
  background: rgba(124, 158, 255, 0.11);
}

.header-status {
  display: inline-flex;
  padding: 0.48rem 0.78rem;
  align-items: center;
  gap: 0.45rem;
  color: #dcecff;
  background: rgba(99, 166, 255, 0.1);
  border: 1px solid rgba(109, 178, 255, 0.22);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 750;
  white-space: nowrap;
}

.header-status::before {
  width: 7px;
  height: 7px;
  content: "";
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 14px var(--cyan);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 6vw, 5.5rem) 0 clamp(3.5rem, 6vw, 4.75rem);
}

.hero::after {
  position: absolute;
  right: -12rem;
  bottom: 0;
  width: 38rem;
  height: 38rem;
  z-index: -1;
  content: "";
  background: radial-gradient(circle, rgba(65, 178, 255, 0.14), transparent 68%);
  border-radius: 50%;
}

.hero-grid {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 1.08fr) minmax(310px, 0.72fr);
  gap: clamp(3rem, 8vw, 7rem);
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 1.25rem;
  align-items: center;
  gap: 0.58rem;
  color: #b8dfff;
  font-size: 0.8rem;
  font-weight: 820;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 26px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, var(--violet), var(--cyan));
}

.hero h1 {
  max-width: 9ch;
  background: linear-gradient(125deg, #fff 15%, #d4dcff 54%, #8bdcff 94%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy {
  max-width: 640px;
}

.hero-copy > p {
  max-width: 580px;
  margin-top: 1.7rem;
  color: var(--paper-muted);
  font-size: clamp(1.12rem, 2.1vw, 1.34rem);
}

.button-row {
  display: flex;
  margin-top: 2rem;
  flex-wrap: wrap;
  gap: 0.78rem;
}

.button {
  display: inline-flex;
  min-height: 48px;
  padding: 0.72rem 1.05rem;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #fff;
  background: linear-gradient(135deg, #4d83ff, #6569f5);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(68, 101, 246, 0.25);
  font-weight: 790;
  text-decoration: none;
}

.button:hover {
  color: #fff;
  background: linear-gradient(135deg, #6192ff, #7b78ff);
  transform: translateY(-1px);
}

.button.secondary {
  color: #e8edff;
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line-strong);
  box-shadow: none;
}

.trust-row {
  display: flex;
  margin-top: 2.1rem;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.trust-pill {
  display: inline-flex;
  padding: 0.42rem 0.68rem;
  align-items: center;
  gap: 0.42rem;
  color: #cdd6f3;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 670;
}

.trust-pill::before {
  color: var(--mint);
  content: "✓";
  font-weight: 900;
}

.phone-shell {
  position: relative;
  width: min(100%, 390px);
  margin-inline: auto;
  padding: 14px;
  background: linear-gradient(155deg, #3d4868, #10162c 36%, #03050d 82%);
  border: 1px solid rgba(206, 220, 255, 0.32);
  border-radius: 48px;
  box-shadow: var(--shadow), 0 0 0 8px rgba(83, 120, 255, 0.035);
  transform: rotate(1.4deg);
}

.phone-shell::before {
  position: absolute;
  top: 22px;
  left: 50%;
  width: 108px;
  height: 26px;
  z-index: 3;
  content: "";
  background: #03050b;
  border-radius: 999px;
  transform: translateX(-50%);
}

.phone-screen {
  min-height: 620px;
  padding: 3.5rem 1.05rem 1.1rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 0, rgba(86, 132, 255, 0.25), transparent 17rem),
    #080b14;
  border-radius: 36px;
}

.app-bar {
  display: flex;
  margin-bottom: 1.2rem;
  align-items: center;
  justify-content: space-between;
  color: #edf1ff;
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 800;
}

.app-chip {
  padding: 0.25rem 0.52rem;
  color: #cbd7ff;
  background: rgba(116, 135, 255, 0.14);
  border: 1px solid rgba(148, 168, 255, 0.18);
  border-radius: 999px;
  font-size: 0.62rem;
}

.job-card,
.mini-card {
  background: rgba(25, 28, 39, 0.94);
  border: 1px solid rgba(190, 203, 255, 0.1);
  border-radius: 22px;
}

.job-card {
  padding: 1.15rem;
}

.job-card .label,
.mini-card .label {
  color: #7786be;
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.job-card h3 {
  margin-top: 0.45rem;
  font-size: 1.25rem;
}

.job-card p {
  margin: 0.35rem 0 1rem;
  color: #9ba3ba;
  font-size: 0.74rem;
  line-height: 1.5;
}

.evidence-image {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  background:
    linear-gradient(180deg, transparent 28%, rgba(2, 8, 18, 0.9)),
    linear-gradient(135deg, #28516f, #6d756d 52%, #1a3444);
  border-radius: 16px;
}

.evidence-image::before,
.evidence-image::after {
  position: absolute;
  content: "";
}

.evidence-image::before {
  inset: 18% 12% 30%;
  background:
    linear-gradient(90deg, transparent 40%, rgba(218, 236, 246, 0.42) 41% 45%, transparent 46%),
    linear-gradient(#33495c 0 58%, #1b2733 59%);
  clip-path: polygon(5% 100%, 5% 35%, 32% 8%, 62% 34%, 95% 19%, 95% 100%);
  opacity: 0.9;
}

.evidence-image::after {
  right: -10%;
  bottom: -12%;
  width: 75%;
  height: 54%;
  background: #253d31;
  border-radius: 50% 0 0;
  opacity: 0.65;
}

.evidence-overlay {
  position: absolute;
  right: 0.65rem;
  bottom: 0.65rem;
  left: 0.65rem;
  z-index: 2;
  padding: 0.6rem 0.68rem;
  color: #f9fbff;
  background: rgba(1, 4, 12, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  font-size: 0.58rem;
  line-height: 1.46;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.mini-grid {
  display: grid;
  margin-top: 0.75rem;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.mini-card {
  padding: 0.82rem;
}

.mini-card strong {
  display: block;
  margin-top: 0.22rem;
  font-family: var(--font-sans);
  font-size: 1rem;
}

.section {
  padding: clamp(3.25rem, 5vw, 5rem) 0;
}

.section.compact {
  padding-block: clamp(2.4rem, 4vw, 3.5rem);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 1.75rem;
}

.section-heading h2 {
  margin-bottom: 0.75rem;
}

.section-heading p {
  max-width: 670px;
  color: var(--paper-muted);
  font-size: 1.08rem;
}

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

.feature-card {
  position: relative;
  min-height: 0;
  padding: clamp(1.3rem, 3vw, 2rem);
  overflow: hidden;
  background: linear-gradient(145deg, rgba(22, 33, 68, 0.88), rgba(9, 15, 35, 0.88));
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.feature-card::after {
  position: absolute;
  right: -4.5rem;
  bottom: -5rem;
  width: 12rem;
  height: 12rem;
  content: "";
  background: radial-gradient(circle, rgba(83, 170, 255, 0.16), transparent 68%);
  border-radius: 50%;
}

.feature-card.large {
  grid-column: span 7;
}

.feature-card.medium {
  grid-column: span 5;
}

.feature-card.third {
  min-height: 190px;
  grid-column: span 4;
}

.feature-number {
  display: inline-flex;
  width: 38px;
  height: 38px;
  margin-bottom: 2rem;
  align-items: center;
  justify-content: center;
  color: #dbe9ff;
  background: linear-gradient(145deg, rgba(108, 139, 255, 0.2), rgba(63, 199, 255, 0.09));
  border: 1px solid rgba(146, 184, 255, 0.22);
  border-radius: 12px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 850;
}

.feature-card p {
  max-width: 570px;
  margin-top: 0.78rem;
  color: var(--paper-muted);
}

.feature-list {
  display: flex;
  padding: 0;
  margin-top: 1.35rem;
  flex-wrap: wrap;
  gap: 0.52rem;
  list-style: none;
}

.feature-list li {
  margin: 0;
  padding: 0.34rem 0.6rem;
  color: #bfc9e7;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.74rem;
}

.privacy-panel {
  display: grid;
  padding: clamp(1.5rem, 4vw, 3.4rem);
  align-items: center;
  background:
    radial-gradient(circle at 80% 20%, rgba(97, 221, 238, 0.13), transparent 22rem),
    linear-gradient(135deg, rgba(18, 32, 63, 0.96), rgba(8, 15, 32, 0.96));
  border: 1px solid rgba(115, 204, 225, 0.23);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 6vw, 5rem);
}

.privacy-copy p {
  margin-top: 1rem;
  color: var(--paper-muted);
}

.data-path {
  display: grid;
  gap: 0.75rem;
}

.data-step {
  display: grid;
  padding: 1rem;
  align-items: center;
  background: rgba(7, 14, 31, 0.62);
  border: 1px solid var(--line);
  border-radius: 15px;
  grid-template-columns: 42px 1fr;
  gap: 0.9rem;
}

.data-icon {
  display: flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  color: #dff9ff;
  background: rgba(69, 203, 227, 0.11);
  border: 1px solid rgba(107, 221, 240, 0.18);
  border-radius: 12px;
  font-weight: 900;
}

.data-step strong,
.data-step span {
  display: block;
}

.data-step span {
  color: var(--paper-faint);
  font-size: 0.79rem;
}

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

.limit-card {
  padding: clamp(1.35rem, 3vw, 2rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.limit-card.positive {
  border-color: rgba(104, 228, 247, 0.2);
}

.limit-card.caution {
  border-color: rgba(255, 216, 117, 0.24);
}

.limit-card p {
  margin-top: 0.7rem;
  color: var(--paper-muted);
}

.subscription-panel {
  display: grid;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  background:
    linear-gradient(135deg, rgba(80, 86, 218, 0.18), transparent 52%),
    var(--surface-strong);
  border: 1px solid rgba(148, 147, 255, 0.25);
  border-radius: var(--radius-lg);
  grid-template-columns: 1fr 0.86fr;
  gap: clamp(2rem, 6vw, 5rem);
}

.subscription-panel p {
  margin-top: 1rem;
  color: var(--paper-muted);
}

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

.scope-list li {
  position: relative;
  margin: 0;
  padding: 0.78rem 0 0.78rem 2rem;
  color: #d7def3;
  border-bottom: 1px solid var(--line);
}

.scope-list li:last-child {
  border-bottom: 0;
}

.scope-list li::before {
  position: absolute;
  top: 0.83rem;
  left: 0;
  width: 1.25rem;
  height: 1.25rem;
  content: "✓";
  color: var(--mint);
  font-size: 0.82rem;
  font-weight: 900;
}

.cta-panel {
  padding: clamp(1.75rem, 4vw, 3rem);
  background:
    radial-gradient(circle at 90% 0, rgba(87, 193, 255, 0.2), transparent 25rem),
    linear-gradient(135deg, #15264e, #17163a);
  border: 1px solid rgba(139, 180, 255, 0.28);
  border-radius: var(--radius-lg);
  text-align: center;
}

.cta-panel h2 {
  max-width: 720px;
  margin-inline: auto;
}

.cta-panel p {
  max-width: 650px;
  margin: 1rem auto 0;
  color: var(--paper-muted);
}

.cta-panel .button-row {
  justify-content: center;
}

.site-footer {
  padding: 3.3rem 0 2.5rem;
  color: var(--paper-faint);
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
}

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

.footer-brand p {
  max-width: 470px;
  margin-top: 0.8rem;
}

.footer-title {
  margin-bottom: 0.65rem;
  color: #e3e9fa;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 0.42rem;
}

.footer-links a {
  color: #b5c2e1;
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  padding-top: 2rem;
  margin-top: 2rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
}

.operator-placeholder {
  color: #ffeab2;
  font-weight: 750;
}

/* Legal and support pages */
.page-hero {
  padding: clamp(3.25rem, 5vw, 4.75rem) 0 2.5rem;
}

.page-hero .eyebrow {
  margin-bottom: 1rem;
}

.page-hero h1 {
  max-width: 12ch;
  font-size: clamp(2.6rem, 4.8vw, 4.25rem);
}

.page-hero p {
  max-width: 700px;
  margin-top: 1.25rem;
  color: var(--paper-muted);
  font-size: 1.12rem;
}

.meta-row {
  display: flex;
  margin-top: 1.5rem;
  flex-wrap: wrap;
  gap: 0.62rem;
}

.meta-pill {
  padding: 0.38rem 0.65rem;
  color: #cbd5ef;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 650;
}

.publication-blocker {
  padding: 1.15rem 1.2rem;
  margin: 0 0 2rem;
  color: #ffe8c3;
  background: linear-gradient(135deg, rgba(77, 28, 16, 0.9), rgba(43, 16, 24, 0.9));
  border: 2px solid rgba(255, 167, 115, 0.52);
  border-radius: 16px;
}

.publication-blocker strong {
  display: block;
  margin-bottom: 0.25rem;
  color: #fff3df;
  font-size: 0.93rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.publication-blocker p:last-child {
  margin-bottom: 0;
}

.legal-layout {
  display: grid;
  align-items: start;
  grid-template-columns: 230px minmax(0, var(--reading));
  gap: clamp(2rem, 6vw, 5rem);
}

.toc {
  position: sticky;
  top: 108px;
  padding: 1rem;
  background: rgba(13, 20, 43, 0.72);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.toc strong {
  display: block;
  margin-bottom: 0.65rem;
  color: #e8edff;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.toc a {
  display: block;
  padding: 0.34rem 0.45rem;
  color: #aebbdc;
  border-radius: 7px;
  font-size: 0.78rem;
  line-height: 1.35;
  text-decoration: none;
}

.toc a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.legal-content {
  min-width: 0;
}

.legal-content section {
  padding: 0 0 3rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--line);
}

.legal-content section:last-child {
  border-bottom: 0;
}

.legal-content h2 {
  margin-bottom: 1.05rem;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  scroll-margin-top: 110px;
}

.legal-content h3 {
  margin: 1.8rem 0 0.75rem;
  font-size: 1.22rem;
  scroll-margin-top: 110px;
}

.legal-content p,
.legal-content li {
  color: #c3cce6;
}

.legal-content code,
.placeholder-box {
  font-family: var(--font-body);
}

.placeholder-box {
  display: block;
  padding: 1rem 1.05rem;
  margin: 1rem 0;
  color: #ffe0e3;
  background: var(--danger-bg);
  border: 1px solid rgba(255, 135, 149, 0.48);
  border-radius: 12px;
  font-size: 0.86rem;
  font-weight: 780;
  line-height: 1.52;
}

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

.detail-list li {
  display: grid;
  padding: 0.72rem 0;
  margin: 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: minmax(130px, 0.42fr) 1fr;
  gap: 1rem;
}

.detail-list li strong {
  color: #eef2ff;
}

.callout {
  padding: 1.1rem 1.2rem;
  margin: 1.2rem 0;
  color: #d6edff;
  background: rgba(54, 131, 204, 0.1);
  border: 1px solid rgba(104, 187, 255, 0.26);
  border-left: 4px solid var(--blue);
  border-radius: 12px;
}

.callout.caution {
  color: #ffebbb;
  background: rgba(138, 97, 20, 0.09);
  border-color: rgba(255, 216, 117, 0.24);
  border-left-color: var(--warning);
}

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

.support-card {
  padding: 1.35rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.support-card h3 {
  margin-bottom: 0.55rem;
}

.support-card p {
  color: var(--paper-muted);
  font-size: 0.9rem;
}

.support-card p:last-child {
  margin-bottom: 0;
}

.support-faq {
  display: grid;
  gap: 0.8rem;
}

details {
  background: rgba(15, 23, 50, 0.62);
  border: 1px solid var(--line);
  border-radius: 15px;
}

details[open] {
  background: rgba(20, 30, 63, 0.78);
  border-color: var(--line-strong);
}

summary {
  position: relative;
  padding: 1.05rem 3.2rem 1.05rem 1.15rem;
  color: #f1f4ff;
  cursor: pointer;
  font-family: var(--font-sans);
  font-weight: 780;
  line-height: 1.35;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  position: absolute;
  top: 0.93rem;
  right: 1rem;
  width: 1.5rem;
  height: 1.5rem;
  content: "+";
  color: #dbe7ff;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 50%;
  font-family: var(--font-body);
  font-weight: 500;
  line-height: 1.4rem;
  text-align: center;
}

details[open] summary::after {
  content: "−";
}

.detail-body {
  padding: 0 1.15rem 1.15rem;
  color: #c2cae3;
}

.detail-body p:last-child,
.detail-body ul:last-child,
.detail-body ol:last-child {
  margin-bottom: 0;
}

.contact-panel {
  display: grid;
  padding: clamp(1.4rem, 4vw, 2.6rem);
  background: linear-gradient(135deg, rgba(42, 84, 151, 0.22), rgba(28, 24, 76, 0.28));
  border: 1px solid rgba(125, 166, 255, 0.24);
  border-radius: var(--radius-md);
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-option {
  padding: 1.2rem;
  background: rgba(4, 9, 24, 0.5);
  border: 1px solid var(--line);
  border-radius: 15px;
}

.contact-option p {
  margin: 0.45rem 0 0;
  color: var(--paper-muted);
  font-size: 0.9rem;
}

.contact-option a {
  font-weight: 790;
}

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

@media (max-width: 940px) {
  .header-status {
    display: none;
  }

  .hero-grid,
  .privacy-panel,
  .subscription-panel {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    text-align: center;
  }

  .hero h1,
  .hero-copy > p {
    margin-inline: auto;
  }

  .hero .eyebrow,
  .hero .button-row,
  .hero .trust-row {
    justify-content: center;
  }

  .phone-shell {
    max-width: 360px;
  }

  .feature-card.large,
  .feature-card.medium {
    grid-column: span 6;
  }

  .feature-card.third {
    grid-column: span 6;
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .toc {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .toc strong {
    grid-column: 1 / -1;
  }

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

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }

  .header-inner,
  .container {
    width: min(calc(100% - 28px), var(--content));
  }

  .header-inner {
    min-height: 64px;
    gap: 0.8rem;
  }

  .brand span {
    display: none;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-end;
  }

  .site-nav a {
    padding: 0.48rem 0.52rem;
    font-size: 0.78rem;
  }

  .hero {
    padding-top: 4rem;
  }

  .hero h1 {
    font-size: clamp(2.9rem, 15vw, 4.7rem);
  }

  .feature-card.large,
  .feature-card.medium,
  .feature-card.third {
    min-height: 0;
    grid-column: 1 / -1;
  }

  .privacy-panel,
  .subscription-panel {
    padding: 1.3rem;
  }

  .limit-grid,
  .contact-panel,
  .support-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .toc {
    display: block;
  }

  .detail-list li {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .page-hero {
    padding-top: 3.2rem;
  }
}

@media (max-width: 480px) {
  .draft-ribbon {
    font-size: 0.66rem;
  }

  .site-nav a {
    padding-inline: 0.38rem;
  }

  .hero .button-row,
  .button-row .button {
    width: 100%;
  }

  .trust-row {
    flex-direction: column;
    align-items: stretch;
  }

  .trust-pill {
    justify-content: center;
  }

  .phone-shell {
    padding: 10px;
    border-radius: 38px;
  }

  .phone-screen {
    min-height: 560px;
    border-radius: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (prefers-contrast: more) {
  :root {
    --paper-muted: #e4e9f8;
    --paper-faint: #cbd3eb;
    --line: rgba(219, 229, 255, 0.4);
    --line-strong: rgba(232, 239, 255, 0.65);
  }

  .feature-card,
  .support-card,
  details,
  .limit-card {
    border-width: 2px;
  }
}

@media print {
  body {
    color: #111827;
    background: #fff;
    font-size: 11pt;
  }

  body::before,
  .site-header,
  .draft-ribbon,
  .toc,
  .site-footer,
  .button-row {
    display: none !important;
  }

  h1,
  h2,
  h3,
  h4,
  strong,
  .legal-content p,
  .legal-content li {
    color: #111827;
  }

  .page-hero {
    padding: 0 0 1.5rem;
  }

  .legal-layout {
    display: block;
  }

  .publication-blocker,
  .placeholder-box {
    color: #7f1d1d;
    background: #fff1f2;
    border-color: #be123c;
    break-inside: avoid;
  }

  a {
    color: inherit;
  }
}

/* Presentation site additions */
section[id],
article[id] {
  scroll-margin-top: 104px;
}

.site-nav {
  min-width: 0;
}

.site-nav a {
  white-space: nowrap;
}

.text-link {
  display: inline-flex;
  margin-top: 0.75rem;
  align-items: center;
  gap: 0.45rem;
  font-weight: 780;
  text-decoration: none;
}

.label,
.card-kicker {
  color: #9fb3e8;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.home-hero {
  padding-top: clamp(3.5rem, 5vw, 4.75rem);
}

.home-hero .hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.8fr);
  gap: clamp(2.5rem, 7vw, 6rem);
}

.workflow-preview {
  position: relative;
  width: min(100%, 470px);
  padding: clamp(1rem, 3vw, 1.4rem);
  margin-inline: auto;
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 0, rgba(86, 180, 255, 0.22), transparent 18rem),
    linear-gradient(145deg, rgba(19, 29, 61, 0.98), rgba(6, 11, 27, 0.98));
  border: 1px solid rgba(164, 190, 255, 0.25);
  border-radius: 32px;
  box-shadow: var(--shadow), 0 0 0 9px rgba(80, 127, 255, 0.035);
  transform: rotate(1deg);
}

.workflow-preview::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.05), transparent 30%);
}

.preview-top,
.control-title,
.demo-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.preview-top div,
.control-title {
  min-width: 0;
}

.preview-top strong,
.control-title strong {
  display: block;
  margin-top: 0.22rem;
  font-family: var(--font-sans);
  font-size: 1.07rem;
}

.preview-status {
  padding: 0.38rem 0.58rem;
  color: #dffbf2;
  background: rgba(56, 189, 141, 0.1);
  border: 1px solid rgba(93, 229, 176, 0.2);
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 780;
  white-space: nowrap;
}

.preview-photo,
.photo-lesson-demo {
  position: relative;
  min-height: 265px;
  margin-top: 1rem;
  overflow: hidden;
  background:
    linear-gradient(180deg, transparent 42%, rgba(2, 5, 12, 0.45)),
    radial-gradient(ellipse at 28% 22%, rgba(160, 224, 255, 0.42), transparent 18%),
    linear-gradient(145deg, #29506c 0 34%, #7b806f 35% 62%, #223b34 63%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
}

.preview-photo::before,
.photo-lesson-demo::before {
  position: absolute;
  inset: 16% 12% 27%;
  content: "";
  background:
    linear-gradient(90deg, transparent 40%, rgba(227, 242, 250, 0.58) 41% 44%, transparent 45%),
    linear-gradient(#344a5a 0 58%, #1d2b34 59%);
  clip-path: polygon(4% 100%, 4% 42%, 28% 8%, 57% 38%, 93% 18%, 96% 100%);
  opacity: 0.92;
}

.preview-photo::after,
.photo-lesson-demo::after {
  position: absolute;
  right: -9%;
  bottom: -16%;
  width: 74%;
  height: 58%;
  content: "";
  background: rgba(20, 62, 42, 0.74);
  border-radius: 60% 0 0;
}

.preview-overlay,
.photo-lesson-overlay {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  display: grid;
  padding: 0.78rem 0.85rem;
  color: #f9fbff;
  background: rgba(1, 4, 11, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  font-size: 0.7rem;
  line-height: 1.45;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.preview-overlay strong {
  color: #fff;
  font-size: 0.76rem;
}

.preview-panel {
  position: relative;
  display: grid;
  padding: 0.4rem 0.9rem;
  margin-top: 0.85rem;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.preview-row {
  display: flex;
  padding: 0.63rem 0;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #b8c4e3;
  border-bottom: 1px solid var(--line);
  font-size: 0.74rem;
}

.preview-row:last-child {
  border-bottom: 0;
}

.preview-row strong {
  color: #edf3ff;
  font-size: 0.71rem;
}

.statement-section {
  padding-block: clamp(3.8rem, 7vw, 6rem);
  background: rgba(80, 111, 217, 0.045);
  border-block: 1px solid var(--line);
}

.statement-grid {
  display: grid;
  align-items: start;
  grid-template-columns: auto minmax(280px, 0.95fr) minmax(260px, 0.7fr);
  gap: clamp(1.5rem, 5vw, 4rem);
}

.section-index {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  color: #bfe7ff;
  background: rgba(105, 184, 255, 0.08);
  border: 1px solid rgba(105, 184, 255, 0.2);
  border-radius: 13px;
  font-size: 0.72rem;
  font-weight: 850;
}

.statement-grid p {
  margin-top: 2.25rem;
  color: var(--paper-muted);
}

.split-heading {
  display: grid;
  max-width: none;
  align-items: end;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.68fr);
  gap: clamp(2rem, 6vw, 5rem);
}

.split-heading p {
  margin-bottom: 0.3rem;
}

.stage-flow {
  display: grid;
  counter-reset: stage;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stage-node {
  position: relative;
  min-height: 245px;
  padding: 1.55rem;
  background: linear-gradient(145deg, rgba(21, 31, 64, 0.76), rgba(8, 14, 31, 0.76));
  border: 1px solid var(--line);
}

.stage-node:first-child {
  border-radius: 22px 0 0 22px;
}

.stage-node:last-child {
  border-radius: 0 22px 22px 0;
}

.stage-node + .stage-node {
  border-left: 0;
}

.stage-node::after {
  position: absolute;
  top: 45px;
  right: -6px;
  width: 12px;
  height: 12px;
  z-index: 2;
  content: "";
  background: var(--ink-900);
  border: 1px solid rgba(121, 184, 255, 0.45);
  border-radius: 50%;
}

.stage-node:last-child::after {
  display: none;
}

.stage-number {
  display: block;
  margin-bottom: 3.5rem;
  color: #85d7ff;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.stage-node p {
  margin-top: 0.75rem;
  color: var(--paper-muted);
  font-size: 0.9rem;
}

.evidence-story,
.feature-showcase,
.lesson-feature,
.contact-section {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.8fr);
  gap: clamp(2.5rem, 7vw, 6rem);
}

.evidence-copy p,
.showcase-copy > p,
.lesson-feature > div > p,
.contact-section > div > p {
  margin-top: 1.2rem;
  color: var(--paper-muted);
  font-size: 1.06rem;
}

.check-list {
  padding: 0;
  margin: 1.4rem 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.7rem;
  color: #d3dcf3;
}

.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--mint);
  content: "✓";
  font-weight: 900;
}

.report-control-card,
.document-demo,
.support-summary,
.lesson-map {
  padding: clamp(1.2rem, 4vw, 2rem);
  background:
    radial-gradient(circle at 90% 0, rgba(110, 151, 255, 0.16), transparent 18rem),
    linear-gradient(145deg, rgba(20, 29, 59, 0.96), rgba(8, 13, 29, 0.96));
  border: 1px solid rgba(147, 174, 255, 0.24);
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.report-control-row {
  display: flex;
  padding: 1rem 0;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #d2dbf1;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}

.toggle {
  position: relative;
  width: 42px;
  height: 24px;
  background: #303851;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
}

.toggle::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  content: "";
  background: #e8edfa;
  border-radius: 50%;
}

.toggle.on {
  background: linear-gradient(135deg, #358cf8, #6174f8);
}

.toggle.on::after {
  left: 21px;
  background: #fff;
}

.quality-selector {
  display: grid;
  padding: 0.3rem;
  margin-top: 1.2rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 12px;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.25rem;
}

.quality-selector span {
  padding: 0.55rem;
  color: #9ba8cc;
  border-radius: 9px;
  font-size: 0.72rem;
  font-weight: 760;
  text-align: center;
}

.quality-selector .selected {
  color: #fff;
  background: rgba(91, 129, 255, 0.24);
  box-shadow: inset 0 0 0 1px rgba(141, 174, 255, 0.2);
}

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

.story-grid.three-up {
  grid-template-columns: repeat(3, 1fr);
}

.story-card {
  min-height: 0;
  padding: 1.55rem;
  background: linear-gradient(145deg, rgba(18, 28, 57, 0.82), rgba(8, 14, 31, 0.82));
  border: 1px solid var(--line);
  border-radius: 20px;
}

.story-card-wide {
  grid-column: span 2;
}

.story-card h3 {
  margin-top: 1rem;
}

.story-card p {
  margin-top: 0.72rem;
  color: var(--paper-muted);
  font-size: 0.9rem;
}

.story-card a {
  font-weight: 760;
  text-decoration: none;
}

.privacy-panel-refined {
  box-shadow: none;
}

.privacy-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.privacy-facts div {
  padding: 1rem;
  background: rgba(4, 12, 27, 0.56);
  border: 1px solid var(--line);
  border-radius: 15px;
}

.privacy-facts strong,
.privacy-facts span {
  display: block;
}

.privacy-facts span {
  margin-top: 0.35rem;
  color: var(--paper-faint);
  font-size: 0.78rem;
}

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

.boundary-card {
  min-height: 0;
  padding: 1.45rem;
  background: rgba(13, 21, 45, 0.74);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.boundary-mark {
  display: inline-flex;
  width: 40px;
  height: 40px;
  margin-bottom: 1.1rem;
  align-items: center;
  justify-content: center;
  color: #d9edff;
  background: rgba(83, 156, 255, 0.1);
  border: 1px solid rgba(105, 184, 255, 0.2);
  border-radius: 13px;
  font-weight: 850;
}

.boundary-card p {
  margin-top: 0.75rem;
  color: var(--paper-muted);
  font-size: 0.9rem;
}

.cta-panel-refined {
  overflow: hidden;
}

.footer-grid-wide {
  grid-template-columns: 1.5fr repeat(3, minmax(130px, 0.62fr));
}

/* Interior heroes and product */
.breadcrumbs {
  display: none;
  margin-bottom: 0;
  align-items: center;
  gap: 0.5rem;
  color: #8290b7;
  font-size: 0.75rem;
  font-weight: 700;
}

.breadcrumbs a {
  color: #adbbdd;
  text-decoration: none;
}

.page-hero-grid {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.72fr);
  gap: clamp(2.5rem, 7vw, 6rem);
}

.page-hero-grid .button-row {
  margin-top: 1.7rem;
}

.record-stack {
  position: relative;
  min-height: 330px;
}

.record-card {
  position: absolute;
  right: 2%;
  left: 2%;
  display: grid;
  min-height: 170px;
  padding: 1.4rem;
  align-content: end;
  background: linear-gradient(145deg, rgba(31, 49, 96, 0.98), rgba(10, 17, 36, 0.98));
  border: 1px solid rgba(155, 183, 255, 0.28);
  border-radius: 24px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
}

.record-card span {
  color: #9cb0e8;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.record-card strong {
  margin-top: 0.35rem;
  font-family: var(--font-sans);
  font-size: 1.2rem;
}

.record-card small {
  margin-top: 0.2rem;
  color: var(--paper-faint);
}

.record-card-back {
  top: 0;
  transform: rotate(-6deg) scale(0.91);
  opacity: 0.52;
}

.record-card-middle {
  top: 62px;
  transform: rotate(4deg) scale(0.96);
  opacity: 0.76;
}

.record-card-front {
  top: 132px;
}

.product-journey {
  display: grid;
  border-top: 1px solid var(--line);
}

.journey-row {
  display: grid;
  padding: clamp(1.3rem, 2.6vw, 1.9rem) 0;
  align-items: start;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 72px minmax(0, 1fr) minmax(220px, 0.48fr);
  gap: clamp(1.2rem, 4vw, 3rem);
}

.journey-number {
  color: #78cfff;
  font-size: 0.76rem;
  font-weight: 850;
}

.journey-copy h3 {
  margin-top: 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.journey-copy p {
  max-width: 650px;
  margin-top: 0.8rem;
  color: var(--paper-muted);
}

.journey-points {
  padding: 0;
  margin: 0;
  color: #b8c5e4;
  list-style: none;
}

.journey-points li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.3rem;
  margin: 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.8rem;
}

.journey-points li::before {
  position: absolute;
  left: 0;
  color: var(--mint);
  content: "•";
}

.tag-list {
  display: flex;
  margin: 1.2rem 0;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  padding: 0.38rem 0.62rem;
  color: #cbd6f2;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.73rem;
  font-weight: 680;
}

.document-demo {
  box-shadow: none;
}

.demo-line,
.demo-total {
  display: flex;
  padding: 1rem 0;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #bcc7e4;
  border-bottom: 1px solid var(--line);
  font-size: 0.84rem;
}

.demo-line strong,
.demo-total strong {
  font-size: 0.78rem;
}

.demo-total {
  color: #e7edff;
  border-bottom: 0;
}

.demo-arrow {
  margin: 0.6rem 0;
  color: #6edbf5;
  text-align: center;
}

.issued-chip {
  padding: 0.85rem;
  color: #fff;
  background: linear-gradient(135deg, rgba(61, 152, 255, 0.35), rgba(154, 140, 255, 0.3));
  border: 1px solid rgba(141, 181, 255, 0.25);
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 800;
  text-align: center;
}

.access-card {
  padding: 1.4rem;
  background: rgba(7, 13, 31, 0.58);
  border: 1px solid rgba(151, 148, 255, 0.25);
  border-radius: 18px;
}

.access-card strong {
  display: block;
  margin-top: 1.2rem;
  font-family: var(--font-sans);
  font-size: 1.4rem;
  line-height: 1.15;
}

.access-card p {
  margin-bottom: 0;
  font-size: 0.84rem;
}

/* How-to hub */
.guide-nav-grid,
.link-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}

.guide-card,
.link-card {
  display: grid;
  min-height: 0;
  padding: 1.15rem;
  align-content: start;
  color: #f4f7ff;
  background: linear-gradient(145deg, rgba(18, 28, 57, 0.78), rgba(8, 14, 31, 0.78));
  border: 1px solid var(--line);
  border-radius: 18px;
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.guide-card:hover,
.link-card:hover {
  color: #fff;
  background: linear-gradient(145deg, rgba(27, 43, 87, 0.92), rgba(10, 18, 41, 0.92));
  border-color: rgba(115, 182, 255, 0.38);
  transform: translateY(-2px);
}

.guide-icon,
.support-number {
  display: inline-flex;
  width: 35px;
  height: 35px;
  margin-bottom: 1rem;
  align-items: center;
  justify-content: center;
  color: #bde9ff;
  background: rgba(83, 156, 255, 0.09);
  border: 1px solid rgba(105, 184, 255, 0.18);
  border-radius: 11px;
  font-size: 0.68rem;
  font-weight: 850;
}

.guide-card strong {
  font-family: var(--font-sans);
  font-size: 1rem;
}

.guide-card > span:last-child {
  margin-top: 0.35rem;
  color: var(--paper-faint);
  font-size: 0.75rem;
}

.guide-section {
  padding-block: 1.6rem;
  border-top: 1px solid var(--line);
}

.guide-section:target {
  padding-block: clamp(2.6rem, 4.5vw, 4rem);
}

.guide-full {
  display: none;
}

.guide-section:target .guide-full {
  display: block;
}

.guide-section:target .guide-open-link {
  display: none;
}

.guide-preview > p {
  max-width: 680px;
  margin: 0.8rem 0 0;
  color: var(--paper-muted);
}

.guide-section:not(:target) .guide-index {
  position: static;
}

.guide-section:nth-of-type(even) {
  background: rgba(68, 91, 174, 0.035);
}

.guide-layout {
  display: grid;
  max-width: 920px;
  margin-inline: auto;
  align-items: start;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2.25rem);
}

.guide-index {
  position: sticky;
  top: 110px;
  display: grid;
  padding: 0.9rem;
  background: rgba(14, 23, 50, 0.7);
  border: 1px solid var(--line);
  border-radius: 16px;
  text-align: center;
}

.guide-index span {
  color: var(--paper-faint);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.guide-index strong {
  margin-top: 0.25rem;
  color: #9ddcff;
  font-family: var(--font-sans);
  font-size: 1.4rem;
}

.guide-copy > p {
  max-width: 700px;
  margin-top: 1rem;
  color: var(--paper-muted);
  font-size: 1.05rem;
}

.guide-copy > h3 {
  margin-top: 2.4rem;
}

.step-list {
  padding: 0;
  margin: 2rem 0;
  counter-reset: guide-step;
  list-style: none;
}

.step-list li {
  display: grid;
  padding: 1.05rem 0;
  margin: 0;
  align-items: start;
  border-bottom: 1px solid var(--line);
  counter-increment: guide-step;
  grid-template-columns: 44px 1fr;
  gap: 1rem;
}

.step-list li::before {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  color: #d9efff;
  content: counter(guide-step);
  background: rgba(72, 154, 255, 0.1);
  border: 1px solid rgba(106, 187, 255, 0.2);
  border-radius: 11px;
  font-size: 0.7rem;
  font-weight: 850;
}

.step-list strong,
.step-list span {
  display: block;
}

.step-list span {
  margin-top: 0.28rem;
  color: #b8c3e0;
  font-size: 0.88rem;
}

.compact-steps {
  margin-top: 1rem;
}

.method-grid {
  display: grid;
  margin: 2rem 0;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.method-grid.two-up {
  grid-template-columns: 1fr 1fr;
}

.method-grid article {
  padding: 1.2rem;
  background: rgba(17, 26, 55, 0.68);
  border: 1px solid var(--line);
  border-radius: 17px;
}

.method-grid h3 {
  margin-top: 0.85rem;
  font-size: 1.15rem;
}

.method-grid p {
  margin-top: 0.6rem;
  color: var(--paper-muted);
  font-size: 0.82rem;
}

.compact-faq {
  margin-top: 2rem;
}

.support-route {
  margin-top: 1.5rem;
  color: var(--paper-muted);
}

/* Tutorials */
.lesson-map-row {
  display: grid;
  padding: 0.85rem 0;
  align-items: center;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 36px 1fr;
  gap: 0.8rem;
}

.lesson-map-row:last-child {
  border-bottom: 0;
}

.lesson-map-row > span {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  color: #d8e9ff;
  background: rgba(91, 135, 255, 0.1);
  border: 1px solid rgba(125, 168, 255, 0.2);
  border-radius: 10px;
  font-size: 0.68rem;
  font-weight: 850;
}

.lesson-map-row.active > span {
  color: #fff;
  background: linear-gradient(135deg, #3d98ff, #6e71fa);
}

.lesson-map-row strong,
.lesson-map-row small {
  display: block;
}

.lesson-map-row small {
  margin-top: 0.1rem;
  color: var(--paper-faint);
}

.tutorial-chooser {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1rem;
}

.tutorial-card {
  padding: clamp(1.4rem, 4vw, 2.5rem);
  background: linear-gradient(145deg, rgba(18, 28, 57, 0.82), rgba(8, 14, 31, 0.82));
  border: 1px solid var(--line);
  border-radius: 24px;
}

.tutorial-card.featured {
  background:
    radial-gradient(circle at 90% 0, rgba(83, 178, 255, 0.18), transparent 20rem),
    linear-gradient(145deg, rgba(28, 47, 92, 0.92), rgba(9, 16, 37, 0.92));
  border-color: rgba(125, 179, 255, 0.26);
}

.tutorial-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--paper-faint);
  font-size: 0.72rem;
}

.tutorial-card h3 {
  margin-top: 2rem;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.tutorial-card > p {
  margin-top: 0.8rem;
  color: var(--paper-muted);
}

.chapter-mini-list {
  columns: 2;
  margin-top: 1.4rem;
  color: #c8d2ed;
  font-size: 0.8rem;
}

.chapter-list {
  display: grid;
  max-width: 920px;
  margin-inline: auto;
  gap: 0;
}

.chapter-item {
  display: grid;
  padding: clamp(1.25rem, 2.8vw, 1.85rem) 0;
  border-top: 1px solid var(--line);
  grid-template-columns: 64px minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2rem);
}

.chapter-item:last-child {
  border-bottom: 1px solid var(--line);
}

.chapter-badge {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  color: #dff4ff;
  background: rgba(74, 156, 255, 0.1);
  border: 1px solid rgba(111, 190, 255, 0.22);
  border-radius: 15px;
  font-weight: 850;
}

.chapter-copy h3 {
  margin-top: 0.55rem;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
}

.chapter-copy p {
  margin-top: 0.7rem;
  color: var(--paper-muted);
}

.chapter-check {
  display: block;
  color: #a9e5cf;
  font-size: 0.78rem;
  font-weight: 700;
}

.lesson-feature.reverse > div:first-child {
  order: 2;
}

.photo-lesson-demo {
  min-height: 390px;
  margin-top: 0;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.photo-lesson-overlay {
  font-size: 0.84rem;
}

.review-lane {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.review-lane article {
  min-height: 230px;
  padding: 1.4rem;
  background: rgba(15, 24, 51, 0.74);
  border: 1px solid var(--line);
}

.review-lane article:first-child {
  border-radius: 20px 0 0 20px;
}

.review-lane article:last-child {
  border-radius: 0 20px 20px 0;
}

.review-lane article + article {
  border-left: 0;
}

.review-lane article > span {
  color: #77d8f5;
  font-size: 0.72rem;
  font-weight: 850;
}

.review-lane h3 {
  margin-top: 2.2rem;
}

.review-lane p {
  margin-top: 0.65rem;
  color: var(--paper-muted);
  font-size: 0.84rem;
}

.comparison-stack {
  display: grid;
  margin-top: 1.5rem;
  gap: 0.75rem;
}

.comparison-stack article {
  padding: 1.1rem;
  background: rgba(15, 24, 51, 0.68);
  border: 1px solid var(--line);
  border-radius: 15px;
}

.comparison-stack h3 {
  margin-top: 0.8rem;
  font-size: 1.15rem;
}

.comparison-stack p {
  margin: 0.45rem 0 0;
  font-size: 0.82rem;
}

.continuity-diagram {
  display: grid;
  min-height: 360px;
  padding: 2rem;
  align-content: center;
  justify-items: center;
  background:
    radial-gradient(circle at 50% 50%, rgba(83, 171, 255, 0.18), transparent 16rem),
    rgba(10, 17, 38, 0.82);
  border: 1px solid rgba(112, 190, 255, 0.2);
  border-radius: 28px;
  gap: 0.65rem;
}

.continuity-diagram span {
  min-width: 180px;
  padding: 0.8rem 1rem;
  color: #e8f4ff;
  background: rgba(36, 69, 124, 0.46);
  border: 1px solid rgba(122, 190, 255, 0.25);
  border-radius: 13px;
  font-weight: 780;
  text-align: center;
}

.continuity-diagram i {
  color: #6eddf1;
  font-style: normal;
  font-size: 1.2rem;
}

/* FAQ */
.faq-topic-links {
  display: flex;
  margin-top: 1.7rem;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.faq-topic-links a {
  padding: 0.42rem 0.66rem;
  color: #c8d5f2;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.73rem;
  font-weight: 700;
  text-decoration: none;
}

.faq-layout {
  display: block;
  max-width: 860px;
  margin-inline: auto;
  align-items: start;
}

.faq-sidebar {
  position: sticky;
  top: 110px;
  padding: 1.4rem;
  background: rgba(14, 22, 47, 0.72);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.faq-sidebar p {
  color: var(--paper-muted);
  font-size: 0.85rem;
}

.faq-sidebar .button {
  width: 100%;
  margin-top: 0.6rem;
}

.faq-group {
  padding-bottom: 3rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--line);
}

.faq-group h2 {
  margin: 0.55rem 0 1.4rem;
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
}

.faq-group details + details {
  margin-top: 0.75rem;
}

.faq-cta {
  text-align: left;
}

.faq-cta h2,
.faq-cta p {
  margin-inline: 0;
}

/* Support */
.support-summary .check-list {
  margin-bottom: 1rem;
}

.support-boundary {
  display: grid;
  padding: 1rem;
  background: rgba(3, 9, 22, 0.52);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.support-boundary span {
  margin-top: 0.2rem;
  color: var(--paper-faint);
  font-size: 0.75rem;
}

.link-card-grid {
  grid-template-columns: repeat(3, 1fr);
}

.link-card {
  min-height: 0;
}

.link-card strong {
  font-family: var(--font-sans);
  font-size: 1.3rem;
}

.link-card p {
  margin-top: 0.6rem;
  color: var(--paper-muted);
  font-size: 0.85rem;
}

.link-card > span:last-child {
  margin-top: auto;
  color: #8ecbff;
  font-size: 0.76rem;
  font-weight: 760;
}

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

.support-number {
  margin-bottom: 1.6rem;
}

.contact-panel-stacked {
  grid-template-columns: 1fr;
}

.contact-option h3 {
  margin-top: 0.8rem;
  font-size: clamp(1rem, 2vw, 1.25rem);
  overflow-wrap: anywhere;
}

@media (max-width: 1060px) {
  .guide-nav-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .support-grid-four {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 940px) {
  .home-hero .hero-grid,
  .page-hero-grid,
  .evidence-story,
  .feature-showcase,
  .lesson-feature,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .home-hero .hero-copy {
    text-align: left;
  }

  .home-hero .hero h1,
  .home-hero .hero-copy > p {
    margin-inline: 0;
  }

  .home-hero .hero .eyebrow,
  .home-hero .hero .button-row,
  .home-hero .hero .trust-row {
    justify-content: flex-start;
  }

  .statement-grid {
    grid-template-columns: auto 1fr;
  }

  .statement-grid > p {
    grid-column: 2;
    margin-top: 0;
  }

  .split-heading {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .stage-flow,
  .review-lane {
    grid-template-columns: 1fr 1fr;
    gap: 1px;
  }

  .stage-node,
  .stage-node:first-child,
  .stage-node:last-child,
  .review-lane article,
  .review-lane article:first-child,
  .review-lane article:last-child {
    border: 1px solid var(--line);
    border-radius: 0;
  }

  .stage-node:nth-child(1),
  .review-lane article:nth-child(1) {
    border-radius: 20px 0 0;
  }

  .stage-node:nth-child(2),
  .review-lane article:nth-child(2) {
    border-radius: 0 20px 0 0;
  }

  .stage-node:nth-child(3),
  .review-lane article:nth-child(3) {
    border-radius: 0 0 0 20px;
  }

  .stage-node:nth-child(4),
  .review-lane article:nth-child(4) {
    border-radius: 0 0 20px;
  }

  .stage-node::after {
    display: none;
  }

  .story-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .story-card-wide {
    grid-column: span 2;
  }

  .footer-grid-wide {
    grid-template-columns: 1.25fr repeat(3, 1fr);
  }

  .record-stack {
    width: min(100%, 520px);
    margin-inline: auto;
  }

  .guide-nav-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .faq-layout {
    grid-template-columns: 1fr;
  }

  .faq-sidebar {
    position: static;
  }

  .lesson-feature.reverse > div:first-child {
    order: 0;
  }
}

@media (max-width: 760px) {
  .header-inner {
    padding-block: 0.65rem;
    flex-wrap: wrap;
  }

  .header-inner .brand span {
    display: inline;
  }

  .site-nav {
    width: 100%;
    padding-bottom: 0.1rem;
    margin-left: 0;
    overflow-x: auto;
    justify-content: flex-start;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav a {
    padding: 0.48rem 0.65rem;
    font-size: 0.8rem;
  }

  .home-hero {
    padding-top: 3rem;
  }

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

  .statement-grid > p {
    grid-column: 1;
  }

  .statement-grid .section-index {
    margin-bottom: 0.6rem;
  }

  .stage-flow,
  .story-grid,
  .story-grid.three-up,
  .boundary-grid,
  .privacy-facts,
  .tutorial-chooser,
  .review-lane,
  .method-grid,
  .method-grid.two-up,
  .link-card-grid,
  .support-grid-four {
    grid-template-columns: 1fr;
  }

  .stage-node,
  .stage-node:first-child,
  .stage-node:last-child,
  .stage-node:nth-child(1),
  .stage-node:nth-child(2),
  .stage-node:nth-child(3),
  .stage-node:nth-child(4),
  .review-lane article,
  .review-lane article:first-child,
  .review-lane article:last-child,
  .review-lane article:nth-child(1),
  .review-lane article:nth-child(2),
  .review-lane article:nth-child(3),
  .review-lane article:nth-child(4) {
    border: 1px solid var(--line);
    border-radius: 18px;
  }

  .stage-node + .stage-node,
  .review-lane article + article {
    margin-top: 0.75rem;
  }

  .story-card-wide {
    grid-column: span 1;
  }

  .footer-grid-wide {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .journey-row {
    grid-template-columns: 46px 1fr;
  }

  .journey-points {
    grid-column: 2;
  }

  .guide-layout {
    grid-template-columns: 1fr;
  }

  .guide-index {
    position: static;
    width: 78px;
  }

  .chapter-mini-list {
    columns: 1;
  }

  .chapter-item {
    grid-template-columns: 52px 1fr;
  }
}

@media (max-width: 540px) {
  .home-hero h1 {
    font-size: clamp(2.7rem, 14vw, 4rem);
  }

  .workflow-preview {
    padding: 0.85rem;
    border-radius: 24px;
    transform: none;
  }

  .preview-photo {
    min-height: 230px;
  }

  .preview-status {
    display: none;
  }

  .guide-nav-grid {
    grid-template-columns: 1fr;
  }

  .guide-card {
    min-height: 0;
  }

  .footer-grid-wide {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: 1;
  }

  .journey-row {
    grid-template-columns: 1fr;
  }

  .journey-points {
    grid-column: 1;
  }

  .record-stack {
    min-height: 290px;
  }

  .record-card {
    min-height: 155px;
  }

  .record-card-front {
    top: 118px;
  }

  .chapter-item {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .photo-lesson-demo,
  .continuity-diagram {
    min-height: 300px;
  }
}

@media print {
  .workflow-preview,
  .record-stack,
  .report-control-card,
  .document-demo,
  .lesson-map,
  .photo-lesson-demo,
  .continuity-diagram,
  .guide-index,
  .faq-sidebar {
    display: none !important;
  }

  .evidence-story,
  .feature-showcase,
  .lesson-feature,
  .contact-section,
  .page-hero-grid,
  .guide-layout,
  .faq-layout {
    display: block;
  }
}

/* Validated product screenshots */
.product-proof-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 20%, rgba(77, 164, 255, 0.1), transparent 27rem),
    rgba(58, 80, 158, 0.035);
  border-block: 1px solid var(--line);
}

.screenshot-showcase {
  display: grid;
  align-items: start;
  justify-content: center;
  gap: clamp(1.5rem, 5vw, 4rem);
}

.screenshot-showcase-pair {
  grid-template-columns: repeat(2, minmax(260px, 390px));
}

.screenshot-card,
.guide-screenshot {
  min-width: 0;
  margin: 0;
}

.screenshot-card-offset {
  transform: none;
}

.screen-frame {
  width: 100%;
  padding: 9px;
  overflow: hidden;
  background: linear-gradient(155deg, #4c5772, #13192d 34%, #03050b 88%);
  border: 1px solid rgba(211, 222, 255, 0.34);
  border-radius: 42px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.38), 0 0 0 8px rgba(83, 120, 255, 0.035);
}

.screen-frame-dark {
  background: linear-gradient(155deg, #393f51, #0b0e17 42%, #010205 90%);
}

.screen-frame img {
  display: block;
  width: 100%;
  height: auto;
  background: #f2f2f7;
  border-radius: 34px;
}

.screen-frame-dark img {
  background: #000;
}

.screenshot-card figcaption,
.guide-screenshot figcaption {
  display: grid;
  max-width: 360px;
  padding: 1.25rem 0.4rem 0;
  gap: 0.42rem;
}

.screenshot-card figcaption strong,
.guide-screenshot figcaption strong {
  color: #e9efff;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.28;
}

.product-screen-pair {
  margin-top: clamp(3.5rem, 7vw, 6rem);
}

.guide-screenshot {
  display: grid;
  max-width: 760px;
  margin: 2.4rem 0;
  align-items: center;
  grid-template-columns: minmax(240px, 320px) minmax(220px, 1fr);
  gap: clamp(1.5rem, 5vw, 3rem);
}

.guide-screenshot .screen-frame {
  border-radius: 34px;
}

.guide-screenshot .screen-frame img {
  border-radius: 27px;
}

.guide-screenshot figcaption {
  padding: 0;
}

.guide-screenshot figcaption strong {
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
}

@media (max-width: 760px) {
  .screenshot-showcase-pair {
    grid-template-columns: repeat(2, minmax(220px, 310px));
    justify-content: start;
    padding: 0 14px 2rem;
    margin-inline: -14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .screenshot-showcase-pair::-webkit-scrollbar {
    display: none;
  }

  .screenshot-card {
    scroll-snap-align: start;
  }

  .screenshot-card-offset {
    transform: none;
  }

  .screen-frame {
    padding: 7px;
    border-radius: 34px;
  }

  .screen-frame img {
    border-radius: 28px;
  }

  .guide-screenshot {
    grid-template-columns: minmax(210px, 300px) 1fr;
  }
}

@media (max-width: 560px) {
  .guide-screenshot {
    max-width: 310px;
    grid-template-columns: 1fr;
  }

  .guide-screenshot figcaption {
    padding-inline: 0.3rem;
  }
}

@media print {
  .screenshot-showcase,
  .guide-screenshot {
    display: none !important;
  }
}

/* v4: business-category positioning and responsive navigation */
body {
  overflow-x: clip;
}

.header-inner {
  position: relative;
}

.mobile-nav {
  display: none;
  margin-left: auto;
  background: transparent;
  border: 0;
}

.mobile-nav[open] {
  background: transparent;
  border-color: transparent;
}

.mobile-nav summary {
  display: inline-flex;
  min-width: 92px;
  min-height: 46px;
  padding: 0.65rem 0.8rem;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  color: #f4f7ff;
  background: rgba(126, 158, 255, 0.09);
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 780;
  cursor: pointer;
}

.mobile-nav summary::after {
  display: none;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  width: 18px;
  height: 2px;
  content: "";
  background: currentColor;
  border-radius: 99px;
  transition: transform 160ms ease, opacity 160ms ease;
}

.menu-icon {
  position: relative;
}

.menu-icon::before {
  position: absolute;
  top: -6px;
}

.menu-icon::after {
  position: absolute;
  top: 6px;
}

.mobile-nav[open] .menu-icon {
  background: transparent;
}

.mobile-nav[open] .menu-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.mobile-nav[open] .menu-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.mobile-nav nav {
  position: absolute;
  top: calc(100% + 0.55rem);
  right: 0;
  display: grid;
  width: min(330px, calc(100vw - 28px));
  padding: 0.55rem;
  z-index: 110;
  background: rgba(8, 13, 31, 0.98);
  border: 1px solid rgba(166, 190, 255, 0.28);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  grid-template-columns: 1fr 1fr;
  gap: 0.25rem;
}

.mobile-nav nav a {
  display: flex;
  min-height: 48px;
  padding: 0.72rem 0.8rem;
  align-items: center;
  color: #d6def2;
  border-radius: 11px;
  font-size: 0.87rem;
  font-weight: 720;
  text-decoration: none;
}

.mobile-nav nav a:hover,
.mobile-nav nav a[aria-current="page"] {
  color: #fff;
  background: rgba(105, 154, 255, 0.12);
}

.home-hero h1 {
  max-width: 13ch;
  margin-inline: auto;
  font-size: clamp(3.25rem, 5vw, 4.8rem);
}

.home-hero .hero-copy {
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
}

.home-hero .hero-copy > p {
  max-width: 760px;
  margin-inline: auto;
}

.home-hero .eyebrow,
.home-hero .button-row,
.home-hero .trust-row {
  justify-content: center;
}

.product-hero .container {
  max-width: 960px;
  text-align: center;
}

.product-hero h1,
.product-hero p {
  margin-inline: auto;
}

.product-hero .button-row,
.product-hero .meta-row {
  justify-content: center;
}

.preview-example {
  position: relative;
  margin-bottom: 0.8rem;
  color: #9fb3e8;
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.trade-section {
  background:
    radial-gradient(circle at 18% 8%, rgba(154, 140, 255, 0.09), transparent 26rem),
    rgba(67, 90, 178, 0.035);
  border-block: 1px solid var(--line);
}

.trade-archetype-grid,
.trade-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.trade-archetype-card,
.trade-detail-card {
  display: grid;
  min-width: 0;
  padding: clamp(1.25rem, 3vw, 1.8rem);
  background: linear-gradient(145deg, rgba(19, 30, 62, 0.86), rgba(7, 13, 30, 0.86));
  border: 1px solid var(--line);
  border-radius: 22px;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
}

.trade-archetype-card-wide,
.trade-detail-card-featured {
  grid-column: span 2;
}

.trade-archetype-card-wide {
  grid-template-columns: auto minmax(0, 0.8fr) minmax(280px, 1.2fr);
}

.trade-detail-card {
  display: block;
}

.trade-detail-card-featured {
  background:
    radial-gradient(circle at 88% 0, rgba(83, 170, 255, 0.14), transparent 22rem),
    linear-gradient(145deg, rgba(24, 41, 81, 0.94), rgba(8, 15, 33, 0.94));
  border-color: rgba(132, 181, 255, 0.28);
}

.trade-card-heading {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.trade-symbol {
  display: inline-flex;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  color: #dff3ff;
  background: linear-gradient(145deg, rgba(83, 156, 255, 0.17), rgba(154, 140, 255, 0.11));
  border: 1px solid rgba(127, 186, 255, 0.25);
  border-radius: 13px;
  font-size: 0.78rem;
  font-weight: 880;
}

.trade-archetype-card h3,
.trade-detail-card h3 {
  margin-top: 0.45rem;
}

.trade-archetype-card p,
.trade-detail-card > p {
  margin: 0.72rem 0 0;
  color: var(--paper-muted);
  font-size: 0.9rem;
}

.trade-list {
  display: flex;
  padding: 0;
  margin: 1.2rem 0 0;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 0.5rem;
  list-style: none;
  grid-column: 2;
}

.trade-archetype-card-wide .trade-list {
  grid-column: 3;
  margin-top: 0;
}

.trade-list li {
  padding: 0.42rem 0.65rem;
  margin: 0;
  color: #d0daf1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.75rem;
  line-height: 1.3;
}

.trade-detail-card .trade-list {
  grid-column: auto;
}

.trade-section .callout {
  margin-top: 1.2rem;
}

.label,
.card-kicker,
.preview-example,
.preview-status,
.preview-overlay,
.stage-number,
.journey-number,
.guide-icon,
.support-number,
.tutorial-meta,
.chapter-check,
.faq-topic-links a,
.toc a,
.meta-pill {
  font-size: 0.75rem;
}

.toc a,
.faq-topic-links a,
.footer-links a {
  min-height: 44px;
  align-items: center;
}

.toc a,
.faq-topic-links a {
  display: flex;
}

.workflow-route-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.7rem;
}

.workflow-route-grid a {
  display: grid;
  min-height: 120px;
  padding: 1rem;
  align-content: space-between;
  color: #eef4ff;
  background: linear-gradient(145deg, rgba(20, 31, 64, 0.8), rgba(8, 14, 31, 0.8));
  border: 1px solid var(--line);
  border-radius: 17px;
  text-decoration: none;
}

.workflow-route-grid a:hover {
  color: #fff;
  border-color: rgba(105, 184, 255, 0.38);
  transform: translateY(-2px);
}

.workflow-route-grid span {
  color: #89d7ff;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.workflow-route-grid strong {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.32;
}

@media (max-width: 1080px) {
  .workflow-route-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-grid-wide {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer-grid-wide > :last-child {
    grid-column: 2;
  }
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: 88px;
  }

  .header-inner {
    min-height: 72px;
    padding-block: 0.65rem;
    flex-wrap: nowrap;
  }

  .header-inner .brand span,
  .brand span {
    display: inline;
  }

  .site-nav {
    display: none;
  }

  .mobile-nav {
    display: block;
  }

  .home-hero h1,
  .home-hero .hero-copy > p {
    margin-inline: 0;
  }

  .home-hero .eyebrow,
  .home-hero .button-row,
  .home-hero .trust-row {
    justify-content: flex-start;
  }

  .product-hero .container {
    text-align: left;
  }

  .product-hero h1,
  .product-hero p {
    margin-inline: 0;
  }

  .product-hero .button-row,
  .product-hero .meta-row {
    justify-content: flex-start;
  }

  .trade-archetype-card-wide {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .trade-archetype-card-wide .trade-list {
    grid-column: 2;
    margin-top: 1.2rem;
  }

  .footer-grid-wide {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid-wide > :last-child {
    grid-column: auto;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (min-width: 901px) and (max-width: 1080px) {
  .home-hero .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.74fr);
    gap: clamp(2rem, 4vw, 3.5rem);
  }

  .home-hero h1 {
    font-size: clamp(3.2rem, 6.2vw, 4.9rem);
  }
}

@media (max-width: 700px) {
  .header-inner,
  .container {
    width: min(calc(100% - 24px), var(--content));
  }

  .header-inner {
    min-height: 68px;
  }

  .section {
    padding-block: clamp(2.8rem, 11vw, 3.8rem);
  }

  .section.compact {
    padding-block: 2.35rem;
  }

  .guide-section {
    padding-block: 1.35rem;
  }

  .guide-section:target {
    padding-block: 2.8rem;
  }

  .home-hero {
    padding-top: 3.4rem;
  }

  .home-hero h1,
  .page-hero h1 {
    max-width: none;
    font-size: clamp(2.55rem, 12vw, 3.75rem);
  }

  .hero-copy > p,
  .page-hero p,
  .section-heading p {
    font-size: 1rem;
  }

  .trade-archetype-grid,
  .trade-detail-grid,
  .workflow-route-grid {
    grid-template-columns: 1fr;
  }

  .workflow-route-grid a {
    min-height: 112px;
  }

  .trade-archetype-card-wide,
  .trade-detail-card-featured {
    grid-column: auto;
  }

  .trade-archetype-card,
  .trade-archetype-card-wide {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .trade-archetype-card .trade-list,
  .trade-archetype-card-wide .trade-list {
    grid-column: 1 / -1;
    margin-top: 0.35rem;
  }

  .screenshot-showcase-pair {
    width: 100%;
    max-width: 360px;
    padding: 0;
    margin-inline: auto;
    overflow: visible;
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .screenshot-card-offset {
    transform: none;
  }

  .guide-screenshot {
    max-width: 340px;
    margin-inline: auto;
    grid-template-columns: 1fr;
  }

  .guide-screenshot figcaption {
    padding-inline: 0.3rem;
  }

  .footer-grid-wide {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-links a {
    display: flex;
  }
}

@media (max-width: 520px) {
  .button-row {
    align-items: stretch;
    flex-direction: column;
  }

  .button-row .button {
    width: 100%;
  }

  .mobile-nav nav {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 460px) {
  .mobile-nav summary {
    min-width: 48px;
  }

  .mobile-nav summary > span:first-child {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .mobile-nav nav {
    grid-template-columns: 1fr;
  }

  .footer-grid-wide,
  .footer-brand {
    grid-template-columns: 1fr;
    grid-column: auto;
  }

  .preview-top {
    align-items: flex-start;
  }

  .trade-archetype-card,
  .trade-archetype-card-wide {
    grid-template-columns: 1fr;
  }

  .trade-archetype-card .trade-list,
  .trade-archetype-card-wide .trade-list {
    grid-column: auto;
  }
}
