/* REACH outreach-ready finalization layer.
   Preserves the approved FINAL_14 visual system while improving
   typography, conversion hierarchy, mobile rhythm, and new pages. */

:root {
  --sec-y: clamp(4.2rem, 7vw, 7rem);
}

[hidden] {
  display: none !important;
}

body {
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-kerning: normal;
  letter-spacing: -0.018em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(3rem, 6.6vw, 6.2rem);
  line-height: 0.99;
  letter-spacing: -0.026em;
}

h2 {
  font-size: clamp(2.2rem, 4.6vw, 4.25rem);
  line-height: 1.015;
  letter-spacing: -0.022em;
}

h3 {
  line-height: 1.22;
  letter-spacing: -0.008em;
}

p,
li,
summary {
  text-wrap: pretty;
}

.btn,
.header-cta {
  letter-spacing: -0.006em;
}

.page-home .hero--system h1 {
  max-width: 12.8ch;
}

.page-home .hero--system .hero-sub {
  max-width: 42rem;
}

.page-home section[id] {
  scroll-margin-top: 4.75rem;
}

.page-home .sec-head {
  gap: 0.9rem;
}

.page-home .media-section {
  padding-top: clamp(4.75rem, 8vw, 8rem);
}

.page-home .gallery-section {
  padding-block: var(--sec-y);
}

