:root {
  --paper: #fafbf8;
  --paper-warm: #f1f3ee;
  --white: #ffffff;
  --ink: #172523;
  --muted: #5b6866;
  --line: #d7dfda;
  --teal: #0d4547;
  --teal-dark: #093537;
  --teal-pale: #dceae6;
  --brass: #b48c55;
  --brass-pale: #eee4d2;
  --danger: #a23d35;
  --danger-pale: #f6e4e0;
  --success: #27674f;
  --success-pale: #e2f0e7;
  --shadow: 0 24px 70px rgba(11, 42, 39, 0.12);
  --display: Georgia, "Times New Roman", serif;
  --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max: 1220px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image: linear-gradient(rgba(13, 69, 71, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(13, 69, 71, 0.025) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

a { color: inherit; }

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

button, a { -webkit-tap-highlight-color: transparent; }

button { cursor: pointer; }

button:disabled { cursor: wait; opacity: 0.62; }

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

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

h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: -0.035em; line-height: 0.98; }

h1 { font-size: clamp(3.4rem, 7vw, 6.7rem); max-width: 9.5ch; margin-bottom: 1.25rem; }

h2 { font-size: clamp(2.55rem, 4.4vw, 4.3rem); max-width: 12ch; margin-bottom: 1rem; }

h3 { font-size: clamp(1.65rem, 2.4vw, 2.25rem); margin-bottom: 0.7rem; }

p { color: var(--muted); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  color: var(--white);
  background: var(--teal-dark);
  transform: translateY(-180%);
}

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

:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 4px;
}

.site-header {
  position: relative;
  z-index: 5;
  border-bottom: 1px solid rgba(13, 69, 71, 0.13);
  background: rgba(250, 251, 248, 0.92);
  backdrop-filter: blur(14px);
}

.header-inner, .footer-inner {
  width: min(calc(100% - 3rem), var(--max));
  margin: 0 auto;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--ink);
}

.brand strong, .brand small { display: block; }
.brand strong { font-size: 1.02rem; letter-spacing: 0.01em; }
.brand small { margin-top: 0.05rem; color: var(--muted); font-size: 0.68rem; letter-spacing: 0.13em; text-transform: uppercase; }

.hero-descriptor { display: block; margin-bottom: 0.35rem; color: var(--teal); font-weight: 700; letter-spacing: 0.01em; }

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--paper);
  background: var(--teal);
  font-family: var(--display);
  font-size: 0.86rem;
  letter-spacing: -0.08em;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-12deg);
}

.brand-mark::first-letter { letter-spacing: -0.16em; }

.site-nav { display: flex; align-items: center; gap: clamp(0.8rem, 2.4vw, 2rem); }
.nav-link, .text-link { text-decoration: none; }
.nav-link { padding: 0.4rem 0; color: var(--muted); font-size: 0.88rem; font-weight: 650; }
.nav-link:hover, .nav-link.is-active { color: var(--teal); }
.nav-link.is-active { border-bottom: 2px solid var(--brass); }

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.18rem;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 720;
  font-size: 0.9rem;
  letter-spacing: 0.005em;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--paper); background: var(--teal); }
.button-primary:hover { background: var(--teal-dark); }
.button-secondary { color: var(--teal); border-color: var(--teal); background: transparent; }
.button-secondary:hover { color: var(--paper); background: var(--teal); }
.button-light { color: var(--teal-dark); background: var(--paper); }
.button-light:hover { background: var(--white); }
.button-small { min-height: 40px; padding: 0.55rem 1rem; color: var(--paper); background: var(--teal); font-size: 0.8rem; }
.button-wide { width: 100%; }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; }
.text-link { display: inline-flex; align-items: center; gap: 0.35rem; color: var(--teal); font-weight: 700; }
.text-link:hover { color: var(--brass); }
.text-button { padding: 0; border: 0; background: transparent; }
.micro-note { margin-top: 1.6rem; font-size: 0.78rem; color: var(--muted); }

.eyebrow {
  display: inline-block;
  margin-bottom: 0.9rem;
  color: var(--teal);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow-light { color: var(--brass-pale); }

.hero, .section, .closing-band, .convert-intro, .upload-layout, .job-shell { width: min(calc(100% - 3rem), var(--max)); margin: 0 auto; }

.hero { min-height: 680px; display: grid; align-items: center; gap: clamp(2.5rem, 6vw, 7rem); padding: 5.5rem 0 6rem; }
.hero-home { grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr); }
.hero-copy { position: relative; z-index: 1; }
.hero-lede { max-width: 36rem; margin-bottom: 1.7rem; font-size: clamp(1.05rem, 1.45vw, 1.25rem); line-height: 1.65; }

