@font-face {
  font-family: "Inter";
  src: url("fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("fonts/poppins-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0b1f3a;
  --navy-2: #12345a;
  --white: #ffffff;
  --grey: #f6f4f0;
  --grey-2: #e9e4dc;
  --charcoal: #1f2933;
  --muted: #6b675f;
  --cream: #fffdf9;
  --cream-2: #f8f6f1;
  --cream-border: #ece4d6;
  --gold: #f59e0b;
  --orange: #ff7a00;
  --orange-ink: #b84d00;
  --success: #0f766e;
  --error: #b42318;
  --shadow: 0 28px 64px rgba(58, 44, 26, 0.12), 0 4px 14px rgba(58, 44, 26, 0.07);
  --shadow-soft: 0 16px 36px rgba(58, 44, 26, 0.07);
  --radius: 8px;
  --max: 1160px;
  --brand-navy: #001d4a;
  --brand-charcoal: #2f2f2f;
  --brand-dot: #ec9a09;
  --t-fast: 200ms;
  --t-slow: 320ms;
  --t-ease: ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id],
.policy-content [id] {
  scroll-margin-top: 92px;
}

body {
  margin: 0;
  color: var(--charcoal);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--orange-ink);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 20;
  transform: translateY(-150%);
  border-radius: 6px;
  background: var(--navy);
  color: var(--white);
  padding: 10px 14px;
}

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

.container {
  width: calc(100% - 36px);
  max-width: var(--max);
  margin: 0 auto;
}

.section {
  padding: 52px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(233, 228, 220, 0.8);
  background: rgba(255, 253, 250, 0.92);
  backdrop-filter: blur(14px);
}

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

/* Banner logo lockup per DESIGN-SPEC Logo usage:
   cap height ≈ 40% of shield height, gap ≈ 35% of shield width, optically centered */
.brand {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 9px;
  color: var(--navy);
}

.brand-shield {
  width: auto;
  height: 34px;
  flex: none;
}

.brand-word {
  font-family: Poppins, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 18.9px;
  font-weight: 600;
  line-height: 1;
  transform: translateY(-0.015em);
  white-space: nowrap;
}

.brand-fair {
  color: var(--brand-navy);
}

.brand-stud {
  color: var(--brand-charcoal);
}

.brand-i {
  position: relative;
  display: inline-block;
}

.brand-i::after {
  position: absolute;
  top: 0.085em;
  left: 50%;
  width: 0.125em;
  height: 0.125em;
  border-radius: 50%;
  background: var(--brand-dot);
  content: "";
  transform: translateX(-50%);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 28px;
  color: #3b3733;
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-links a {
  white-space: nowrap;
  transition: color var(--t-fast) var(--t-ease);
}

.nav-links a:hover {
  color: var(--navy);
}

.nav-cta {
  border-radius: 7px;
  background: var(--navy);
  color: var(--white);
  padding: 12px 18px;
  box-shadow: 0 10px 24px rgba(58, 44, 26, 0.14);
}

.nav-phone {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 7px;
  color: var(--navy);
  font-weight: 700;
  white-space: nowrap;
  transition: color var(--t-fast) var(--t-ease);
}

.nav-phone:hover {
  color: var(--orange-ink);
}

.nav-phone svg {
  width: 14px;
  height: 14px;
  flex: none;
  color: var(--orange-ink);
}

/* Inside the desktop nav the phone gets its own zone, separated from the links */
.nav-links .nav-phone {
  margin-left: 6px;
  border-left: 1px solid var(--grey-2);
  padding-left: 24px;
}

.nav-phone-mobile {
  font-size: 0.92rem;
}

@media (min-width: 900px) {
  .nav-phone-mobile {
    display: none;
  }
}

/* narrow desktop: tighten nav spacing so the links, phone, and CTA never crowd */
@media (min-width: 900px) and (max-width: 1099px) {
  .nav-links {
    gap: 18px;
  }
}

/* 900-999px: no room for the full number, keep a click-to-call icon */
@media (min-width: 900px) and (max-width: 999px) {
  .nav-links .nav-phone {
    padding-left: 18px;
  }

  .nav-links .nav-phone span {
    display: none;
  }
}

/* small phones: keep the brand and tappable phone number on one uncropped row */
@media (max-width: 479px) {
  .header-inner {
    gap: 12px;
  }

  .nav-phone-mobile {
    gap: 5px;
    font-size: 0.86rem;
  }
}

.hero {
  position: relative;
  overflow: hidden;
  padding-top: 38px;
  background:
    linear-gradient(135deg, rgba(250, 248, 244, 0.92), rgba(255, 255, 255, 0.88)),
    url("images/bg-hero.webp") center / cover no-repeat;
}

.hero::after {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(245, 158, 11, 0.06), transparent 60%);
  content: "";
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 38px;
  align-items: center;
}

