:root {
  --forest: #1E4D2B;
  --forest-dark: #0F1F33;
  --ivory: #F5F3EC;
  --gold: #C8A961;
  --navy: #0F1F33;
  --stone: #D9D6CC;
  --charcoal: #0F1F33;
  --white: #FFFFFF;
  --line: rgba(30, 77, 43, 0.18);
  --shadow: 0 22px 50px rgba(15, 31, 51, 0.12);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  background: var(--ivory);
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

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

p {
  margin: 0 0 1rem;
}

h1,
h2,
h3 {
  margin: 0;
  color: inherit;
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(4rem, 10vw, 8.5rem);
}

h2 {
  font-size: clamp(2.5rem, 5.8vw, 5.2rem);
}

h3 {
  font-size: clamp(1.55rem, 2.4vw, 2rem);
}

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

.site-header {
  position: relative;
  z-index: 20;
  background: var(--ivory);
  border-bottom: 1px solid rgba(30, 77, 43, 0.11);
}

.nav-shell {
  width: min(1180px, calc(100% - 40px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-mark {
  display: none;
}

.nav-cta {
  margin-left: auto;
}

.section {
  padding: 96px 0;
}

.section-tight-top {
  padding-top: 28px;
}

.section-dark {
  background: var(--forest);
  color: var(--ivory);
}

.section-ivory {
  background: var(--ivory);
}

.section-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero-grid > *,
.mission-grid > *,
.comparison-layout > *,
.help-grid > *,
.founding-hero-grid > *,
.form-layout > *,
.footer-grid > * {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--forest);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.gold-text {
  color: var(--gold);
}

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

.section-heading h2,
.comparison-main h2,
.feedback-preview h2,
.form-intro h2 {
  color: var(--forest);
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

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

.button-primary {
  background: var(--forest);
  color: var(--ivory);
}

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

.button-gold {
  background: var(--gold);
  color: var(--forest-dark);
}

.button-gold:hover {
  background: var(--white);
  color: var(--forest);
}

.button-outline {
  border-color: currentColor;
  background: transparent;
}

.button-outline.light {
  color: var(--ivory);
}

.button-outline.light:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--forest-dark);
}

.full-width {
  width: 100%;
}

.hero {
  min-height: calc(100vh - 78px);
  padding: 64px 0 70px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6.5rem);
}

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

.hero-copy h1 {
  margin-bottom: 0.55rem;
  font-size: clamp(3.55rem, 7.6vw, 7.25rem);
}

.hero-copy h2 {
  max-width: 630px;
  margin-bottom: 1.2rem;
  color: var(--gold);
  font-size: clamp(1.85rem, 3.25vw, 3.45rem);
}

.hero-copy p:not(.eyebrow) {
  max-width: 700px;
  margin-bottom: 0.82rem;
  color: rgba(245, 243, 236, 0.88);
  font-size: clamp(0.96rem, 1.16vw, 1.08rem);
  line-height: 1.58;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.55rem;
}

.hero-logo-wrap {
  position: relative;
  width: min(410px, 100%);
  aspect-ratio: 1;
  margin: 0 auto;
  display: grid;
  place-items: center;
}

.hero-logo-wrap::before,
.hero-logo-wrap::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-logo-wrap::before {
  inset: -22px;
  border: 1px solid rgba(200, 169, 97, 0.55);
}

.hero-logo-wrap::after {
  inset: 18px;
  border: 1px solid rgba(245, 243, 236, 0.22);
}

.hero-logo {
  position: relative;
  z-index: 2;
  width: 86%;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 50%;
}

.logo-fallback {
  position: absolute;
  z-index: 1;
  width: 82%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.35rem;
  border: 2px solid var(--gold);
  border-radius: 50%;
  background: var(--forest-dark);
  color: var(--ivory);
  text-align: center;
  text-transform: uppercase;
}

.logo-fallback strong {
  max-width: 72%;
  color: var(--gold);
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.9;
}

.logo-fallback span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.hero-logo[src] {
  min-height: 1px;
}

.icon-card-grid,
.feature-grid {
  display: grid;
  gap: 1.25rem;
}

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

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

.icon-card,
.feature-card {
  min-height: 100%;
  padding: 30px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.46);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.55) inset;
}