.comparison { position: relative; min-height: 530px; margin: 0; }
.comparison::before { content: ""; position: absolute; z-index: -1; right: 1%; top: 6%; width: 86%; height: 87%; border: 1px solid var(--brass); opacity: 0.55; transform: rotate(4deg); }
.comparison-note { position: absolute; top: -1.6rem; right: 0.5rem; width: 145px; color: var(--teal); font-family: var(--display); font-size: 1.05rem; line-height: 1.1; transform: rotate(5deg); }
.comparison-note::before { content: ""; display: block; width: 60px; height: 1px; margin-bottom: 0.5rem; background: var(--brass); }
.source-sheet { position: absolute; top: 4%; left: 0; width: 65%; aspect-ratio: 1.44; padding: 0.6rem; background: var(--white); box-shadow: 0 22px 50px rgba(18, 50, 46, 0.13); transform: rotate(-4deg); }
.source-sheet img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(0.86); }
.source-sheet-label, .phone-label { position: absolute; top: -1.15rem; left: 0; color: var(--muted); font-size: 0.65rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.source-sheet-label { transform: rotate(4deg); }
.phone-frame { position: absolute; right: 4%; bottom: 2%; width: min(48%, 290px); padding: 0.7rem; border: 1px solid var(--ink); border-radius: 26px; background: var(--ink); box-shadow: 0 28px 70px rgba(9, 53, 55, 0.26); transform: rotate(5deg); }
.phone-frame::before { content: ""; display: block; width: 54px; height: 5px; margin: 0 auto 0.55rem; border-radius: 9px; background: rgba(250, 251, 248, 0.42); }
.phone-screen { overflow-x: hidden; overflow-y: auto; border-radius: 16px; background: var(--white); scrollbar-width: thin; }
.phone-screen img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; object-position: top; }
.phone-label { top: auto; right: 0; bottom: -1.35rem; left: auto; transform: rotate(-5deg); }
.comparison-arrow { position: absolute; z-index: 2; right: 32%; top: 49%; display: grid; width: 58px; height: 58px; place-items: center; border: 1px solid var(--brass); border-radius: 50%; color: var(--teal); background: var(--paper); font-size: 1.8rem; }
.comparison-caption { position: absolute; bottom: -2.2rem; left: 2%; max-width: 16rem; margin: 0; color: var(--muted); font-size: 0.74rem; line-height: 1.4; }

.section { padding: 7rem 0; }
.section-heading { max-width: 54rem; margin-bottom: 3.2rem; }
.section-heading > p { max-width: 37rem; font-size: 1.1rem; }
.section-heading.narrow { max-width: 43rem; }
.section-ink { width: 100%; max-width: none; padding-right: max(1.5rem, calc((100% - var(--max)) / 2)); padding-left: max(1.5rem, calc((100% - var(--max)) / 2)); color: var(--paper); background: var(--teal-dark); }
.section-ink p { color: rgba(250, 251, 248, 0.71); }
.section-ink h2, .section-ink h3 { color: var(--paper); }
.principle-grid, .offering-grid, .steps-grid, .fit-grid { display: grid; gap: 1px; }
.principle-grid { grid-template-columns: repeat(3, 1fr); max-width: var(--max); margin: 0 auto; border-top: 1px solid rgba(250, 251, 248, 0.2); }
.principle-grid article { padding: 2.6rem 2rem 0 0; border-right: 1px solid rgba(250, 251, 248, 0.2); }
.principle-grid article + article { padding-left: 2rem; }
.principle-grid article:last-child { border-right: 0; }
.principle-icon { display: grid; width: 39px; height: 39px; margin-bottom: 1.4rem; place-items: center; border: 1px solid var(--brass); border-radius: 50%; color: var(--brass-pale); font-size: 1.25rem; }

.section-offerings { padding-bottom: 4rem; }
.offering-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line); }
.offering-card { min-height: 430px; padding: clamp(1.6rem, 4vw, 3.2rem); background: rgba(255, 255, 255, 0.56); }
.offering-card + .offering-card { border-left: 1px solid var(--line); }
.offering-featured { color: var(--paper); background: var(--teal); }
.offering-featured p, .offering-featured .quiet-list { color: rgba(250, 251, 248, 0.76); }
.offering-featured .eyebrow, .offering-featured h3 { color: var(--paper); }
.card-topline, .section-label-row, .master-card-head, .delivery-page-label, .progress-label { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.card-topline { margin-bottom: 3rem; color: var(--muted); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; }
.offering-featured .card-topline { color: var(--brass-pale); }
.quiet-list { display: grid; gap: 0.6rem; margin: 1.6rem 0 2rem; padding: 0; color: var(--muted); list-style: none; }
.quiet-list li { position: relative; padding-left: 1.2rem; }
.quiet-list li::before { content: ""; position: absolute; top: 0.68em; left: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--brass); }
.pricing-note { margin: 1.5rem 0 0; color: var(--muted); font-size: 0.86rem; }

