:root {
  --navy: #0e2a49;
  --navy-deep: #091d34;
  --navy-soft: #183b60;
  --gold: #c99a2e;
  --gold-light: #e8cb82;
  --gold-pale: #f4e8c7;
  --ember: #a8422d;
  --ink: #14253a;
  --muted: #526277;
  --surface: #ffffff;
  --mist: #f2f5f7;
  --line: #cbd3dc;
  --success: #17653b;
  --error: #b42318;
  --display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --body: Aptos, "Segoe UI", system-ui, -apple-system, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --shell: 1180px;
  --z-progress: 30;
  --z-sticky: 40;
  /* Meander (görögkulcs) szalag — arany, önálló data-URI, nincs külső kérés.
     A hellén jegyet aláírásként használjuk (hero-alj, lábléc), nem tapétaként. */
  --meander: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='12' viewBox='0 0 28 12'%3E%3Cpath d='M2 10V2h9v5H7V5h1' fill='none' stroke='%23c99a2e' stroke-width='1.4'/%3E%3Cpath d='M16 2v8h10V3h-4v5h1' fill='none' stroke='%23c99a2e' stroke-width='1.4'/%3E%3C/svg%3E");
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 28px;
}

body {
  min-width: 0;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--surface);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(3.15rem, 6.5vw, 5.8rem);
}

h2 {
  font-size: clamp(2.3rem, 4.5vw, 4.25rem);
}

h3 {
  font-size: clamp(1.45rem, 2.1vw, 2rem);
}

.page-shell {
  width: min(calc(100% - 40px), var(--shell));
  margin-inline: auto;
}

.section {
  padding: clamp(78px, 9vw, 132px) 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 12px;
  padding: 9px 14px;
  color: #fff;
  background: var(--navy-deep);
  font-weight: 800;
  transform: translateY(-150%);
  transition: transform 180ms var(--ease-out);
}

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

.scroll-progress {
  position: fixed;
  z-index: var(--z-progress);
  inset: 0 0 auto;
  height: 4px;
  background: transparent;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
}

.statement {
  margin: 0 0 18px;
  color: var(--ember);
  font-size: 0.95rem;
  font-weight: 800;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 14px 20px;
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-size: 0.94rem;
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: color 180ms var(--ease-out), background 180ms var(--ease-out), transform 180ms var(--ease-out);
}

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

.button:active {
  transform: translateY(0) scale(0.98);
}

.button-primary {
  color: #fff;
  background: #1f5a98;
}

.button-primary:hover {
  background: #17487b;
}

.button-dark {
  color: #fff;
  background: var(--navy);
}

.button-dark:hover {
  background: var(--navy-deep);
}

/* Hero */

.hero {
  position: relative;
  min-height: min(900px, 100vh);
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 82% 22%, rgb(201 154 46 / 0.13), transparent 30%),
    linear-gradient(112deg, var(--navy-deep), var(--navy) 60%, #12385e);
}

.hero-shell {
  position: relative;
  z-index: 1;
}

.hero-nav {
  display: flex;
  min-height: 92px;
  align-items: center;
  gap: 32px;
  border-bottom: 1px solid rgb(255 255 255 / 0.19);
}

.wordmark {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  flex: none;
  color: var(--gold-light);
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 30px);
  margin-left: auto;
}

.nav-links a,
.nav-cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 750;
  text-decoration: none;
}

.nav-links a {
  min-width: 44px;
  justify-content: center;
  color: rgb(255 255 255 / 0.76);
}

.nav-links a:hover {
  color: #fff;
}

.nav-cta {
  padding: 9px 12px;
  color: #fff;
  border-bottom: 2px solid var(--gold);
}

.hero-layout {
  display: grid;
  min-height: calc(min(900px, 100vh) - 92px);
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.65fr);
  gap: clamp(50px, 7vw, 96px);
  align-items: center;
  padding: clamp(74px, 9vw, 130px) 0 94px;
}

.hero-content {
  max-width: 760px;
}

.hero-kicker {
  margin: 0 0 20px;
  color: var(--gold-light);
  font-size: 0.83rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 12ch;
  margin-bottom: 28px;
  color: #fff;
}

