:root {
  --ink: #17201d;
  --ink-soft: #43504b;
  --paper: #f7f4ed;
  --paper-warm: #eee8dc;
  --surface: #fffdf8;
  --pine: #173e34;
  --pine-deep: #0c2b24;
  --moss: #8ca87d;
  --gold: #c79a4a;
  --gold-pale: #f0dfb9;
  --line: rgba(23, 62, 52, 0.16);
  --shadow: 0 24px 70px rgba(18, 42, 35, 0.11);
  --radius: 1.4rem;
  --max: 74rem;
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% -8%, rgba(199, 154, 74, 0.16), transparent 28rem),
    linear-gradient(180deg, #faf8f2 0, var(--paper) 42rem, #f4f0e7 100%);
  font-size: 1rem;
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .28;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.05'/%3E%3C/svg%3E");
}

img, svg { display: block; max-width: 100%; }
a { color: var(--pine); text-underline-offset: .2em; }
a:hover { color: #0b6a55; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #d09c3f; outline-offset: 3px; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  padding: .75rem 1rem;
  border-radius: .5rem;
  color: white;
  background: var(--pine-deep);
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(23, 62, 52, .1);
  background: rgba(250, 248, 242, .9);
  backdrop-filter: blur(18px);
}

.nav-shell {
  max-width: var(--max);
  min-height: 4.8rem;
  margin: auto;
  padding: .85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: var(--pine-deep);
  text-decoration: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.16rem;
  font-weight: 700;
  letter-spacing: .01em;
  white-space: nowrap;
}

.wordmark-mark {
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(199, 154, 74, .7);
  border-radius: 50% 50% 46% 46%;
  color: var(--gold);
  background: var(--pine-deep);
  box-shadow: inset 0 0 0 4px rgba(240, 223, 185, .06);
  font-size: .88rem;
  letter-spacing: .03em;
}

.nav-toggle {
  display: none;
  padding: .6rem .75rem;
  border: 1px solid var(--line);
  border-radius: .7rem;
  color: var(--pine-deep);
  background: var(--surface);
  font: inherit;
  font-weight: 700;
}

.nav-links { display: flex; align-items: center; gap: 1.4rem; }
.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: .94rem;
  font-weight: 650;
}
.nav-links a[aria-current="page"] { color: var(--pine); }
.nav-links .nav-cta { color: white; }
.nav-links .nav-cta[aria-current="page"] { color: white; }

