/* Stonerow PM — marketing site
   Design language: New England fieldstone. Warm paper, granite neutrals,
   brick accent, serif display type. No frameworks, no external fonts. */

:root {
  --paper: #fbfaf7;
  --paper-2: #f4f2ec;
  --paper-3: #eae5d9;
  --ink: #23211c;
  --ink-2: #3f3b33;
  --stone-7: #5b564b;
  --stone-5: #8a8375;
  --stone-3: #cfc9ba;
  --line: #e4dfd2;
  --brick: #9a3b1f;
  --brick-d: #7c2d12;
  --brick-t: #f6e9e2;
  --moss: #47663f;
  --moss-t: #e9efe4;
  --slate: #2e3438;
  --max: 1120px;
  --r: 12px;
  --shadow: 0 1px 2px rgba(35, 33, 28, .06), 0 8px 28px rgba(35, 33, 28, .09);
  --serif: "Charter", "Iowan Old Style", "Sitka Text", "Palatino Linotype", Cambria, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brick-d); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--brick); }

h1, h2 { font-family: var(--serif); line-height: 1.15; color: var(--ink); margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-family: var(--sans); font-size: 1.13rem; font-weight: 650; line-height: 1.3; color: var(--ink); margin: 0 0 .5em; letter-spacing: -.005em; }
h4 { font-family: var(--sans); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--stone-7); margin: 0 0 .6em; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(1.1rem, 1.9vw, 1.3rem); color: var(--ink-2); max-width: 46em; }
.muted { color: var(--stone-7); }
.small { font-size: .9rem; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 22px; }
section { padding: 72px 0; }
section.tight { padding: 48px 0; }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

/* Kicker — small caps section label with stone dash */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brick-d); margin-bottom: 14px;
}
.kicker::before { content: ""; width: 26px; height: 3px; border-radius: 2px; background: var(--brick); }
.center .kicker::before { display: none; }

/* ---------- Header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 248, 244, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 700; font-size: 1.28rem; color: var(--ink); text-decoration: none; }
.brand svg { color: var(--brick-d); }
.brand .pm { color: var(--stone-5); font-weight: 400; }
.site-head nav { display: flex; align-items: center; gap: 26px; }
.site-head nav a { color: var(--ink-2); text-decoration: none; font-size: .97rem; font-weight: 500; }
.site-head nav a:hover { color: var(--brick-d); }
.site-head nav a[aria-current="page"] { color: var(--brick-d); font-weight: 700; }
.nav-toggle, .nav-burger { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; background: var(--brick-d); color: #fff !important;
  padding: 13px 26px; border-radius: 8px; text-decoration: none; font-weight: 700;
  font-size: 1rem; border: 1px solid var(--brick-d);
  transition: background .15s ease, transform .15s ease;
}
.btn:hover { background: var(--brick); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink) !important; border: 1px solid var(--stone-3); }
.btn-ghost:hover { background: var(--paper-2); border-color: var(--stone-5); }
.btn-sm { padding: 9px 18px; font-size: .93rem; border-radius: 8px; }
.btn-lg { padding: 15px 32px; font-size: 1.08rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 26px; }
.cta-note { font-size: .88rem; color: var(--stone-7); margin-top: 12px; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 64px; background:
  linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero .lede { margin-top: 18px; }
.hero-img { border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 22px 0 0; padding: 0; list-style: none; font-size: .95rem; color: var(--ink-2); }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points li::before { content: "✓"; color: var(--moss); font-weight: 700; }

/* Page banner (inner pages) */
.banner { padding: 64px 0 56px; background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%); }
.banner-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.banner-img { border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }

/* Stone course divider — the brand motif */
.stonerow-divider { display: flex; gap: 6px; justify-content: center; padding: 0 0 6px; }
.stonerow-divider i { display: block; height: 8px; border-radius: 4px; background: var(--stone-3); }
.stonerow-divider i:nth-child(1) { width: 34px; }
.stonerow-divider i:nth-child(2) { width: 52px; background: var(--brick); opacity: .55; }
.stonerow-divider i:nth-child(3) { width: 28px; }
.stonerow-divider i:nth-child(4) { width: 44px; }

