/* ============================================================
   ArabesQ Today — shared design system
   Brand colors locked from owner's brand system.
   ============================================================ */

:root {
  /* Brand */
  --navy: #0e1e3a;
  --navy-ink: #08152b;
  --navy-soft: #16294a;
  --gold: #c39a4e;
  --gold-bright: #d9b471;
  --gold-tint: #efe1c6;
  --white: #ffffff;
  --warm-white: #faf7f1;
  --ink: #1a2233;
  --muted: #5c6779;
  --rule: rgba(26, 34, 51, 0.14);
  --rule-dark: rgba(239, 225, 198, 0.18);

  /* Type */
  --display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --body: "DM Sans", "Helvetica Neue", Arial, sans-serif;

  --text-xs: 0.8125rem;
  --text-sm: 0.9375rem;
  --text-base: 1.0625rem;
  --text-lg: clamp(1.125rem, 0.4vw + 1.05rem, 1.3rem);
  --text-xl: clamp(1.5rem, 1.4vw + 1.1rem, 2.125rem);
  --text-2xl: clamp(1.95rem, 2.6vw + 1.15rem, 3rem);
  --text-hero: clamp(2.2rem, 2.6vw + 1.05rem, 3.5rem);

  /* Space */
  --s1: 4px;
  --s2: 8px;
  --s3: 12px;
  --s4: 16px;
  --s5: 24px;
  --s6: 32px;
  --s7: 48px;
  --s8: 64px;
  --s9: 96px;
  --s10: 128px;

  --section-y: clamp(56px, 7vw, 112px);
  --gutter: clamp(20px, 4vw, 48px);
  --maxw: 1200px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-card: 0 1px 2px rgba(14, 30, 58, 0.05), 0 12px 32px -18px rgba(14, 30, 58, 0.28);
  --shadow-lift: 0 2px 4px rgba(14, 30, 58, 0.06), 0 26px 48px -22px rgba(14, 30, 58, 0.34);
}

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

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

body {
  margin: 0;
  background: var(--warm-white);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--text-base);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 var(--s4);
  text-wrap: balance;
}
h1 { font-size: var(--text-2xl); }
h2 { font-size: var(--text-xl); }
h3 { font-family: var(--body); font-size: var(--text-lg); font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
h4 { font-family: var(--body); font-size: var(--text-base); font-weight: 600; letter-spacing: 0; line-height: 1.4; }

p { margin: 0 0 var(--s4); overflow-wrap: break-word; }
p:last-child { margin-bottom: 0; }

a { color: inherit; }

ul, ol { margin: 0 0 var(--s4); padding-left: 1.15em; }
li { margin-bottom: var(--s2); }

strong { font-weight: 600; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: var(--warm-white);
  padding: var(--s3) var(--s4);
  z-index: 200;
  font-size: var(--text-sm);
}
.skip-link:focus { left: var(--s4); top: var(--s4); }

/* ---------- Layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: 780px; }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(40px, 5vw, 72px); }

.prose { max-width: 68ch; }
.prose p { color: var(--muted); }

.dark {
  background: var(--navy);
  color: var(--warm-white);
}
.dark h1, .dark h2, .dark h3, .dark h4 { color: var(--warm-white); }
.dark .prose p, .dark .lede { color: rgba(250, 247, 241, 0.78); }
.dark .muted { color: rgba(250, 247, 241, 0.72); }
.deeper { background: var(--navy-ink); color: var(--warm-white); }

.eyebrow {
  display: block;
  font-family: var(--body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 var(--s4);
}
.dark .eyebrow { color: var(--gold-bright); }

.lede {
  font-size: var(--text-lg);
  color: var(--muted);
  line-height: 1.55;
  max-width: 62ch;
}
.muted { color: var(--muted); }
.small { font-size: var(--text-sm); }
.xs { font-size: var(--text-xs); }

.grid { display: grid; gap: clamp(20px, 2.4vw, 32px); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.split--form { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
@media (max-width: 767px) { .split--form { grid-template-columns: minmax(0, 1fr); } }


/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  padding: 13px 24px;
  min-height: 46px;
  font-family: var(--body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn--gold { background: var(--gold); color: var(--navy-ink); }
.btn--gold:hover { background: var(--gold-bright); transform: translateY(-1px); }
.btn--navy { background: var(--navy); color: var(--warm-white); }
.btn--navy:hover { background: var(--navy-soft); transform: translateY(-1px); }
.btn--ghost { border-color: var(--rule); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--gold); color: var(--navy); }
.dark .btn--ghost,
.deeper .btn--ghost,
.hero .btn--ghost,
.pagehero .btn--ghost { border-color: rgba(239, 225, 198, 0.4); color: var(--warm-white); }
.dark .btn--ghost:hover,
.deeper .btn--ghost:hover,
.hero .btn--ghost:hover,
.pagehero .btn--ghost:hover { border-color: var(--gold); color: var(--gold-bright); background: rgba(195, 154, 78, 0.1); }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--s3); }

/* Text link with gold underline draw */
.tlink {
  display: inline-block;
  position: relative;
  text-decoration: none;
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--navy);
  padding-bottom: 2px;
}
.tlink::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.tlink:hover::after, .tlink:focus-visible::after { transform: scaleX(1); }
.dark .tlink, .hero .tlink, .pagehero .tlink { color: var(--gold-bright); }

