/* =========================================================
   同窗汇 · 高校校友服务平台介绍站点
   学术深蓝 / 象牙白 / 鎏金 —— 校史馆式的编辑排版
   ========================================================= */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body,
h1,
h2,
h3,
h4,
p,
ul,
ol,
li,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ---------- Tokens ---------- */
:root {
  --navy-950: #040d19;
  --navy-900: #071426;
  --navy-850: #081a2f;
  --navy-800: #0a1b33;
  --navy-700: #102744;
  --navy-600: #17355c;

  --ivory-50: #fcfaf4;
  --ivory-100: #f6f1e7;
  --ivory-200: #ece4d4;
  --ivory-300: #ddd2bd;

  --gold: #c6a15b;
  --gold-bright: #dcbb7c;
  --gold-deep: #9c7b3e;

  --ink: #101a2b;
  --ink-soft: #2b3a4f;
  --muted-light: #5b6574;
  --muted-dark: #94a4ba;

  --line-light: rgba(16, 26, 43, 0.12);
  --line-dark: rgba(246, 241, 231, 0.15);

  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
  --mono: "SFMono-Regular", "Cascadia Code", "Consolas", "Liberation Mono", monospace;

  --wrap: 1180px;
  --radius: 3px;
  --brand-gradient: linear-gradient(135deg, #c6a15b 0%, #e0c48c 48%, #b28b45 100%);
}

/* ---------- Base ---------- */
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--navy-900);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  color: var(--navy-900);
  background: var(--gold-bright);
}

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 18px;
  font-size: 14px;
  color: var(--navy-900);
  background: var(--gold-bright);
  transform: translateY(-180%);
  transition: transform 0.2s ease;
}

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

/* ---------- Section theming ---------- */
.section {
  position: relative;
  padding: 96px 0;
  background: var(--bg);
  color: var(--fg);
}

.section--dark {
  --bg: var(--navy-900);
  --fg: var(--ivory-100);
  --heading: var(--ivory-50);
  --muted: var(--muted-dark);
  --line: var(--line-dark);
  --card: rgba(255, 255, 255, 0.028);
  --card-hover: rgba(255, 255, 255, 0.05);
  --card-border: rgba(246, 241, 231, 0.12);
  --accent: var(--gold-bright);
}

.section--light {
  --bg: var(--ivory-100);
  --fg: var(--ink-soft);
  --heading: var(--ink);
  --muted: var(--muted-light);
  --line: var(--line-light);
  --card: rgba(255, 255, 255, 0.55);
  --card-hover: #fffdf8;
  --card-border: rgba(16, 26, 43, 0.1);
  --accent: var(--gold-deep);
}

.section--dark + .section--dark {
  border-top: 1px solid var(--line-dark);
}

.section--light + .section--light {
  border-top: 1px solid var(--line-light);
}

.section--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 55% at 12% 0%, rgba(198, 161, 91, 0.07), transparent 70%),
    radial-gradient(45% 45% at 100% 100%, rgba(23, 53, 92, 0.35), transparent 70%);
}

.section > .wrap {
  position: relative;
  z-index: 1;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.01em;
  color: var(--heading, var(--ink));
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.9rem);
  line-height: 1.16;
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.65rem);
}

h3 {
  font-size: clamp(1.15rem, 1.7vw, 1.35rem);
}

p {
  max-width: 68ch;
}

.lede {
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.85;
  color: var(--muted);
}

.prose p + p {
  margin-top: 1em;
}

strong {
  font-weight: 600;
  color: var(--heading, var(--ink));
}

.hl {
  color: var(--accent, var(--gold-deep));
}

.serif-num {
  font-family: var(--serif);
  font-variant-numeric: tabular-nums;
}

/* Eyebrow with numbered index */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent, var(--gold-deep));
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: 0.65;
}

.eyebrow__no {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  opacity: 0.85;
}

.section-head {
  max-width: 760px;
  margin-bottom: 52px;
}

.section-head p {
  margin-top: 18px;
}

.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head--center .eyebrow {
  justify-content: center;
}

.section-head--center .eyebrow::after {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: 0.65;
}

