:root {
  --ink: #1d1715;
  --ink-soft: #433934;
  --brown: #7e3f2e;
  --brown-deep: #5d2b20;
  --terracotta: #b65d43;
  --cream: #f8f1e7;
  --cream-deep: #eadcc9;
  --paper: #fffdf9;
  --gold: #c89b50;
  --green: #425b43;
  --line: rgba(29, 23, 21, 0.12);
  --shadow: 0 24px 70px rgba(53, 31, 22, 0.12);
  --shadow-soft: 0 15px 40px rgba(53, 31, 22, 0.08);
  --radius-sm: 14px;
  --radius: 24px;
  --radius-lg: 38px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button, input { font: inherit; }
button { color: inherit; }

::selection { background: rgba(182, 93, 67, 0.25); }

.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;
  left: 16px;
  top: -80px;
  z-index: 999;
  background: var(--ink);
  color: white;
  padding: 10px 16px;
  border-radius: 10px;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.section { padding: 110px 0; }

.eyebrow {
  margin: 0 0 14px;
  color: var(--brown);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.08;
  letter-spacing: -.025em;
}
h1 { font-size: clamp(3.2rem, 6vw, 6rem); margin-bottom: 28px; }
h1 em { color: var(--brown); font-style: italic; font-weight: 500; }
h2 { font-size: clamp(2.3rem, 4.3vw, 4.2rem); margin-bottom: 20px; }
h3 { font-size: 1.55rem; margin-bottom: 13px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  font-weight: 750;
  letter-spacing: -.01em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button:focus-visible { outline: 3px solid rgba(200, 155, 80, .5); outline-offset: 3px; }
.button-primary { background: var(--brown); color: white; box-shadow: 0 12px 26px rgba(126, 63, 46, .22); }
.button-primary:hover { background: var(--brown-deep); box-shadow: 0 16px 34px rgba(126, 63, 46, .28); }
.button-secondary { background: transparent; color: var(--ink); border-color: rgba(29, 23, 21, .24); }
.button-secondary:hover { background: white; border-color: var(--ink); }
.button-dark { background: var(--ink); color: white; }
.button-dark:hover { background: #000; }
.button-light { background: white; color: var(--ink); }
.button-small { min-height: 42px; padding: 9px 18px; font-size: .9rem; }
.full-width { width: 100%; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background .25s ease, backdrop-filter .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.site-header.scrolled {
  background: rgba(255, 253, 249, .9);
  backdrop-filter: blur(18px);
  border-color: var(--line);
  box-shadow: 0 8px 28px rgba(40, 26, 20, .05);
}
.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: Georgia, serif; font-weight: 700; font-size: 1.08rem; }
.brand img { width: 46px; height: 46px; object-fit: contain; }
.primary-nav { display: flex; align-items: center; gap: 28px; }
.primary-nav > a:not(.button) { text-decoration: none; font-size: .94rem; font-weight: 650; color: var(--ink-soft); }
.primary-nav > a:not(.button):hover { color: var(--brown); }
.menu-button { display: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--cream); padding: 12px; cursor: pointer; }
.menu-button span:not(.sr-only) { display: block; width: 100%; height: 2px; margin: 4px 0; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 860px;
  padding: 150px 0 90px;
  background:
    radial-gradient(circle at 86% 20%, rgba(182, 93, 67, .18), transparent 25%),
    radial-gradient(circle at 12% 65%, rgba(200, 155, 80, .12), transparent 28%),
    linear-gradient(135deg, #fffdf9 0%, #fbf4ea 58%, #f4e7d7 100%);
}
.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: .09;
  background-image:
    linear-gradient(30deg, transparent 48%, var(--brown) 49%, var(--brown) 51%, transparent 52%),
    linear-gradient(150deg, transparent 48%, var(--brown) 49%, var(--brown) 51%, transparent 52%);
  background-size: 90px 52px;
  mask-image: linear-gradient(to right, transparent, black 55%, black);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 65px; }
.hero-copy { max-width: 690px; }
.hero-lead { max-width: 650px; margin-bottom: 32px; color: var(--ink-soft); font-size: 1.13rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 12px 28px; list-style: none; padding: 0; margin: 0; color: var(--ink-soft); font-size: .93rem; font-weight: 650; }
.hero-points li { position: relative; padding-left: 18px; }
.hero-points li::before { content: ""; position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--terracotta); left: 0; top: .58em; }
.hero-visual { min-width: 0; }
.logo-stage {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  max-width: 620px;
  margin-left: auto;
  border: 1px solid rgba(126, 63, 46, .12);
  border-radius: 50%;
  background: rgba(255,255,255,.58);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}
.logo-stage::before {
  content: "";
  position: absolute;
  inset: 8%;
  border: 1px dashed rgba(126, 63, 46, .2);
  border-radius: 50%;
}
.logo-stage img { width: 84%; filter: drop-shadow(0 18px 20px rgba(40, 25, 20, .12)); }
.logo-ring { position: absolute; border: 1px solid rgba(126, 63, 46, .2); border-radius: 50%; }
.ring-one { width: 114%; height: 114%; }
.ring-two { width: 128%; height: 128%; border-style: dashed; opacity: .55; }
.floating-note {
  position: absolute;
  padding: 8px 14px;
  border: 1px solid rgba(126, 63, 46, .14);
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow-soft);
  color: var(--brown);
  font-family: Georgia, serif;
  font-weight: 700;
  font-size: .9rem;
}
.note-one { top: 13%; left: -3%; transform: rotate(-6deg); }
.note-two { top: 27%; right: -2%; transform: rotate(7deg); }
.note-three { bottom: 12%; left: 8%; transform: rotate(4deg); }