.section-example { display: grid; grid-template-columns: minmax(230px, 0.62fr) minmax(0, 1.38fr); align-items: center; gap: 5rem; padding-top: 4rem; }
.example-intro p { max-width: 25rem; }
.example-strip { position: relative; display: grid; grid-template-columns: minmax(0, 1.4fr) auto minmax(130px, 0.48fr); align-items: center; gap: 1.5rem; margin: 0; padding: 2rem; border: 1px solid var(--line); background: var(--paper-warm); }
.example-source { position: relative; overflow: hidden; aspect-ratio: 1.42; border: 8px solid var(--white); box-shadow: 0 16px 30px rgba(13, 69, 71, 0.1); transform: rotate(-2deg); }
.example-source img { width: 100%; height: 100%; object-fit: cover; }
.example-phone { position: relative; overflow: hidden; width: 100%; padding: 0.45rem; border-radius: 20px; background: var(--ink); transform: rotate(3deg); }
.example-phone img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; object-position: top; border-radius: 13px; }
.example-tag { position: absolute; z-index: 2; top: -1.4rem; left: 0; color: var(--muted); font-size: 0.62rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap; }
.example-arrow { color: var(--brass); font-size: 2rem; }
.example-strip figcaption { position: absolute; right: 1.8rem; bottom: -2.1rem; left: 1.8rem; margin: 0; color: var(--muted); font-size: 0.73rem; }
.section-example-tight { grid-template-columns: 0.55fr 1.45fr; padding-top: 5rem; }
.example-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.example-gallery figure { margin: 0; }
.example-gallery img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; object-position: top; border: 1px solid var(--line); background: var(--white); }
.example-gallery figcaption { display: grid; gap: 0.2rem; padding-top: 0.75rem; font-size: 0.8rem; }
.example-gallery figcaption span { color: var(--muted); font-size: 0.72rem; }

.section-steps { border-top: 1px solid var(--line); }
.steps-grid { grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.steps-grid article { padding: 1.5rem 2rem 0 0; border-right: 1px solid var(--line); }
.steps-grid article + article { padding-left: 2rem; }
.steps-grid article:last-child { border-right: 0; }
.step-number, .fit-mark { display: block; margin-bottom: 2.2rem; color: var(--brass); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.15em; }

.closing-band { width: 100%; max-width: none; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 4rem max(1.5rem, calc((100% - var(--max)) / 2)); color: var(--paper); background: var(--teal); }
.closing-band h2 { max-width: 15ch; margin-bottom: 0; color: var(--paper); }

.hero-tailor { grid-template-columns: minmax(0, 1fr) minmax(300px, 0.75fr); min-height: 600px; }
.tailor-art { position: relative; min-height: 480px; }
.tailor-sheet { position: absolute; top: 6%; left: 7%; width: 65%; height: 72%; padding: 3rem 2.5rem; border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); transform: rotate(-8deg); }
.tailor-sheet span { display: block; margin-bottom: 2rem; color: var(--brass); font: 400 2rem/1 var(--display); }
.tailor-sheet i { display: block; width: 74%; height: 9px; margin: 1.2rem 0; background: var(--teal-pale); }
.tailor-sheet i:nth-of-type(2) { width: 56%; }
.tailor-sheet i:nth-of-type(3) { width: 85%; }
.tailor-sheet i:nth-of-type(4) { width: 65%; }
.tailor-phone { position: absolute; right: 4%; bottom: 4%; width: 42%; padding: 0.75rem; border-radius: 25px; background: var(--ink); box-shadow: 0 28px 70px rgba(9, 53, 55, 0.3); transform: rotate(8deg); }
.tailor-phone span { display: block; width: 50px; height: 5px; margin: 0 auto 0.6rem; border-radius: 8px; background: rgba(250, 251, 248, 0.38); }
.tailor-phone b, .tailor-phone em { display: block; background: var(--paper); }
.tailor-phone b { height: 190px; background: linear-gradient(var(--paper), var(--paper-warm)); }
.tailor-phone em { width: 40%; height: 5px; margin: 1rem auto 0; border-radius: 8px; background: var(--brass); }
.section-paper { width: 100%; max-width: none; padding-right: max(1.5rem, calc((100% - var(--max)) / 2)); padding-left: max(1.5rem, calc((100% - var(--max)) / 2)); background: var(--paper-warm); }
.fit-grid { grid-template-columns: repeat(4, 1fr); max-width: var(--max); margin: 0 auto; border-top: 1px solid var(--line); }
.fit-grid article { min-height: 230px; padding: 1.4rem 1.5rem 0 0; border-right: 1px solid var(--line); }
.fit-grid article + article { padding-left: 1.5rem; }
.fit-grid article:last-child { border-right: 0; }
.fit-grid h3 { font-size: 1.7rem; }
.contact-section { display: grid; grid-template-columns: minmax(220px, 0.65fr) minmax(0, 1.35fr); gap: 6rem; align-items: start; }
.contact-intro p { max-width: 25rem; }
.contact-form, .assistance-form { display: grid; gap: 0.65rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.form-grid > div:last-child { grid-column: span 2; }
label { color: var(--ink); font-size: 0.82rem; font-weight: 750; }
input, textarea, select { width: 100%; border: 1px solid var(--line); border-radius: 0; color: var(--ink); background: var(--white); }
input, select { min-height: 48px; padding: 0.75rem 0.85rem; }
textarea { min-height: 145px; padding: 0.85rem; resize: vertical; }
input:hover, textarea:hover, select:hover { border-color: var(--teal); }
input[aria-invalid="true"], textarea[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 3px var(--danger-pale); }
.form-submit-row { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-top: 0.7rem; }
.form-submit-row .field-help { max-width: 27rem; margin: 0; }
.field-help { margin: 0.35rem 0 0.7rem; color: var(--muted); font-size: 0.76rem; }
.field-error { min-height: 1.35rem; color: var(--danger); font-size: 0.8rem; font-weight: 650; }
.success-panel { padding: 2.4rem; border: 1px solid var(--success); background: var(--success-pale); }
.success-mark { display: grid; width: 38px; height: 38px; margin-bottom: 1.3rem; place-items: center; border-radius: 50%; color: var(--paper); background: var(--success); }
.success-panel h3 { margin-bottom: 0.5rem; }

.site-footer { border-top: 1px solid var(--line); background: var(--paper-warm); }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 1rem 3rem; padding: 2.6rem 0; }
.brand-wordmark { font: 400 1.55rem/1 var(--display); }
.footer-inner p { margin: 0.5rem 0 0; font-size: 0.78rem; }
.footer-links { display: flex; align-items: start; gap: 1.3rem; font-size: 0.78rem; font-weight: 700; }
.footer-links a { color: var(--teal); text-decoration: none; }
.footer-links a:hover { color: var(--brass); }
.footer-note { grid-column: 1 / -1; padding-top: 1rem; border-top: 1px solid var(--line); }