.section-head--center .lede {
  margin-left: auto;
  margin-right: auto;
}

.rule {
  height: 1px;
  background: var(--line, var(--line-dark));
  border: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 26px;
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.btn svg {
  width: 15px;
  height: 15px;
  flex: none;
}

.btn--gold {
  color: var(--navy-900);
  background: var(--brand-gradient);
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 14px 30px -18px rgba(198, 161, 91, 0.85);
}

.btn--gold:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #d8b876 0%, #eed9a8 50%, #c49c52 100%);
}

.btn--ghost {
  color: var(--ivory-100);
  border-color: rgba(246, 241, 231, 0.28);
}

.btn--ghost:hover {
  border-color: var(--gold-bright);
  color: var(--gold-bright);
  transform: translateY(-2px);
}

.btn--outline {
  color: var(--ink);
  border-color: rgba(16, 26, 43, 0.22);
}

.btn--outline:hover {
  border-color: var(--gold-deep);
  color: var(--gold-deep);
  transform: translateY(-2px);
}

.btn--sm {
  min-height: 40px;
  padding: 0 20px;
  font-size: 0.85rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--accent, var(--gold-deep));
  border-bottom: 1px solid transparent;
  transition: gap 0.2s ease, border-color 0.2s ease;
}

.link-arrow:hover {
  gap: 12px;
  border-color: currentColor;
}

.link-arrow svg {
  width: 14px;
  height: 14px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 20, 38, 0.82);
  border-bottom: 1px solid rgba(246, 241, 231, 0.1);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.brand__mark {
  width: 34px;
  height: 34px;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__name {
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ivory-50);
}

.brand__sub {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-bright);
  opacity: 0.9;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links a {
  position: relative;
  padding: 6px 0;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  color: rgba(246, 241, 231, 0.74);
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ivory-50);
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 8px 4px;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  color: var(--ivory-100);
}

.nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  width: 20px;
}

.nav-toggle__bars span {
  height: 1.5px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  padding: 84px 0 90px;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  align-items: center;
  gap: 64px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  padding: 6px 14px 6px 10px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--gold-bright);
  border: 1px solid rgba(198, 161, 91, 0.34);
  border-radius: 999px;
  background: rgba(198, 161, 91, 0.07);
}

.hero__badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 0 4px rgba(198, 161, 91, 0.16);
}

.hero h1 {
  color: var(--ivory-50);
}

.hero h1 .hero__accent {
  display: block;
  color: var(--gold-bright);
}

.hero__lede {
  margin-top: 26px;
  max-width: 33em;
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  color: var(--muted-dark);
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 40px;
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid var(--line-dark);
}

.hero__fact {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero__fact dt {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-dark);
}

.hero__fact dd {
  font-family: var(--serif);
  font-size: 1.28rem;
  color: var(--ivory-50);
}

.hero__fact dd em {
  font-style: normal;
  font-size: 0.82rem;
  color: var(--muted-dark);
  margin-left: 4px;
}

/* ---------- Phone mockup ---------- */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero__visual::before {
  content: "";
  position: absolute;
  inset: 8% 4% 4%;
  border: 1px solid rgba(198, 161, 91, 0.2);
  border-radius: 50%;
  filter: blur(0.3px);
  transform: rotate(-8deg);
}

.hero__visual::after {
  content: "";
  position: absolute;
  inset: 16% 12% 12%;
  background: radial-gradient(circle, rgba(198, 161, 91, 0.16), transparent 68%);
  filter: blur(20px);
  z-index: 0;
}

.phone {
  position: relative;
  z-index: 1;
  width: min(302px, 82%);
  padding: 10px;
  border-radius: 42px;
  background: linear-gradient(165deg, #1b2c45, #071222 55%, #122238);
  border: 1px solid rgba(246, 241, 231, 0.16);
  box-shadow:
    0 60px 90px -50px rgba(0, 0, 0, 0.95),
    0 0 0 1px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transform: rotate(2deg);
}

.phone__screen {
  overflow: hidden;
  border-radius: 32px;
  background: #f4f6fa;
  color: #17202e;
  font-size: 11px;
  line-height: 1.4;
}

.phone__status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px 2px;
  font-size: 9px;
  font-weight: 600;
  color: #3b465a;
}

