:root {
  --ivory: #f3eee5;
  --paper: #fbf7ef;
  --ink: #141311;
  --muted: #625d55;
  --stone: #bfb3a2;
  --taupe: #817466;
  --clay: #825f49;
  --olive: #3c4638;
  --dark: #141412;
  --line: rgba(20, 19, 17, 0.13);
  --hairline: rgba(20, 19, 17, 0.08);
  --shadow: 0 32px 90px rgba(22, 20, 18, 0.16);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(20, 19, 17, 0.035) 1px, transparent 1px) 0 0 / 96px 96px,
    var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(20, 19, 17, 0.08);
  background: rgba(243, 238, 229, 0.88);
  backdrop-filter: blur(20px);
}

.nav-shell {
  width: min(1180px, calc(100% - 40px));
  height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wordmark {
  font-family: var(--serif);
  font-size: 1.22rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #3c3832;
  font-size: 0.76rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.nav-links a {
  padding: 8px 0;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
}

.btn,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid var(--ink);
  padding: 0 22px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  background: #2b2823;
}

.btn.secondary,
.text-link {
  background: transparent;
  color: var(--ink);
}

.btn.secondary:hover,
.text-link:hover {
  background: var(--ink);
  color: var(--paper);
}

.hero {
  min-height: calc(100vh - 74px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: clamp(42px, 6vw, 86px);
  align-items: center;
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 62px 0 48px;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--taupe);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  line-height: 0.94;
}

h1 {
  max-width: 720px;
  font-size: clamp(4rem, 7.5vw, 8.4rem);
  letter-spacing: -0.015em;
}

h2 {
  max-width: 880px;
  font-size: clamp(2.45rem, 4.6vw, 5rem);
  letter-spacing: -0.01em;
}

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

.lead {
  max-width: 680px;
  margin: 28px 0 0;
  color: #302d29;
  font-size: clamp(1.05rem, 1.35vw, 1.32rem);
  line-height: 1.55;
}

.supporting {
  display: grid;
  gap: 13px;
  max-width: 600px;
  margin: 30px 0 0;
  color: var(--muted);
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-visual {
  min-height: min(720px, calc(100vh - 150px));
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(20, 19, 17, 0) 58%, rgba(20, 19, 17, 0.5) 100%),
    url("vibbe-hero-editorial.png") center / cover no-repeat;
  box-shadow: var(--shadow);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(251, 247, 239, 0.26);
  pointer-events: none;
  z-index: 1;
}

.visual-note {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  width: auto;
  padding: 22px 24px;
  background: rgba(20, 19, 17, 0.68);
  border: 1px solid rgba(251, 247, 239, 0.18);
  color: rgba(251, 247, 239, 0.78);
  backdrop-filter: blur(16px);
  z-index: 2;
}

.visual-note strong {
  display: block;
  margin-bottom: 8px;
  color: var(--paper);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

section {
  scroll-margin-top: 96px;
}

.section {
  padding: 112px 0;
}

.section.dark {
  background: var(--dark);
  color: var(--paper);
}

.section-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.narrow {
  max-width: 820px;
}

.copy-stack {
  display: grid;
  gap: 17px;
  margin-top: 34px;
  color: var(--muted);
  font-size: 1.03rem;
}

.dark .copy-stack,
.dark .muted {
  color: rgba(255, 250, 242, 0.72);
}

.grid {
  display: grid;
  gap: 18px;
}

.services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 54px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card,
.step,
.policy-card,
.faq-item {
  border: 1px solid var(--line);
  background: rgba(251, 247, 239, 0.48);
  padding: 30px;
}

.service-card {
  min-height: 265px;
  border-top: 0;
  border-left: 0;
  background: rgba(251, 247, 239, 0.36);
}

.service-card h3,
.step h3 {
  margin-bottom: 14px;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-transform: uppercase;
}

.service-card p,
.step p,
.policy-card p {
  margin: 0;
  color: var(--muted);
}

.small-note {
  display: block;
  margin-top: 16px;
  color: #705e4e;
  font-size: 0.88rem;
}

.split {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 78px;
  align-items: start;
}

.steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 52px;
}

.step {
  background: rgba(251, 247, 239, 0.56);
}

.step-number {
  display: block;
  margin-bottom: 24px;
  color: var(--clay);
  font-family: var(--serif);
  font-size: 2.8rem;
}

.direct-panel {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 72px;
  align-items: start;
  padding: 72px 0;
  border-top: 1px solid rgba(251, 247, 239, 0.16);
  border-bottom: 1px solid rgba(251, 247, 239, 0.16);
}

.direct-panel ul,
.checklist,
.plain-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.direct-panel li,
.plain-list li {
  margin: 0 0 12px;
  color: rgba(255, 250, 242, 0.74);
}

.compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 52px;
}

