:root {
  --v4-bg: #f7f3ec;
  --v4-surface: #fffdf8;
  --v4-surface-soft: #f1ece2;
  --v4-surface-alt: #f3ede4;
  --v4-border: #d9d0c2;
  --v4-border-strong: #c7bcab;
  --v4-ink: #1f1d18;
  --v4-muted: #686154;
  --v4-accent: #476748;
  --v4-accent-strong: #294a2a;
  --v4-accent-soft: #e8f0e7;
  --v4-warm: #935f28;
  --v4-danger: #8e3b3b;
  --v4-shadow: 0 18px 40px rgba(25, 21, 14, 0.08);
  --v4-shadow-soft: 0 10px 24px rgba(25, 21, 14, 0.06);
  --v4-shadow-lift: 0 18px 34px rgba(25, 21, 14, 0.11);
  --v4-radius: 20px;
  --v4-radius-sm: 14px;
  --v4-max: 1120px;
  --v4-serif: "Newsreader", Georgia, serif;
  --v4-sans: "Instrument Sans", system-ui, sans-serif;
  --v4-mono: "IBM Plex Mono", monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top right, rgba(71, 103, 72, 0.09), transparent 26%),
    radial-gradient(circle at 18% 12%, rgba(147, 95, 40, 0.08), transparent 24%),
    linear-gradient(180deg, #fbf8f2 0%, var(--v4-bg) 100%);
  color: var(--v4-ink);
  font-family: var(--v4-sans);
  line-height: 1.6;
}

body[data-layout-variant="dense"] .section,
body[data-layout-variant="dense"] .hero {
  padding-block: 56px;
}

a {
  color: inherit;
}

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

.v4-shell {
  min-height: 100vh;
}

.container {
  width: min(100% - 32px, var(--v4-max));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
  background: rgba(247, 243, 236, 0.86);
  border-bottom: 1px solid rgba(201, 192, 177, 0.62);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: baseline;
  text-decoration: none;
}

.brand strong {
  font-family: var(--v4-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.brand span {
  color: var(--v4-muted);
  font-size: 13px;
}

.topbar-links {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.eyebrow {
  font-family: var(--v4-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--v4-accent);
}

.hero,
.section {
  padding: 72px 0;
}

.section-soft {
  background: linear-gradient(180deg, rgba(255, 253, 248, 0) 0%, rgba(255, 253, 248, 0.78) 20%, rgba(255, 253, 248, 0.78) 100%);
}

.section-warm {
  background:
    radial-gradient(circle at 88% 8%, rgba(71, 103, 72, 0.07), transparent 24%),
    linear-gradient(180deg, rgba(243, 237, 228, 0.82) 0%, rgba(247, 243, 236, 0.55) 100%);
}

body[data-page-kind="listing"] .hero {
  padding-bottom: 42px;
}

body[data-page-kind="listing"] #preview.section {
  padding-top: 0;
  padding-bottom: 16px;
}

body[data-page-kind="listing"] #facts.section {
  padding-top: 12px;
}

.hero-grid {
  display: grid;
  gap: 28px;
  align-items: start;
}

.hero-stack {
  display: grid;
  gap: 20px;
}

.hero-stack--narrow {
  width: min(100%, 760px);
}

@media (min-width: 920px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  }
}

.hero-copy,
.panel,
.surface-card {
  background: rgba(255, 253, 248, 0.86);
  border: 1px solid rgba(217, 208, 194, 0.9);
  border-radius: var(--v4-radius);
  box-shadow: var(--v4-shadow);
}

.panel {
  padding: 24px;
}

.hero-copy {
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.hero-copy::before,
.hero-card::before,
.cta-band::before,
.surface-card::before,
.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), transparent 42%);
}

.hero-copy::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -56px;
  top: -84px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(71, 103, 72, 0.16) 0%, rgba(71, 103, 72, 0) 70%);
  pointer-events: none;
}