.hero-lead {
  max-width: 62ch;
  margin: 0;
  color: rgb(255 255 255 / 0.79);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 34px;
}

.hero .button-primary {
  color: var(--navy-deep);
  background: var(--gold-light);
}

.hero .button-primary:hover {
  background: #f2d995;
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 750;
  text-underline-offset: 5px;
}

.hero-assurances {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 23px;
  padding: 24px 0 0;
  margin: 32px 0 0;
  border-top: 1px solid rgb(255 255 255 / 0.18);
  list-style: none;
}

.hero-assurances li {
  color: rgb(255 255 255 / 0.78);
  font-size: 0.77rem;
  font-weight: 700;
}

.hero-assurances li::before {
  margin-right: 8px;
  color: var(--gold-light);
  content: "✓";
}

.audit-sheet {
  padding: clamp(25px, 3.5vw, 40px);
  color: var(--ink);
  background: #f7f5ef;
  border-top: 5px solid var(--gold);
  transform: rotate(1deg);
}

.audit-sheet-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 17px;
  border-bottom: 1px solid #bac0c5;
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 850;
  letter-spacing: 0.11em;
}

.audit-sheet-head b {
  color: var(--ember);
  font-family: var(--display);
  font-size: 1.3rem;
}

.audit-sheet h2 {
  margin: 25px 0 23px;
  font-size: clamp(1.75rem, 2.7vw, 2.45rem);
  line-height: 1.05;
}

.audit-sheet ol {
  display: grid;
  gap: 0;
  padding: 0;
  margin: 0;
  border-top: 1px solid #bac0c5;
  list-style: none;
}

.audit-sheet li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid #bac0c5;
}

.audit-sheet li > span {
  color: var(--ember);
  font-size: 0.67rem;
  font-weight: 850;
}

.audit-sheet li strong,
.audit-sheet li small {
  display: block;
}

.audit-sheet li strong {
  margin-bottom: 4px;
  font-size: 0.9rem;
  line-height: 1.3;
}

.audit-sheet li small {
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.45;
}

.audit-sheet > p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-style: italic;
}

.hero-rule {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 12px;
  background-color: var(--navy-deep);
  background-image: var(--meander);
  background-repeat: repeat-x;
  background-position: center;
  border-top: 1px solid rgb(201 154 46 / 0.4);
}

.hero-inbound {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding: 9px 0;
  color: var(--gold-light);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgb(201 154 46 / 0.45);
}

.hero-inbound:hover {
  color: #fff;
  border-bottom-color: var(--gold-light);
}

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

/* Problem */

.problem-section {
  background: #fff;
}

.problem-layout {
  display: grid;
  grid-template-columns: 0.95fr 0.75fr;
  gap: clamp(50px, 9vw, 130px);
  align-items: start;
}

.problem-layout h2 {
  max-width: 15ch;
  margin-bottom: 0;
}

.problem-copy > p:first-child {
  margin-top: 4px;
}

.problem-copy > p {
  color: var(--muted);
}

.problem-layout { align-items: center; }

.problem-lede > p {
  color: var(--muted);
}

.problem-figure {
  margin: 0;
}

.problem-figure img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.problem-figure figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.84rem;
  font-style: italic;
}

/* Pillars + report card (navy) */

.pillars-section {
  color: #fff;
  background:
    repeating-linear-gradient(90deg, rgb(255 255 255 / 0.024) 0 1px, transparent 1px 74px),
    var(--navy);
}

.pillars-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}

.pillars-copy .statement { color: var(--gold-light); }
.pillars-copy h2 { color: #fff; }
.pillars-copy > p { max-width: 46ch; color: rgb(255 255 255 / 0.74); }

.pillars-temple {
  width: 100%;
  max-width: 520px;
  height: auto;
  margin-top: 30px;
  opacity: 0.92;
}

.report-card {
  padding: clamp(22px, 3vw, 32px);
  color: var(--ink);
  background: var(--gold-pale);
  border: 1px solid rgb(201 154 46 / 0.5);
  border-radius: 4px;
}

.report-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgb(20 37 58 / 0.18);
}