/* ---------- Arabesque motif ---------- */
.motif-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.055;
  background-repeat: repeat;
  background-size: 156px 156px;
}
.dark .motif-bg { opacity: 0.055; }

/* gold hairline divider with center diamond */
.rule-diamond {
  display: flex;
  align-items: center;
  gap: var(--s3);
  margin-block: clamp(36px, 5vw, 64px);
}
.rule-diamond::before,
.rule-diamond::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.55;
}
.rule-diamond span {
  width: 7px; height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
  flex: none;
}

.hr {
  height: 1px;
  background: var(--rule);
  border: 0;
  margin-block: var(--s7);
}
.dark .hr { background: var(--rule-dark); }

/* ---------- Cards ---------- */
.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: clamp(22px, 2.4vw, 32px);
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  overflow: hidden;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: rgba(195, 154, 78, 0.5); }
.card > p { color: var(--muted); }
.card__corner {
  position: absolute;
  top: -12px; right: -12px;
  width: 74px; height: 74px;
  opacity: 0.5;
  pointer-events: none;
}
.dark .card {
  background: rgba(255, 255, 255, 0.035);
  border-color: var(--rule-dark);
  color: var(--warm-white);
}
.dark .card > p { color: rgba(250, 247, 241, 0.75); }

.card-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--navy-soft);
}

.tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--gold-tint);
  border: 1px solid rgba(195, 154, 78, 0.45);
  padding: 4px 9px;
  border-radius: 2px;
  line-height: 1.4;
}
.tag--quiet { background: transparent; color: var(--muted); border-color: var(--rule); }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14, 30, 58, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(239, 225, 198, 0.14);
  color: var(--warm-white);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s5);
  min-height: 70px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--warm-white);
  flex: none;
}
.brand__mark { width: 36px; height: 36px; flex: none; display: block; }
@media (max-width: 560px) { .brand__mark { width: 32px; height: 32px; } }
.brand__type { height: 17px; width: 102.8px; aspect-ratio: 750 / 124; color: var(--warm-white); }
.brand__sub {
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-top: 3px;
}

.nav { display: flex; align-items: center; gap: clamp(14px, 1.6vw, 26px); }
.nav a {
  font-size: var(--text-sm);
  text-decoration: none;
  color: rgba(250, 247, 241, 0.86);
  white-space: nowrap;
  position: relative;
  padding: 6px 0;
  transition: color 0.25s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 1px; width: 100%;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--warm-white); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.header .btn { padding: 10px 18px; min-height: 40px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(239, 225, 198, 0.28);
  border-radius: 2px;
  color: var(--warm-white);
  cursor: pointer;
  flex: none;
}
.nav-toggle svg { width: 20px; height: 20px; }