.hero-grid > *,
.two-column > *,
.split-band > *,
.contact-grid > *,
.faq-layout > * {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--orange-ink);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--navy);
  line-height: 1.05;
}

h1 {
  max-width: 700px;
  margin-bottom: 20px;
  font-size: clamp(2.7rem, 5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.23rem;
}

.hero-subhead,
.section-copy p,
.section-heading p,
.large-copy {
  color: #4a463f;
  font-size: clamp(1.03rem, 2vw, 1.22rem);
}

.hero-subhead {
  max-width: 640px;
  margin-bottom: 24px;
}

/* Promotion badge: restrained brand pill, no motion */
.promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  border: 1px solid rgba(245, 158, 11, 0.55);
  border-radius: 999px;
  background: #fffbeb;
  color: var(--navy);
  padding: 7px 15px 7px 13px;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.promo-badge::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.plan-card .promo-note {
  margin: 0 clamp(22px, 4vw, 30px) clamp(22px, 4vw, 30px);
  border-left: 4px solid var(--gold);
  background: #fffbeb;
  color: var(--navy);
  padding: 14px 16px;
  font-weight: 900;
}

.hero-title-finish {
  display: inline-block;
}

.hero-title-finish::after {
  display: block;
  width: 62px;
  height: 5px;
  margin-top: 14px;
  border-radius: 3px;
  background: var(--gold);
  content: "";
}

.hero-actions,
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-proof {
  display: grid;
  margin-top: 20px;
  color: #4a463f;
  font-weight: 650;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.hero-proof span::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 13px 21px;
  font-weight: 700;
  line-height: 1.1;
  transition: transform var(--t-fast) var(--t-ease), box-shadow var(--t-fast) var(--t-ease), background var(--t-fast) var(--t-ease);
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: #ff8a00;
  color: var(--navy);
  box-shadow: 0 14px 30px rgba(255, 122, 0, 0.2);
}

.button-primary:hover {
  background: var(--gold);
}

.button-secondary {
  border-color: rgba(11, 31, 58, 0.18);
  background: var(--white);
  color: var(--navy);
}

.button-secondary.light {
  border-color: transparent;
  background: var(--white);
  color: var(--navy);
}

.full-button {
  width: 100%;
}

.hero-visual {
  position: relative;
}

.mockup-frame {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  background: #0a1220;
  box-shadow: var(--shadow);
}

.mockup-frame img {
  width: 100%;
}

.preview-badge {
  position: absolute;
  right: 12px;
  bottom: -22px;
  display: grid;
  gap: 2px;
  border: 1px solid rgba(11, 31, 58, 0.12);
  border-radius: 7px;
  background: #fffbeb;
  color: var(--navy);
  padding: 14px 16px;
  box-shadow: 0 18px 42px rgba(58, 44, 26, 0.16);
}

.preview-badge span {
  color: #57534a;
  font-size: 0.76rem;
  font-weight: 650;
  text-transform: uppercase;
}

.preview-badge strong {
  font-size: 1.08rem;
}

.trust-strip {
  box-shadow: inset 0 2px 0 rgba(245, 158, 11, 0.85);
  background: var(--navy);
  color: var(--white);
  padding: 44px 0;
}

.trust-grid {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 28px;
}

.trust-grid div {
  display: flex;
  align-items: center;
  color: #eae6de;
  font-weight: 650;
  text-align: center;
}

.two-column,
.split-band,
.contact-grid,
.faq-layout {
  display: grid;
  gap: 28px;
  align-items: start;
}

/* Feature surfaces: borderless, warm soft shadow. Quiet surfaces carry their own rules. */
.pricing-card,
.site-card,
.contact-form {
  border: 0;
  border-radius: 10px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.process-step,
.comparison-card {
  border: 1px solid var(--grey-2);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.pricing-card {
  overflow: hidden;
}

.pricing-top {
  background: var(--navy);
  color: var(--white);
  padding: 26px;
}

.pricing-top span {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 650;
  text-transform: uppercase;
}

.pricing-top strong {
  display: block;
  margin-top: 6px;
  color: var(--white);
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(3rem, 12vw, 4.2rem);
  font-weight: 600;
  line-height: 0.92;
}

.pricing-top strong span {
  color: #e4dfd6;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1rem;
  text-transform: none;
}

.pricing-top p {
  margin: 12px 0 0;
  color: #d8d4cb;
}

/* Column flow (not a shared-row grid) so every item is separated by the same
   gap; shared grid rows sized to their tallest item left ragged voids. */
.included-list {
  columns: 1;
  column-gap: 24px;
  margin: 0;
  padding: 24px 26px;
  list-style: none;
}

.included-list li {
  margin-bottom: 12px;
  break-inside: avoid;
}

.included-list li:last-child {
  margin-bottom: 0;
}

.included-list li,
.comparison-card li {
  position: relative;
  padding-left: 28px;
}

.included-list li::before,
.comparison-card li::before {
  position: absolute;
  left: 0;
  top: 0.16em;
  color: var(--orange-ink);
  content: "✓";
  font-size: 0.85em;
  font-weight: 600;
}

.fine-print {
  margin: 0 0 22px;
  background: #faf8f4;
  color: var(--muted);
  padding: 18px 26px;
  font-size: 0.9rem;
  line-height: 1.6;
}

.pricing-card .button {
  width: calc(100% - 52px);
  margin: 0 26px 26px;
  border-radius: 7px;
}

.why-section {
  background: var(--grey);
}

.split-band > div:first-child::before {
  display: block;
  width: 44px;
  height: 4px;
  margin-bottom: 18px;
  border-radius: 2px;
  background: var(--gold);
  content: "";
}

.large-copy {
  margin: 0;
}

/* Founder story: deliberately softer and more editorial than the feature sections */
.founder-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--cream-border);
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--cream), #fbf9f5 58%, var(--cream-2));
  padding: clamp(30px, 5vw, 58px) clamp(22px, 5vw, 60px);
  text-align: center;
}