.headline {
  margin: 10px 0 18px;
  font-family: var(--v4-serif);
  font-size: clamp(2.7rem, 7vw, 4.8rem);
  line-height: 0.97;
  font-weight: 400;
  letter-spacing: -0.04em;
}

.lede {
  margin: 0;
  max-width: 38rem;
  font-size: 1.08rem;
  color: var(--v4-muted);
}

.hero-actions,
.cta-actions,
.step-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn,
.btn-link {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--v4-border-strong);
  border-radius: 999px;
  padding: 12px 18px;
  background: #fff;
  color: var(--v4-ink);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
  justify-self: start;
  align-self: start;
}

.btn:hover,
.btn-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(25, 21, 14, 0.08);
}

.btn-primary {
  border-color: var(--v4-accent-strong);
  background: var(--v4-accent-strong);
  color: #fff;
}

.btn-secondary {
  background: var(--v4-accent-soft);
  color: var(--v4-accent-strong);
  border-color: rgba(71, 103, 72, 0.22);
}

.btn-quiet {
  background: transparent;
}

.hero-card {
  display: grid;
  gap: 16px;
  padding: 22px;
  position: relative;
  background: rgba(255, 252, 246, 0.92);
  border: 1px solid rgba(201, 192, 177, 0.95);
}

.hero-card .note,
.section-note,
.muted {
  color: var(--v4-muted);
}

.hero-card .note {
  font-size: 0.96rem;
}

.mini-list {
  display: grid;
  gap: 10px;
}

.mini-item {
  padding: 12px 14px;
  border: 1px solid var(--v4-border);
  border-radius: var(--v4-radius-sm);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.mini-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.96rem;
}

.mini-item span {
  display: block;
  color: var(--v4-muted);
}

.section-head {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}

.preview-controls {
  display: flex;
  justify-content: flex-start;
  margin-top: -4px;
}

.caption-toggle {
  appearance: none;
  border: 1px solid rgba(82, 102, 71, 0.18);
  background: rgba(245, 244, 239, 0.88);
  color: var(--v4-ink-soft);
  border-radius: 999px;
  padding: 6px 10px;
  font: inherit;
  font-size: 0.82rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.caption-toggle:hover,
.caption-toggle:focus-visible {
  background: rgba(255, 253, 248, 0.98);
  border-color: rgba(82, 102, 71, 0.34);
  transform: translateY(-1px);
}

#preview[data-caption-state="hidden"] .gallery-caption {
  display: none;
}

#preview .section-head {
  margin-bottom: 12px;
}

.section-title {
  margin: 0;
  font-family: var(--v4-serif);
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
}

.section-body {
  margin: 0;
  max-width: 42rem;
  color: var(--v4-muted);
}

.cards-grid,
.facts-grid,
.preview-grid,
.preview-editorial,
.intent-grid,
.summary-grid,
.interest-stack {
  display: grid;
  gap: 14px;
}

.intent-grid {
  align-items: start;
}

@media (min-width: 720px) {
  .facts-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .summary-grid.two,
  .intent-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.cards-grid .card,
.facts-grid .card,
.summary-grid .card,
.intent-card,
.preview-grid .gallery-card {
  background: rgba(255, 253, 248, 0.92);
  border: 1px solid var(--v4-border);
  border-radius: var(--v4-radius-sm);
  padding: 18px;
  box-shadow: var(--v4-shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
}

.cards-grid .card::before,
.facts-grid .card::before,
.summary-grid .card::before,
.intent-card::before,
.preview-grid .gallery-card::before,
.included-item::before,
.nearby-card::before,
.step-panel::before,
.review-item::before,
.form-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent 38%);
}

.cards-grid .card:hover,
.facts-grid .card:hover,
.summary-grid .card:hover,
.intent-card:hover,
.nearby-card:hover,
.included-item:hover,
.preview-grid .gallery-card:hover,
.form-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--v4-shadow-lift);
  border-color: rgba(134, 119, 98, 0.44);
}

.preview-grid .gallery-card,
.preview-editorial .gallery-card {
  display: grid;
  gap: 12px;
}

