
:root {
  --bg: #f4efe7;
  --bg-2: #fbf8f3;
  --panel: rgba(255, 255, 255, 0.78);
  --panel-strong: rgba(255, 255, 255, 0.96);
  --ink: #182226;
  --ink-soft: #506067;
  --line: rgba(24, 34, 38, 0.12);
  --accent: #2e6f64;
  --accent-2: #a66b49;
  --glow: rgba(46, 111, 100, 0.12);
  --shadow: 0 24px 70px rgba(33, 39, 45, 0.10);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --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(--ink);
  background:
    radial-gradient(circle at top left, rgba(46, 111, 100, 0.09), transparent 34%),
    radial-gradient(circle at 88% 12%, rgba(166, 107, 73, 0.09), transparent 30%),
    linear-gradient(180deg, #f7f2eb 0%, #f3eee6 100%);
  min-height: 100vh;
}

body.theme-paper {
  background:
    radial-gradient(circle at 12% 6%, rgba(46, 111, 100, 0.07), transparent 28%),
    linear-gradient(180deg, #f8f5ef 0%, #f2ece3 100%);
}

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

.site-shell,
.page-shell {
  width: min(calc(100% - 32px), var(--max));
  margin: 20px auto;
}

.topbar,
.inner-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand.simple strong {
  font-size: 1rem;
}

.brand strong,
.brand em {
  display: block;
}

.brand strong {
  font-size: 1.02rem;
  letter-spacing: -0.02em;
}

.brand em {
  font-style: normal;
  color: var(--ink-soft);
  font-size: 0.82rem;
  margin-top: 3px;
}

.brand-mark {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background:
    linear-gradient(135deg, var(--accent) 0%, rgba(46,111,100,0.2) 100%);
  box-shadow:
    0 0 0 6px rgba(46, 111, 100, 0.08),
    0 10px 24px rgba(46, 111, 100, 0.24);
  flex: none;
}

.topnav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.topnav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--ink-soft);
  transition: 0.25s ease;
}

.topnav a:hover {
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
}

.hero {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1.2fr 0.86fr;
  gap: 26px;
  align-items: stretch;
}

.hero-copy,
.hero-stack,
.section-rail,
.content-panel,
.note-panel,
.guide-card,
.faq-card,
.contact-panel,
.inquiry-form,
.legal-card,
.thanks-card,
.contact-reminder {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero-copy {
  border-radius: 38px;
  padding: 44px 42px 36px;
  position: relative;
  overflow: hidden;
}

.hero-copy::after {
  content: "";
  position: absolute;
  inset: auto -60px -90px auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 111, 100, 0.16), transparent 62%);
  pointer-events: none;
}

.eyebrow,
.rail-label,
.card-tag,
.mini-label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
}

.eyebrow,
.rail-label,
.card-tag {
  color: var(--accent);
}

.hero h1,
.legal-content h1,
.thanks-card h1 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.02;
  letter-spacing: -0.045em;
  margin: 18px 0;
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  max-width: 11ch;
}

.hero h1 span {
  color: var(--accent);
}

.lede,
.section-rail p,
.hero-copy p,
.guide-card p,
.content-panel p,
.note-panel p,
.timeline p,
.faq-card p,
.contact-panel p,
.inquiry-form span,
.legal-content p,
.legal-card p,
.contact-reminder p,
.thanks-card p {
  color: var(--ink-soft);
}

.lede {
  max-width: 62ch;
  font-size: 1.04rem;
  line-height: 1.75;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

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

.button.primary {
  background: linear-gradient(135deg, var(--accent) 0%, #355d58 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 14px 30px rgba(46, 111, 100, 0.22);
}

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

.button.full {
  width: 100%;
}

.hero-strip {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.hero-strip > div {
  padding: 14px 15px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(24, 34, 38, 0.08);
}

.mini-label {
  color: var(--ink-soft);
  display: block;
  margin-bottom: 7px;
}

.hero-strip strong {
  font-size: 0.97rem;
  letter-spacing: -0.02em;
}

.hero-stack {
  border-radius: 38px;
  padding: 22px;
  display: grid;
  gap: 18px;
  align-content: start;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.88) 0%, rgba(250,247,242,0.84) 100%);
}

.float-card {
  border-radius: 24px;
  background: var(--panel-strong);
  border: 1px solid rgba(24, 34, 38, 0.08);
  padding: 22px;
}

.float-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  line-height: 1.16;
  margin: 10px 0 12px;
  letter-spacing: -0.03em;
}