.section-about { background: var(--paper-warm); }
.about-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 0.72fr); gap: 4rem; align-items: end; }
.about-inner h2 { max-width: 15ch; }
.about-headline { max-width: 15ch; margin-bottom: 0; color: var(--ink); font-family: var(--display); font-size: clamp(1.65rem, 2.8vw, 2.55rem); line-height: 1.02; letter-spacing: -0.03em; }
.about-copy { max-width: 30rem; color: var(--muted); }
.about-copy p:first-child { color: var(--teal); font-weight: 700; }

.convert-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 0.53fr); gap: 4rem; padding: 5.5rem 0 3rem; }
.convert-intro h1 { max-width: 10ch; }
.config-note { align-self: end; padding: 1.4rem; border-left: 3px solid var(--brass); background: var(--brass-pale); }
.config-label { display: block; margin-bottom: 1rem; color: var(--teal); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.config-note dl { display: grid; gap: 0.65rem; margin: 0; }
.config-note dl div { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid rgba(13, 69, 71, 0.14); }
.config-note dt, .config-note dd { font-size: 0.84rem; }
.config-note dt { color: var(--muted); }
.config-note dd { margin: 0; color: var(--ink); font-weight: 750; }
.upload-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 0.55fr); gap: clamp(2rem, 6vw, 7rem); padding-bottom: 7rem; }
.upload-card { padding: clamp(1.3rem, 3vw, 2.3rem); border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); }
.upload-card .card-topline { margin-bottom: 2rem; }
.upload-drop { position: relative; display: grid; min-height: 270px; place-items: center; align-content: center; padding: 2rem; border: 1px dashed var(--teal); text-align: center; background: var(--paper); cursor: pointer; }
.upload-drop:hover { background: var(--teal-pale); }
.upload-drop input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.upload-glyph { display: grid; width: 52px; height: 52px; margin-bottom: 1rem; place-items: center; border: 1px solid var(--brass); border-radius: 50%; color: var(--teal); font-size: 1.8rem; }
.upload-title { font-family: var(--display); font-size: 1.85rem; font-weight: 400; }
.upload-subtitle, .upload-file-name { display: block; margin-top: 0.35rem; color: var(--muted); font-size: 0.78rem; }
.upload-file-name { color: var(--teal); font-weight: 700; overflow-wrap: anywhere; }
.upload-progress { margin: 1.2rem 0; }
progress { width: 100%; height: 8px; accent-color: var(--teal); }
.progress-label { margin-bottom: 0.45rem; color: var(--muted); font-size: 0.76rem; }
.side-note { align-self: center; max-width: 24rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.side-note h2 { max-width: 10ch; font-size: 2.45rem; }

.page-job { padding: 4rem 0 7rem; }
.job-shell { max-width: 1100px; }
.private-topline { display: flex; align-items: end; justify-content: space-between; gap: 2rem; padding-bottom: 2.2rem; border-bottom: 1px solid var(--line); }
.private-topline p { margin: 0; font-size: 0.8rem; }
.expiry-note { display: grid; gap: 0.15rem; text-align: right; }
.expiry-note span { color: var(--muted); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.12em; }
.expiry-note strong { color: var(--teal); font: 400 1.4rem/1 var(--display); }
.notice { margin: 1.4rem 0 0; padding: 0.85rem 1rem; border-left: 3px solid var(--teal); color: var(--teal-dark); background: var(--teal-pale); font-size: 0.85rem; }
.notice-success { border-color: var(--success); background: var(--success-pale); }
.notice-error { border-color: var(--danger); color: var(--danger); background: var(--danger-pale); }
.review-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; padding: 4rem 0 2rem; }
.review-heading h1 { max-width: 9ch; font-size: clamp(3rem, 5.6vw, 5.3rem); }
.review-heading p { max-width: 37rem; margin-bottom: 0; font-size: 1.05rem; }
.allowance-chip { display: grid; min-width: 160px; gap: 0.1rem; padding: 1rem; border-top: 3px solid var(--brass); text-align: right; }
.allowance-chip strong { color: var(--teal); font: 400 2.7rem/0.9 var(--display); }
.allowance-chip span { color: var(--muted); font-size: 0.72rem; }
.review-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 0.43fr); gap: 3rem; align-items: start; }
.master-stage { min-width: 0; padding: 1.3rem; border: 1px solid var(--line); background: var(--paper-warm); }
.preview-card { margin: 0; padding: 1.2rem; background: var(--white); box-shadow: 0 16px 35px rgba(13, 69, 71, 0.08); }
.preview-card-top { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; color: var(--muted); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.image-frame { position: relative; overflow: hidden; background: var(--paper-warm); }
.preview-card .image-frame, .master-card .image-frame, .delivery-page .image-frame { max-height: min(78vh, 1100px); overflow: auto; overscroll-behavior: contain; }
.preview-card img, .master-card img, .delivery-page img { width: 100%; height: auto; max-height: none; object-fit: initial; object-position: top; }
.preview-card figcaption { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1rem; color: var(--muted); font-size: 0.78rem; }
.preview-card figcaption span { color: var(--teal); font-weight: 750; }
.review-rail { display: grid; gap: 1.3rem; }
.rail-note, .limit-panel { padding: 1.5rem; border-top: 3px solid var(--brass); background: var(--brass-pale); }
.rail-note p, .limit-panel p { margin-bottom: 0; font-size: 0.86rem; }
.feedback-card, .approval-card, .payment-card, .assistance-panel, .delivery-actions, .plan-card, .master-grid { margin-top: 2.8rem; padding: clamp(1.3rem, 3vw, 2.4rem); border: 1px solid var(--line); background: var(--white); }
.feedback-card form { display: grid; gap: 0.55rem; margin-top: 1.8rem; }
.feedback-card h2, .approval-card h2, .payment-card h2 { max-width: 13ch; font-size: 2.45rem; }
.payment-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr); gap: 3rem; color: var(--paper); background: var(--teal); }
.payment-card p { color: rgba(250, 251, 248, 0.75); }
.payment-card .eyebrow, .payment-card h2 { color: var(--paper); }
.payment-card form { align-self: center; display: grid; gap: 0.6rem; }
.payment-card label { color: var(--paper); }
.payment-card input { background: var(--white); }
.payment-card .field-help { color: rgba(250, 251, 248, 0.68); }
.payment-card .field-error { color: var(--brass-pale); }
.price-lockup { display: flex; align-items: baseline; gap: 0.75rem; margin-top: 1.5rem; }
.price-lockup strong { color: var(--brass-pale); font: 400 2.5rem/1 var(--display); }
.price-lockup span { color: rgba(250, 251, 248, 0.7); font-size: 0.73rem; }
.assistance-cta { display: block; margin-top: 1.4rem; padding: 1.4rem 1.5rem; border: 1px solid var(--teal); background: transparent; }
.assistance-cta summary { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; list-style: none; cursor: pointer; }
.assistance-cta summary::-webkit-details-marker { display: none; }
.assistance-cta summary > span:first-child { display: grid; }
.assistance-cta summary .eyebrow { margin: 0 0 0.3rem; }
.assistance-cta summary strong { font: 400 1.65rem/1 var(--display); }
.assistance-cta summary small { margin-top: 0.45rem; color: var(--muted); }
.assistance-cta[open] summary { padding-bottom: 1.3rem; border-bottom: 1px solid var(--line); }
.assistance-cta .assistance-form { max-width: 38rem; margin-top: 1.3rem; }