.founder-panel::after {
  position: absolute;
  right: -30px;
  bottom: -44px;
  width: 180px;
  height: 200px;
  background: url("images/logo-shield.png") right bottom / contain no-repeat;
  content: "";
  opacity: 0.05;
  pointer-events: none;
}

.founder-panel h2 {
  max-width: 20ch;
  margin: 0 auto 16px;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 600;
}

.founder-rule {
  width: 54px;
  height: 4px;
  margin: 0 auto 28px;
  border-radius: 3px;
  background: var(--gold);
}

.founder-copy {
  position: relative;
  z-index: 1;
  max-width: 660px;
  margin: 0 auto;
  color: #4a463f;
  text-align: left;
}

.founder-copy p {
  margin-bottom: 18px;
  line-height: 1.75;
}

.founder-copy p:last-child {
  margin-bottom: 0;
}

.founder-copy .founder-lead {
  color: var(--navy);
  font-size: clamp(1.08rem, 2vw, 1.24rem);
  font-weight: 700;
  line-height: 1.55;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.process-grid,
.portfolio-grid,
.comparison-grid {
  display: grid;
  gap: 16px;
}

.process-step,
.site-card,
.comparison-card {
  padding: 22px;
}

.process-step {
  border-width: 2px 0 0;
  border-radius: 0;
  border-color: rgba(11, 31, 58, 0.16);
  box-shadow: none;
  padding: 24px 0 8px;
}

.process-step span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--orange-ink);
  font-family: Fraunces, Georgia, serif;
  font-size: 1.5rem;
  font-weight: 500;
}