.float-card p,
.float-card li {
  color: var(--ink-soft);
  line-height: 1.68;
}

.note-b ol {
  margin: 10px 0 0;
  padding-left: 20px;
}

.editorial-band,
.split-section,
.process-wrap,
.faq-wrap,
.inquiry-wrap {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 0.34fr 1fr;
  gap: 20px;
  align-items: start;
}

.section-rail {
  border-radius: 26px;
  padding: 26px;
  position: sticky;
  top: 18px;
}

.section-rail p {
  line-height: 1.7;
  margin: 16px 0 0;
}

.cards-grid.staggered {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.guide-card {
  border-radius: 28px;
  padding: 22px;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.guide-card.featured {
  grid-column: span 5;
  min-height: 290px;
}

.guide-card.shift-down {
  grid-column: span 3;
  transform: translateY(32px);
}

.guide-card:not(.featured):not(.shift-down):not(.wide-card) {
  grid-column: span 4;
}

.guide-card.wide-card {
  grid-column: span 7;
}

.guide-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.guide-theme {
  font-size: 0.83rem;
  color: var(--ink-soft);
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(46, 111, 100, 0.08);
}

.price {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent-2);
}

.guide-card h3,
.content-panel h2,
.contact-panel h2,
.faq-card h3,
.legal-card h2,
.contact-reminder h2 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.03em;
  margin: 16px 0 10px;
}

.guide-card h3 {
  font-size: 1.58rem;
  line-height: 1.15;
}

.guide-card p {
  line-height: 1.72;
  margin: 0;
}

.guide-foot {
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.split-layout,
.inquiry-layout {
  display: grid;
  grid-template-columns: 1.04fr 0.9fr;
  gap: 18px;
}

.content-panel.soft,
.contact-panel,
.inquiry-form {
  border-radius: 28px;
  padding: 28px;
}

.content-panel h2,
.contact-panel h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.02;
}

.feature-list {
  margin: 18px 0 0;
  padding-left: 18px;
}

.feature-list li {
  color: var(--ink-soft);
  line-height: 1.8;
  margin-bottom: 6px;
}

.note-column {
  display: grid;
  gap: 18px;
}

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

.note-panel span {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(46, 111, 100, 0.10);
  color: var(--accent);
  font-weight: 700;
}

.note-panel h3 {
  margin: 16px 0 8px;
  font-size: 1.2rem;
}

.timeline {
  border-radius: 30px;
  padding: 22px;
  background: rgba(255,255,255,0.5);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.timeline article {
  border-radius: 22px;
  padding: 22px 18px;
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(24, 34, 38, 0.08);
}

.timeline strong {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(166, 107, 73, 0.12);
  color: var(--accent-2);
  font-size: 1rem;
}

.timeline h3 {
  font-size: 1.05rem;
  line-height: 1.3;
  margin: 16px 0 10px;
}

.timeline p {
  line-height: 1.68;
  margin: 0;
}

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

.faq-card {
  border-radius: 26px;
  padding: 24px;
}

.faq-card h3 {
  font-size: 1.3rem;
  line-height: 1.24;
}

.faq-card p {
  margin: 0;
  line-height: 1.72;
}

.contact-stack {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.contact-stack div {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.64);
  border: 1px solid rgba(24,34,38,0.08);
}

.contact-stack span {
  display: block;
  color: var(--ink-soft);
  font-size: 0.84rem;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.inquiry-form {
  display: grid;
  gap: 14px;
}

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

.inquiry-form input,
.inquiry-form textarea,
.inquiry-form select {
  width: 100%;
  border: 1px solid rgba(24,34,38,0.12);
  background: rgba(255,255,255,0.82);
  color: var(--ink);
  border-radius: 18px;
  padding: 15px 16px;
  font: inherit;
  outline: none;
}

.inquiry-form input:focus,
.inquiry-form textarea:focus,
.inquiry-form select:focus {
  border-color: rgba(46, 111, 100, 0.5);
  box-shadow: 0 0 0 4px rgba(46, 111, 100, 0.10);
}

.form-note {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0;
}

.footer {
  margin-top: 22px;
  border-radius: 30px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.74);
  box-shadow: var(--shadow);
  padding: 26px;
}

.footer.minimal {
  margin-top: 18px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 24px;
}

.footer-grid.compact {
  grid-template-columns: 1fr 1fr;
}

.footer h3,
.footer h4 {
  margin-top: 0;
}

.footer h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
}