.button, .nav-cta {
  display: inline-flex;
  min-height: 2.8rem;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .72rem 1.05rem;
  border: 1px solid var(--pine);
  border-radius: .8rem;
  color: white;
  background: var(--pine);
  box-shadow: 0 8px 24px rgba(23, 62, 52, .13);
  text-decoration: none;
  font-weight: 750;
  line-height: 1.2;
}
.button:hover, .nav-cta:hover { color: white; background: #0e5141; }
.button.secondary { color: var(--pine); background: transparent; box-shadow: none; }
.button.secondary:hover { background: rgba(23, 62, 52, .06); }

main { overflow: clip; }
.section { padding: clamp(4rem, 8vw, 7.5rem) 1.25rem; }
.section.compact { padding-block: clamp(2.8rem, 6vw, 5rem); }
.section.tint { background: rgba(237, 232, 220, .72); border-block: 1px solid rgba(23,62,52,.08); }
.container { width: min(100%, var(--max)); margin-inline: auto; }
.narrow { width: min(100%, 50rem); margin-inline: auto; }

.eyebrow {
  margin: 0 0 1rem;
  color: #8b621f;
  font-size: .77rem;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

h1, h2, h3 {
  margin: 0;
  color: var(--pine-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 650;
  line-height: 1.08;
  text-wrap: balance;
}
h1 { max-width: 13ch; font-size: clamp(3rem, 7vw, 6.6rem); letter-spacing: -.045em; }
h2 { font-size: clamp(2.15rem, 4.3vw, 4rem); letter-spacing: -.03em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); letter-spacing: -.015em; }
p { margin: 0 0 1rem; }
.lede { max-width: 42rem; color: var(--ink-soft); font-size: clamp(1.08rem, 2vw, 1.3rem); }
.small { color: var(--ink-soft); font-size: .9rem; }
.muted { color: var(--ink-soft); }

.hero { padding-top: clamp(4rem, 9vw, 8rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(18rem, .9fr); align-items: center; gap: clamp(2rem, 7vw, 7rem); }
.hero-copy .lede { margin-top: 1.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-note { margin-top: 1.2rem; color: var(--ink-soft); font-size: .9rem; }

.product-stage {
  position: relative;
  min-height: 30rem;
  display: grid;
  place-items: center;
}
.product-stage::before {
  content: "";
  position: absolute;
  inset: 2% 7% 4%;
  border-radius: 50% 42% 48% 44%;
  background: linear-gradient(145deg, rgba(140,168,125,.36), rgba(199,154,74,.22));
  filter: blur(1px);
  transform: rotate(-6deg);
}
.app-card {
  position: relative;
  width: min(100%, 28rem);
  padding: 1.2rem;
  border: 1px solid rgba(23,62,52,.15);
  border-radius: 1.5rem;
  background: rgba(255,253,248,.93);
  box-shadow: var(--shadow);
  transform: rotate(1.8deg);
}
.app-card-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.app-card-brand { font-weight: 800; color: var(--pine-deep); }
.credit-pill { padding: .35rem .65rem; border-radius: 999px; background: var(--gold-pale); color: #60420e; font-size: .78rem; font-weight: 800; }
.upload-mock { min-height: 12rem; display: grid; place-items: center; padding: 1.5rem; border: 1.5px dashed rgba(23,62,52,.34); border-radius: 1rem; background: linear-gradient(145deg,#f9f4e8,#f4f1e8); text-align: center; }
.upload-symbol { width: 3.3rem; height: 3.3rem; margin: 0 auto .8rem; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--pine); font-size: 1.7rem; }
.draft-lines { display: grid; gap: .65rem; margin-top: 1rem; }
.draft-lines span { height: .55rem; border-radius: 1rem; background: #e1e7df; }
.draft-lines span:nth-child(1) { width: 74%; background: #b5c8b0; }
.draft-lines span:nth-child(3) { width: 58%; }

.trust-strip { padding: 1.2rem; border-block: 1px solid var(--line); background: rgba(255,253,248,.5); }
.trust-list { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.trust-list li { color: var(--ink-soft); font-size: .88rem; font-weight: 750; text-align: center; }

.section-heading { max-width: 46rem; margin-bottom: 2.5rem; }
.section-heading p { margin-top: 1rem; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.card {
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,253,248,.72);
  box-shadow: 0 12px 35px rgba(20,50,41,.05);
}
.card .icon { width: 2.5rem; height: 2.5rem; display: grid; place-items: center; margin-bottom: 2rem; border-radius: .75rem; color: var(--pine); background: #e4ebdf; font-weight: 900; }
.card p { margin: .8rem 0 0; color: var(--ink-soft); }

.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; counter-reset: steps; }
.step { position: relative; padding: 2rem; border-top: 1px solid var(--pine); counter-increment: steps; }
.step::before { content: "0" counter(steps); display: block; margin-bottom: 2.3rem; color: var(--gold); font-size: .8rem; font-weight: 900; letter-spacing: .12em; }
.step p { color: var(--ink-soft); }

.callout {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: 2rem;
  color: white;
  background: linear-gradient(135deg, var(--pine-deep), #1d4e40);
  box-shadow: var(--shadow);
}
.callout h2, .callout h3 { color: white; }
.callout p { max-width: 44rem; margin: .9rem 0 0; color: #d7e2dc; }
.callout .button { color: var(--pine-deep); border-color: var(--gold-pale); background: var(--gold-pale); white-space: nowrap; }

.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.price-card { padding: 2rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.price-card.featured { border-color: rgba(199,154,74,.8); box-shadow: 0 16px 50px rgba(120,83,25,.11); }
.price { margin: 1.3rem 0 .2rem; color: var(--pine-deep); font-family: Georgia,serif; font-size: 2.6rem; line-height: 1; }
.price-card ul { margin: 1.3rem 0 0; padding-left: 1.2rem; color: var(--ink-soft); }

.page-hero { padding: clamp(4rem, 8vw, 7rem) 1.25rem clamp(2.7rem, 6vw, 5rem); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 15ch; font-size: clamp(2.8rem, 6vw, 5.5rem); }
.page-hero .lede { margin-top: 1.3rem; }
.breadcrumb { margin-bottom: 2rem; color: var(--ink-soft); font-size: .9rem; }
.breadcrumb a { color: inherit; }

.content-layout { display: grid; grid-template-columns: minmax(12rem,.28fr) minmax(0,.72fr); gap: clamp(2rem,7vw,6rem); align-items: start; }
.side-nav { position: sticky; top: 6.3rem; padding: 1rem; border: 1px solid var(--line); border-radius: 1rem; background: rgba(255,253,248,.7); }
.side-nav strong { display: block; margin-bottom: .6rem; color: var(--pine-deep); }
.side-nav a { display: block; padding: .42rem .2rem; color: var(--ink-soft); text-decoration: none; font-size: .92rem; }
.prose { min-width: 0; }
.prose h2 { margin: 3.2rem 0 1rem; font-size: clamp(1.8rem,3vw,2.7rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 2rem 0 .7rem; }
.prose p, .prose li { color: #34413d; }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li + li { margin-top: .55rem; }
.prose .notice { margin: 2rem 0; padding: 1.25rem; border-left: 4px solid var(--gold); border-radius: 0 .8rem .8rem 0; background: #f3ead7; }
.last-updated { color: var(--ink-soft); font-weight: 700; }

.faq { border-top: 1px solid var(--line); }
.faq details { padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; color: var(--pine-deep); font-weight: 800; }
.faq details p { margin: .8rem 0 0; color: var(--ink-soft); }

.support-card { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; }
.support-card .email { font-size: clamp(1.2rem,3vw,2rem); font-family: Georgia,serif; overflow-wrap: anywhere; }

.site-footer { padding: 4rem 1.25rem 2rem; color: #d4ded9; background: #0a2721; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem; }
.site-footer .wordmark { color: white; }
.footer-copy { max-width: 29rem; margin-top: 1rem; color: #afc0ba; }
.footer-links { display: grid; align-content: start; gap: .55rem; }
.footer-links strong { margin-bottom: .45rem; color: white; }
.footer-links a { color: #cbd8d3; text-decoration: none; font-size: .92rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.14); color: #95aaa2; font-size: .82rem; }

.error-page { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.error-page h1 { max-width: none; }
.error-code { color: var(--gold); font-family: Georgia,serif; font-size: clamp(5rem,18vw,11rem); line-height: .8; }

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .nav-links { position: absolute; inset: calc(100% + 1px) 0 auto; display: none; padding: 1rem 1.25rem 1.3rem; border-bottom: 1px solid var(--line); background: var(--surface); box-shadow: 0 18px 30px rgba(18,42,35,.08); }
  .nav-links[data-open="true"] { display: grid; }
  .nav-links a { padding: .5rem .2rem; }
  .nav-links .nav-cta { padding: .8rem 1rem; }
  .hero-grid, .content-layout { grid-template-columns: 1fr; }
  .product-stage { min-height: 25rem; }
  .card-grid, .steps, .pricing-grid { grid-template-columns: 1fr; }
  .trust-list { grid-template-columns: 1fr 1fr; }
  .side-nav { position: static; }
  .callout, .support-card { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .nav-shell { padding-inline: 1rem; }
  .wordmark { font-size: 1rem; }
  .wordmark-mark { width: 1.9rem; height: 1.9rem; }
  .section, .page-hero { padding-inline: 1rem; }
  h1 { font-size: clamp(2.75rem, 14vw, 4rem); }
  .hero-actions .button { width: 100%; }
  .trust-list { grid-template-columns: 1fr; }
  .product-stage { min-height: 22rem; }
  .app-card { padding: .9rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .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; }
}