.process-step p,
.site-card p,
.comparison-card li {
  color: #57534a;
}

.trades-section {
  background:
    linear-gradient(rgba(11, 31, 58, 0.86), rgba(11, 31, 58, 0.86)),
    url("images/bg-trades.webp") center / cover no-repeat;
  color: var(--white);
}

.trades-section h2 {
  color: var(--white);
}

.trades-section .section-heading p:not(.eyebrow) {
  color: #d8d4cb;
}

.trades-section .eyebrow,
.referral-panel .eyebrow,
.final-cta .eyebrow,
.terms-final-cta .eyebrow {
  color: #ff9f1a;
}

.trade-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.trade-grid span {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #faf8f4;
  padding: 10px 18px;
  font-weight: 600;
  text-align: center;
  transition: border-color var(--t-fast) var(--t-ease), background var(--t-fast) var(--t-ease), transform var(--t-fast) var(--t-ease);
}

.trade-grid span:hover {
  border-color: rgba(245, 158, 11, 0.68);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.portfolio-section {
  background: var(--cream-2);
}

.site-card {
  overflow: hidden;
  padding: 0;
  transition: border-color var(--t-fast) var(--t-ease), box-shadow var(--t-fast) var(--t-ease), transform var(--t-fast) var(--t-ease);
}

.site-card:hover {
  box-shadow: 0 22px 46px rgba(58, 44, 26, 0.11);
  transform: translateY(-3px);
}

.portfolio-shot {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  margin: 0;
  background: #f2efe9;
}

.portfolio-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--t-ease);
}

.site-card:hover .portfolio-shot img {
  transform: scale(1.012);
}

.site-card-copy {
  padding: 20px 22px 24px;
}

.site-card .project-label {
  margin: 0 0 6px;
  color: var(--orange-ink);
  font-size: 0.76rem;
  font-weight: 650;
  line-height: 1.4;
  text-transform: uppercase;
}

.site-card-copy h3 {
  margin-bottom: 8px;
  font-size: 1.22rem;
  line-height: 1.25;
}

.site-card-copy > p:last-child {
  margin: 0;
}

.comparison-grid {
  align-items: stretch;
}

.comparison-card h3 {
  margin-bottom: 22px;
}

.comparison-card ul {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.comparison-card.faircrest {
  border-color: rgba(245, 158, 11, 0.5);
  background: #fffbeb;
}

.comparison-card.typical {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.comparison-card.typical li::before {
  color: #a39d92;
  content: "–";
}

.referral-section {
  padding-top: 0;
}

.referral-panel {
  display: grid;
  gap: 24px;
  align-items: center;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(11, 31, 58, 0.88), rgba(18, 52, 90, 0.86)),
    url("images/bg-referral.webp") center / cover no-repeat;
  color: var(--white);
  padding: clamp(26px, 5vw, 46px);
}

.referral-panel h2,
.final-cta h2 {
  color: var(--white);
}

.referral-panel p:not(.eyebrow) {
  max-width: 650px;
  margin-bottom: 0;
  color: #e4dfd6;
}

.faq-layout {
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 0;
}

details {
  border-top: 1px solid #e9e4dc;
  padding: 0;
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
  list-style: none;
  padding: 20px 8px;
  color: var(--navy);
  font-weight: 700;
}

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

summary::after {
  flex: none;
  color: var(--orange-ink);
  content: "+";
  font-size: 1.3rem;
  line-height: 1;
}

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

details p {
  margin: 0;
  padding: 0 8px 20px;
  color: #57534a;
}

.final-cta-section {
  background: linear-gradient(180deg, var(--navy), var(--navy-2));
}

.final-cta {
  max-width: 850px;
  text-align: center;
}

.final-cta .button {
  margin-top: 8px;
}

.contact-section {
  background: var(--grey);
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: clamp(18px, 3vw, 28px);
}

.form-status {
  display: none;
  border-radius: 6px;
  padding: 13px 15px;
  font-weight: 700;
}

.form-status.success {
  display: block;
  background: #ecfdf5;
  color: var(--success);
}

.form-status.error {
  display: block;
  background: #fef3f2;
  color: var(--error);
}

.form-status.info {
  display: block;
  background: #eff6ff;
  color: var(--navy);
}

.form-status.info a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-direct {
  color: #4a463f;
  font-weight: 700;
}

.contact-direct a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: rgba(11, 31, 58, 0.35);
  text-underline-offset: 4px;
  transition: text-decoration-color var(--t-fast) var(--t-ease);
}