.report-card-head span {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  color: var(--muted);
}

.report-card-head b {
  font-family: var(--display);
  font-size: 1.2rem;
  color: var(--ember);
}

.pillar-scores {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0 0 20px;
  list-style: none;
}

.pillar-scores li {
  display: grid;
  grid-template-columns: 8.5rem 1fr auto;
  gap: 12px;
  align-items: center;
}

.pillar-name { font-size: 0.82rem; font-weight: 750; }

.pillar-bar {
  position: relative;
  height: 7px;
  border-radius: 999px;
  background: rgb(20 37 58 / 0.12);
}

.pillar-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  width: var(--v, 0%);
  border-radius: 999px;
  background: var(--gold);
}

.pillar-bar-low::before { background: var(--ember); }

.pillar-val {
  font-family: var(--display);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy);
}

.report-finding {
  padding: 14px 16px;
  background: rgb(255 255 255 / 0.6);
  border: 1px solid rgb(168 66 45 / 0.28);
  border-radius: 3px;
}

.report-finding-label {
  margin: 0 0 5px;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ember);
}

.report-trace {
  margin: 0;
}

.report-trace > div {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid rgb(20 37 58 / 0.13);
}

.report-trace dt,
.report-trace dd {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
}

.report-trace dt {
  color: var(--navy);
  font-weight: 800;
}

.report-trace dd {
  color: var(--ink);
}

.report-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.74rem;
  font-style: italic;
}

/* Process */

.process-section {
  --process-index-width: 70px;
  --process-column-gap: clamp(16px, 4vw, 40px);
  color: #fff;
  background: var(--navy);
}

.section-heading {
  display: grid;
  grid-template-columns: var(--process-index-width) minmax(0, 1fr) auto;
  column-gap: var(--process-column-gap);
  row-gap: 8px;
  align-items: start;
  margin-bottom: 40px;
}

.section-heading > p,
.section-heading h2 {
  grid-column: 2 / -1;
  margin: 0;
}

.section-heading > p {
  color: var(--gold-light);
  font-weight: 800;
}

.section-heading h2 {
  max-width: 18ch;
  color: #fff;
}

.process-list {
  padding: 0;
  margin: 0 0 40px;
  border-top: 1px solid rgb(255 255 255 / 0.24);
  list-style: none;
}

.process-list > li {
  display: grid;
  grid-template-columns: var(--process-index-width) minmax(0, 1fr) auto;
  column-gap: var(--process-column-gap);
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid rgb(255 255 255 / 0.24);
}

.process-number {
  color: var(--gold-light);
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 700;
}

.process-list h3 {
  margin: 0 0 8px;
  color: #fff;
  font-family: var(--body);
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.process-list p {
  max-width: 65ch;
  margin: 0;
  color: rgb(255 255 255 / 0.7);
  font-size: 0.9rem;
}

.process-list > li > strong {
  padding-top: 2px;
  color: #fff;
  font-size: 0.76rem;
  white-space: nowrap;
}

.process-section .button-dark {
  color: var(--navy-deep);
  background: var(--gold-light);
}

/* References */

.reference-section {
  background: var(--mist);
}

.reference-intro {
  margin-bottom: clamp(50px, 7vw, 86px);
}

.reference-intro h2 {
  max-width: 14ch;
  margin-bottom: 0;
}

.reference-list {
  display: grid;
  gap: clamp(62px, 9vw, 118px);
}

.reference-case {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.5fr);
  gap: clamp(34px, 6vw, 74px);
  align-items: center;
}

.reference-case-reverse .reference-visual {
  order: 2;
}

.reference-case-reverse {
  grid-template-columns: minmax(280px, 0.5fr) minmax(0, 1.5fr);
}

.reference-visual {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(92px, 10vw, 128px);
  gap: 12px;
  align-items: end;
  text-decoration: none;
}

.browser-preview {
  display: block;
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #aeb8c4;
}

.browser-bar {
  display: flex;
  min-height: 27px;
  align-items: center;
  gap: 5px;
  padding: 0 10px;
  color: var(--muted);
  background: #e8edf1;
  border-bottom: 1px solid #c6cfd8;
}