.drawer {
  display: none;
  border-top: 1px solid rgba(239, 225, 198, 0.14);
  background: var(--navy-ink);
}
.drawer.open { display: block; }
.drawer nav { display: flex; flex-direction: column; padding: var(--s3) 0 var(--s5); }
.drawer nav a {
  padding: 14px 0;
  font-size: 1.0625rem;
  text-decoration: none;
  color: var(--warm-white);
  border-bottom: 1px solid rgba(239, 225, 198, 0.1);
}
.drawer .btn { margin-top: var(--s5); width: 100%; justify-content: center; }

@media (max-width: 1023px) {
  .nav, .header > .wrap .btn--gold { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--navy);
  color: var(--warm-white);
  overflow: hidden;
}
.hero__inner {
  position: relative;
  z-index: 2;
  padding-block: clamp(56px, 8vw, 112px);
}
.hero h1 {
  font-size: var(--text-hero);
  max-width: 22ch;
  margin-bottom: var(--s5);
}
.hero p.lede { color: rgba(250, 247, 241, 0.8); }
.hero__media {
  position: relative;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7);
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }

.pagehero {
  position: relative;
  background: var(--navy);
  color: var(--warm-white);
  overflow: hidden;
}
.pagehero__img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.pagehero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(8, 21, 43, 0.93) 0%, rgba(8, 21, 43, 0.78) 46%, rgba(8, 21, 43, 0.42) 100%);
}
.pagehero__inner {
  position: relative;
  z-index: 2;
  padding-block: clamp(56px, 7vw, 96px);
}
/* Photo-forward page hero: subject stays visible, text keeps its scrim */
.pagehero--photo .pagehero__img { opacity: 0.95; object-position: 52% 24%; }
.pagehero--photo .lede { max-width: 46ch; }
.pagehero--photo::after {
  background: linear-gradient(100deg, rgba(8, 21, 43, 0.94) 0%, rgba(8, 21, 43, 0.84) 38%, rgba(8, 21, 43, 0.4) 66%, rgba(8, 21, 43, 0.14) 100%);
}
@media (max-width: 900px) {
  .pagehero--photo .pagehero__img { opacity: 0.95; object-position: 66% 46%; }
  .pagehero--photo .lede { max-width: none; }
  .pagehero--photo::after {
    background: linear-gradient(180deg, rgba(8, 21, 43, 0.93) 0%, rgba(8, 21, 43, 0.78) 44%, rgba(8, 21, 43, 0.5) 100%);
  }
}
.pagehero h1 { max-width: 24ch; }
.pagehero .lede { color: rgba(250, 247, 241, 0.82); }

/* ---------- Pricing / spec tables ---------- */
.pricetable {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
  background: var(--white);
  border: 1px solid var(--rule);
}
.pricetable caption {
  text-align: left;
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: var(--s3);
  font-weight: 600;
}
.pricetable th, .pricetable td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
.pricetable thead th {
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(195, 154, 78, 0.08);
  white-space: nowrap;
}
.pricetable tbody th { font-weight: 600; color: var(--ink); }
.pricetable .price { font-weight: 600; color: var(--navy); font-variant-numeric: tabular-nums; }
.pricetable tr:last-child th, .pricetable tr:last-child td { border-bottom: 0; }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

@media (max-width: 767px) {
  .pricetable--stack thead { display: none; }
  .pricetable--stack caption { display: block; width: 100%; }
  .pricetable--stack,
  .pricetable--stack tbody,
  .pricetable--stack tr,
  .pricetable--stack th,
  .pricetable--stack td { display: block; width: 100%; }
  .pricetable--stack tr {
    border-bottom: 1px solid var(--rule-dark);
    padding: 18px 16px;
  }
  .pricetable--stack tr:last-child { border-bottom: 0; }
  .pricetable--stack th,
  .pricetable--stack td { border: 0; padding: 0 0 6px; }
  .pricetable--stack th[scope="row"] { font-size: var(--text-base); }
  .pricetable--stack td:last-child { padding-bottom: 0; }
}

