:root {
  --bg: #f3f0eb;
  --bg-2: #ede7df;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: rgba(255, 255, 255, 0.9);
  --line: rgba(71, 54, 42, 0.12);
  --text: #2f2924;
  --muted: #746a61;
  --accent: #7e7bf4;
  --accent-soft: rgba(126, 123, 244, 0.12);
  --accent-warm: #b98062;
  --shadow: 0 24px 70px rgba(60, 44, 28, 0.08);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(126, 123, 244, 0.16), transparent 28%),
    radial-gradient(circle at 85% 10%, rgba(185, 128, 98, 0.18), transparent 24%),
    linear-gradient(180deg, #f7f3ee 0%, var(--bg) 52%, #f8f6f2 100%);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.14) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.14) 1px, transparent 1px);
  background-size: 38px 38px;
  opacity: 0.35;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.4), transparent 85%);
}

img {
  max-width: 100%;
}

.page-shell {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 24px 0 36px;
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 24px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.62);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 40px rgba(38, 28, 18, 0.06);
}

.simple-header {
  border-radius: 28px;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.08em;
  background: linear-gradient(145deg, rgba(255,255,255,0.95), rgba(240,234,228,0.82));
  border: 1px solid rgba(71, 54, 42, 0.1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}

.brand-name,
h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.brand-name {
  font-size: 1.28rem;
}

.eyebrow {
  margin: 0 0 8px;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.site-nav a,
.site-footer a {
  color: var(--text);
  text-decoration: none;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
}

.site-nav a:hover,
.site-footer a:hover,
.button:hover {
  opacity: 0.88;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr;
  gap: 22px;
  align-items: stretch;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.glow-card {
  position: relative;
  overflow: hidden;
}

.glow-card::after {
  content: "";
  position: absolute;
  inset: -80px auto auto -20px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(126,123,244,0.18), transparent 68%);
}

.hero-copy {
  padding: 44px;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-copy h2 {
  font-size: clamp(2.7rem, 5vw, 5rem);
  max-width: 11ch;
}

.lead {
  max-width: 60ch;
  font-size: 1.08rem;
  color: #4f453f;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--text);
  background: rgba(255,255,255,0.78);
  font-weight: 600;
  cursor: pointer;
}

.button-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #978fff 100%);
  color: white;
  border-color: transparent;
}

.button-secondary {
  background: rgba(255,255,255,0.64);
}

.process-strip {
  margin-top: 34px;
  padding-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  border-top: 1px solid rgba(71, 54, 42, 0.12);
}

.process-strip span,
.step-pill {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.66);
  border: 1px solid rgba(71, 54, 42, 0.1);
  font-size: 0.94rem;
}

.stack-rail {
  display: grid;
  gap: 18px;
}

.note-card,
.metric-card,
.mini-panel {
  padding: 28px;
}

.tall-note {
  min-height: 260px;
}

.note-label,
.panel-title {
  margin: 0 0 10px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.metric-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 170px;
  background: linear-gradient(180deg, rgba(126, 123, 244, 0.12), rgba(255,255,255,0.72));
}

.metric-number {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4rem;
  line-height: 1;
}

.metric-text {
  margin: 10px 0 0;
  max-width: 15ch;
}

.editorial-section {
  margin-top: 22px;
}

.section-heading {
  display: grid;
  gap: 18px;
  margin-bottom: 18px;
}

.split-heading {
  grid-template-columns: 1.3fr 0.7fr;
  align-items: end;
}

.section-heading h2 {
  font-size: clamp(2rem, 3.6vw, 3.35rem);
  max-width: 16ch;
}

.soft-panel {
  padding: 22px;
  border-radius: 24px;
}

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

.asymmetric-grid {
  grid-template-columns: 1.1fr 0.9fr;
}

.feature-card {
  min-height: 250px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.feature-a,
.feature-d {
  min-height: 290px;
}

.guide-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 36px;
}

.guide-tag {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #4f47c9;
  font-size: 0.92rem;
}

.guide-price {
  font-weight: 700;
  font-size: 1.08rem;
}

.feature-a {
  background: linear-gradient(180deg, rgba(255,255,255,0.78), rgba(239, 233, 226, 0.92));
}

.feature-b {
  background: linear-gradient(135deg, rgba(126,123,244,0.12), rgba(255,255,255,0.78));
}

.feature-c {
  background: linear-gradient(145deg, rgba(185,128,98,0.14), rgba(255,255,255,0.82));
}

.feature-d {
  background: linear-gradient(145deg, rgba(248,244,238,0.88), rgba(241,236,255,0.88));
}

.layered-band {
  padding: 8px 0;
}

.narrow-heading h2 {
  max-width: 14ch;
}

.three-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.rail-card {
  padding: 28px;
  min-height: 210px;
}

.split-story {
  display: grid;
  grid-template-columns: 1.15fr 0.65fr;
  gap: 18px;
}

.story-card {
  padding: 34px;
}

.timeline-list {
  margin: 22px 0 0;
  padding-left: 22px;
}

.timeline-list li + li {
  margin-top: 12px;
}

.story-side {
  display: grid;
  gap: 18px;
}

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

.faq-card {
  padding: 28px;
}

.inquiry-shell {
  margin-bottom: 22px;
}

.inquiry-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 18px;
}