.footer a,
.footer p {
  color: var(--ink-soft);
  line-height: 1.72;
  margin: 0 0 8px;
  display: block;
}

.legal-strip {
  border-top: 1px solid rgba(24,34,38,0.10);
  margin-top: 18px;
  padding-top: 16px;
}

.legal-strip p {
  color: var(--ink-soft);
  line-height: 1.7;
  margin: 0;
}

.legal-page {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 0.35fr 1fr;
  gap: 20px;
}

.legal-content {
  border-radius: 30px;
  padding: 32px;
  background: rgba(255,255,255,0.56);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.legal-content h1 {
  font-size: clamp(2.4rem, 4vw, 4rem);
  margin-top: 0;
}

.legal-content > p {
  font-size: 1.02rem;
  line-height: 1.8;
}

.legal-card {
  border-radius: 24px;
  padding: 22px;
  margin-top: 16px;
}

.legal-card h2 {
  font-size: 1.38rem;
}

.legal-card p {
  line-height: 1.74;
  margin-bottom: 0;
}

.thanks-page {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
}

.thanks-card,
.contact-reminder {
  border-radius: 32px;
  padding: 30px;
}

.thanks-card h1 {
  font-size: clamp(2.5rem, 4vw, 4.3rem);
  max-width: 10ch;
  margin-top: 14px;
}

.thanks-steps {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.thanks-steps > div {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(24,34,38,0.08);
  background: rgba(255,255,255,0.68);
}

.thanks-steps strong {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(46,111,100,0.10);
  color: var(--accent);
}

.contact-reminder h2 {
  font-size: 2rem;
}

@media (max-width: 1080px) {
  .hero,
  .editorial-band,
  .split-section,
  .process-wrap,
  .faq-wrap,
  .inquiry-wrap,
  .legal-page,
  .thanks-page,
  .split-layout,
  .inquiry-layout {
    grid-template-columns: 1fr;
  }

  .section-rail,
  .legal-rail {
    position: static;
  }

  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid,
  .footer-grid.compact,
  .faq-grid,
  .hero-strip {
    grid-template-columns: 1fr 1fr;
  }

  .cards-grid.staggered {
    grid-template-columns: repeat(2, 1fr);
  }

  .guide-card.featured,
  .guide-card.shift-down,
  .guide-card:not(.featured):not(.shift-down):not(.wide-card),
  .guide-card.wide-card {
    grid-column: auto;
    transform: none;
  }
}

@media (max-width: 720px) {
  .site-shell,
  .page-shell {
    width: min(calc(100% - 18px), var(--max));
    margin: 9px auto;
  }

  .topbar,
  .inner-header,
  .hero-copy,
  .hero-stack,
  .section-rail,
  .content-panel.soft,
  .contact-panel,
  .inquiry-form,
  .legal-content,
  .thanks-card,
  .contact-reminder,
  .footer {
    padding: 20px;
  }

  .topbar,
  .inner-header {
    flex-direction: column;
    align-items: stretch;
  }

  .topnav {
    justify-content: flex-start;
  }

  .hero h1 {
    font-size: clamp(2.3rem, 12vw, 4rem);
  }

  .hero-strip,
  .footer-grid,
  .footer-grid.compact,
  .faq-grid,
  .cards-grid.staggered,
  .timeline {
    grid-template-columns: 1fr;
  }

  .timeline article,
  .faq-card,
  .guide-card {
    min-height: unset;
  }

  .thanks-steps > div {
    grid-template-columns: 1fr;
  }

  .button,
  .topnav a {
    width: 100%;
  }
}