.compare-panel {
  padding: 38px;
  border: 1px solid var(--line);
  background: rgba(251, 247, 239, 0.5);
}

.compare-panel h3 {
  margin-bottom: 18px;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.checklist li {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--muted);
}

.checklist .yes {
  color: #426e56;
  font-weight: 800;
}

.checklist .no {
  color: #8b4e42;
  font-weight: 800;
}

.fee-band {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 72px;
}

.policy-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 48px;
}

.policy-card h3 {
  margin-bottom: 16px;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.45;
  text-transform: uppercase;
}

.policy-card strong {
  display: block;
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
}

.form-shell {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 76px;
  align-items: start;
}

form {
  display: grid;
  gap: 18px;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

label {
  display: grid;
  gap: 8px;
  color: #3d3731;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(20, 19, 17, 0.18);
  border-radius: 0;
  background: rgba(251, 247, 239, 0.78);
  color: var(--ink);
  padding: 15px 16px;
}

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

.interests {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 16px;
  border: 1px solid rgba(20, 19, 17, 0.18);
  background: rgba(251, 247, 239, 0.5);
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 500;
  letter-spacing: 0;
}

.check input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--ink);
}

.full {
  grid-column: 1 / -1;
}

.form-message {
  display: none;
  padding: 18px;
  border: 1px solid rgba(66, 110, 86, 0.35);
  background: rgba(66, 110, 86, 0.08);
  color: #2f5a43;
}

.form-message.is-visible {
  display: block;
}

.form-message.is-error {
  border-color: rgba(139, 78, 66, 0.35);
  background: rgba(139, 78, 66, 0.08);
  color: #7b3f35;
}

.btn:disabled {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}

.faq-list {
  display: grid;
  gap: 10px;
  margin-top: 48px;
}

.faq-item {
  padding: 0;
}

.faq-question {
  width: 100%;
  min-height: 64px;
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 18px 22px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  cursor: pointer;
  font-weight: 800;
}

.faq-question::after {
  content: "+";
  flex: 0 0 auto;
  font-family: var(--serif);
  font-size: 1.8rem;
  line-height: 1;
}

.faq-question[aria-expanded="true"]::after {
  content: "-";
}

.faq-answer {
  display: none;
  padding: 0 22px 22px;
  color: var(--muted);
}

.faq-answer.is-open {
  display: block;
}

.company-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 42px;
  padding: 38px;
  border: 1px solid var(--line);
  background: rgba(251, 247, 239, 0.54);
}

.site-footer {
  padding: 58px 0;
  background: #11100f;
  color: rgba(255, 250, 242, 0.72);
}

.footer-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  gap: 28px;
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.legal-page {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  padding: 74px 0 100px;
}

.legal-page h1 {
  font-size: clamp(3rem, 6vw, 6rem);
}

.legal-page h2 {
  margin-top: 42px;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.legal-page p,
.legal-page li {
  color: var(--muted);
}

.legal-page ul {
  padding-left: 20px;
}

@media (max-width: 960px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: 74px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 20px;
    border-bottom: 1px solid var(--line);
    background: var(--ivory);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a,
  .nav-links .btn {
    width: 100%;
    justify-content: flex-start;
    padding: 14px 0;
  }

  .nav-links .btn {
    justify-content: center;
    margin-top: 10px;
    padding: 0 18px;
  }

  .hero,
  .split,
  .direct-panel,
  .form-shell,
  .fee-band {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 48px;
  }

  .hero-visual {
    min-height: 520px;
  }

  .services-grid,
  .steps,
  .policy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .nav-shell,
  .hero,
  .section-inner,
  .footer-inner,
  .legal-page {
    width: min(100% - 28px, 1180px);
  }

  .section {
    padding: 68px 0;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    font-size: clamp(3.1rem, 18vw, 4.7rem);
  }

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

  .services-grid,
  .steps,
  .compare,
  .policy-grid,
  .field-grid,
  .interests,
  .company-box {
    grid-template-columns: 1fr;
  }

  .direct-panel,
  .compare-panel,
  .service-card,
  .step,
  .policy-card {
    padding: 24px;
  }

  .footer-top {
    display: grid;
  }
}