.browser-bar i {
  width: 6px;
  height: 6px;
  flex: none;
  background: #8d99a7;
  border-radius: 50%;
}

.browser-bar b {
  overflow: hidden;
  margin-left: 5px;
  font-size: 0.58rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.browser-preview img {
  display: block;
  width: 100%;
  height: auto;
}

.phone-preview {
  display: block;
  overflow: hidden;
  padding: 6px 5px 5px;
  background: var(--navy-deep);
  border: 1px solid rgb(255 255 255 / 0.35);
  border-radius: 16px;
}

.phone-speaker {
  display: block;
  width: 34%;
  height: 3px;
  margin: 0 auto 5px;
  background: rgb(255 255 255 / 0.4);
  border-radius: 99px;
}

.phone-preview img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 9px;
}

.reference-link {
  grid-column: 1 / -1;
  justify-self: start;
  padding: 8px 11px;
  color: #fff;
  background: var(--navy);
  font-size: 0.72rem;
  font-weight: 800;
}

.reference-visual:hover .reference-link {
  background: var(--navy-deep);
}

.reference-copy > p:first-child {
  margin: 0 0 16px;
  color: var(--ember);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.reference-copy h3 {
  margin-bottom: 17px;
  font-size: clamp(2rem, 3.5vw, 3.15rem);
}

.reference-copy > p:not(:first-child) {
  color: var(--muted);
  font-size: 0.92rem;
}

.reference-copy ul {
  display: grid;
  gap: 7px;
  padding: 19px 0 0;
  margin: 24px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.reference-copy li {
  font-size: 0.82rem;
  font-weight: 750;
}

.reference-copy li::before {
  margin-right: 8px;
  color: var(--ember);
  content: "—";
}

/* Pricing */

.pricing-section {
  background: #fff;
}

.pricing-heading {
  display: grid;
  grid-template-columns: 1fr 0.55fr;
  gap: clamp(45px, 8vw, 105px);
  align-items: end;
  margin-bottom: 48px;
}

.pricing-heading h2 {
  max-width: 15ch;
  margin-bottom: 0;
}

.pricing-heading > p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.88rem;
}

.free-offer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 35px;
  align-items: center;
  padding: clamp(26px, 4vw, 42px);
  color: #fff;
  background: var(--navy);
  border-bottom: 5px solid var(--gold);
}

.free-offer span:not(.button span) {
  color: var(--gold-light);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.free-offer h3 {
  margin: 8px 0 7px;
  color: #fff;
  font-family: var(--body);
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.free-offer > div p {
  max-width: 62ch;
  margin: 0;
  color: rgb(255 255 255 / 0.72);
  font-size: 0.84rem;
}

.free-price {
  margin: 0;
  text-align: right;
}

.free-price strong,
.free-price small {
  display: block;
}

.free-price strong {
  color: #fff;
  font-family: var(--display);
  font-size: 2.4rem;
  line-height: 1;
}

.free-price small {
  color: rgb(255 255 255 / 0.62);
  font-size: 0.72rem;
}

.free-offer .button {
  color: var(--navy-deep);
  background: var(--gold-light);
}

.rebuild-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin: clamp(58px, 7vw, 86px) 0 25px;
}

.rebuild-heading h3 {
  max-width: 20ch;
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.rebuild-heading p {
  max-width: 43ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.tier-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 31px;
  border-right: 1px solid var(--line);
}

.tier-card:last-child {
  border-right: 0;
}

.tier-featured {
  background: var(--mist);
  box-shadow: inset 0 4px var(--gold);
}

.tier-label {
  margin: 0 0 16px;
  color: var(--ember);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.tier-card h3 {
  min-height: 2.1em;
  margin-bottom: 14px;
  font-family: var(--body);
  font-size: 1.18rem;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.tier-price {
  margin: 0 0 17px;
}

.tier-price strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.8rem, 2.7vw, 2.35rem);
  line-height: 1;
}

.tier-price small {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
}

.tier-card > p:not(.tier-label, .tier-price) {
  min-height: 4.8em;
  margin: 0;
  color: var(--muted);
  font-size: 0.83rem;
}

.tier-card ul {
  display: grid;
  gap: 8px;
  padding: 19px 0 0;
  margin: 22px 0 25px;
  border-top: 1px solid var(--line);
  list-style: none;
}

.tier-card li {
  font-size: 0.78rem;
  font-weight: 700;
}

.tier-card li::before {
  margin-right: 7px;
  color: var(--ember);
  content: "✓";
}

.tier-card > a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-top: auto;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 850;
  text-underline-offset: 4px;
}

.support-disclosure {
  margin-top: 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.support-disclosure summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  font-weight: 850;
  cursor: pointer;
  list-style: none;
}

.support-disclosure summary::-webkit-details-marker {
  display: none;
}

.support-disclosure summary span {
  color: var(--ember);
  font-size: 0.78rem;
}

.support-disclosure > div {
  display: grid;
  grid-template-columns: 1fr 0.6fr;
  gap: 40px;
  padding: 0 0 24px;
}

.support-disclosure p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

/* FAQ */

.faq-section {
  background: var(--mist);
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: clamp(50px, 9vw, 120px);
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: 40px;
}

.faq-intro h2 {
  max-width: 12ch;
}

.faq-intro > p:last-child {
  color: var(--muted);
  font-size: 0.86rem;
}

.faq-intro a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--navy);
  font-weight: 800;
  text-underline-offset: 4px;
  vertical-align: middle;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 23px 44px 23px 0;
  font-size: 0.95rem;
  font-weight: 850;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span,