.phone__status-dots {
  display: inline-flex;
  gap: 3px;
}

.phone__status-dots i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
}

.phone__nav {
  padding: 10px 18px 22px;
  color: #fff;
  background: linear-gradient(135deg, #14355f 0%, #1f4f86 55%, #2a6aa8 100%);
}

.phone__nav-school {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 8.5px;
  letter-spacing: 0.06em;
  opacity: 0.85;
}

.phone__nav-title {
  margin-top: 12px;
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: 0.05em;
}

.phone__nav-sub {
  margin-top: 3px;
  font-size: 8px;
  letter-spacing: 0.18em;
  opacity: 0.7;
}

.phone__body {
  margin-top: -16px;
  padding: 0 12px 10px;
}

.phone__card {
  position: relative;
  overflow: hidden;
  padding: 13px 14px 14px;
  color: #f7f0e1;
  border-radius: 12px;
  background: linear-gradient(140deg, #1a2f4d, #0a1a30 62%, #173a5e);
  box-shadow: 0 12px 24px -14px rgba(7, 20, 38, 0.9);
}

.phone__card::after {
  content: "";
  position: absolute;
  right: -28px;
  top: -34px;
  width: 92px;
  height: 92px;
  border: 1px solid rgba(198, 161, 91, 0.38);
  border-radius: 50%;
}

.phone__card-label {
  font-size: 7.5px;
  letter-spacing: 0.22em;
  color: #dcbb7c;
}

.phone__card-name {
  margin-top: 6px;
  font-family: var(--serif);
  font-size: 14px;
}

.phone__card-meta {
  margin-top: 2px;
  font-size: 8px;
  color: rgba(247, 240, 225, 0.62);
}

.phone__card-no {
  display: inline-block;
  margin-top: 10px;
  padding: 2px 7px;
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.12em;
  color: #dcbb7c;
  border: 1px solid rgba(220, 187, 124, 0.4);
  border-radius: 2px;
}

.phone__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-top: 11px;
}

.phone__grid-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 9px 2px;
  font-size: 8px;
  color: #4a5568;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 3px 10px -8px rgba(23, 32, 46, 0.55);
}

.phone__grid-item svg {
  width: 15px;
  height: 15px;
  color: #1f4f86;
}

.phone__news {
  margin-top: 11px;
  padding: 9px 11px 10px;
  background: #fff;
  border-radius: 8px;
}

.phone__news-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 8.5px;
  font-weight: 600;
  color: #17202e;
}

.phone__news-head span:last-child {
  font-weight: 400;
  color: #9aa3b2;
}

.phone__news-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.phone__news-thumb {
  width: 30px;
  height: 24px;
  flex: none;
  border-radius: 4px;
  background: linear-gradient(135deg, #dfe7f2, #c3d3e6);
}

.phone__news-lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.phone__news-lines i {
  height: 4px;
  border-radius: 2px;
  background: #e6eaf1;
}

.phone__news-lines i:first-child {
  width: 92%;
  background: #cfd7e3;
}

.phone__news-lines i:last-child {
  width: 60%;
}

.phone__tabs {
  display: flex;
  justify-content: space-around;
  padding: 8px 8px 10px;
  font-size: 7.5px;
  color: #98a1b0;
  background: #fff;
  border-top: 1px solid #edf0f5;
}

.phone__tabs span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.phone__tabs span:first-child {
  color: #1f4f86;
  font-weight: 600;
}

.phone__tabs i {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: currentColor;
  opacity: 0.18;
}

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 60px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat {
  padding: 30px 26px 28px;
  background: var(--bg);
}

.stat__no {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  line-height: 1;
  color: var(--heading);
}

.stat__no span {
  font-size: 0.95rem;
  color: var(--accent);
  margin-left: 4px;
}

.stat__label {
  margin-top: 10px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* ---------- Grid & cards ---------- */
.grid {
  display: grid;
  gap: 22px;
}

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

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

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

.card {
  position: relative;
  padding: 30px 28px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    background-color 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  background: var(--card-hover);
  border-color: color-mix(in srgb, var(--accent) 48%, transparent);
}

.card__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 38%, transparent);
  border-radius: 2px;
  background: color-mix(in srgb, var(--accent) 7%, transparent);
}