.concept-disclosure,
.concept-label {
  color: #85868d;
  font-size: 0.72rem;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

.concept-disclosure {
  margin-top: 0.4rem;
  text-align: center;
}

.concept-label {
  padding: 0.75rem 0.85rem 0.15rem;
}

.page-home .kit-figure--compact {
  background: rgba(255, 255, 255, 0.72);
}

.page-home .kit-figure--compact img {
  display: block;
}

.page-home .guarantee {
  gap: 0.8rem;
}

.page-home .guarantee p {
  margin: 0;
}

.page-home .funnel-step h3,
.page-home .service-card h3,
.page-home .process-grid h3 {
  line-height: 1.2;
}

.page-home .audit-section {
  padding-top: clamp(1.5rem, 4vw, 3.5rem);
}

.page-home .audit-section .support-band--system {
  margin-top: 0;
}

.founder-section {
  padding-block: clamp(3.25rem, 6vw, 6rem);
}

.founder-card {
  display: grid;
  gap: clamp(1.5rem, 4vw, 4rem);
  padding: clamp(1.6rem, 5vw, 4.5rem);
  border: 1px solid rgba(29, 29, 31, 0.075);
  border-radius: clamp(1.75rem, 3.5vw, 2.7rem);
  background:
    radial-gradient(30rem 18rem at 100% 0%, rgba(1, 111, 208, 0.1), transparent 68%),
    rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.founder-card h2 {
  margin-top: 0.5rem;
}

.founder-role {
  margin-top: 0.6rem;
  color: var(--text);
  font-size: 1rem;
  font-weight: 650;
}

.founder-card .lead {
  max-width: 43rem;
}

.founder-location {
  margin-top: 1rem;
  color: var(--muted-dim);
  font-size: 0.9rem;
  font-weight: 550;
}

.starting-section {
  padding-top: clamp(3rem, 6vw, 5.5rem);
}

.starting-grid {
  display: grid;
  gap: 0.9rem;
  margin-top: clamp(2.25rem, 4vw, 3.75rem);
}

.starting-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.8rem;
  min-height: 23rem;
  padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid rgba(29, 29, 31, 0.075);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
}

.starting-card--featured {
  border-color: rgba(1, 111, 208, 0.22);
  background:
    radial-gradient(24rem 14rem at 100% 0%, rgba(1, 111, 208, 0.12), transparent 70%),
    #fff;
  box-shadow: var(--shadow);
}

.starting-card > p {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.starting-card h3 {
  margin-top: 0.65rem;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.starting-card > strong {
  font-size: 1.35rem;
  font-weight: 650;
}

.starting-card > span,
.starting-card > small {
  color: var(--muted);
  line-height: 1.58;
}

.starting-card > span {
  font-size: 0.96rem;
}

.starting-card > small {
  font-size: 0.78rem;
}

.starting-card .btn {
  align-self: end;
  justify-self: stretch;
  margin-top: auto;
}

.page-form .field select {
  width: 100%;
  min-height: 3rem;
  padding: 0.72rem 2.5rem 0.72rem 0.85rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background:
    linear-gradient(45deg, transparent 50%, #73747a 50%) calc(100% - 1.15rem) 50% / 5px 5px no-repeat,
    linear-gradient(135deg, #73747a 50%, transparent 50%) calc(100% - 0.85rem) 50% / 5px 5px no-repeat,
    #fff;
  color: var(--text);
  font: inherit;
  font-size: 1rem;
}

.page-form .field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(1, 111, 208, 0.16);
}

.project-form-intro {
  max-width: 46rem;
  margin-inline: auto;
}

.project-form-intro h1 {
  max-width: 12ch;
  margin-inline: auto;
}

.project-form-note {
  display: grid;
  gap: 0.3rem;
  margin-top: 1.4rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(1, 111, 208, 0.15);
  border-radius: 16px;
  background: rgba(1, 111, 208, 0.055);
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.project-form-note strong {
  color: var(--text);
}

.page-confirmation .receipt-card {
  display: grid;
  gap: 1.2rem;
  max-width: 58rem;
  margin-inline: auto;
  padding: clamp(1.6rem, 5vw, 4rem);
  border: 1px solid rgba(29, 29, 31, 0.075);
  border-radius: clamp(1.75rem, 4vw, 3rem);
  background:
    radial-gradient(30rem 20rem at 100% 0%, rgba(1, 111, 208, 0.1), transparent 70%),
    rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.page-confirmation .receipt-card h1 {
  max-width: 13ch;
}

.receipt-steps {
  display: grid;
  gap: 0.7rem;
  margin-top: 1rem;
  counter-reset: receipt;
}

.receipt-steps li {
  counter-increment: receipt;
  display: grid;
  grid-template-columns: 2.1rem 1fr;
  gap: 0.85rem;
  align-items: center;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(248, 249, 251, 0.88);
  font-size: 0.92rem;
  font-weight: 600;
}

.receipt-steps li::before {
  content: counter(receipt, decimal-leading-zero);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.09em;
}

.response-target {
  width: fit-content;
  padding: 0.7rem 0.9rem;
  border-radius: 999px;
  background: rgba(1, 111, 208, 0.07);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 600;
}

.page-confirmation .receipt-actions {
  margin-top: 0.5rem;
}

.page-confirmation .fallback {
  text-align: left;
}

@media (min-width: 48rem) {
  .founder-card {
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    align-items: center;
  }

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

@media (max-width: 47.99rem) {
  :root {
    --sec-y: clamp(3.35rem, 11vw, 4.6rem);
  }

  h1 {
    font-size: clamp(2.5rem, 11.6vw, 3.75rem);
    line-height: 1.005;
    letter-spacing: -0.018em;
  }

  h2 {
    font-size: clamp(2rem, 8.6vw, 2.95rem);
    line-height: 1.035;
    letter-spacing: -0.015em;
  }

  h3 {
    letter-spacing: 0;
  }

  .site-header {
    padding-top: env(safe-area-inset-top);
  }

  .page-home .hero--system {
    padding-block: 4.25rem 4.4rem;
  }

  .page-home .hero--system .hero-inner {
    gap: 1.25rem;
  }

  .page-home .hero--system .hero-sub {
    font-size: clamp(1.02rem, 4.35vw, 1.16rem);
    line-height: 1.55;
  }

  .page-home .hero--system .btn-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .page-home .hero--system .btn {
    width: 100%;
    padding-inline: 0.9rem;
    white-space: nowrap;
  }

  .page-home .hero-meta {
    gap: 0.35rem;
    margin-top: 1rem;
  }

  .page-home .media-section {
    padding-top: var(--sec-y);
  }

  .page-home .offer {
    padding: 1.3rem;
  }

  .page-home .payment-split {
    gap: 0.55rem;
  }

  .page-home .gallery-section,
  .page-home .system-section,
  .page-home .support-section,
  .page-home .final .shell {
    border-radius: 24px;
  }

  .page-home .gallery-grid--balanced {
    margin-top: 2rem;
  }

  .page-home .system-section {
    padding-block: 3.3rem;
  }

  .page-home .system-section .sec-head {
    gap: 0.9rem;
  }

  .page-home .system-section .lead {
    font-size: 1rem;
    line-height: 1.52;
  }

  .page-home .funnel-grid {
    gap: 0.6rem;
    margin-top: 1.9rem;
  }

  .page-home .funnel-step {
    grid-template-columns: 2.35rem minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 0.8rem;
    row-gap: 0.25rem;
    min-height: 0;
    padding: 0.9rem 1rem;
    border-radius: 17px;
  }

  .page-home .funnel-step::after {
    display: none;
  }

  .page-home .funnel-num {
    grid-row: 1 / 3;
    align-self: start;
    width: 2rem;
    height: 2rem;
  }

  .page-home .funnel-step h3 {
    margin-top: 0.05rem;
    font-size: 1.03rem;
  }

  .page-home .funnel-step p {
    font-size: 0.82rem;
    line-height: 1.42;
  }

  .page-home .funnel-close {
    margin-top: 1.5rem;
    font-size: 0.94rem;
    line-height: 1.45;
  }

  .page-home .support-section {
    padding-block: 3.8rem;
  }

  .page-home .service-grid {
    gap: 0.65rem;
    margin-top: 2rem;
  }

  .page-home .service-card {
    min-height: 0;
    padding: 1.15rem 1.05rem;
    border-radius: 18px;
  }

  .page-home .service-card h3 {
    margin-top: 0.3rem;
  }

  .page-home .support-band--system {
    padding: 1.6rem 1.3rem;
  }

  .page-home .process-grid li {
    min-height: 0;
    padding: 1.25rem 1.15rem;
  }

  .founder-section {
    padding-block: 2.5rem;
  }

  .starting-section {
    padding-top: 2.75rem;
  }

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

  .starting-card .btn {
    margin-top: 0.75rem;
  }

  .page-home .final {
    padding-bottom: max(3.75rem, calc(2.25rem + env(safe-area-inset-bottom)));
  }

  .page-form .ty-hero {
    padding-block: 3.5rem 2rem;
  }

  .page-form .form-card {
    padding: 1.15rem;
    border-radius: 24px;
  }

  .page-form .form-foot .btn {
    width: 100%;
  }

  .page-form .ty-hero .next-block {
    width: 100%;
    max-width: 23rem;
    margin-inline: auto;
  }

  .page-form .ty-hero .next-line {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem 0.75rem;
    width: 100%;
  }

  .page-form .ty-hero .next-line li {
    align-items: flex-start;
    text-align: left;
  }

  .page-confirmation .receipt-card {
    padding: 1.35rem;
  }

  .page-confirmation .receipt-card h1 {
    max-width: 15ch;
    font-size: clamp(2.2rem, 10vw, 3.6rem);
  }

  .page-confirmation .receipt-actions {
    display: grid;
  }

  .page-confirmation .receipt-actions .btn {
    width: 100%;
  }

  .site-footer {
    padding-bottom: max(3.5rem, calc(2.5rem + env(safe-area-inset-bottom)));
  }

  .js .reveal {
    opacity: 1;
    filter: none;
    transform: none;
    transition: none;
  }
}

@media (max-width: 23rem) {
  .page-home .hero--system .btn-row {
    grid-template-columns: 1fr;
  }
}