.faq-list summary span::after {
  position: absolute;
  top: 50%;
  right: 3px;
  width: 17px;
  height: 2px;
  background: var(--navy);
  content: "";
}

.faq-list summary span::after {
  top: 0;
  right: 0;
  transform: rotate(90deg);
  transition: transform 180ms var(--ease-out);
}

.faq-list details[open] summary span::after {
  transform: rotate(0);
}

.faq-list details > p {
  max-width: 62ch;
  padding: 0 40px 24px 0;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Final form */

.final-section {
  color: #fff;
  background: var(--navy-deep);
  border-top: 9px solid var(--gold);
}

.final-layout {
  display: grid;
  grid-template-columns: 0.85fr 0.75fr;
  gap: clamp(45px, 9vw, 120px);
  align-items: start;
}

.final-copy .statement {
  color: var(--gold-light);
}

.final-copy h2 {
  max-width: 12ch;
  margin-bottom: 24px;
  color: #fff;
}

.final-copy > p:not(.statement) {
  max-width: 50ch;
  color: rgb(255 255 255 / 0.72);
}

.laurel {
  width: 160px;
  margin-bottom: 25px;
  opacity: 0.85;
}

.owner-note {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 15px;
  padding: 22px 0;
  margin-top: 28px;
  border-top: 1px solid rgb(255 255 255 / 0.21);
  border-bottom: 1px solid rgb(255 255 255 / 0.21);
}

.owner-note > div:last-child,
.final-layout > *,
.reference-case > * {
  min-width: 0;
}

.owner-monogram {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  color: var(--navy-deep);
  background: var(--gold-light);
  border-radius: 50%;
  font-family: var(--display);
  font-weight: 800;
}

.owner-note strong,
.owner-note span {
  display: block;
}

.owner-note strong {
  color: #fff;
  line-height: 1.25;
}

.owner-note span {
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 750;
}

.owner-note p {
  margin: 7px 0 0;
  color: rgb(255 255 255 / 0.68);
  font-size: 0.8rem;
  overflow-wrap: anywhere;
}

.final-assurances {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 25px 0 0;
  list-style: none;
}

.final-assurances li {
  color: rgb(255 255 255 / 0.82);
  font-size: 0.82rem;
  font-weight: 700;
}

.final-assurances li::before {
  margin-right: 9px;
  color: var(--gold-light);
  content: "✓";
}

.lead-form {
  display: grid;
  gap: 17px;
  padding: clamp(25px, 4vw, 40px);
  color: var(--ink);
  background: #fff;
  border-top: 5px solid var(--gold);
}

.lead-form .botcheck {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.form-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
}

.form-heading span {
  color: var(--ember);
  font-size: 0.67rem;
  font-weight: 850;
  letter-spacing: 0.09em;
}

.form-heading strong {
  color: var(--muted);
  font-size: 0.7rem;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.field label em {
  color: var(--ember);
  font-style: normal;
}

.field label span {
  color: var(--muted);
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}

.field-hint,
.field-error {
  margin: 0;
  font-size: 0.7rem;
  line-height: 1.45;
}

.field-hint {
  color: var(--muted);
}

.field-error {
  min-height: 0;
  color: var(--error);
  font-weight: 750;
}

.field-error:empty {
  display: none;
}

.package-feedback {
  margin: 0;
  padding: 8px 10px;
  color: var(--navy);
  background: rgb(201 154 46 / 0.13);
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 750;
  line-height: 1.45;
}

.package-feedback:empty {
  display: none;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #8d99a7;
  border-radius: 5px;
  font: inherit;
  font-size: 0.9rem;
  line-height: 1.4;
}

.field select {
  padding-right: 38px;
  color-scheme: light;
}

.field select option {
  color: var(--ink);
  background: #fff;
}

.field textarea {
  min-height: 90px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #657386;
  opacity: 1;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--navy);
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 3px solid rgb(201 154 46 / 0.35);
  outline-offset: 1px;
  border-color: var(--navy);
}

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

.field input[aria-invalid="true"]:focus-visible,
.field input:user-invalid:focus-visible,
.field textarea:user-invalid:focus-visible {
  outline-color: rgb(180 35 24 / 0.25);
}

.lead-form .button {
  width: 100%;
  margin-top: 2px;
}

.lead-form .button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.privacy-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.7rem;
  text-align: center;
  overflow-wrap: anywhere;
}