#preview .preview-editorial {
  gap: 12px;
  align-items: start;
}

#preview .gallery-card {
  background: transparent;
  border: 0;
  box-shadow: none;
  margin: 0;
  padding: 0;
  overflow: visible;
}

#preview .gallery-card::before {
  display: none;
}

#preview .gallery-card:hover {
  transform: none;
  box-shadow: none;
  border-color: transparent;
}

@media (min-width: 760px) {
  #preview .preview-editorial {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  #preview .preview-slot--1 {
    grid-column: 1 / span 2;
  }

  #preview .preview-slot--2 {
    grid-column: 3;
  }

  #preview .preview-slot--3 {
    grid-column: 4;
  }

  #preview .preview-slot--4 {
    grid-column: 1;
  }

  #preview .preview-slot--5 {
    grid-column: 2;
  }

  #preview .preview-slot--6 {
    grid-column: 3 / span 2;
  }

  #preview .preview-slot--1 .gallery-image,
  #preview .preview-slot--6 .gallery-image {
    aspect-ratio: 2 / 1;
  }

  #preview .preview-slot--2 .gallery-image,
  #preview .preview-slot--3 .gallery-image,
  #preview .preview-slot--4 .gallery-image,
  #preview .preview-slot--5 .gallery-image {
    aspect-ratio: 1 / 1;
  }
}

@media (max-width: 759px) {
  #preview .preview-editorial {
    grid-template-columns: 1fr;
  }

  #preview .preview-slot .gallery-image {
    aspect-ratio: 4 / 3;
  }
}

.gallery-link {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(155deg, #ece7dd 0%, #f7f4ee 52%, #ddd6c8 100%);
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.gallery-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.gallery-fallback {
  position: absolute;
  inset: 0;
  display: none;
  align-items: flex-end;
  padding: 12px;
  background: linear-gradient(0deg, rgba(31, 29, 24, 0.44) 0%, rgba(31, 29, 24, 0.08) 72%);
  color: #f8f5ef;
  font-family: var(--v4-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  line-height: 1.35;
}

.gallery-card.is-missing .gallery-image {
  display: none;
}

.gallery-card.is-missing .gallery-fallback {
  display: flex;
}

.gallery-caption {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.35;
}

.gallery-link:focus-visible {
  outline: 2px solid var(--v4-accent);
  outline-offset: 2px;
}

.gallery-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 28px rgba(25, 21, 14, 0.12);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(15, 17, 13, 0.92);
}

.lightbox.open {
  display: flex;
}

.lightbox-inner {
  width: min(960px, 100%);
}

.lightbox-image {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  display: block;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #0e100c;
}

.lightbox-caption {
  margin-top: 10px;
  color: rgba(248, 245, 239, 0.82);
  font-family: var(--v4-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.08);
  color: #f8f5ef;
  font-family: var(--v4-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.14);
}

.lightbox-close:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.facts-grid .card h3,
.summary-grid .card h3,
.intent-card h2,
.form-card h2 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

.cards-grid .card h3 {
  margin: 0 0 8px;
  font-size: 1.16rem;
}

.facts-grid .card h3 {
  font-size: 1.08rem;
}

.room-price,
.card-price {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--v4-mono);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--v4-accent);
}

.card-price {
  margin-bottom: 8px;
}

.room-price strong,
.card-price strong {
  font-size: 1rem;
  letter-spacing: 0;
  color: var(--v4-ink);
}

.facts-grid .card p,
.cards-grid .card p,
.summary-grid .card p,
.intent-card p,
.form-card p {
  margin: 0;
  color: var(--v4-muted);
}

.included-stack,
.nearby-grid {
  display: grid;
  gap: 12px;
}