.status-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2rem; align-items: center; }
.status-card-wide { max-width: 840px; margin: 6rem auto; padding: 2.2rem; border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); }
.status-card h1 { max-width: 12ch; font-size: clamp(2.65rem, 5vw, 4.6rem); }
.status-copy { max-width: 35rem; }
.status-orbit { position: relative; width: 82px; height: 82px; border: 1px solid var(--brass); border-radius: 50%; }
.status-orbit::before { content: ""; position: absolute; inset: 12px; border: 1px solid var(--teal-pale); border-radius: 50%; }
.status-orbit span { position: absolute; top: 5px; left: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); transform-origin: 0 36px; animation: orbit 2.4s linear infinite; }
.status-orbit span:nth-child(2) { animation-delay: -0.8s; background: var(--brass); }
.status-orbit span:nth-child(3) { animation-delay: -1.6s; background: var(--ink); }
.status-orbit-teal { border-color: var(--teal); }
.progress-block { max-width: 500px; margin-top: 1.6rem; }
.progress-block progress { height: 10px; }
.live-note { display: inline-flex; margin-top: 1.2rem; padding: 0.65rem 0.85rem; color: var(--teal); background: var(--teal-pale); font-size: 0.8rem; }
.quiet-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; padding: 1.8rem 0; border-top: 1px solid var(--line); }
.quiet-grid p { margin: 0; font-size: 0.86rem; }
.empty-state { max-width: 680px; margin: 5rem auto; padding: 2.5rem; border: 1px solid var(--line); background: var(--white); }
.empty-state h1 { font-size: clamp(3rem, 6vw, 5.2rem); }

