:root {
  --ink: #17221c;
  --muted: #526058;
  --green-950: #0b2d1d;
  --green-900: #123f2a;
  --green-800: #185438;
  --green-700: #216b49;
  --green-500: #4f936d;
  --green-200: #cce1d3;
  --green-100: #e5f0e8;
  --paper: #fbf8ed;
  --paper-2: #f3eedf;
  --white: #fffefa;
  --red-rule: #d89083;
  --line: rgba(35, 94, 64, .13);
  --border: rgba(18, 63, 42, .18);
  --shadow: 0 22px 65px rgba(11, 45, 29, .14);
  --radius: 22px;
  --shell: min(1160px, calc(100% - 40px));
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body::before { content: ''; position: fixed; inset: 0; z-index: -2; pointer-events: none; opacity: .25; background-image: url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%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='.08'/%3E%3C/svg%3E"); }
a { color: var(--green-800); }
a:hover { color: var(--green-950); }
img, svg { max-width: 100%; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #c68119; outline-offset: 4px; border-radius: 4px; }
.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: -60px; z-index: 1000; padding: 10px 14px; background: var(--white); color: var(--green-950); font-weight: 800; }
.skip-link:focus { top: 12px; }
.shell { width: var(--shell); margin-inline: auto; }
.narrow { max-width: 840px; }
.content-shell { max-width: 920px; }
.section { padding: 92px 0; }
.centered { text-align: center; }
.paper-lines { position: relative; background-color: var(--paper); background-image: linear-gradient(to bottom, transparent 35px, var(--line) 36px); background-size: 100% 36px; }
.paper-lines::after { content: ''; position: absolute; top: 0; bottom: 0; left: max(28px, calc((100vw - 1160px)/2 - 24px)); width: 1px; background: rgba(186, 87, 71, .34); pointer-events: none; }
.eyebrow { margin: 0 0 12px; color: var(--green-700); font-size: .76rem; line-height: 1.2; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3 { color: var(--green-950); font-family: var(--serif); line-height: 1.05; letter-spacing: -.035em; text-wrap: balance; }
h1 { margin: 0; font-size: clamp(3.15rem, 7vw, 6.6rem); }
h2 { margin: 0 0 18px; font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { margin: 0 0 9px; font-size: 1.45rem; }
p { margin: 0 0 1.15em; }
.lede { max-width: 730px; margin: 24px 0 0; color: #35453c; font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.55; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(251, 248, 237, .9); border-bottom: 1px solid transparent; backdrop-filter: blur(14px); transition: box-shadow .2s, border-color .2s; }
.site-header.scrolled { border-color: var(--border); box-shadow: 0 8px 30px rgba(11,45,29,.08); }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--green-950); text-decoration: none; }
.brand-seal { width: 52px; aspect-ratio: 1; position: relative; display: grid; place-items: center; flex: 0 0 auto; color: var(--paper); background: var(--green-900); border-radius: 50%; border: 3px double var(--paper); box-shadow: 0 0 0 2px var(--green-900); font-family: var(--serif); }
.brand-seal::before, .brand-seal::after { content: ''; position: absolute; inset: 7px; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; }
.brand-seal span { position: absolute; top: 4px; font-size: .62rem; font-weight: 700; }
.brand-seal strong { font-size: 1.45rem; line-height: 1; }
.brand-text { display: grid; line-height: 1; }
.brand-text strong { font-family: var(--serif); font-size: 1.14rem; letter-spacing: -.02em; }
.brand-text span { margin-top: 5px; color: var(--green-700); font-size: .72rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a { padding: 10px 12px; border-radius: 999px; color: var(--green-950); font-size: .88rem; font-weight: 800; text-decoration: none; }
.site-nav a:hover { background: var(--green-100); }
.site-nav a[aria-current='page'] { color: var(--paper); background: var(--green-900); }
.menu-toggle { display: none; width: 46px; height: 42px; border: 1px solid var(--border); border-radius: 10px; background: transparent; padding: 10px; }
.menu-toggle span:not(.sr-only) { display: block; width: 100%; height: 2px; margin: 4px 0; background: var(--green-950); }

.hero { overflow: hidden; min-height: 700px; display: grid; align-items: center; padding: 84px 0 98px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(330px, .85fr); gap: 70px; align-items: center; }
.hero h1 em { position: relative; color: var(--green-700); font-weight: inherit; font-style: normal; white-space: nowrap; }
.hero h1 em::after { content: ''; position: absolute; left: 0; right: 0; bottom: .04em; height: .08em; border-radius: 999px; background: var(--red-rule); opacity: .65; transform: rotate(-1.3deg); }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 22px; border: 1px solid transparent; border-radius: 999px; font-weight: 900; line-height: 1.1; text-align: center; text-decoration: none; cursor: pointer; transition: transform .18s, box-shadow .18s, background .18s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--green-900); box-shadow: 0 11px 22px rgba(18,63,42,.18); }
.button-primary:hover { color: var(--white); background: var(--green-800); }
.button-quiet { color: var(--green-950); background: rgba(255,255,255,.62); border-color: var(--border); }
.button-quiet:hover { background: var(--white); }
.button-outline { color: var(--green-950); border-color: var(--green-900); }
.button-outline:hover { color: var(--white); background: var(--green-900); }
.button-light { color: var(--green-950); background: var(--paper); }
.button-light:hover { color: var(--green-950); background: white; box-shadow: 0 12px 28px rgba(0,0,0,.12); }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 30px 0 0; padding: 0; color: var(--muted); font-size: .86rem; font-weight: 750; list-style: none; }
.trust-row li::before { content: '✓'; margin-right: 7px; color: var(--green-700); }
.hero-visual { position: relative; padding: 24px; }
.hero-visual::before { content: ''; position: absolute; inset: 3% -12% -5% 5%; z-index: -1; background: var(--green-100); border-radius: 50%; transform: rotate(-10deg); }
.note-card { position: relative; min-height: 460px; padding: 46px 46px 34px; overflow: hidden; background: var(--white); border: 1px solid var(--border); border-radius: 8px 8px 26px 8px; box-shadow: var(--shadow); transform: rotate(1.5deg); }
.note-card::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(to bottom, transparent 35px, rgba(35,94,64,.12) 36px); background-size: 100% 36px; pointer-events: none; }
.note-card::after { content: ''; position: absolute; top: 0; bottom: 0; left: 28px; width: 1px; background: rgba(186,87,71,.45); }
.note-kicker, .note-amount, .note-caption { position: relative; z-index: 1; display: block; }
.note-kicker { color: var(--green-700); font-size: .8rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.note-amount { margin-top: 18px; color: var(--green-950); font-family: var(--serif); font-size: 7rem; line-height: .9; letter-spacing: -.08em; }
.note-caption { color: var(--muted); font-weight: 700; }
.bill-stack { position: absolute; inset: auto -24px 32px 70px; height: 170px; }
.bill { position: absolute; width: 300px; height: 122px; display: flex; align-items: center; justify-content: space-between; padding: 18px; color: var(--green-900); background: #dfeada; border: 3px double var(--green-800); box-shadow: 0 7px 15px rgba(18,63,42,.12); font-family: var(--serif); }
.bill::after { content: '$'; position: absolute; inset: 17px; display: grid; place-items: center; border: 1px solid rgba(18,63,42,.4); border-radius: 50%; font-size: 2.4rem; opacity: .5; }
.bill b { font-size: .7rem; letter-spacing: .3em; }
.bill-back { right: 0; bottom: 35px; transform: rotate(-9deg); }
.bill-mid { right: 10px; bottom: 16px; transform: rotate(-3deg); }
.bill-front { right: -4px; bottom: 0; transform: rotate(5deg); }
.seal-caption { position: absolute; right: -15px; bottom: -2px; max-width: 245px; padding: 13px 17px; color: var(--white); background: var(--green-900); border-radius: 14px; box-shadow: 0 13px 28px rgba(11,45,29,.18); font-size: .83rem; font-weight: 800; transform: rotate(-2deg); }
.seal-caption span { margin-right: 6px; }

.intro-strip { padding: 78px 0; background: var(--green-950); color: #dfece3; }
.intro-strip h2, .intro-strip .eyebrow { color: var(--paper); }
.split-heading { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: 80px; align-items: end; }
.split-heading > p { margin: 0 0 9px; font-size: 1.08rem; }
.split-heading.compact { align-items: center; }
.section-heading { max-width: 760px; margin-bottom: 45px; }
.section-heading.centered { margin-inline: auto; }
.section-heading > p:last-child { color: var(--muted); font-size: 1.08rem; }
.steps-section { background: var(--paper-2); }
.step-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 0; padding: 0; list-style: none; }
.step-card { min-height: 220px; display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: start; padding: 30px; background: rgba(255,254,250,.8); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(18,63,42,.06); }
.step-number { width: 54px; height: 54px; display: grid; place-items: center; color: var(--paper); background: var(--green-900); border-radius: 50%; font-family: var(--serif); font-size: 1.1rem; font-weight: 800; box-shadow: inset 0 0 0 4px rgba(255,255,255,.15); }
.step-card p { color: var(--muted); }
.action-under { margin-top: 36px; }
.text-link { display: inline-flex; gap: 8px; align-items: center; color: var(--green-800); font-weight: 900; text-decoration-thickness: 1px; text-underline-offset: 5px; }

.estimator-section { background: var(--green-100); }
.estimator-card { display: grid; grid-template-columns: 1.05fr .75fr; gap: 50px; align-items: stretch; overflow: hidden; padding: 54px; background-color: var(--white); border: 1px solid var(--border); border-radius: 30px; box-shadow: var(--shadow); }
.estimator-card::after { left: 28px; }
.estimator-copy, .estimator-results { position: relative; z-index: 1; }
.estimator-copy label { display: block; margin-top: 32px; color: var(--green-950); font-weight: 800; }
.estimator-copy input[type='range'] { width: 100%; margin: 20px 0 4px; accent-color: var(--green-800); cursor: pointer; }
.range-labels { display: flex; justify-content: space-between; color: var(--muted); font-size: .82rem; font-weight: 800; }
.estimator-results { display: grid; align-content: center; gap: 14px; padding: 30px; color: var(--white); background: var(--green-900); border-radius: 22px; }
.estimator-results div { padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.estimator-results span { display: block; color: #cfe3d5; font-size: .82rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.estimator-results strong { display: block; margin-top: 4px; font-family: var(--serif); font-size: 3.1rem; line-height: 1; }
.estimator-results p { margin: 7px 0 0; color: #cfe3d5; font-size: .8rem; }

.story-section { background: var(--paper); }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.story-quote { position: relative; padding: 52px; color: var(--paper); background: var(--green-950); border-radius: 34px 8px 34px 8px; box-shadow: var(--shadow); }
.story-quote::after { content: '“'; position: absolute; right: 28px; top: 8px; color: rgba(255,255,255,.08); font-family: var(--serif); font-size: 10rem; line-height: 1; }
.story-quote .eyebrow { color: #a9d0b7; }
.story-quote blockquote { position: relative; z-index: 1; margin: 20px 0 28px; font-family: var(--serif); font-size: clamp(1.8rem,3vw,2.7rem); line-height: 1.18; }
.story-quote cite { font-style: normal; color: #bfd8c7; }
.story-copy p { color: var(--muted); }
.tips-preview { background: var(--paper-2); }
.mini-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mini-card-grid article { padding: 28px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); }
.mini-card-grid article > span { color: var(--red-rule); font-family: var(--serif); font-weight: 800; }
.mini-card-grid p { color: var(--muted); font-size: .94rem; }
.cta-section { padding: 60px 0; color: var(--white); background: var(--green-800); }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.cta-inner h2 { max-width: 780px; margin: 0; color: var(--white); }
.cta-inner .eyebrow { color: #cee5d5; }

.page-hero { padding: 110px 0 96px; }
.page-hero h1 { font-size: clamp(3.4rem,7vw,6.2rem); }
.plan-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: steps; }
.plan-list li { display: grid; grid-template-columns: 92px 1fr; gap: 32px; padding: 45px 0; border-bottom: 1px solid var(--border); }
.plan-list li:first-child { padding-top: 0; }
.plan-list li > span { width: 74px; height: 74px; display: grid; place-items: center; color: var(--paper); background: var(--green-900); border-radius: 50%; border: 4px double var(--paper); box-shadow: 0 0 0 2px var(--green-900); font-family: var(--serif); font-size: 1.5rem; font-weight: 800; }
.plan-list h2 { margin-bottom: 12px; font-size: clamp(1.8rem,3vw,2.7rem); }
.plan-list p { color: var(--muted); }
.alt-section { background: var(--green-100); }
.two-column { display: grid; grid-template-columns: 1.12fr .88fr; gap: 80px; align-items: center; }
.two-column > div > p:not(.eyebrow) { color: var(--muted); }
.callout { position: relative; padding: 42px; overflow: hidden; background: var(--white); border: 1px solid var(--border); border-radius: 8px 28px 8px 28px; box-shadow: var(--shadow); }
.callout-mark { position: absolute; right: 20px; top: 8px; color: rgba(18,63,42,.08); font-family: var(--serif); font-size: 7rem; font-weight: 800; line-height: 1; }
.callout h3, .callout p { position: relative; }
.callout p { color: var(--muted); }
.faq-list { border-top: 1px solid var(--border); }
.faq-list details { border-bottom: 1px solid var(--border); }
.faq-list summary { position: relative; padding: 25px 45px 25px 0; color: var(--green-950); font-family: var(--serif); font-size: 1.35rem; font-weight: 800; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; right: 4px; top: 21px; font-family: var(--sans); font-size: 1.4rem; }
.faq-list details[open] summary::after { content: '–'; }
.faq-list details p { max-width: 760px; padding-bottom: 25px; color: var(--muted); }
.tip-list { display: grid; gap: 0; }
.tip-card { display: grid; grid-template-columns: 68px 1fr; gap: 26px; padding: 36px 0; border-bottom: 1px solid var(--border); }
.tip-card:first-child { padding-top: 0; }
.tip-card > span { width: 52px; height: 52px; display: grid; place-items: center; color: var(--green-700); background: var(--green-100); border-radius: 50%; font-family: var(--serif); font-weight: 800; }
.tip-card h2 { margin-bottom: 10px; font-size: 2rem; }
.tip-card p { color: var(--muted); }
.testimonial-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.testimonial { position: relative; padding: 36px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 12px 34px rgba(18,63,42,.06); }
.testimonial:nth-child(3n) { grid-column: 1 / -1; }
.quote-mark { position: absolute; right: 24px; top: 6px; color: var(--green-100); font-family: var(--serif); font-size: 6.5rem; line-height: 1; }
.testimonial h2 { position: relative; padding-right: 45px; font-size: 1.8rem; }
.testimonial blockquote { margin: 0 0 24px; color: var(--muted); }
.testimonial footer { display: flex; justify-content: space-between; gap: 14px; padding-top: 17px; border-top: 1px solid var(--border); color: var(--green-800); font-size: .86rem; }
.testimonial footer span { color: var(--muted); }
.button-panel { padding: 40px; text-align: center; background: rgba(255,255,255,.7); border: 1px solid var(--border); border-radius: var(--radius); }
.button-panel p { margin: 12px 0 0; color: var(--muted); font-size: .85rem; }
.prose-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 80px; }
.prose-grid article p { color: var(--muted); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: 55px; align-items: start; }
.form-wrap { padding: 42px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-form { display: grid; gap: 23px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label, .check-field label { color: var(--green-950); font-weight: 800; font-size: .9rem; }
.field input, .field textarea, .field select { width: 100%; padding: 13px 15px; color: var(--ink); background: var(--paper); border: 1px solid rgba(18,63,42,.28); border-radius: 10px; }
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--green-700); box-shadow: 0 0 0 4px var(--green-100); outline: none; }
.check-field { display: grid; grid-template-columns: auto 1fr; gap: 11px; align-items: start; }
.check-field input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--green-800); }
.check-field label { font-weight: 600; color: var(--muted); }
.check-field strong { color: var(--green-800); }
.honeypot { position: absolute; left: -9999px; }
.form-status { min-height: 1.5em; margin: 0; color: var(--green-800); font-weight: 800; }
.contact-aside { position: sticky; top: 120px; padding: 32px; background: var(--green-100); border-radius: var(--radius); }
.contact-aside p { color: var(--muted); }
.check-list { margin: 22px 0 0; padding: 0; list-style: none; }
.check-list li { padding: 9px 0; border-bottom: 1px solid var(--border); font-weight: 800; }
.check-list li::before { content: '✓'; margin-right: 9px; color: var(--green-700); }
.legal-copy { max-width: 850px; }
.legal-copy h2 { margin-top: 46px; font-size: 2rem; }
.legal-copy h2:first-child { margin-top: 0; }
.legal-copy p { color: var(--muted); }
.legal-callout { margin-top: 45px; padding: 28px; background: var(--green-100); border-left: 5px solid var(--green-700); border-radius: 0 14px 14px 0; }

.site-footer { padding: 70px 0; color: #cbd9d0; background: var(--green-950); }
.footer-grid { display: grid; grid-template-columns: 1.5fr .65fr .65fr; gap: 70px; }
.brand-footer { margin-bottom: 20px; color: var(--paper); }
.brand-footer .brand-seal { color: var(--green-950); background: var(--paper); border-color: var(--green-950); box-shadow: 0 0 0 2px var(--paper); }
.brand-footer .brand-text strong { color: var(--paper); }
.brand-footer .brand-text span { color: #acc8b5; }
.site-footer p { max-width: 440px; font-size: .9rem; }
.site-footer h2 { color: var(--paper); font-family: var(--sans); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; }
.site-footer > .footer-grid > div:nth-child(n+2) { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.site-footer a:not(.brand) { color: #d9e6dc; font-size: .9rem; text-decoration: none; }
.site-footer a:not(.brand):hover { color: white; text-decoration: underline; }
.copyright { margin-top: 16px !important; color: #92ad9d; }

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

@media (max-width: 900px) {
  :root { --shell: min(100% - 32px, 760px); }
  .section { padding: 72px 0; }
  .menu-toggle { display: block; }
  .site-nav { position: absolute; left: 16px; right: 16px; top: calc(100% - 4px); display: none; flex-direction: column; align-items: stretch; padding: 12px; background: var(--paper); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 15px; }
  .hero { min-height: 0; padding-top: 58px; }
  .hero-grid, .story-grid, .two-column, .contact-grid, .prose-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { max-width: 720px; }
  .hero-visual { max-width: 540px; margin: 0 auto; }
  .split-heading { grid-template-columns: 1fr; gap: 18px; }
  .step-grid { grid-template-columns: 1fr; }
  .estimator-card { grid-template-columns: 1fr; padding: 42px; }
  .mini-card-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .testimonial:nth-child(3n) { grid-column: auto; }
  .contact-aside { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .paper-lines::after { left: 22px; }
}

@media (max-width: 600px) {
  :root { --shell: min(100% - 24px, 520px); }
  body { font-size: 16px; }
  .header-inner { min-height: 74px; }
  .brand-seal { width: 44px; }
  .brand-text strong { font-size: 1rem; }
  .brand-text span { font-size: .63rem; }
  .hero { padding: 48px 0 68px; }
  h1 { font-size: clamp(2.8rem, 15vw, 4.4rem); }
  .page-hero { padding: 75px 0 70px; }
  .button-row, .button-row .button { width: 100%; }
  .trust-row { display: grid; gap: 8px; }
  .hero-visual { padding: 8px; }
  .note-card { min-height: 390px; padding: 36px 32px; }
  .note-amount { font-size: 5.6rem; }
  .bill-stack { left: 45px; }
  .bill { width: 260px; }
  .seal-caption { right: 0; bottom: -10px; }
  .step-card { grid-template-columns: 1fr; }
  .estimator-card { padding: 30px 24px; }
  .estimator-results strong { font-size: 2.55rem; }
  .story-quote { padding: 36px 28px; }
  .cta-inner { align-items: flex-start; flex-direction: column; }
  .plan-list li, .tip-card { grid-template-columns: 1fr; gap: 18px; }
  .form-wrap { padding: 27px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .testimonial { padding: 28px 22px; }
  .testimonial footer { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 38px; }
  .footer-grid > div:first-child { grid-column: auto; }
}

@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; }
}

/* Transactional form and administration states */
.alert { margin: 0 0 24px; padding: 15px 18px; border: 1px solid var(--border); border-left-width: 5px; border-radius: 10px; background: var(--white); font-weight: 700; }
.alert-success { color: #164c32; border-left-color: #2d7b52; background: #edf7f0; }
.alert-error { color: #772b24; border-left-color: #b44f43; background: #fff0ed; }
.alert-warning { color: #69440d; border-left-color: #c68119; background: #fff7df; }
.alert-info { border-left-color: var(--green-700); background: var(--green-100); }
.field small { color: var(--muted); font-size: .82rem; }
.button[disabled] { opacity: .48; cursor: not-allowed; transform: none; box-shadow: none; }
.button-small { min-height: 42px; padding: 10px 17px; font-size: .86rem; }
.break-text { overflow-wrap: anywhere; }

.admin-body { min-height: 100vh; display: flex; flex-direction: column; background: var(--paper-2); }
.admin-header { background: var(--paper); border-bottom: 1px solid var(--border); }
.admin-header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.admin-header form { margin: 0; }
.admin-main { flex: 1; padding: 56px 0 90px; }
.admin-shell { max-width: 1120px; }
.admin-footer { padding: 28px 0; color: #b9cbbf; background: var(--green-950); }
.admin-footer p { margin: 0; font-size: .85rem; }
.admin-page-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 34px; }
.admin-page-heading h1, .admin-login-card h1 { font-size: clamp(2.6rem, 6vw, 4.7rem); }
.admin-intro { max-width: 700px; color: var(--muted); font-size: 1.08rem; }
.admin-login-card { max-width: 560px; margin: 40px auto; padding: 42px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.admin-section-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.admin-card { padding: 34px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 12px 34px rgba(18,63,42,.06); }
.admin-card-wide { grid-column: 1 / -1; }
.admin-card > p:not(.eyebrow), .pending-card p { color: var(--muted); }
.admin-card h2 { font-size: clamp(1.75rem, 3vw, 2.45rem); }
.settings-form { display: grid; gap: 18px; margin-top: 26px; }
.settings-form .button { justify-self: start; }
.compact-check { margin-top: -7px; }
.admin-button-row { margin-top: 2px; }
.inline-action { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border); }
.inline-action span { color: var(--muted); font-size: .85rem; }
.status-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 28px; }
.status-card { display: flex; align-items: center; gap: 13px; padding: 18px; background: rgba(255,255,255,.72); border: 1px solid var(--border); border-radius: 14px; }
.status-card div { display: grid; }
.status-card strong { color: var(--green-950); }
.status-card span:last-child { color: var(--muted); font-size: .82rem; }
.status-dot { width: 12px; height: 12px; flex: 0 0 auto; border-radius: 50%; box-shadow: 0 0 0 5px rgba(18,63,42,.08); }
.status-ok { background: #2d7b52; }
.status-warn { background: #c68119; }
.status-bad { background: #b44f43; }
.pending-card { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-bottom: 28px; padding: 28px 30px; background: #fff7df; border: 1px solid rgba(198,129,25,.35); border-radius: var(--radius); }
.pending-card h2 { margin-bottom: 10px; font-size: 1.8rem; }
.pending-card p { margin-bottom: .4em; }
.pending-card form { flex: 0 0 auto; }
.confirmation-list { display: grid; gap: 0; margin: 28px 0; border-top: 1px solid var(--border); }
.confirmation-list > div { display: grid; grid-template-columns: 150px 1fr; gap: 18px; padding: 15px 0; border-bottom: 1px solid var(--border); }
.confirmation-list dt { color: var(--muted); font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.confirmation-list dd { margin: 0; overflow-wrap: anywhere; font-weight: 800; }
.admin-body code { padding: .12em .35em; color: var(--green-950); background: rgba(18,63,42,.08); border-radius: 5px; }

@media (max-width: 780px) {
  .admin-main { padding-top: 38px; }
  .admin-page-heading, .pending-card { align-items: flex-start; flex-direction: column; }
  .admin-section-grid, .status-grid { grid-template-columns: 1fr; }
  .admin-card-wide { grid-column: auto; }
  .pending-card form { width: 100%; }
  .confirmation-list > div { grid-template-columns: 1fr; gap: 3px; }
}

@media (max-width: 520px) {
  .admin-header .brand-text span { letter-spacing: .06em; }
  .admin-login-card, .admin-card { padding: 26px 20px; }
  .admin-header-inner { min-height: 72px; }
}

.smtp-test-form {
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
}
.smtp-test-form .form-note {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
}


/* Password visibility and contact human-verification controls */
.password-control { position: relative; width: 100%; }
.password-control > input { padding-right: 54px; }
.password-toggle {
  position: absolute;
  top: 50%;
  right: 6px;
  width: 42px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--green-800);
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}
.password-toggle:hover { color: var(--green-950); background: var(--green-100); }
.password-toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.password-toggle .eye-slash { opacity: 0; }
.password-toggle.is-visible .eye-slash { opacity: 1; }

.captcha-field {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 18px 20px 20px;
  background: rgba(229,240,232,.55);
  border: 1px solid rgba(18,63,42,.23);
  border-radius: 14px;
}
.captcha-field legend { padding: 0 6px; color: var(--green-950); font-weight: 900; font-size: .9rem; }
.captcha-field label { color: var(--green-950); font-family: var(--serif); font-size: 1.22rem; font-weight: 800; }
.captcha-field input[type='text'] {
  width: min(160px, 100%);
  padding: 13px 15px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid rgba(18,63,42,.28);
  border-radius: 10px;
}
.captcha-field input[type='text']:focus { border-color: var(--green-700); box-shadow: 0 0 0 4px var(--green-100); outline: none; }
.captcha-field small { color: var(--muted); font-size: .82rem; }

/* Role-aware administration and live file manager */
.admin-header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 14px; flex-wrap: wrap; }
.admin-nav { display: flex; align-items: center; gap: 4px; }
.admin-nav a { padding: 9px 11px; color: var(--green-900); border-radius: 999px; font-size: .86rem; font-weight: 900; text-decoration: none; }
.admin-nav a:hover { color: var(--green-950); background: var(--green-100); }
.admin-user-badge { padding: 7px 10px; color: var(--muted); background: rgba(255,255,255,.62); border: 1px solid var(--border); border-radius: 999px; font-size: .78rem; font-weight: 800; }
.profile-card { max-width: 660px; }
.button-tiny { min-height: 34px; padding: 7px 11px; font-size: .76rem; }
.button-danger { color: #fff; background: #8b332b; }
.button-danger:hover { color: #fff; background: #71261f; }
.file-breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 20px; padding: 12px 16px; background: rgba(255,255,255,.72); border: 1px solid var(--border); border-radius: 12px; font-size: .88rem; font-weight: 800; }
.file-breadcrumbs a { text-decoration: none; }
.file-manager-card, .file-editor-card, .audit-card { margin-bottom: 24px; }
.file-manager-toolbar, .file-editor-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 22px; }
.file-manager-toolbar h2, .file-editor-heading h2 { margin: 0; overflow-wrap: anywhere; }
.file-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 12px; }
.file-table { width: 100%; border-collapse: collapse; min-width: 760px; background: var(--paper); }
.file-table th, .file-table td { padding: 13px 14px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: middle; }
.file-table tr:last-child td { border-bottom: 0; }
.file-table th { color: var(--muted); background: rgba(18,63,42,.055); font-size: .76rem; text-transform: uppercase; letter-spacing: .055em; }
.file-table td { font-size: .88rem; }
.file-name-cell { min-width: 260px; }
.file-name-cell a { text-decoration: none; }
.file-kind { display: inline-grid; width: 26px; height: 26px; place-items: center; margin-right: 7px; color: var(--green-800); background: var(--green-100); border-radius: 7px; }
.file-actions-heading { min-width: 320px; }
.file-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; min-width: 320px; }
.file-empty { padding: 28px !important; color: var(--muted); text-align: center !important; }
.inline-file-form { display: inline-flex; margin: 0; }
.file-inline-menu { position: relative; }
.file-inline-menu summary { min-height: 34px; display: inline-flex; align-items: center; padding: 7px 11px; color: var(--green-950); background: rgba(255,255,255,.72); border: 1px solid var(--border); border-radius: 999px; font-size: .76rem; font-weight: 900; cursor: pointer; list-style: none; }
.file-inline-menu summary::-webkit-details-marker { display: none; }
.file-inline-menu[open] form { position: absolute; z-index: 20; top: calc(100% + 7px); right: 0; width: 270px; display: grid; gap: 10px; padding: 14px; background: var(--white); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow); }
.file-inline-menu form label { display: grid; gap: 5px; font-size: .76rem; font-weight: 800; }
.file-inline-menu form input { min-width: 0; padding: 9px 10px; border: 1px solid var(--border); border-radius: 8px; }
.code-editor { width: 100%; min-height: 62vh; padding: 18px; color: #152019; background: #f8f5e8; border: 1px solid var(--border); border-radius: 12px; font: 14px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; tab-size: 2; resize: vertical; white-space: pre; overflow: auto; }
.code-editor:focus { outline: 3px solid rgba(18,63,42,.14); border-color: var(--green-700); }
.file-editor-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 14px; }
.file-editor-actions span { color: var(--muted); font-size: .82rem; }
.file-create-grid { margin-bottom: 24px; }
.audit-list { display: grid; margin-top: 22px; border-top: 1px solid var(--border); }
.audit-list > div { display: grid; grid-template-columns: 185px 120px 180px minmax(0,1fr); gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: .8rem; }
.audit-list time, .audit-list span { color: var(--muted); }
.audit-list code { overflow-wrap: anywhere; }

@media (max-width: 900px) {
  .admin-header-inner { align-items: flex-start; padding-top: 14px; padding-bottom: 14px; }
  .admin-header-actions { align-items: flex-end; flex-direction: column; }
  .admin-nav { flex-wrap: wrap; justify-content: flex-end; }
  .audit-list > div { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .admin-header-inner { align-items: stretch; flex-direction: column; }
  .admin-header-actions { align-items: stretch; }
  .admin-nav { justify-content: flex-start; }
  .admin-user-badge { align-self: flex-start; }
  .file-manager-toolbar, .file-editor-heading { flex-direction: column; }
  .file-inline-menu[open] form { left: 0; right: auto; }
  .audit-list > div { grid-template-columns: 1fr; gap: 4px; }
}