/* ---------- Trust strip ---------- */
.trust { background: var(--slate); color: #e9e6dd; padding: 26px 0; }
.trust ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 0; padding: 0; list-style: none; }
.trust li { font-size: .95rem; line-height: 1.45; display: flex; gap: 10px; align-items: flex-start; }
.trust li strong { color: #fff; display: block; font-size: 1rem; }
.trust li::before { content: ""; flex: 0 0 10px; width: 10px; height: 10px; margin-top: 7px; border-radius: 3px; background: var(--brick); }

/* ---------- Cards & grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px 26px 24px; box-shadow: 0 1px 2px rgba(35,33,28,.04);
}
.card h3 { margin-top: 2px; }
.card p { color: var(--ink-2); font-size: .98rem; margin-bottom: 0; }
.card .more { display: inline-block; margin-top: 12px; font-weight: 600; font-size: .93rem; }
.icon-tile {
  width: 42px; height: 42px; border-radius: 10px; background: var(--brick-t);
  color: var(--brick-d); display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.icon-tile svg { width: 22px; height: 22px; }

/* Alt band */
.band { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-dark { background: var(--slate); color: #ddd8cc; }
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark p { color: #c9c4b6; }

/* ---------- Feature lists ---------- */
.check-list, .feature-list { list-style: none; margin: 0; padding: 0; }
.check-list li { padding: 7px 0 7px 30px; position: relative; color: var(--ink-2); }
.check-list li::before {
  content: ""; position: absolute; left: 2px; top: 13px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--moss-t);
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="none" stroke="%2347663f" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round" d="M3.5 8.5l3 3 6-7"/></svg>');
  background-size: 11px; background-position: center; background-repeat: no-repeat;
}
.check-list li strong { color: var(--ink); }

/* Feature module blocks (features page) */
.module { padding: 44px 0; border-top: 1px solid var(--line); }
.module:first-of-type { border-top: 0; }
.module-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.module-grid.flip { grid-template-columns: 1.1fr .9fr; }
.module .check-list { columns: 1; }
.module-num { font-family: var(--serif); font-size: .95rem; color: var(--stone-5); }

/* Tier chips */
.chip {
  display: inline-block; vertical-align: 2px; margin-left: 8px; padding: 1px 8px 2px;
  border-radius: 999px; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.chip-std { background: #eef1f4; color: #33506b; border: 1px solid #d4dde6; }
.chip-pro { background: var(--brick-t); color: var(--brick-d); border: 1px solid #ecd3c6; }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 30px 28px; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--brick-d); box-shadow: var(--shadow); position: relative; }
.plan .flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--brick-d); color: #fff; font-size: .72rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; padding: 4px 14px; border-radius: 999px; white-space: nowrap;
}
.plan h3 { font-family: var(--serif); font-size: 1.45rem; font-weight: 700; margin-bottom: 2px; }
.plan .who { color: var(--stone-7); font-size: .93rem; min-height: 3.4em; margin-bottom: 8px; }
.price { font-family: var(--serif); font-size: 2.9rem; font-weight: 700; line-height: 1; }
.price sup { font-size: 1.2rem; top: -1em; }
.price-meta { color: var(--stone-7); font-size: .9rem; margin: 6px 0 18px; }
.plan .btn { text-align: center; margin: 6px 0 20px; }
.plan .check-list { font-size: .95rem; }
.plan .check-list li { padding-top: 5px; padding-bottom: 5px; }
.plan .incl { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--stone-5); font-weight: 700; margin-bottom: 6px; }

/* Comparison table */
.compare { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; font-size: .96rem; }
.compare th, .compare td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare thead th { background: var(--paper-2); font-family: var(--sans); font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: var(--stone-7); }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; width: 15%; }
.compare .group td { background: var(--paper-2); font-weight: 700; color: var(--ink); font-size: .88rem; letter-spacing: .04em; text-transform: uppercase; }
.compare .yes { color: var(--moss); font-weight: 700; }
.compare .no { color: var(--stone-3); }
.table-wrap { overflow-x: auto; border-radius: var(--r); }

/* ---------- State cards ---------- */
.state-card { position: relative; overflow: hidden; }
.state-card .abbr { font-family: var(--serif); font-size: 2.4rem; font-weight: 700; color: var(--brick-d); line-height: 1; }
.state-card ul { margin: 12px 0 0; }

/* Rule table (state pages) */
.rules { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); font-size: .97rem; }
.rules th, .rules td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; }
.rules thead th { background: var(--paper-2); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--stone-7); }
.rules td:first-child { font-weight: 600; width: 34%; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; counter-increment: step; }
.step::before {
  content: counter(step); display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; background: var(--slate); color: #fff;
  font-family: var(--serif); font-weight: 700; font-size: 1.15rem; margin-bottom: 14px;
}

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; padding: 0 22px; }
.faq summary {
  cursor: pointer; list-style: none; font-weight: 700; font-size: 1.05rem;
  padding: 18px 30px 18px 0; position: relative; font-family: var(--serif);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400; color: var(--brick-d); font-family: var(--sans);
}
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-2); margin: 0 0 18px; }