.note {
  border: 1px solid rgba(195, 154, 78, 0.55);
  background: rgba(195, 154, 78, 0.08);
  border-radius: 3px;
  padding: var(--s4) var(--s5);
  font-size: var(--text-sm);
  color: var(--ink);
}
.note strong { color: var(--navy); }
.dark .note { color: var(--warm-white); background: rgba(195, 154, 78, 0.14); }
.dark .note strong { color: var(--gold-bright); }

.statline {
  display: grid;
  gap: var(--s5);
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.stat__k {
  font-family: var(--display);
  font-size: var(--text-xl);
  line-height: 1.05;
  color: var(--navy);
  display: block;
  margin-bottom: var(--s2);
}
.dark .stat__k { color: var(--gold-bright); }
.stat__v { font-size: var(--text-sm); color: var(--muted); }
.dark .stat__v { color: rgba(250, 247, 241, 0.74); }

/* ---------- Forms ---------- */
.form { display: grid; gap: var(--s5); }
.field { display: grid; gap: 7px; }
.field label { font-size: var(--text-sm); font-weight: 600; }
.field .hint { font-size: var(--text-xs); color: var(--muted); }
.field input, .field select, .field textarea {
  font-family: var(--body);
  font-size: var(--text-base);
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 2px;
  padding: 12px 14px;
  width: 100%;
  min-height: 46px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(195, 154, 78, 0.18);
  outline: none;
}
.field .err {
  font-size: var(--text-xs);
  color: #a4342c;
  font-weight: 600;
  display: none;
}
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #a4342c; }
.field.invalid .err { display: block; }

.tabs { display: flex; flex-wrap: wrap; gap: var(--s2); margin-bottom: var(--s6); }
.tab {
  font-family: var(--body);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: 11px 18px;
  min-height: 44px;
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 2px;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.tab:hover { border-color: var(--gold); color: var(--navy); }
.tab[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: var(--warm-white); }

.formsuccess {
  display: none;
  border: 1px solid rgba(195, 154, 78, 0.6);
  background: var(--white);
  border-radius: 3px;
  padding: clamp(24px, 3vw, 40px);
  text-align: left;
}
.formsuccess.show { display: block; }
.formsuccess__mark { width: 40px; height: 40px; color: var(--gold); margin-bottom: var(--s4); }

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-ink);
  color: rgba(250, 247, 241, 0.72);
  font-size: var(--text-sm);
  padding-block: clamp(48px, 6vw, 80px) var(--s7);
  border-top: 1px solid rgba(195, 154, 78, 0.28);
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
}
.footer h4 {
  color: var(--gold);
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: var(--s4);
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 10px; }
.footer a { color: rgba(250, 247, 241, 0.78); text-decoration: none; }
.footer a:hover { color: var(--gold-bright); text-decoration: underline; text-underline-offset: 3px; }
.footer__bottom {
  margin-top: var(--s8);
  padding-top: var(--s5);
  border-top: 1px solid rgba(239, 225, 198, 0.13);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3) var(--s5);
  justify-content: space-between;
  font-size: var(--text-xs);
  color: rgba(250, 247, 241, 0.6);
}
.footer .brand__type { height: 19px; width: 114.9px; }
.footer__mark { width: 46px; height: 46px; display: block; margin-bottom: 14px; }