.deep-card,
.inquiry-form {
  padding: 32px;
}

.contact-stack {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.contact-stack a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.contact-label {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.92rem;
}

.inquiry-form {
  display: grid;
  gap: 16px;
  background: var(--surface-strong);
}

.inquiry-form label {
  display: grid;
  gap: 8px;
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(71, 54, 42, 0.12);
  background: rgba(248, 246, 242, 0.92);
  border-radius: 16px;
  padding: 14px 16px;
  font: inherit;
  color: var(--text);
}

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

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.legal-main,
.thankyou-main {
  display: grid;
  gap: 18px;
}

.legal-hero,
.thankyou-panel {
  padding: 36px;
}

.legal-hero h2,
.thankyou-panel h2 {
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  max-width: 12ch;
}

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

.legal-card {
  padding: 28px;
  min-height: 180px;
}

.wide-card {
  grid-column: span 2;
}

.thankyou-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 30px;
}

.site-footer {
  margin-top: 22px;
  padding: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 18px 24px;
  align-items: start;
}

.footer-card {
  background: rgba(255,255,255,0.75);
}

.footer-title {
  margin: 0 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
}

.site-footer div:last-of-type {
  display: grid;
  gap: 8px;
}

.disclaimer {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 8px;
  border-top: 1px solid rgba(71, 54, 42, 0.12);
  color: #514741;
}

@media (max-width: 1040px) {
  .hero-grid,
  .split-heading,
  .split-story,
  .inquiry-layout,
  .legal-grid,
  .three-rail,
  .faq-grid,
  .asymmetric-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

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

  .site-header {
    border-radius: 28px;
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-copy {
    min-height: auto;
  }
}

@media (max-width: 720px) {
  .page-shell,
  .inner-shell {
    width: min(calc(100% - 20px), var(--max));
    padding-top: 12px;
  }

  .site-header,
  .hero-copy,
  .note-card,
  .metric-card,
  .mini-panel,
  .feature-card,
  .rail-card,
  .story-card,
  .faq-card,
  .deep-card,
  .inquiry-form,
  .legal-card,
  .legal-hero,
  .thankyou-panel,
  .site-footer {
    padding: 22px;
  }

  .hero-copy h2,
  .legal-hero h2,
  .thankyou-panel h2,
  .section-heading h2 {
    max-width: none;
  }

  .brand-block {
    align-items: flex-start;
  }

  .site-nav {
    width: 100%;
  }

  .site-nav a {
    flex: 1 1 calc(50% - 8px);
    text-align: center;
    background: rgba(255,255,255,0.5);
    border-color: rgba(71, 54, 42, 0.08);
  }

  .process-strip span,
  .step-pill,
  .button {
    width: 100%;
  }
}