/* ---------- Guarantees (about) ---------- */
.vow { border-left: 4px solid var(--brick); padding: 4px 0 4px 20px; margin: 0 0 22px; }
.vow h3 { margin-bottom: 4px; }
.vow p { color: var(--ink-2); margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--slate); color: #fff; text-align: center; padding: 72px 0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #c9c4b6; max-width: 40em; margin: 0 auto 8px; }
.cta-band .btn { background: var(--brick); border-color: var(--brick); }
.cta-band .btn:hover { background: #b04a28; }
.cta-band .btn-ghost { background: transparent; color: #fff !important; border-color: #5a6165; }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,.06); }

/* ---------- Footer ---------- */
.site-foot { background: #1d2023; color: #b9b4a7; padding: 56px 0 34px; font-size: .93rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; }
.site-foot h4 { color: #efece3; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin-bottom: 9px; }
.site-foot a { color: #b9b4a7; text-decoration: none; }
.site-foot a:hover { color: #fff; }
.foot-brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 700; font-size: 1.2rem; color: #fff; text-decoration: none; }
.foot-brand svg { color: var(--brick); }
.foot-legal { border-top: 1px solid #33383c; margin-top: 40px; padding-top: 22px; font-size: .83rem; color: #8b877c; }
.foot-legal p { margin-bottom: 8px; }

/* ---------- Utility ---------- */
.notice {
  background: var(--brick-t); border: 1px solid #ecd3c6; border-radius: 12px;
  padding: 16px 20px; font-size: .93rem; color: var(--brick-d);
}
.anchor-offset { scroll-margin-top: 90px; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
form label { display: block; font-size: .92rem; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
form input[type="text"], form input[type="email"], form input[type="tel"], form textarea {
  width: 100%; padding: 11px 13px; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--stone-3); border-radius: 8px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
form input:focus, form textarea:focus {
  outline: none; border-color: var(--brick-d); box-shadow: 0 0 0 3px rgba(154, 59, 31, .13); background: #fff;
}
form textarea { resize: vertical; min-height: 120px; line-height: 1.55; }
form input::placeholder, form textarea::placeholder { color: var(--stone-5); }
form button[disabled] { opacity: .6; cursor: not-allowed; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Payment-period toggle ---------- */
.pay-toggle {
  display: flex; justify-content: center; gap: 0; margin: 0 auto 30px;
  width: fit-content; background: var(--paper-2); border: 1px solid var(--line);
  border-radius: 999px; padding: 4px;
}
.pay-toggle button {
  border: 0; background: transparent; padding: 9px 22px; border-radius: 999px;
  font: 600 .95rem var(--sans); color: var(--stone-7); cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.pay-toggle button:hover { color: var(--ink); }
.pay-toggle button.active { background: var(--brick-d); color: #fff; }

/* ---------- Knowledge base ---------- */
a.kb-card { text-decoration: none; display: block; transition: border-color .15s ease, transform .15s ease; }
a.kb-card:hover { border-color: var(--brick); transform: translateY(-2px); }
a.kb-card h3 { color: var(--brick-d); }
.kb-body h2 { font-size: 1.35rem; margin-top: 1.6em; }
.kb-body h3 { margin-top: 1.5em; }
.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; }
.kb-body p, .kb-body li { color: var(--ink-2); }
.kb-body .lede { color: var(--ink-2); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .banner-grid, .module-grid, .module-grid.flip { grid-template-columns: 1fr; gap: 34px; }
  .grid-3, .steps, .trust ul { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  section { padding: 54px 0; }
  .grid-3, .grid-2, .steps, .trust ul { grid-template-columns: 1fr; }
  /* mobile nav */
  .nav-burger {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 42px; height: 42px; padding: 8px; cursor: pointer; border: 1px solid var(--line); border-radius: 8px;
  }
  .nav-burger span, .nav-burger::before, .nav-burger::after {
    content: ""; display: block; height: 2px; border-radius: 2px; background: var(--ink);
  }
  .site-head nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: flex-start; padding: 18px 22px 22px; gap: 16px;
    box-shadow: var(--shadow);
  }
  .nav-toggle:checked ~ nav { display: flex; }
  .hero { padding: 48px 0; }
  .price { font-size: 2.4rem; }
}