.trust-strip { background: var(--ink); color: white; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-grid > div { padding: 27px 24px; border-right: 1px solid rgba(255,255,255,.12); }
.trust-grid > div:last-child { border-right: 0; }
.trust-grid strong, .trust-grid span { display: block; }
.trust-grid strong { font-family: Georgia, serif; font-size: 1.15rem; color: var(--cream); }
.trust-grid span { color: rgba(255,255,255,.68); font-size: .87rem; }

.split-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; align-items: start; }
.about-copy { max-width: 690px; color: var(--ink-soft); font-size: 1.08rem; }
.about-copy p:last-child { margin-bottom: 0; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 70px; }
.pillar { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow-soft); }
.pillar-number { display: inline-grid; place-items: center; width: 48px; height: 48px; margin-bottom: 28px; border-radius: 50%; background: var(--cream); color: var(--brown); font-weight: 850; }
.pillar p { margin-bottom: 0; color: var(--ink-soft); }

.memberships { background: var(--cream); }
.section-heading { max-width: 700px; }
.section-heading.centered { margin: 0 auto 54px; text-align: center; }
.section-heading.centered > p:last-child { color: var(--ink-soft); }
.pricing-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; align-items: stretch; }
.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  grid-column: span 2;
  min-height: 100%;
  padding: 32px;
  border: 1px solid rgba(29,23,21,.11);
  border-radius: var(--radius);
  background: rgba(255,255,255,.9);
  box-shadow: 0 12px 30px rgba(57, 34, 24, .06);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.pricing-card:hover { transform: translateY(-5px); box-shadow: 0 24px 52px rgba(57,34,24,.12); border-color: rgba(126,63,46,.28); }