.master-grid { background: var(--paper-warm); }
.master-grid-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem; }
.master-card { padding: 0.8rem; background: var(--white); }
.master-card-head { margin-bottom: 0.8rem; color: var(--teal); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.master-card p { margin: 0.75rem 0 0; font-size: 0.7rem; }
.version-note { color: var(--muted); font-size: 0.72rem; }
.section-label-row { align-items: end; margin-bottom: 1.6rem; }
.section-label-row h2 { margin: 0; max-width: none; font-size: 2.25rem; }
.plan-card { background: var(--paper); }
.plan-table { border-top: 1px solid var(--line); }
.plan-table-row { display: grid; grid-template-columns: 1.2fr 1fr 0.6fr; gap: 1rem; padding: 0.9rem 0; border-bottom: 1px solid var(--line); font-size: 0.84rem; }
.plan-table-head { color: var(--muted); font-size: 0.67rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.plan-table-row small { display: block; color: var(--muted); font-size: 0.7rem; }
.approval-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 0.7fr); gap: 2rem; color: var(--paper); background: var(--teal); }
.approval-card h2, .approval-card .eyebrow { color: var(--paper); }
.approval-card p { color: rgba(250, 251, 248, 0.72); }
.approval-card form { display: grid; align-content: center; gap: 1rem; }
.check-row { display: flex; align-items: start; gap: 0.75rem; color: var(--paper); font-weight: 650; }
.check-row input { width: 20px; height: 20px; min-height: auto; flex: 0 0 auto; accent-color: var(--brass); }
.approval-card .field-error { color: var(--brass-pale); }
.approval-card .field-help { color: rgba(250, 251, 248, 0.67); }
.approval-identity { grid-column: 1 / -1; padding-top: 1rem; border-top: 1px solid rgba(250, 251, 248, 0.25); color: rgba(250, 251, 248, 0.68); font-size: 0.72rem; }
.empty-inline { margin: 0; padding: 1rem; border: 1px dashed var(--line); font-size: 0.85rem; }

.assistance-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(270px, 0.65fr); gap: 4rem; margin-top: 4rem; }
.assistance-panel h1 { max-width: 11ch; font-size: clamp(2.9rem, 5.4vw, 5.2rem); }
.assistance-form { align-self: center; }
.delivery-heading { padding: 4rem 0 1rem; }
.delivery-heading h1 { max-width: 10ch; }
.delivery-heading p { max-width: 38rem; font-size: 1.05rem; }
.delivery-actions { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.delivery-actions h2 { margin: 0; font-size: 2.25rem; }
.download-grid { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.download-card { display: flex; min-width: 215px; align-items: center; gap: 0.85rem; padding: 0.8rem 1rem; border: 1px solid var(--teal); color: var(--teal); background: var(--paper); text-align: left; }
.download-card:hover { color: var(--paper); background: var(--teal); }
.download-card.is-unavailable { color: var(--muted); border-color: var(--line); cursor: not-allowed; }
.download-card.is-unavailable:hover { color: var(--muted); background: var(--paper); }
.download-card > span:last-child { display: grid; gap: 0.15rem; }
.download-card strong { font-size: 0.84rem; }
.download-card small { color: var(--muted); font-size: 0.68rem; }
.download-card:hover small { color: rgba(250, 251, 248, 0.72); }
.download-icon { display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-size: 1.1rem; }
.delivery-pages { margin-top: 3rem; }
.delivery-page-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1.2rem; }
.delivery-page { margin: 0; padding: 0.65rem; border: 1px solid var(--line); background: var(--white); }
.delivery-page-label { margin-bottom: 0.5rem; color: var(--muted); font-size: 0.68rem; font-weight: 750; }
.delivery-page-label span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.image-error { display: block; padding: 2rem 0.8rem; color: var(--danger); font-size: 0.78rem; text-align: center; }
.missing-preview { display: grid; min-height: 190px; place-items: center; align-content: center; padding: 1.2rem; border: 1px dashed var(--line); text-align: center; }
.missing-preview span { color: var(--brass); font-size: 2rem; }
.missing-preview p { margin: 0.5rem 0 0; font-size: 0.78rem; }

.turnstile-mount { position: fixed; z-index: 10; right: 1rem; bottom: 1rem; }
.loading-state { max-width: 760px; margin: 12vh auto; padding: 2rem; }
.loading-state h1 { max-width: 11ch; font-size: clamp(3rem, 6vw, 5.4rem); }
.loading-mark { display: flex; gap: 0.45rem; }
.loading-mark span { width: 10px; height: 10px; border-radius: 50%; background: var(--teal); animation: pulse 1.2s ease-in-out infinite; }
.loading-mark span:nth-child(2) { animation-delay: 0.15s; background: var(--brass); }
.loading-mark span:nth-child(3) { animation-delay: 0.3s; }
.noscript { max-width: 680px; margin: 5rem auto; padding: 2rem; }

@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { transform: translateY(0); opacity: 0.4; } 50% { transform: translateY(-7px); opacity: 1; } }

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