/* ---------- Motion ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .g2, .g3, .g4 { grid-template-columns: minmax(0, 1fr); }
  .footer__top { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { max-width: none; }
  .footer__bottom { flex-direction: column; }
}

/* Contact form: delivery error state + screen-reader-only label */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.formerror {
  display: none;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid rgba(176, 58, 46, 0.35);
  border-left: 3px solid #b03a2e;
  background: rgba(176, 58, 46, 0.06);
  border-radius: 2px;
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--text);
}
.formerror.show { display: block; }
.formerror a { color: #8f2f24; }

/* ============================ Plan cards (rates) ========================== */
.card--plan { display: flex; flex-direction: column; }
.card--plan .price {
  font-family: var(--display);
  font-size: var(--text-2xl);
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  margin: var(--s3) 0 2px;
  line-height: 1.05;
}
.card--plan .price__per {
  font-family: var(--body);
  font-size: var(--text-base);
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0;
}
.plan__terms {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold-deep, #9a7736);
  margin: 0 0 var(--s4);
}
.plan__terms--muted { color: var(--muted); }
.ticks { list-style: none; margin: 0 0 var(--s5); padding: 0; display: grid; gap: 10px; }
.ticks li {
  position: relative;
  padding-left: 26px;
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--muted);
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.52em;
  width: 9px;
  height: 5px;
  border-left: 1.6px solid var(--gold);
  border-bottom: 1.6px solid var(--gold);
  transform: rotate(-45deg);
}
.card--plan .btn { align-self: flex-start; }

/* ============================== Intake form ============================== */
.form--intake { display: block; }
.fs > .field, .fs > .grid, .fs > .checkgrid { margin-bottom: 20px; }
.fs > .field:last-child, .fs > .grid:last-child, .fs > .checkgrid:last-child { margin-bottom: 0; }
.fs__legend + .field, .fs__legend + .grid { margin-top: 0; }
.fs {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 0;
  padding: var(--s6) 0 var(--s7);
}
.form--intake .fs:first-of-type { border-top: 0; padding-top: 0; }
.fs__legend {
  float: none;
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-family: var(--display);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin-bottom: var(--s5);
  padding: 0 14px 0 0;
}
.fs__num {
  font-family: var(--body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.fs__sub {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin: var(--s5) 0 var(--s3);
}
.checkgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px 20px;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--text-sm);
  line-height: 1.5;
  color: var(--text);
  cursor: pointer;
}
.check input[type="checkbox"] {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin-top: 2px;
  accent-color: var(--navy);
  cursor: pointer;
}
.check:hover span { color: var(--navy); }
.check--block {
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: 16px 18px;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.5);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.check--block:hover { border-color: rgba(195, 154, 78, 0.6); }
.check--block.invalid { border-color: #a4342c; background: rgba(164, 52, 44, 0.04); }
.intake-aside { position: sticky; top: 104px; }
@media (max-width: 767px) { .intake-aside { position: static; } }
.intake-aside h3 {
  font-family: var(--display);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--navy);
  margin-bottom: var(--s4);
}
.intake-aside h4 {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin: 0 0 10px;
}
.steps { margin: 0; padding: 0; list-style: none; counter-reset: st; display: grid; gap: 14px; }
.steps li {
  counter-increment: st;
  position: relative;
  padding-left: 32px;
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--muted);
}
.steps li::before {
  content: counter(st);
  position: absolute;
  left: 0;
  top: 0;
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  color: var(--gold);
}
.steps li strong { color: var(--ink); font-weight: 600; }
.btn--ghost.btn--on-dark {
  color: var(--cream, #FAF7F1);
  border-color: rgba(250, 247, 241, 0.42);
}
.btn--ghost.btn--on-dark:hover,
.btn--ghost.btn--on-dark:focus-visible {
  color: var(--navy);
  background: var(--cream, #FAF7F1);
  border-color: var(--cream, #FAF7F1);
}

/* Footer legal disclosures */
.footer__legal {
  margin-top: var(--s8);
  padding-top: var(--s5);
  border-top: 1px solid rgba(239, 225, 198, 0.13);
}
.footer__legal p {
  margin: 0 0 10px;
  max-width: 92ch;
  font-size: 12px;
  line-height: 1.65;
  color: rgba(250, 247, 241, 0.52);
}
.footer__legal p:last-child { margin-bottom: 0; }
.footer__legal + .footer__bottom {
  margin-top: var(--s5);
  padding-top: var(--s4);
}