.contact-direct a:hover {
  text-decoration-color: var(--orange-ink);
}

.form-row {
  display: grid;
  gap: 7px;
}

.form-row[hidden] {
  display: none;
}

.form-row.split {
  gap: 18px;
}

.req {
  color: var(--orange-ink);
}

.form-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
  text-align: center;
}

label,
legend {
  color: var(--navy);
  font-size: 0.94rem;
  font-weight: 650;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #b8b1a5;
  border-radius: 7px;
  background: var(--white);
  color: var(--charcoal);
  padding: 13px 14px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--navy);
}

textarea {
  resize: vertical;
}

input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"],
.radio-group.invalid {
  border-color: var(--error);
}

.field-error {
  min-height: 1.25em;
  margin: 0;
  color: var(--error);
  font-size: 0.88rem;
  font-weight: 700;
}

.radio-group {
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 0;
}

.radio-group label {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin-right: 18px;
  color: #3b3733;
  font-weight: 600;
}

.radio-group input {
  width: auto;
}

.site-footer {
  padding: 30px 0 82px;
  background: #07172b;
  color: #d6d2c9;
}

.footer-inner {
  display: grid;
  align-items: center;
  gap: 16px;
}

.footer-inner p {
  margin: 0;
}

.footer-brand {
  width: fit-content;
}

.footer-brand .brand-shield {
  height: 36px;
  border-radius: 8px;
  background: var(--white);
  padding: 5px;
}

.footer-brand .brand-word {
  font-size: 20px;
}

.footer-brand .brand-fair {
  color: var(--white);
}

.footer-brand .brand-stud {
  color: #e6e9ef;
}

.footer-contact {
  display: grid;
  gap: 5px;
  font-size: 0.95rem;
}

.footer-contact a {
  width: fit-content;
  transition: color var(--t-fast) var(--t-ease);
}

.footer-contact a:hover {
  color: var(--white);
}

.footer-link {
  width: fit-content;
  color: var(--white);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 4px;
}

.sticky-mobile-cta {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 15;
  display: grid;
  min-height: 52px;
  place-items: center;
  border-radius: 8px;
  background: #ff8a00;
  color: var(--navy);
  box-shadow: 0 16px 36px rgba(58, 44, 26, 0.28);
  font-weight: 700;
}

.terms-hero {
  position: relative;
  overflow: hidden;
  padding: 44px 0 38px;
  background:
    linear-gradient(135deg, rgba(250, 248, 244, 0.95), rgba(255, 255, 255, 0.9)),
    url("images/bg-hero.webp") center / cover no-repeat;
}

.terms-hero-grid {
  display: grid;
  gap: 24px;
  align-items: end;
}

.terms-hero h1 {
  max-width: 760px;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
}

.terms-notice,
.policy-card,
.plan-card,
.terms-final-cta,
.policy-sidebar {
  overflow: hidden;
  border: 1px solid var(--grey-2);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 36px rgba(58, 44, 26, 0.06);
}

.terms-notice {
  padding: 22px;
}