@media (min-width: 760px) {
  .nearby-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.included-item,
.nearby-card {
  background: rgba(255, 253, 248, 0.92);
  border: 1px solid var(--v4-border);
  border-radius: var(--v4-radius-sm);
  padding: 14px 16px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.included-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.check {
  color: var(--v4-accent-strong);
  font-weight: 700;
}

.nearby-card {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
}

.nearby-card h3 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.nearby-card p {
  margin: 0;
  color: var(--v4-muted);
}

.cta-band {
  padding: 26px;
  background: linear-gradient(135deg, #244125 0%, #385c39 100%);
  border-radius: var(--v4-radius);
  color: #f8f5ef;
  display: grid;
  gap: 16px;
  box-shadow: var(--v4-shadow);
  position: relative;
  overflow: hidden;
}

.cta-band .eyebrow,
.cta-band .muted {
  color: rgba(248, 245, 239, 0.8);
}

.cta-band h2 {
  margin: 0;
  font-family: var(--v4-serif);
  font-size: clamp(1.9rem, 3.7vw, 2.7rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
}

.cta-band p {
  margin: 0;
  max-width: 38rem;
}

.cta-routing-grid {
  display: grid;
  gap: 14px;
}

@media (min-width: 760px) {
  .cta-routing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.cta-option-card {
  display: grid;
  gap: 12px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--v4-radius-sm);
  background: rgba(255, 253, 248, 0.12);
  position: relative;
  overflow: hidden;
}

.cta-option-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent 42%);
  pointer-events: none;
}

.cta-option-card[data-cms-item-key="apply"] {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.24);
}

.cta-option-card[data-cms-item-key="interest"] {
  background: rgba(244, 239, 232, 0.11);
}

.cta-option-card h3 {
  margin: 0;
  font-size: 1.12rem;
  color: #f8f5ef;
}

.cta-option-card p {
  max-width: 30rem;
  color: rgba(248, 245, 239, 0.84);
}

.cta-band .btn-primary {
  background: #fff;
  color: var(--v4-accent-strong);
  border-color: #fff;
}

.cta-band .btn-secondary {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.footer {
  padding: 28px 0 40px;
  color: var(--v4-muted);
  font-size: 0.93rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.legacy-note {
  padding: 18px 0 0;
  color: var(--v4-muted);
  font-size: 0.92rem;
}

.app-shell {
  padding-top: 40px;
}

.progress-wrap {
  display: grid;
  gap: 12px;
  margin-bottom: 22px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(201, 192, 177, 0.76);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(250, 247, 241, 0.92) 100%);
}

.progress-copy {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  color: var(--v4-muted);
  font-size: 0.92rem;
}

.progress-bar {
  height: 10px;
  background: rgba(71, 103, 72, 0.14);
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--v4-accent), #7ea380);
  transition: width 0.22s ease;
}

.step-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.step-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--v4-border);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.85rem;
  color: var(--v4-muted);
  background: rgba(255, 255, 255, 0.7);
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.step-pill-index {
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(71, 103, 72, 0.1);
  color: var(--v4-accent-strong);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1;
}

.step-pill.active {
  border-color: rgba(71, 103, 72, 0.35);
  color: var(--v4-accent-strong);
  background: var(--v4-accent-soft);
}

.step-pill.complete {
  border-color: rgba(71, 103, 72, 0.24);
  background: rgba(232, 240, 231, 0.66);
  color: var(--v4-accent-strong);
}

.step-pill.complete .step-pill-index {
  background: var(--v4-accent-strong);
  color: #fff;
}

.step-panel {
  display: grid;
  gap: 18px;
  padding: 18px;
  border: 1px solid rgba(201, 192, 177, 0.76);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.58);
  transition: opacity 0.24s ease, transform 0.24s ease;
  position: relative;
  overflow: hidden;
}

.step-panel.is-active {
  box-shadow: 0 14px 28px rgba(25, 21, 14, 0.07);
}

.step-panel[hidden] {
  display: none;
}

.step-title {
  margin: 0 0 8px;
  font-family: var(--v4-serif);
  font-size: clamp(2rem, 4vw, 2.7rem);
  font-weight: 400;
  line-height: 1;
}

.step-lede {
  margin: 0;
  color: var(--v4-muted);
  max-width: 38rem;
}