.card__icon svg {
  width: 21px;
  height: 21px;
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--muted);
}

.card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
}

.tag {
  padding: 3px 9px;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.card__index {
  position: absolute;
  top: 26px;
  right: 26px;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  opacity: 0.6;
}

/* Pain list */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.pain {
  padding: 34px 32px;
  background: var(--bg);
}

.pain__no {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--accent);
}

.pain h3 {
  margin: 14px 0 10px;
  font-size: 1.18rem;
}

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

/* ---------- Architecture ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 64px;
  align-items: start;
}

.split--rev {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}

.split__aside {
  position: sticky;
  top: 108px;
}

.arch {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.arch__layer {
  position: relative;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 20px;
  padding: 22px 24px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-left: 2px solid var(--accent);
  border-radius: var(--radius);
}

.arch__label {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.arch__label strong {
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  color: var(--heading);
}

.arch__label span {
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
}

.arch__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-content: center;
}

.chip {
  padding: 5px 12px;
  font-size: 0.78rem;
  color: var(--fg);
  border: 1px solid var(--line);
  border-radius: 2px;
  background: color-mix(in srgb, var(--bg) 55%, transparent);
}

.arch__arrow {
  display: flex;
  justify-content: center;
  margin: -4px 0;
  color: var(--accent);
  opacity: 0.7;
}

.arch__arrow svg {
  width: 16px;
  height: 16px;
}

.arch__note {
  margin-top: 16px;
  font-size: 0.82rem;
  color: var(--muted);
}

/* Numbered layer list */
.number-list {
  display: flex;
  flex-direction: column;
  counter-reset: nl;
}

.number-list li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.number-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.number-list__no {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  padding-top: 4px;
}

.number-list h3 {
  font-size: 1.12rem;
  margin-bottom: 6px;
}

.number-list p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* ---------- Featured split (teaser) ---------- */
.feature-panel {
  padding: 38px 36px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
}

.feature-panel + .feature-panel {
  margin-top: 16px;
}

.feature-panel__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.feature-panel__head h3 {
  font-size: 1.18rem;
}

.feature-panel__head span {
  flex: none;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.feature-panel p {
  font-size: 0.92rem;
  color: var(--muted);
}

/* ---------- Scenarios ---------- */
.scenario {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 34px 30px 30px;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.scenario:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent) 50%, transparent);
}

.scenario__no {
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.5;
}

.scenario h3 {
  font-size: 1.14rem;
}

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

.scenario__list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 8px;
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  counter-reset: step;
  border-top: 1px solid var(--line);
}

.step {
  position: relative;
  padding: 30px 22px 26px 0;
  border-right: 1px solid var(--line);
}

.step:last-child {
  border-right: 0;
  padding-right: 0;
}

.step::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.step__no {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.step h3 {
  margin: 10px 0 8px;
  font-size: 1.02rem;
}

.step p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- FAQ ---------- */
.faq {
  border-top: 1px solid var(--line);
}

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

.faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 2px;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--heading);
  cursor: pointer;
  list-style: none;
}

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

.faq summary::after {
  content: "+";
  flex: none;
  font-family: var(--sans);
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1;
  color: var(--accent);
  transition: transform 0.25s ease;
}

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

.faq__body {
  padding: 0 2px 26px;
  max-width: 78ch;
  font-size: 0.93rem;
  line-height: 1.85;
  color: var(--muted);
}

.faq__body p + p {
  margin-top: 0.8em;
}

.faq__body ul {
  margin-top: 0.6em;
  padding-left: 0;
}

.faq__body li {
  position: relative;
  padding-left: 16px;
  margin-top: 0.4em;
}

.faq__body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 5px;
  height: 5px;
  border: 1px solid var(--accent);
  transform: rotate(45deg);
}