.terms-notice strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 1.05rem;
}

.terms-notice p {
  margin: 0;
  color: #57534a;
}

.terms-updated {
  margin: 20px 0 0;
  color: #57534a;
  font-size: 0.92rem;
  font-weight: 650;
}

.terms-section {
  background: var(--grey);
}

.policy-layout {
  display: grid;
  gap: 22px;
  align-items: start;
}

.policy-sidebar {
  display: none;
}

.policy-content {
  display: grid;
  gap: 18px;
}

.policy-card,
.plan-card {
  padding: clamp(22px, 4vw, 34px);
}

.policy-card h2,
.plan-card h2,
.terms-final-cta h2 {
  font-size: clamp(1.65rem, 3.6vw, 2.45rem);
}

.policy-card p:last-child,
.plan-card p:last-child {
  margin-bottom: 0;
}

.plan-card {
  overflow: hidden;
  padding: 0;
}

.plan-card-top {
  background: var(--navy);
  color: var(--white);
  padding: clamp(24px, 4vw, 34px);
}

.plan-card-top h2 {
  color: var(--white);
}

.plan-card-top p {
  margin-bottom: 0;
  color: #e4dfd6;
}

/* Column flow so each pill keeps its own height; shared grid rows stretched
   short pills to match a taller neighbour, leaving half-empty boxes. */
.plan-grid {
  columns: 1;
  column-gap: 10px;
  padding: clamp(22px, 4vw, 30px);
}

.plan-grid span,
.policy-facts span {
  position: relative;
  display: block;
  margin-bottom: 10px;
  break-inside: avoid;
  border-radius: 7px;
  background: var(--grey);
  color: #3b3733;
  padding: 12px 14px 12px 36px;
  font-weight: 650;
}

.plan-grid span:last-child,
.policy-facts span:last-child {
  margin-bottom: 0;
}

.plan-grid span::before,
.policy-facts span::before {
  position: absolute;
  left: 14px;
  color: var(--orange-ink);
  content: "+";
  font-weight: 600;
}

.policy-note,
.rate-note {
  border-left: 4px solid var(--gold);
  background: #fffbeb;
  color: #57534a;
  padding: 14px 16px;
}

.rate-note {
  color: var(--navy);
  font-weight: 650;
}

.policy-facts {
  columns: 1;
  column-gap: 10px;
  margin-top: 18px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--grey-2);
  border-radius: var(--radius);
}

.edit-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  background: var(--white);
}

.edit-table caption {
  padding: 14px 16px;
  color: #57534a;
  font-weight: 650;
  text-align: left;
}

.edit-table th,
.edit-table td {
  border-top: 1px solid var(--grey-2);
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
}

.edit-table th {
  position: sticky;
  top: 0;
  background: var(--navy);
  color: var(--white);
  font-size: 0.9rem;
}

.edit-table td:last-child {
  width: 220px;
  color: var(--navy);
  font-weight: 650;
}

.edit-table tbody tr:nth-child(even) {
  background: #faf8f4;
}

.legal-accordion {
  display: grid;
  gap: 0;
}

.legal-accordion summary {
  list-style-position: outside;
}

.plain-list {
  columns: 1;
  margin: 0;
  padding: 0 20px 18px 42px;
  color: #57534a;
}

.plain-list li {
  break-inside: avoid;
  margin-bottom: 8px;
}

.terms-final-cta {
  display: grid;
  gap: 20px;
  align-items: center;
  padding: clamp(24px, 5vw, 42px);
  background: var(--navy);
  color: var(--white);
}

.terms-final-cta h2 {
  color: var(--white);
}

.terms-final-cta p:not(.eyebrow) {
  margin-bottom: 0;
  color: #e4dfd6;
}

/* scroll reveal: hidden start only when JS is present (html.js set in script.js/head) */
html.js .reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 500ms ease-out, transform 500ms ease-out;
}

html.js .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* gentle stagger where markup groups cards */
.process-grid .reveal:nth-child(2),
.portfolio-grid .reveal:nth-child(2),
.comparison-grid .reveal:nth-child(2) {
  transition-delay: 70ms;
}