@media (max-width: 900px) {
  h1 { font-size: clamp(3rem, 9vw, 5.3rem); }
  .hero-home, .hero-tailor, .section-example, .section-example-tight, .contact-section { grid-template-columns: 1fr; }
  .about-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero { min-height: 0; padding-top: 4.5rem; }
  .comparison { min-height: 500px; max-width: 620px; }
  .section-example { gap: 3.8rem; }
  .example-intro p { max-width: 38rem; }
  .fit-grid { grid-template-columns: repeat(2, 1fr); }
  .fit-grid article:nth-child(2) { border-right: 0; }
  .fit-grid article:nth-child(3), .fit-grid article:nth-child(4) { border-top: 1px solid var(--line); }
  .fit-grid article:nth-child(3) { padding-left: 0; }
  .contact-section { gap: 3rem; }
  .review-layout, .assistance-panel { grid-template-columns: 1fr; }
  .review-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .payment-card, .approval-card { grid-template-columns: 1fr; }
  .delivery-actions { align-items: start; flex-direction: column; }
  .approval-identity { grid-column: auto; }
}

@media (max-width: 640px) {
  .header-inner, .footer-inner, .hero, .section, .convert-intro, .upload-layout, .job-shell { width: min(calc(100% - 2rem), var(--max)); }
  .header-inner { min-height: 74px; gap: 1rem; }
  .site-nav { gap: 0.8rem; }
  .site-nav .nav-link { display: none; }
  .brand small { display: none; }
  .hero { padding-top: 3.6rem; padding-bottom: 4.5rem; }
  .hero-home { gap: 3rem; }
  h1 { font-size: clamp(3.1rem, 16vw, 5.2rem); }
  h2 { font-size: clamp(2.5rem, 12vw, 3.6rem); }
  .hero-lede { font-size: 1rem; }
  .comparison { min-height: 390px; }
  .source-sheet { width: 67%; }
  .phone-frame { width: 46%; }
  .comparison-arrow { right: 28%; top: 46%; width: 45px; height: 45px; font-size: 1.35rem; }
  .comparison-note { top: -1.25rem; width: 115px; font-size: 0.88rem; }
  .comparison-caption { bottom: -1.85rem; font-size: 0.66rem; }
  .section { padding: 4.8rem 0; }
  .principle-grid, .offering-grid, .steps-grid, .fit-grid, .example-gallery { grid-template-columns: 1fr; }
  .principle-grid article, .principle-grid article + article, .steps-grid article, .steps-grid article + article { padding: 1.7rem 0; border-right: 0; border-bottom: 1px solid rgba(250, 251, 248, 0.2); }
  .steps-grid article, .steps-grid article + article { border-color: var(--line); }
  .principle-grid article:last-child, .steps-grid article:last-child { border-bottom: 0; }
  .offering-card { min-height: 0; padding: 1.6rem; }
  .offering-card + .offering-card { border-top: 1px solid var(--line); border-left: 0; }
  .section-example { gap: 2.5rem; }
  .example-strip { grid-template-columns: minmax(0, 1.45fr) 32px minmax(90px, 0.55fr); gap: 0.6rem; padding: 1.4rem 0.8rem; }
  .example-strip figcaption { right: 0.8rem; bottom: -2.5rem; left: 0.8rem; }
  .example-arrow { font-size: 1.35rem; }
  .example-gallery { gap: 1.8rem; }
  .example-gallery figure { max-width: 240px; }
  .example-gallery figure:nth-child(even) { margin-left: auto; }
  .closing-band { align-items: start; flex-direction: column; padding: 3.5rem 1rem; }
  .tailor-art { min-height: 400px; }
  .tailor-sheet { width: 70%; height: 68%; }
  .tailor-phone { width: 43%; }
  .fit-grid article, .fit-grid article + article { min-height: 0; padding: 1.6rem 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .fit-grid article:last-child { border-bottom: 0; }
  .fit-grid article:nth-child(3), .fit-grid article:nth-child(4) { border-top: 0; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid > div:last-child { grid-column: auto; }
  .form-submit-row { align-items: start; flex-direction: column; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { flex-direction: column; gap: 0.45rem; }
  .footer-note { grid-column: auto; }
  .convert-intro, .upload-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .convert-intro { padding-top: 3.5rem; }
  .upload-layout { padding-bottom: 4rem; }
  .config-note { order: -1; }
  .side-note { padding-top: 0; border-top: 0; }
  .page-job { padding: 2.5rem 0 4rem; }
  .private-topline, .review-heading { align-items: start; flex-direction: column; }
  .expiry-note { text-align: left; }
  .review-heading { padding-top: 3rem; }
  .allowance-chip { text-align: left; }
  .review-rail { grid-template-columns: 1fr; }
  .status-card-wide { grid-template-columns: 1fr; gap: 1.3rem; margin: 3.5rem auto; padding: 1.5rem; }
  .status-orbit { width: 64px; height: 64px; }
  .status-orbit span { transform-origin: 0 27px; }
  .quiet-grid { grid-template-columns: 1fr; }
  .plan-table-row { grid-template-columns: 1.1fr 1fr 0.6fr; gap: 0.5rem; font-size: 0.74rem; }
  .section-label-row { align-items: start; flex-direction: column; gap: 0.4rem; }
  .approval-card, .assistance-panel, .feedback-card, .payment-card, .delivery-actions, .plan-card, .master-grid { margin-top: 2rem; padding: 1.3rem; }
  .assistance-cta summary { align-items: start; flex-direction: column; }
  .download-grid { width: 100%; flex-direction: column; }
  .download-card { width: 100%; }
  .delivery-page-grid { grid-template-columns: repeat(2, 1fr); gap: 0.65rem; }
}

/* Customer journey v2 and the source-to-phone landing demonstration. */
.phone-frame { display: grid; gap: 0.55rem; }
.phone-screen { height: clamp(220px, 32vw, 350px); outline: none; }
.phone-screen:focus-visible { box-shadow: 0 0 0 3px var(--brass-pale), 0 0 0 5px var(--teal); }
.phone-scroll-track { animation: phone-demo-scroll 12s ease-in-out 1.2s infinite alternate; will-change: transform; }
.phone-scroll-track img { display: block; width: 100%; height: auto; aspect-ratio: auto; object-fit: initial; }
.comparison.is-paused .phone-scroll-track,
.comparison.is-offscreen .phone-scroll-track,
.phone-screen:hover .phone-scroll-track,
.phone-screen:focus-within .phone-scroll-track { animation-play-state: paused; }
.demo-controls { display: flex; justify-content: center; gap: 0.8rem; }
.demo-controls .text-button { color: rgba(250, 251, 248, 0.78); font-size: 0.66rem; }
.demo-controls .text-button:hover, .demo-controls .text-button:focus-visible { color: var(--paper); }
@keyframes phone-demo-scroll { from { transform: translateY(0); } to { transform: translateY(calc(-100% + clamp(220px, 32vw, 350px))); } }

.journey-review { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr); gap: 1.4rem; align-items: start; margin-top: 2.2rem; }
.recommendation-card, .source-page-quote { padding: clamp(1.3rem, 3vw, 2.2rem); border: 1px solid var(--line); background: var(--white); }
.background-plan { margin-top: 1.5rem; padding: 1rem 1.1rem; border-left: 3px solid var(--brass); background: var(--brass-pale); }
.background-plan p { margin: 0.55rem 0; }
.background-plan details { margin-top: 0.8rem; }
.background-plan summary { cursor: pointer; color: var(--teal); font-weight: 700; }
.background-plan li { display: grid; gap: 0.2rem; }
.background-replan-card { margin-top: 2rem; }
.background-replan-card textarea { min-height: 7rem; }
.recommendation-card { grid-column: 1 / -1; }
.recommendation-card h2, .source-page-quote h2 { max-width: 16ch; font-size: clamp(2rem, 4vw, 3.3rem); }
.recommendation-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin: 2rem 0 0; }
.recommendation-facts div { padding-top: 0.75rem; border-top: 1px solid var(--line); }
.recommendation-facts dt { color: var(--muted); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.recommendation-facts dd { margin: 0.45rem 0 0; color: var(--ink); font-size: 0.9rem; line-height: 1.55; }
.limitation-note { margin-top: 1.5rem; padding: 1rem; background: var(--paper); }
.limitation-note .quiet-list { margin: 0.6rem 0 0; }
.source-page-quote { display: flex; justify-content: space-between; gap: 1.2rem; align-items: end; background: var(--ink); color: var(--paper); }
.source-page-quote h2, .source-page-quote .eyebrow { color: var(--paper); }
.source-page-quote p { max-width: 38rem; color: rgba(250, 251, 248, 0.7); }
.quote-total { display: grid; min-width: 10rem; gap: 0.25rem; text-align: right; }
.quote-total span, .quote-total small { color: rgba(250, 251, 248, 0.7); font-size: 0.72rem; }
.quote-total strong { color: var(--brass-pale); font-family: var(--display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 500; }
.journey-actions { grid-column: 1 / -1; padding: 1.4rem; border: 1px dashed var(--brass); background: rgba(187, 145, 66, 0.08); }
.journey-actions form { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.journey-actions .field-help { margin: 0; }
.preview-review { grid-template-columns: minmax(0, 1fr) minmax(280px, 0.43fr); }
.journey-feedback { margin-top: 2rem; }
.price-lockup { display: grid; gap: 0.2rem; margin-top: 1.6rem; }
.price-lockup strong { color: var(--brass-pale); font-family: var(--display); font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 500; line-height: 0.95; }
.price-lockup span { color: rgba(250, 251, 248, 0.68); font-size: 0.76rem; }

@media (max-width: 900px) {
  .journey-review, .preview-review { grid-template-columns: 1fr; }
  .recommendation-facts { grid-template-columns: 1fr; }
  .journey-actions form, .source-page-quote { align-items: start; flex-direction: column; }
  .quote-total { text-align: left; }
}

@media (max-width: 640px) {
  .phone-screen { height: 220px; }
  .journey-review { gap: 0.8rem; }
  .source-page-quote { padding: 1.3rem; }
}