.icon-card h3,
.feature-card h3 {
  margin: 1.1rem 0 0.8rem;
  color: var(--forest);
}

.icon-card p,
.feature-card p {
  color: rgba(15, 31, 51, 0.78);
}

.line-icon {
  width: 56px;
  height: 56px;
  color: var(--gold);
}

.line-icon svg,
.timeline-icon svg,
.flag-mark svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.3;
}

.closing-line {
  margin: 42px 0 0;
  color: var(--forest);
  font-family: var(--serif);
  font-size: clamp(1.65rem, 3vw, 2.8rem);
  font-weight: 700;
  line-height: 1.1;
}

.mission-strip {
  padding: 62px 0;
}

.mission-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.2fr 120px;
  align-items: center;
  gap: 2rem;
}

.mission-grid h2 {
  font-size: clamp(2.75rem, 5vw, 5.4rem);
}

.mission-grid p {
  margin: 0;
  color: rgba(245, 243, 236, 0.9);
  font-size: clamp(1.02rem, 1.4vw, 1.16rem);
}

.flag-mark {
  color: var(--gold);
  justify-self: end;
  width: 112px;
}

.card-kicker {
  margin-bottom: 1rem;
  color: var(--navy);
  font-weight: 800;
}

.comparison-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.comparison-main h2 {
  margin-bottom: 2rem;
}

.comparison-table {
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

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

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

.comparison-row > div {
  padding: 1.15rem 1.25rem;
}

.comparison-row > div + div {
  border-left: 1px solid var(--line);
}

.comparison-head {
  background: var(--forest);
  color: var(--ivory);
  font-weight: 800;
}

.comparison-row:not(.comparison-head) > div:last-child {
  color: var(--forest);
  font-weight: 700;
}

.practice-note {
  border-left: 3px solid var(--gold);
  padding: 1rem 0 1rem 1.5rem;
  color: var(--forest);
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 3.1rem);
  font-weight: 700;
  line-height: 1.08;
}

.practice-note p {
  margin: 0 0 1rem;
}

.practice-note p:last-child {
  margin-bottom: 0;
}

.timeline {
  position: relative;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  list-style: none;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 42px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: rgba(30, 77, 43, 0.22);
}

.timeline-item {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 0.45rem;
  padding: 0 1rem;
  text-align: center;
}

.timeline-icon {
  position: relative;
  z-index: 1;
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--ivory);
  color: var(--gold);
}

.timeline-icon svg {
  width: 48px;
  height: 48px;
}

.timeline-item strong {
  color: var(--forest);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.timeline-item span:last-child {
  max-width: 210px;
  color: rgba(15, 31, 51, 0.75);
  font-weight: 600;
}

.section-help {
  padding-top: 54px;
}

.help-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: stretch;
}

.feedback-preview {
  padding: 42px 0;
}

.feedback-preview h2 {
  margin-bottom: 1.4rem;
}

.feedback-preview label,
.signup-form label,
.signup-form legend {
  display: grid;
  gap: 0.5rem;
  color: var(--forest);
  font-weight: 800;
}

textarea,
input,
select {
  width: 100%;
  border: 1px solid rgba(30, 77, 43, 0.22);
  border-radius: 2px;
  background: var(--white);
  color: var(--charcoal);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

textarea,
input,
select {
  padding: 0.95rem 1rem;
}

textarea {
  min-height: 132px;
  resize: vertical;
}

textarea:focus,
input:focus,
select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(200, 169, 97, 0.18);
}

.founding-card,
.value-box {
  padding: 36px;
  background: var(--forest);
  color: var(--ivory);
  box-shadow: var(--shadow);
}

