:root {
  --ink: #101c2a;
  --muted: #5f665f;
  --paper: #f3efe4;
  --paper-light: #fbf8f0;
  --coral: #df6c52;
  --sage: #7d9b83;
  --line: rgba(16, 28, 42, 0.16);
  --display: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 8%, rgba(223, 108, 82, 0.13), transparent 27rem),
    radial-gradient(circle at 12% 54%, rgba(125, 155, 131, 0.08), transparent 32rem),
    linear-gradient(180deg, #f7f4ec 0%, var(--paper) 70%, #ece6d8 100%);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

::selection {
  color: var(--paper-light);
  background: var(--coral);
}

.site-header,
.hero,
.section-shell,
footer {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 5px;
  height: 5px;
  background: var(--coral);
  border-radius: 50%;
  transform: translateX(-50%);
}

.site-header {
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--paper-light);
  background: var(--ink);
  border-radius: 50%;
  font-family: var(--display);
  font-size: 1.2rem;
  letter-spacing: 0;
  box-shadow: 0 0 0 5px rgba(16, 28, 42, 0.06);
}

.preview-label,
.eyebrow {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.preview-label {
  color: var(--muted);
}

.hero {
  min-height: 700px;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(380px, 0.88fr);
  gap: clamp(44px, 7vw, 104px);
  align-items: center;
  padding: 96px 0 112px;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--coral);
}

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

h1,
h2 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 760px;
  margin-bottom: 30px;
  font-size: clamp(4rem, 7vw, 6.65rem);
  line-height: 0.92;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2.45rem, 4.5vw, 4.1rem);
  line-height: 1.02;
  text-wrap: balance;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.28rem;
  line-height: 1.25;
}

.hero-intro {
  max-width: 650px;
  color: #414942;
  font-size: clamp(1.08rem, 1.7vw, 1.32rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 40px;
}

.primary-action {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 25px;
  color: white;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 999px;
  font: 750 0.82rem/1 var(--sans);
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease;
}

.primary-action:hover,
.primary-action:focus-visible {
  background: var(--coral);
  border-color: var(--coral);
  transform: translateY(-2px);
}

.primary-action.is-locked {
  color: var(--ink);
  background: transparent;
  border-color: var(--line);
  cursor: default;
}

.primary-action.is-locked:hover {
  background: transparent;
  border-color: var(--line);
  transform: none;
}

.text-action,
.source-link {
  font-size: 0.86rem;
  font-weight: 750;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}

.audit-visual {
  position: relative;
  min-height: 520px;
}

.paper {
  position: absolute;
  inset: 40px 20px 48px 42px;
  border: 1px solid rgba(16, 28, 42, 0.18);
  box-shadow: 0 28px 80px rgba(49, 42, 29, 0.14);
}

.paper-back {
  background: var(--sage);
  transform: rotate(6deg) translate(18px, -12px);
}

.paper-front {
  display: flex;
  flex-direction: column;
  padding: 42px;
  background: var(--paper-light);
  transform: rotate(-2deg);
  transition: transform 350ms ease, box-shadow 350ms ease;
}

.audit-visual:hover .paper-front {
  box-shadow: 0 38px 90px rgba(49, 42, 29, 0.2);
  transform: rotate(-0.5deg) translateY(-5px);
}

.paper-heading {
  display: flex;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.folio {
  color: var(--coral);
}

.paper-title-line {
  width: 82%;
  height: 13px;
  margin-top: 34px;
  background: var(--ink);
}

.paper-title-line.short {
  width: 54%;
  margin-top: 10px;
}

.audit-ruler {
  display: grid;
  gap: 15px;
  margin: 54px 0 46px;
}

.audit-ruler span {
  height: 7px;
  background: linear-gradient(90deg, var(--coral) var(--score), #ded8ca var(--score));
  border-radius: 5px;
}

.paper-note {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--display);
  font-size: 0.94rem;
  font-style: italic;
}

.note-index {
  flex: 0 0 auto;
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--coral);
  border-radius: 50%;
  font: 800 0.68rem/1 var(--sans);
}

.visual-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  display: grid;
  gap: 2px;
  padding: 16px 20px;
  color: white;
  background: var(--ink);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.section-shell {
  position: relative;
  padding: 120px 0;
  border-top: 1px solid var(--line);
}

.section-shell::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  width: 38px;
  height: 5px;
  background: var(--coral);
}