.privacy-note a {
  color: var(--navy);
  font-weight: 750;
}

.form-status {
  min-height: 1.5em;
  margin: 0;
  font-size: 0.8rem;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.form-status.is-success {
  color: var(--success);
}

.form-status.is-error,
.form-status.is-error a {
  color: var(--error);
}

/* Footer */

.footer {
  padding: 27px 0;
  color: rgb(255 255 255 / 0.65);
  background: #061426;
  border-top: 12px solid transparent;
  border-image: var(--meander) 12 repeat;
}

.footer-layout {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 25px;
  align-items: center;
}

.footer p {
  margin: 0;
  font-size: 0.72rem;
}

.footer a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: #fff;
  text-underline-offset: 3px;
}

@media (max-width: 1020px) {
  .hero {
    min-height: auto;
  }

  .hero-layout {
    min-height: auto;
    grid-template-columns: 1fr 0.72fr;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 7.5vw, 5rem);
  }

  .reference-case,
  .reference-case-reverse {
    grid-template-columns: 1.2fr 0.65fr;
  }

  .reference-case-reverse {
    grid-template-columns: 0.65fr 1.2fr;
  }

  .tier-card {
    padding: 25px 20px;
  }
}

@media (max-width: 820px) {
  .nav-links {
    display: none;
  }

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

  .hero-layout,
  .problem-layout,
  .pillars-layout,
  .reference-intro,
  .pricing-heading,
  .faq-layout,
  .final-layout {
    grid-template-columns: 1fr;
  }

  .pillars-layout {
    gap: 40px;
  }

  .problem-figure {
    max-width: 440px;
  }

  .pillars-temple {
    max-width: 460px;
  }

  .hero-layout {
    gap: 55px;
  }

  .audit-sheet {
    width: min(100%, 560px);
    transform: none;
  }

  .problem-layout,
  .faq-layout,
  .final-layout {
    gap: 45px;
  }

  .pricing-heading {
    gap: 24px;
  }

  .pricing-heading > p {
    max-width: 64ch;
  }

  .reference-case,
  .reference-case-reverse {
    grid-template-columns: 1fr;
  }

  .reference-case-reverse .reference-visual {
    order: 0;
  }

  .reference-copy {
    max-width: 590px;
  }

  .free-offer {
    grid-template-columns: 1fr auto;
  }

  .free-offer .button {
    grid-column: 1 / -1;
  }

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

  .tier-card {
    padding: 30px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .tier-card:last-child {
    border-bottom: 0;
  }

  .tier-featured {
    padding-inline: 24px;
    box-shadow: inset 4px 0 var(--gold);
  }

  .tier-card h3,
  .tier-card > p:not(.tier-label, .tier-price) {
    min-height: auto;
  }

  .faq-intro {
    position: static;
  }

  .footer-layout {
    grid-template-columns: 1fr;
    gap: 7px;
  }
}

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

  .page-shell {
    width: min(calc(100% - 32px), var(--shell));
  }

  .section {
    padding: 72px 0;
  }

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

  .nav-cta {
    display: none;
  }

  .hero-layout {
    padding: 58px 0 76px;
  }

  .hero h1 {
    max-width: 11ch;
    font-size: clamp(3rem, 14vw, 4.35rem);
    letter-spacing: -0.04em;
  }

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

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

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

  .text-link {
    text-align: center;
  }

  .hero-assurances {
    display: grid;
  }

  .audit-sheet {
    margin-inline: -4px;
  }

  .pillar-scores li {
    grid-template-columns: 1fr auto;
    column-gap: 10px;
  }

  .pillar-name {
    grid-column: 1 / -1;
  }

  .mobile-audit-cta {
    position: fixed;
    z-index: var(--z-sticky);
    right: max(10px, env(safe-area-inset-right));
    bottom: calc(10px + env(safe-area-inset-bottom));
    left: max(10px, env(safe-area-inset-left));
    display: flex;
    min-height: 54px;
    align-items: center;
    justify-content: space-between;
    padding: 13px 16px;
    color: #fff;
    background: #1f5a98;
    font-size: 0.86rem;
    font-weight: 850;
    text-decoration: none;
    opacity: 0;
    transform: translateY(calc(100% + 18px));
    transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out);
    pointer-events: none;
  }

  .mobile-audit-cta.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .problem-layout h2,
  .section-heading h2,
  .reference-intro h2,
  .pricing-heading h2,
  .faq-intro h2,
  .final-copy h2 {
    max-width: none;
  }

  .check-list {
    grid-template-columns: 1fr;
  }

  .process-list > li {
    grid-template-columns: 1fr auto;
    gap: 8px 16px;
    padding: 24px 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
    margin-bottom: 24px;
  }

  .section-heading > p,
  .section-heading h2 {
    grid-column: 1;
  }

  .process-number {
    grid-column: 1;
    grid-row: 1;
  }

  .process-list > li > strong {
    grid-column: 2;
    grid-row: 1;
    color: var(--gold-light);
  }

  .process-list > li > div {
    grid-column: 1 / -1;
  }

  .reference-visual {
    grid-template-columns: minmax(0, 1fr) 82px;
    gap: 8px;
  }

  .free-offer {
    grid-template-columns: 1fr;
  }

  .free-price {
    text-align: left;
  }

  .rebuild-heading {
    align-items: start;
    flex-direction: column;
  }

  .support-disclosure summary,
  .support-disclosure > div {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .support-disclosure summary {
    flex-direction: column;
    gap: 4px;
  }

  .support-disclosure > div {
    gap: 13px;
  }

  .form-heading {
    align-items: start;
    flex-direction: column;
    gap: 2px;
  }

  .lead-form {
    margin-inline: -4px;
  }
}

@media (max-width: 359px) {
  .hero h1 {
    font-size: 2.75rem;
  }

  .audit-sheet li {
    grid-template-columns: 27px 1fr;
  }

  .reference-visual {
    grid-template-columns: minmax(0, 1fr) 72px;
  }
}

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

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

@media (forced-colors: active) {
  .button,
  .mobile-audit-cta,
  .lead-form,
  .audit-sheet {
    border: 1px solid ButtonText;
  }

  .scroll-progress span,
  .faq-list summary span,
  .faq-list summary span::after {
    background: Highlight;
  }

  .field input[aria-invalid="true"],
  .field input:user-invalid,
  .field textarea:user-invalid {
    outline: 2px solid Mark;
  }
}