.founding-card h2,
.value-box h2 {
  margin-bottom: 1.1rem;
  color: var(--ivory);
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.founding-card h3 {
  margin: 1.2rem 0 0.7rem;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.founding-card p,
.value-box p {
  color: rgba(245, 243, 236, 0.86);
}

.check-list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.45rem;
}

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

.progress-block {
  margin: 1.6rem 0;
}

.progress-label {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.65rem;
  color: var(--ivory);
  font-size: 0.92rem;
}

.progress-label strong {
  color: var(--gold);
  white-space: nowrap;
}

.progress-track {
  height: 11px;
  overflow: hidden;
  border: 1px solid rgba(245, 243, 236, 0.28);
  background: rgba(245, 243, 236, 0.16);
}

.progress-fill {
  width: 27%;
  height: 100%;
  display: block;
  background: var(--gold);
}

.small-note {
  margin: 0.75rem 0 0;
  text-align: center;
  font-size: 0.9rem;
}

.site-footer {
  padding: 54px 0 38px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, auto);
  gap: 2rem;
  align-items: start;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
  color: var(--ivory);
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
}

.footer-grid p {
  max-width: 560px;
  color: rgba(245, 243, 236, 0.8);
}

.footer-side {
  min-height: 168px;
  grid-column: 2;
  grid-row: 1 / span 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.85rem 1.2rem;
  color: var(--gold);
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--ivory);
}

.footer-logo {
  width: 104px;
  aspect-ratio: 1;
  object-fit: contain;
}

.copyright {
  grid-column: 1;
  margin: 1.5rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(245, 243, 236, 0.18);
  font-size: 0.92rem;
}

.back-link {
  color: var(--forest);
  font-weight: 800;
}

.back-link:hover {
  color: var(--gold);
}

.founding-hero {
  padding: 82px 0 88px;
}

.founding-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
  gap: clamp(2.25rem, 5vw, 5rem);
  align-items: center;
}

.founding-hero h1 {
  max-width: 820px;
  margin-bottom: 1rem;
  font-size: clamp(3.8rem, 7.4vw, 7.4rem);
}

.founding-hero h2 {
  max-width: 790px;
  margin-bottom: 1.4rem;
  color: var(--gold);
  font-size: clamp(1.9rem, 3.3vw, 3.35rem);
}

.founding-hero p {
  max-width: 720px;
  color: rgba(245, 243, 236, 0.88);
}

.disclaimer {
  margin-top: 1.2rem;
  padding-left: 1rem;
  border-left: 3px solid var(--gold);
  font-size: 0.92rem;
}

.value-box {
  border: 1px solid rgba(200, 169, 97, 0.54);
  background: var(--forest);
}

.logo-missing {
  display: none;
}

.value-cta {
  margin: 1.4rem 0 0;
  color: var(--gold);
  font-weight: 800;
}

.form-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.36fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.form-intro {
  position: sticky;
  top: 24px;
}

.form-intro h2 {
  font-size: clamp(2.65rem, 3.3vw, 3.55rem);
}