.pricing-card:nth-child(4) { grid-column: 2 / span 2; }
.pricing-card:nth-child(5) { grid-column: 4 / span 2; }
.pricing-card.featured { border: 2px solid var(--brown); background: #fffaf5; }
.pricing-card.masters-card { background: var(--ink); color: white; border-color: var(--ink); }
.pricing-card.masters-card .tier-label, .pricing-card.masters-card .price span { color: #f3c989; }
.pricing-card.masters-card .tier-summary, .pricing-card.masters-card .feature-list { color: rgba(255,255,255,.74); }
.pricing-card.masters-card .feature-list li { border-color: rgba(255,255,255,.13); }
.pricing-card.masters-card .feature-list li::before { color: #f3c989; }
.card-badge { position: absolute; top: 16px; right: 16px; padding: 6px 10px; border-radius: 999px; background: var(--brown); color: white; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.masters-card .card-badge { background: #f3c989; color: var(--ink); }
.tier-label { margin: 0 0 10px; color: var(--brown); font-size: .75rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.pricing-top h3 { min-height: 3.2rem; }
.price { display: flex; align-items: baseline; gap: 8px; margin: 22px 0 16px; }
.price span { color: var(--brown-deep); font-family: Georgia, serif; font-size: 2.45rem; font-weight: 700; letter-spacing: -.04em; }
.price small { color: var(--ink-soft); font-size: .83rem; font-weight: 650; }
.tier-summary { min-height: 96px; color: var(--ink-soft); font-size: .92rem; }
.feature-list { flex: 1; list-style: none; padding: 0; margin: 20px 0 30px; color: var(--ink-soft); font-size: .9rem; }
.feature-list li { position: relative; padding: 10px 0 10px 24px; border-bottom: 1px solid var(--line); }
.feature-list li::before { content: "✓"; position: absolute; left: 0; color: var(--brown); font-weight: 900; }
.pricing-note { max-width: 900px; margin: 28px auto 0; text-align: center; color: var(--ink-soft); font-size: .85rem; }

.translation { background: var(--paper); }
.translation-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 80px; align-items: center; }
.translation-copy > p:not(.eyebrow) { max-width: 640px; color: var(--ink-soft); font-size: 1.06rem; }
.translation-price { display: flex; align-items: baseline; gap: 12px; margin: 30px 0; }
.translation-price strong { color: var(--brown); font-family: Georgia, serif; font-size: 3.2rem; }
.translation-price span { color: var(--ink-soft); font-weight: 700; }
.mini-checks { list-style: none; padding: 0; margin: 0; }
.mini-checks li { position: relative; padding: 8px 0 8px 28px; color: var(--ink-soft); }
.mini-checks li::before { content: "•"; position: absolute; left: 8px; color: var(--terracotta); font-weight: 900; }
.estimator-card { padding: 38px; border: 1px solid rgba(126,63,46,.18); border-radius: var(--radius-lg); background: linear-gradient(145deg,#fffaf4,#f4e5d5); box-shadow: var(--shadow); }
.estimator-card label { display: block; margin-bottom: 9px; color: var(--ink-soft); font-size: .86rem; font-weight: 700; }
.input-wrap { display: flex; align-items: center; overflow: hidden; border: 1px solid rgba(29,23,21,.18); border-radius: 14px; background: white; }
.input-wrap input { min-width: 0; flex: 1; padding: 14px 16px; border: 0; outline: 0; background: transparent; font-size: 1.1rem; font-weight: 750; }
.input-wrap span { padding: 14px 16px; color: var(--ink-soft); border-left: 1px solid var(--line); font-size: .88rem; }
.estimate-output { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0 16px; }
.estimate-output > div { padding: 16px; border-radius: 14px; background: rgba(255,255,255,.76); }
.estimate-output span, .estimate-output strong { display: block; }
.estimate-output span { color: var(--ink-soft); font-size: .78rem; }
.estimate-output strong { margin-top: 4px; color: var(--brown-deep); font-family: Georgia, serif; font-size: 1.6rem; }
.estimator-note { color: var(--ink-soft); font-size: .8rem; }

.process { background: #f7eee2; }
.process-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.process-step { position: relative; overflow: hidden; padding: 36px; border-radius: var(--radius); background: white; border: 1px solid rgba(126,63,46,.12); }
.process-step > span { display: inline-grid; place-items: center; width: 45px; height: 45px; margin-bottom: 44px; border-radius: 50%; background: var(--ink); color: white; font-weight: 850; }
.process-step::after { content: ""; position: absolute; width: 150px; height: 150px; border: 24px solid rgba(182,93,67,.08); border-radius: 50%; right: -70px; top: -70px; }
.process-step p { margin-bottom: 0; color: var(--ink-soft); }

.faq { background: var(--paper); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: start; }
.faq-grid .section-heading { position: sticky; top: 120px; }
.faq-grid .section-heading > p:last-child { color: var(--ink-soft); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 24px 0; border: 0; background: transparent; text-align: left; cursor: pointer; font-weight: 760; }
.faq-item button i { position: relative; flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; background: var(--cream); }
.faq-item button i::before, .faq-item button i::after { content: ""; position: absolute; left: 8px; right: 8px; top: 13px; height: 2px; background: var(--brown); transition: transform .2s ease; }
.faq-item button i::after { transform: rotate(90deg); }
.faq-item button[aria-expanded="true"] i::after { transform: rotate(0); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s ease; }
.faq-answer > p { overflow: hidden; margin: 0; color: var(--ink-soft); }
.faq-item.open .faq-answer { grid-template-rows: 1fr; }
.faq-item.open .faq-answer > p { padding-bottom: 24px; }

.closing-cta { padding: 0 0 90px; }
.closing-card { display: grid; grid-template-columns: auto 1fr auto; gap: 36px; align-items: center; padding: 46px; border-radius: var(--radius-lg); background: var(--ink); color: white; box-shadow: var(--shadow); }
.closing-card img { width: 100px; }
.closing-card h2 { max-width: 650px; margin-bottom: 12px; font-size: clamp(2rem, 3.4vw, 3.5rem); }
.closing-card p:not(.eyebrow) { margin-bottom: 0; color: rgba(255,255,255,.7); }
.closing-card .eyebrow { color: #efbf78; }
.closing-actions { display: flex; flex-direction: column; gap: 10px; min-width: 180px; }

.site-footer { padding: 54px 0 24px; background: #110d0c; color: rgba(255,255,255,.7); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr auto; gap: 40px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 50px; }
.footer-brand strong, .footer-brand span { display: block; }
.footer-brand strong { color: white; font-family: Georgia, serif; font-size: 1.08rem; }
.footer-brand span { font-size: .8rem; }
.footer-grid p { margin-bottom: 0; }
.footer-links { display: flex; gap: 20px; }
.footer-links a, .footer-links button { padding: 0; border: 0; background: transparent; color: inherit; text-decoration: none; cursor: pointer; }
.footer-links a:hover, .footer-links button:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 38px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: .78rem; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 200;
  max-width: min(460px, calc(100% - 32px));
  padding: 13px 18px;
  border-radius: 12px;
  background: var(--ink);
  color: white;
  box-shadow: 0 18px 50px rgba(0,0,0,.25);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 14px);
  transition: opacity .25s ease, transform .25s ease;
  font-size: .9rem;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1050px) {
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; margin-inline: auto; }
  .hero-lead { margin-inline: auto; }
  .hero-actions, .hero-points { justify-content: center; }
  .logo-stage { margin-inline: auto; max-width: 520px; }
  .pricing-grid { grid-template-columns: repeat(2,1fr); }
  .pricing-card, .pricing-card:nth-child(4), .pricing-card:nth-child(5) { grid-column: auto; }
  .pricing-card:last-child { grid-column: 1 / -1; max-width: 580px; width: 100%; justify-self: center; }
  .closing-card { grid-template-columns: auto 1fr; }
  .closing-actions { grid-column: 1 / -1; flex-direction: row; justify-content: flex-end; }
}

@media (max-width: 820px) {
  .section { padding: 84px 0; }
  .menu-button { display: block; }
  .primary-nav {
    position: fixed;
    left: 20px;
    right: 20px;
    top: 76px;
    display: grid;
    gap: 4px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255,253,249,.98);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  }
  .primary-nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .primary-nav a { padding: 10px 12px; }
  .primary-nav .button { margin-top: 6px; }
  .menu-button[aria-expanded="true"] span:nth-child(2) { transform: translateY(6px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(3) { opacity: 0; }
  .menu-button[aria-expanded="true"] span:nth-child(4) { transform: translateY(-6px) rotate(-45deg); }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid > div:nth-child(2) { border-right: 0; }
  .trust-grid > div { border-bottom: 1px solid rgba(255,255,255,.12); }
  .trust-grid > div:nth-child(3), .trust-grid > div:nth-child(4) { border-bottom: 0; }
  .split-layout, .translation-grid, .faq-grid { grid-template-columns: 1fr; gap: 44px; }
  .pillars, .process-grid { grid-template-columns: 1fr; }
  .faq-grid .section-heading { position: static; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer-links { flex-wrap: wrap; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, var(--container)); }
  .hero { padding-top: 126px; }
  h1 { font-size: clamp(2.75rem, 14vw, 4.2rem); }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-points { display: grid; justify-content: start; text-align: left; }
  .floating-note { display: none; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-grid > div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12) !important; }
  .trust-grid > div:last-child { border-bottom: 0 !important; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card:last-child { grid-column: auto; }
  .pricing-card { padding: 28px 24px; }
  .tier-summary { min-height: auto; }
  .estimate-output { grid-template-columns: 1fr; }
  .estimator-card { padding: 28px 22px; }
  .closing-card { grid-template-columns: 1fr; text-align: center; padding: 36px 24px; }
  .closing-card img { margin-inline: auto; }
  .closing-actions { grid-column: auto; flex-direction: column; justify-content: stretch; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