.faq-group {
  margin-top: 52px;
}

.faq-group:first-of-type {
  margin-top: 0;
}

.faq-group__title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 4px;
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.faq-group__title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

/* ---------- CTA ---------- */
.cta {
  position: relative;
  padding: 88px 0;
  overflow: hidden;
  background:
    radial-gradient(70% 100% at 50% 0%, rgba(198, 161, 91, 0.13), transparent 65%),
    var(--navy-950);
  color: var(--ivory-100);
  border-top: 1px solid var(--line-dark);
}

.cta::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -1px;
  width: min(560px, 70%);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.cta__inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.cta h2 {
  max-width: 16em;
  color: var(--ivory-50);
}

.cta p {
  margin-top: 14px;
  max-width: 34em;
  font-size: 0.95rem;
  color: var(--muted-dark);
}

/* ---------- Page hero ---------- */
.page-hero {
  padding: 64px 0 72px;
  border-bottom: 1px solid var(--line-dark);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--muted-dark);
}

.breadcrumb a:hover {
  color: var(--gold-bright);
}

.breadcrumb span {
  opacity: 0.45;
}

.page-hero h1 {
  max-width: 20em;
  font-size: clamp(2rem, 3.6vw, 3.1rem);
}

.page-hero .lede {
  margin-top: 20px;
  max-width: 48em;
}

.page-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line-dark);
  font-size: 0.8rem;
  color: var(--muted-dark);
}

.page-hero__meta strong {
  color: var(--gold-bright);
  font-weight: 600;
}

/* ---------- Feature rows ---------- */
.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 54px;
  padding: 56px 0;
  border-top: 1px solid var(--line);
}

.feature-row:first-of-type {
  padding-top: 0;
  border-top: 0;
}

.feature-row__aside h2,
.feature-row__aside h3 {
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
}

.feature-row__aside .eyebrow {
  margin-bottom: 14px;
}

.feature-row__aside p {
  margin-top: 14px;
  font-size: 0.9rem;
  color: var(--muted);
}

.feature-row__body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.mini {
  padding: 22px 22px 20px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
}

.mini h4 {
  font-size: 0.98rem;
  margin-bottom: 6px;
  color: var(--heading);
}

.mini p {
  font-size: 0.84rem;
  line-height: 1.75;
  color: var(--muted);
}

.mini ul {
  margin-top: 10px;
}

.mini li {
  position: relative;
  padding-left: 14px;
  font-size: 0.82rem;
  color: var(--muted);
}

.mini li + li {
  margin-top: 4px;
}

.mini li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 5px;
  height: 5px;
  background: var(--accent);
  opacity: 0.6;
  transform: rotate(45deg);
}

/* ---------- Compare table ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 0.88rem;
}

caption {
  padding: 16px 20px;
  text-align: left;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

th,
td {
  padding: 16px 20px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

thead th {
  font-family: var(--serif);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--heading);
  background: color-mix(in srgb, var(--bg) 60%, transparent);
}

tbody tr:last-child td {
  border-bottom: 0;
}

tbody th {
  font-weight: 600;
  color: var(--heading);
  white-space: nowrap;
}

td.is-good {
  color: var(--accent);
}

.compare-note {
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--muted);
}

/* ---------- Customization ---------- */
.layers {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.layer {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 42px;
  padding: 40px 38px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-top: 2px solid var(--accent);
  border-radius: var(--radius);
}

.layer__head .layer__no {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--accent);
}

.layer__head h3 {
  margin-top: 10px;
  font-size: 1.35rem;
}

.layer__head p {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--muted);
}

.layer__body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 32px;
}

.layer__item h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.96rem;
  color: var(--heading);
}

.layer__item h4::before {
  content: "";
  width: 6px;
  height: 6px;
  border: 1px solid var(--accent);
  transform: rotate(45deg);
}

.layer__item p {
  margin-top: 6px;
  padding-left: 14px;
  font-size: 0.84rem;
  line-height: 1.7;
  color: var(--muted);
}

/* Palette demo */
.palette {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 22px;
}

.palette__card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.swatches {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}