.section-heading {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  column-gap: 80px;
  align-items: end;
  margin-bottom: 58px;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading > p:last-child {
  max-width: 470px;
  margin-bottom: 4px;
  color: var(--muted);
}

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

.outcome-card {
  position: relative;
  overflow: hidden;
  min-height: 270px;
  padding: 30px;
  background: rgba(251, 248, 240, 0.72);
  border: 1px solid var(--line);
  box-shadow: 0 12px 34px rgba(49, 42, 29, 0.04);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.outcome-card::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -42px;
  width: 110px;
  height: 110px;
  border: 1px solid rgba(223, 108, 82, 0.22);
  border-radius: 50%;
}

.outcome-card:hover {
  border-color: rgba(223, 108, 82, 0.55);
  box-shadow: 0 22px 50px rgba(49, 42, 29, 0.09);
  transform: translateY(-4px);
}

.outcome-card-wide {
  grid-column: 1 / -1;
  min-height: 230px;
}

.outcome-card p {
  max-width: 620px;
  color: var(--muted);
}

.card-number {
  display: block;
  margin-bottom: 78px;
  color: var(--coral);
  font-size: 0.7rem;
  font-weight: 800;
}

.outcome-card-wide .card-number {
  margin-bottom: 50px;
}

.section-heading.compact {
  display: block;
  max-width: 780px;
}

.dimension-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.dimension-list li {
  display: grid;
  grid-template-columns: 90px 1fr;
  align-items: center;
  min-height: 92px;
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.6vw, 2.25rem);
  transition: background 180ms ease, padding 180ms ease;
}

.dimension-list li:hover {
  padding-left: 18px;
  background: linear-gradient(90deg, rgba(223, 108, 82, 0.09), transparent 72%);
}

.dimension-list span {
  color: var(--coral);
  font: 800 0.7rem/1 var(--sans);
}

.flow-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow-grid::before {
  content: "";
  position: absolute;
  top: 51px;
  left: 7%;
  right: 7%;
  height: 1px;
  background: rgba(223, 108, 82, 0.45);
}

.flow-grid li {
  position: relative;
  min-height: 270px;
  padding: 30px;
  background: linear-gradient(145deg, rgba(251, 248, 240, 0.94), rgba(125, 155, 131, 0.13));
  border: 1px solid var(--line);
  box-shadow: 0 16px 38px rgba(49, 42, 29, 0.05);
}

.flow-grid p {
  color: var(--muted);
}

.flow-number {
  position: relative;
  z-index: 1;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 55px;
  color: white;
  background: var(--coral);
  border: 6px solid var(--paper-light);
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(223, 108, 82, 0.3);
  font-size: 0.7rem;
  font-weight: 800;
}

.credibility {
  display: grid;
  grid-template-columns: 0.68fr 1.32fr;
  gap: clamp(50px, 9vw, 140px);
  align-items: center;
}

.credit-badge {
  position: relative;
  aspect-ratio: 1;
  display: grid;
  align-content: center;
  justify-items: center;
  color: var(--paper-light);
  background: var(--ink);
  border-radius: 50%;
  text-align: center;
  box-shadow: 0 30px 70px rgba(16, 28, 42, 0.2);
}

.credit-badge::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(251, 248, 240, 0.24);
  border-radius: 50%;
}

.credit-badge strong {
  font-family: var(--display);
  font-size: clamp(3rem, 6vw, 5.2rem);
  font-weight: 500;
  line-height: 0.9;
}