.field-grid {
  display: grid;
  gap: 14px;
}

.field-grid.two {
  grid-template-columns: 1fr;
}

@media (min-width: 760px) {
  .field-grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.field-grid.three {
  grid-template-columns: 1fr;
}

@media (min-width: 960px) {
  .field-grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.field,
.choice-group {
  display: grid;
  gap: 9px;
}

.field label,
.choice-group legend {
  font-size: 0.92rem;
  font-weight: 600;
}

.choice-group {
  border: 0;
  padding: 0;
  margin: 0;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--v4-border);
  border-radius: 12px;
  padding: 13px 15px;
  font: inherit;
  color: var(--v4-ink);
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(71, 103, 72, 0.18);
  border-color: rgba(71, 103, 72, 0.52);
}

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

.option-grid {
  display: grid;
  gap: 10px;
}

@media (min-width: 640px) {
  .option-grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.option-card,
.check-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border: 1px solid var(--v4-border);
  border-radius: 12px;
  background: #fff;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.option-card input,
.check-row input {
  width: auto;
  margin-top: 2px;
}

.option-card span strong,
.check-row span strong {
  display: block;
  font-size: 0.94rem;
}

.option-card span small,
.check-row span small {
  display: block;
  color: var(--v4-muted);
  margin-top: 2px;
}

.check-row:hover,
.option-card:hover {
  border-color: rgba(134, 119, 98, 0.42);
  box-shadow: 0 12px 22px rgba(25, 21, 14, 0.06);
}

.helper,
.status,
.submit-note {
  color: var(--v4-muted);
  font-size: 0.9rem;
}

.status.error {
  color: var(--v4-danger);
}

.status.ok {
  color: var(--v4-accent-strong);
}

.review-list {
  display: grid;
  gap: 12px;
}

.review-item {
  padding: 14px 16px;
  border: 1px solid var(--v4-border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
  position: relative;
  overflow: hidden;
}

.review-item strong {
  display: block;
  margin-bottom: 6px;
}

.success-panel {
  display: none;
  padding: 28px;
  background: linear-gradient(180deg, rgba(232, 240, 231, 0.96) 0%, rgba(242, 248, 239, 0.9) 100%);
  border: 1px solid rgba(71, 103, 72, 0.22);
  border-radius: var(--v4-radius);
  box-shadow: var(--v4-shadow-soft);
}

.success-panel h2 {
  margin: 0 0 10px;
  font-family: var(--v4-serif);
  font-size: 2rem;
  font-weight: 400;
}

.app-panel {
  display: grid;
  gap: 26px;
}

.app-panel .step-actions,
.app-panel .submit-note,
.app-panel .status {
  margin-top: 0;
}

.interest-stack {
  width: min(100%, 760px);
}

.interest-stack > * + * {
  margin-top: 10px;
}

.intent-card,
.form-card {
  display: grid;
  gap: 14px;
}

.apply-callout {
  justify-items: start;
  background: linear-gradient(180deg, rgba(232, 240, 231, 0.9) 0%, rgba(255, 253, 248, 0.98) 100%);
  border-color: rgba(71, 103, 72, 0.22);
}

.apply-callout .btn {
  margin-top: 4px;
}

.form-card form {
  display: grid;
  gap: 16px;
}

.intent-tag {
  font-family: var(--v4-mono);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--v4-accent);
}

.inline-note {
  font-size: 0.86rem;
  color: var(--v4-muted);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

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

.hidden {
  display: none !important;
}

@media (max-width: 680px) {
  .hero,
  .section {
    padding-block: 48px;
  }

  .panel {
    padding: 22px;
  }

  .hero-copy,
  .hero-card {
    padding: 20px;
  }

  .topbar-inner,
  .progress-copy {
    align-items: flex-start;
    flex-direction: column;
  }

  .cta-option-card {
    padding: 18px;
  }

  .progress-wrap,
  .step-panel {
    padding: 16px;
  }

  .hero-stack--narrow,
  .interest-stack {
    width: 100%;
  }
}