.swatch {
  flex: 1;
  height: 64px;
  border-radius: 2px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.swatch--a {
  background: #1f4f86;
}

.swatch--b {
  background: #6f42c1;
}

.swatch--c {
  background: #f3f6fb;
}

.swatch--d {
  background: #17202e;
}

.swatches--warm .swatch--a {
  background: #8c2f2f;
}

.swatches--warm .swatch--b {
  background: #b5873f;
}

.swatches--warm .swatch--c {
  background: #f7f1e6;
}

.swatches--warm .swatch--d {
  background: #2a2018;
}

.swatches--green .swatch--a {
  background: #1f5c4a;
}

.swatches--green .swatch--b {
  background: #c6a15b;
}

.swatches--green .swatch--c {
  background: #f1f5f1;
}

.swatches--green .swatch--d {
  background: #14231e;
}

.code {
  overflow-x: auto;
  padding: 20px 22px;
  font-family: var(--mono);
  font-size: 0.8rem;
  line-height: 1.75;
  color: #cfd9e6;
  background: var(--navy-950);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  tab-size: 2;
}

.code .c {
  color: #6e8197;
}

.code .k {
  color: #dcbb7c;
}

.code .s {
  color: #9fd0b0;
}

.phone-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(80% 80% at 50% 20%, rgba(198, 161, 91, 0.08), transparent 70%),
    var(--card);
}

.preview-screen {
  width: 240px;
  overflow: hidden;
  border-radius: 18px;
  border: 6px solid #16233a;
  background: #f3f6fb;
  box-shadow: 0 24px 45px -30px rgba(0, 0, 0, 0.7);
  font-size: 10px;
}

.preview-screen__top {
  padding: 12px 14px 24px;
  color: #fff;
  background: linear-gradient(135deg, #1f4f86, #2a6aa8);
}

.preview-screen__top small {
  display: block;
  font-size: 7px;
  letter-spacing: 0.16em;
  opacity: 0.75;
}

.preview-screen__top strong {
  display: block;
  margin-top: 4px;
  font-family: var(--serif);
  font-size: 13px;
  color: #fff;
}

.preview-screen__body {
  margin-top: -14px;
  padding: 0 10px 12px;
}

.preview-screen__card {
  padding: 12px;
  color: #f7f0e1;
  border-radius: 8px;
  background: linear-gradient(140deg, #1a2f4d, #0a1a30);
}

.preview-screen__card span {
  font-size: 7px;
  letter-spacing: 0.18em;
  color: #dcbb7c;
}

.preview-screen__card b {
  display: block;
  margin-top: 5px;
  font-family: var(--serif);
  font-size: 12px;
  font-weight: 600;
}

.preview-screen__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 9px;
}

.preview-screen__row i {
  height: 34px;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 2px 6px -5px rgba(0, 0, 0, 0.4);
}

/* ---------- Toggle table ---------- */
.toggle-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: var(--card);
  font-size: 0.88rem;
}

.toggle__name {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.toggle__name small {
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.switch {
  position: relative;
  flex: none;
  width: 34px;
  height: 18px;
  border-radius: 999px;
  background: var(--accent);
  opacity: 0.85;
}

.switch::after {
  content: "";
  position: absolute;
  top: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg);
}

/* ---------- Model cards ---------- */
.model {
  padding: 32px 30px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
}

.model__tag {
  display: inline-block;
  margin-bottom: 16px;
  padding: 3px 10px;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  border-radius: 999px;
}

.model h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.model p {
  font-size: 0.88rem;
  color: var(--muted);
}

.model ul {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.model li {
  display: flex;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--muted);
}

.model li + li {
  margin-top: 8px;
}

.model li::before {
  content: "—";
  color: var(--accent);
  flex: none;
}

/* ---------- Boundary / checklist ---------- */
.checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 40px;
}

.checklist li {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  font-size: 0.9rem;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.checklist li::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: 0.55em;
  border: 1px solid var(--accent);
  transform: rotate(45deg);
}

.checklist strong {
  display: block;
  margin-bottom: 2px;
  color: var(--heading);
  font-weight: 600;
}