.credit-badge span {
  margin-top: 13px;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.credit-copy p:not(.eyebrow) {
  color: var(--muted);
}

.credit-copy p a {
  color: var(--ink);
  text-underline-offset: 4px;
}

.source-link {
  display: inline-block;
  margin-top: 12px;
}

.invitation {
  max-width: 920px;
  margin-top: 120px;
  margin-bottom: 120px;
  padding: 96px clamp(28px, 7vw, 90px);
  background:
    radial-gradient(circle at 50% 0%, rgba(223, 108, 82, 0.13), transparent 15rem),
    rgba(251, 248, 240, 0.78);
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(49, 42, 29, 0.08);
  text-align: center;
}

.invitation::before {
  top: -1px;
  left: 50%;
  width: 112px;
  height: 4px;
  transform: translateX(-50%);
}

.invitation p:not(.eyebrow) {
  max-width: 700px;
  margin-inline: auto;
  color: var(--muted);
}

.invitation .internal-note {
  max-width: 620px;
  margin-top: 28px;
  padding: 26px 28px;
  color: var(--ink);
  background: rgba(125, 155, 131, 0.12);
  border: 1px solid rgba(125, 155, 131, 0.3);
}

.internal-note strong {
  display: block;
  margin-bottom: 5px;
  color: var(--coral);
  font-weight: 800;
}

.invitation-status {
  display: inline-flex;
  margin-top: 26px;
  padding: 11px 18px;
  color: white;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.registration {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(54px, 8vw, 110px);
}

.registration[hidden] {
  display: none;
}

.registration-copy p:not(.eyebrow) {
  color: var(--muted);
}

.registration-form {
  display: grid;
  gap: 20px;
  padding: 34px;
  background: var(--paper-light);
  border: 1px solid var(--line);
}

.registration-form label,
.form-row {
  display: grid;
  gap: 9px;
}

.form-row {
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.registration-form label > span {
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.registration-form small {
  color: var(--muted);
  font-size: inherit;
  font-weight: 500;
}

input {
  width: 100%;
  min-height: 51px;
  padding: 0 14px;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  border-radius: 0;
  font: inherit;
}

input:focus {
  outline: 2px solid var(--coral);
  outline-offset: 2px;
}

.registration-form .primary-action {
  justify-self: start;
  margin-top: 6px;
}

.form-status {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.76rem;
}

footer {
  min-height: 120px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.72rem;
}

footer span:first-child {
  color: var(--ink);
  font-weight: 800;
}

footer a {
  justify-self: end;
}

@media (max-width: 860px) {
  .hero,
  .section-heading,
  .credibility,
  .registration,
  .flow-grid {
    grid-template-columns: 1fr;
  }

  .flow-grid li {
    min-height: 220px;
  }

  .flow-grid::before {
    top: 40px;
    bottom: 40px;
    left: 51px;
    right: auto;
    width: 1px;
    height: auto;
  }

  .flow-number {
    margin-bottom: 42px;
  }

  .hero {
    padding-top: 72px;
  }

  .audit-visual {
    min-height: 500px;
  }

  .section-heading {
    gap: 24px;
  }

  .credit-badge {
    width: min(330px, 78vw);
    justify-self: center;
  }

  footer {
    grid-template-columns: 1fr;
    padding: 30px 0;
    text-align: center;
  }

  footer a {
    justify-self: center;
  }
}

@media (max-width: 600px) {
  .site-header,
  .hero,
  .section-shell,
  footer {
    width: min(100% - 30px, 1180px);
  }

  .site-header {
    min-height: 76px;
  }

  .preview-label {
    display: none;
  }

  .hero {
    min-height: 0;
    padding: 64px 0 88px;
  }

  h1 {
    font-size: clamp(3.35rem, 17vw, 4.6rem);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .audit-visual {
    min-height: 430px;
  }

  .paper {
    inset: 28px 11px 42px 18px;
  }

  .paper-front {
    padding: 28px;
  }

  .section-shell {
    padding: 88px 0;
  }

  .invitation {
    width: min(100% - 30px, 1180px);
    margin-top: 72px;
    margin-bottom: 72px;
    padding: 72px 22px;
  }

  .invitation .internal-note {
    padding: 22px 18px;
  }

  .outcome-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .outcome-card-wide {
    grid-column: auto;
  }

  .outcome-card,
  .outcome-card-wide {
    min-height: 240px;
  }

  .card-number,
  .outcome-card-wide .card-number {
    margin-bottom: 54px;
  }

  .dimension-list li {
    grid-template-columns: 58px 1fr;
  }

  .registration-form {
    padding: 24px;
  }
}

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

  * {
    transition: none !important;
  }
}