.signup-form {
  padding: clamp(1.5rem, 4vw, 2.8rem);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

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

.signup-form fieldset {
  margin: 1.4rem 0;
  padding: 1.2rem;
  border: 1px solid var(--line);
}

.signup-form legend {
  padding: 0 0.35rem;
}

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

.checkbox-grid label {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: var(--charcoal);
  font-weight: 600;
}

.checkbox-grid input {
  width: 18px;
  height: 18px;
  margin-top: 0.2rem;
  accent-color: var(--forest);
}

.submit-button {
  width: 100%;
  margin-top: 1.35rem;
}

.field-error {
  min-height: 1.25rem;
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 700;
}

.thank-you-message {
  margin-top: 1.4rem;
  padding: 1.25rem;
  border: 1px solid rgba(30, 77, 43, 0.24);
  background: rgba(30, 77, 43, 0.08);
}

.thank-you-message h3 {
  margin-bottom: 0.45rem;
  color: var(--forest);
  font-size: 1.7rem;
}

.thank-you-message p {
  margin: 0;
}

.hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

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

@media (max-width: 1020px) {
  h1 {
    font-size: 5.75rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .founding-hero-grid,
  .help-grid,
  .comparison-layout,
  .form-layout {
    grid-template-columns: 1fr;
  }

  .hero-logo-wrap {
    width: min(340px, 72%);
  }

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

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

  .mission-grid {
    grid-template-columns: 1fr 120px;
  }

  .mission-grid h2 {
    grid-column: 1 / -1;
  }

  .practice-note {
    max-width: 620px;
  }

  .form-intro {
    position: static;
  }
}

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

  .nav-shell,
  .section-inner {
    width: min(100% - 32px, 1180px);
  }

  .nav-shell {
    min-height: 72px;
  }

  .nav-cta {
    min-height: 48px;
    padding: 0.85rem 1rem;
    font-size: 0.9rem;
  }

  .section {
    padding: 72px 0;
  }

  .section-tight-top {
    padding-top: 12px;
  }

  .hero,
  .founding-hero {
    padding: 56px 0 64px;
  }

  .hero h1,
  .founding-hero h1 {
    font-size: 4.5rem;
  }

  .hero-copy h2,
  .founding-hero h2 {
    font-size: 2.55rem;
  }

  h2 {
    font-size: 3.4rem;
  }

  h3 {
    font-size: 1.75rem;
  }

  .icon-card,
  .feature-card,
  .founding-card,
  .value-box,
  .signup-form {
    padding: 26px;
  }

  .hero-logo-wrap {
    width: min(300px, 64%);
  }

  input,
  select,
  textarea {
    font-size: 16px;
  }

  .comparison-table {
    box-shadow: none;
  }
}

@media (max-width: 480px) {
  .nav-shell {
    width: min(100% - 20px, 1180px);
    justify-content: flex-end;
  }

  .section-inner {
    width: min(100% - 24px, 1180px);
  }

  .nav-cta {
    width: 100%;
    margin-left: 0;
  }

  .section {
    padding: 60px 0;
  }

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

  .hero h1,
  .founding-hero h1 {
    font-size: 3.45rem;
  }

  .hero-copy h2,
  .founding-hero h2 {
    font-size: 2.15rem;
  }

  h2 {
    font-size: 2.7rem;
  }

  h3 {
    font-size: 1.6rem;
  }

  .form-intro h2 {
    font-size: 2.75rem;
  }

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

  .hero-logo-wrap {
    width: min(230px, 64vw);
  }

  .icon-card-grid.four,
  .timeline,
  .form-grid,
  .checkbox-grid {
    grid-template-columns: 1fr;
  }

  .icon-card,
  .feature-card,
  .founding-card,
  .value-box,
  .signup-form {
    padding: 22px;
  }

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

  .flag-mark {
    justify-self: start;
  }

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

  .comparison-row > div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .comparison-head div:first-child {
    border-bottom: 1px solid rgba(245, 243, 236, 0.2);
  }

  .timeline {
    gap: 1.4rem;
  }

  .timeline::before {
    top: 0;
    bottom: 0;
    left: 42px;
    right: auto;
    width: 1px;
    height: auto;
  }

  .timeline-item {
    min-height: 84px;
    grid-template-columns: 84px 1fr;
    justify-items: start;
    text-align: left;
  }

  .timeline-item strong,
  .timeline-item span:last-child {
    grid-column: 2;
  }

  .timeline-icon {
    grid-row: 1 / span 2;
  }

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

  .footer-side {
    min-height: 0;
    grid-column: 1;
    grid-row: auto;
    align-items: flex-start;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .footer-logo {
    width: 88px;
  }

  .copyright {
    grid-column: 1;
  }

  .hero-logo-wrap::before {
    inset: -12px;
  }

  .progress-label {
    display: grid;
    gap: 0.25rem;
  }

  input,
  select {
    min-height: 54px;
  }

  textarea {
    min-height: 144px;
  }

  .checkbox-grid label {
    min-height: 42px;
    align-items: center;
  }

  .checkbox-grid input {
    width: 20px;
    height: 20px;
    margin-top: 0;
    flex: 0 0 20px;
  }
}