.process-grid .reveal:nth-child(3),
.portfolio-grid .reveal:nth-child(3) {
  transition-delay: 140ms;
}

/* one-time hero entrance: reveal fires on load; the visual follows the copy */
.hero .hero-copy.reveal {
  transition-delay: 60ms;
}

.hero .hero-visual.reveal {
  transition-delay: 220ms;
}

@media (min-width: 640px) {
  .hero-proof {
    display: flex;
  }

  .trust-grid {
    flex-direction: row;
  }

  .trust-grid div + div::before {
    width: 6px;
    height: 6px;
    margin-right: 28px;
    border-radius: 50%;
    background: var(--gold);
    content: "";
    flex: none;
  }

  .process-grid,
  .portfolio-grid,
  .comparison-grid,
  .form-row.split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portfolio-grid .site-card:last-child:nth-child(odd) {
    width: calc((100% - 16px) / 2);
    grid-column: 1 / -1;
    justify-self: center;
  }

  .included-list {
    columns: 2;
  }

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

  .plan-grid,
  .policy-facts {
    columns: 2;
  }

  .plain-list {
    columns: 2;
  }
}

@media (min-width: 900px) {
  .section {
    padding: 64px 0;
  }

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

  .brand {
    gap: 9.8px;
  }

  .brand-shield {
    height: 37px;
  }

  .brand-word {
    font-size: 20.5px;
  }

  .nav-links {
    display: flex;
  }

  .two-column,
  .split-band,
  .contact-grid,
  .faq-layout {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.9fr);
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.16fr) minmax(360px, 0.84fr);
    gap: 40px;
  }

  .hero-title-line {
    display: block;
  }

  .hero-visual {
    width: 108%;
    justify-self: start;
    transform: translate(-8%, -6px);
  }

  .hero {
    display: grid;
    align-items: center;
    padding-top: 42px;
    padding-bottom: 54px;
  }

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

  .portfolio-grid .site-card:last-child:nth-child(odd) {
    width: auto;
    grid-column: auto;
    justify-self: stretch;
  }

  .footer-inner {
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    gap: 28px;
  }

  .footer-inner p {
    max-width: 520px;
  }

  .two-column,
  .split-band,
  .contact-grid,
  .faq-layout {
    align-items: start;
  }

  .founder-section {
    padding: 76px 0;
  }

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

  .sticky-mobile-cta {
    display: none;
  }

  .site-footer {
    padding-bottom: 34px;
  }

  .terms-hero {
    padding: 58px 0 52px;
  }

  .terms-hero-grid {
    grid-template-columns: minmax(0, 1fr) 360px;
  }

  .policy-layout {
    grid-template-columns: 230px minmax(0, 1fr);
  }

  .policy-sidebar {
    position: sticky;
    top: 88px;
    display: grid;
    gap: 4px;
    padding: 14px;
  }

  .policy-sidebar a {
    border-radius: 6px;
    color: #3b3733;
    padding: 10px 12px;
    font-weight: 650;
  }

  .policy-sidebar a:hover {
    background: var(--grey);
    color: var(--navy);
  }

  .terms-final-cta {
    grid-template-columns: 1fr auto;
  }
}

@media (max-width: 420px) {
  .container {
    width: calc(100% - 28px);
  }

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

  .brand {
    gap: 8.4px;
  }

  .brand-shield {
    height: 32px;
  }

  .brand-word {
    font-size: 17.8px;
  }

  .hero-actions .button {
    width: 100%;
  }

  h1 {
    font-size: 2.18rem;
  }

  .hero-subhead {
    font-size: 1rem;
  }

  .terms-hero h1 {
    font-size: 2rem;
  }

  .policy-card h2,
  .plan-card h2,
  .terms-final-cta h2 {
    font-size: 1.55rem;
  }

  .terms-notice {
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal,
  html.js .reveal {
    opacity: 1;
    transform: none;
  }
}