/* ---------- Contact ---------- */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 56px;
  padding: 44px 0 0;
  border-top: 1px solid var(--line);
}

.contact__list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact__item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact__item span {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.contact__item a,
.contact__item strong {
  font-family: var(--serif);
  font-size: 1.12rem;
  color: var(--heading);
}

.contact__item a:hover {
  color: var(--accent);
}

.contact__form {
  display: grid;
  gap: 16px;
  padding: 30px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field label {
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 14px;
  font: inherit;
  font-size: 0.9rem;
  color: var(--fg);
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  border: 1px solid var(--line);
  border-radius: 2px;
}

.field textarea {
  min-height: 96px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted);
  opacity: 0.6;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.field option {
  color: var(--ink);
  background: var(--ivory-50);
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

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

/* ---------- Footer ---------- */
.site-footer {
  padding: 64px 0 34px;
  color: var(--muted-dark);
  background: var(--navy-950);
  border-top: 1px solid var(--line-dark);
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 48px;
}

.footer__brand p {
  margin-top: 18px;
  max-width: 30em;
  font-size: 0.85rem;
  line-height: 1.8;
}

.footer__col h4 {
  margin-bottom: 16px;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ivory-200);
}

.footer__col li + li {
  margin-top: 9px;
}

.footer__col a {
  font-size: 0.85rem;
  color: var(--muted-dark);
}

.footer__col a:hover {
  color: var(--gold-bright);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 48px;
  padding-top: 24px;
  font-size: 0.74rem;
  border-top: 1px solid var(--line-dark);
  color: color-mix(in srgb, var(--muted-dark) 80%, transparent);
}

.footer__bottom p {
  max-width: 60em;
}

.footer__seal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--gold);
}

/* ---------- Reveal ---------- */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: var(--d, 0ms);
}

html.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero__visual {
    order: -1;
    margin-top: 8px;
  }

  .phone {
    width: min(280px, 70%);
  }

  .hero__visual::before,
  .hero__visual::after {
    display: none;
  }

  .split,
  .split--rev {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .split__aside {
    position: static;
  }

  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
  }

  .step {
    padding: 26px 20px 24px 0;
  }

  .step:nth-child(3n) {
    border-right: 0;
  }

  .step:nth-child(n + 4) {
    border-top: 1px solid var(--line);
  }

  .layer {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 28px;
  }

  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px;
  }

  .contact {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 860px) {
  .grid--3,
  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 28px 26px;
    background: rgba(6, 17, 33, 0.98);
    border-bottom: 1px solid var(--line-dark);
    box-shadow: 0 30px 40px -30px rgba(0, 0, 0, 0.8);
  }

  .site-nav[data-open="true"] {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-links li {
    border-bottom: 1px solid rgba(246, 241, 231, 0.08);
  }

  .nav-links a {
    display: block;
    padding: 14px 0;
    font-size: 0.98rem;
  }

  .nav-links a::after {
    display: none;
  }

  .site-nav > .btn {
    margin-top: 18px;
    justify-content: center;
  }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 40px 0;
  }

  .feature-row__body {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .toggle-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .wrap {
    padding: 0 20px;
  }

  .section {
    padding: 64px 0;
  }

  .hero {
    padding: 52px 0 68px;
  }

  .hero__facts {
    gap: 18px 28px;
  }

  .hero__fact dd {
    font-size: 1.12rem;
  }

  .grid--2,
  .grid--3,
  .grid--4,
  .pain-grid,
  .checklist,
  .toggle-list,
  .feature-row__body,
  .layer__body {
    grid-template-columns: 1fr;
  }

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

  .stat {
    padding: 24px 18px;
  }

  .arch__layer {
    grid-template-columns: 1fr;
    gap: 12px;
  }

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

  .step {
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .step:last-child {
    border-bottom: 0;
  }

  .step:nth-child(n + 4) {
    border-top: 0;
  }

  .cta {
    padding: 64px 0;
  }

  .cta__inner {
    align-items: flex-start;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

  .number-list li {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
  }

  .page-hero {
    padding: 44px 0 54px;
  }
}

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

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

  html.js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
