:root {
  --ink: #07152c;
  --muted: #40506b;
  --green: #0b834b;
  --green-dark: #087944;
  --line: #dbe5e8;
  --soft: #f3f8f5;
  --warm: #f7f1e8;
  --radius: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font: 17px/1.55 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
img { max-width: 100%; height: auto; display: block; }
/* <picture> (a WebP with a JPEG or PNG for older browsers) leaves layout to its <img>. */
picture { display: contents; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -.02em; }
p { margin: 0; }
a { color: var(--green-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #f2b705; outline-offset: 3px; border-radius: 4px; }
[id] { scroll-margin-top: 88px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 20; padding: 10px 16px; border-radius: 8px; color: #fff; background: var(--ink); font-weight: 700; }
.skip-link:focus { top: 12px; }

/* Header: a soft shadow appears once the page is scrolled. */
.site-header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid #e2e9eb; background: rgba(255,255,255,.97); transition: box-shadow .25s ease, border-color .25s ease; }
.site-header.is-scrolled { border-color: transparent; box-shadow: 0 4px 18px rgba(7,21,44,.08); }
.header-inner { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { flex: 0 0 auto; }
.logo img { width: auto; height: 50px; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.nav-links { display: flex; gap: 26px; margin: 0; padding: 0; list-style: none; }
.nav-links a, .link-signin { color: var(--ink); text-decoration: none; font-size: 16px; font-weight: 600; text-underline-offset: 5px; text-decoration-thickness: 2px; transition: color .2s ease; }
.nav-links a:hover, .link-signin:hover { color: var(--green-dark); text-decoration: underline; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 9px; font-size: 16px; font-weight: 700; text-decoration: none; transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s var(--ease); }
.btn-primary { color: #fff; background: var(--green); }
.btn-primary:hover { background: var(--green-dark); box-shadow: 0 6px 16px rgba(11,131,75,.24); transform: translateY(-1px); }
.btn-secondary { color: var(--ink); border: 2px solid #c9d8d2; background: #fff; }
.btn-secondary:hover { border-color: var(--green); background: var(--soft); }
.btn .arrow { display: inline-block; transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-large { min-height: 54px; padding: 0 28px; font-size: 17px; }
button.btn { border: 0; font-family: inherit; cursor: pointer; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* Hero: the copy and photo ease in when the page opens. */
.hero { padding: 64px 0 72px; background: linear-gradient(180deg, var(--warm), #fff); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 56px; align-items: center; }
.eyebrow { color: var(--green-dark); font-size: 14px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hero h1 { margin-top: 14px; font-size: 52px; letter-spacing: -.03em; }
.lead { margin-top: 20px; max-width: 520px; color: var(--muted); font-size: 19px; }
.hero-note { margin-top: 18px; color: var(--muted); font-size: 15px; }
.hero-photo, .side-photo { margin: 0; overflow: hidden; border-radius: var(--radius); box-shadow: 0 10px 30px rgba(7,21,44,.10); }
/* The photo sits very slightly enlarged so site.js can drift it a few pixels while the page scrolls. */
.hero-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 72% 40%; transform: translate3d(0, var(--shift, 0px), 0) scale(1.04); }

@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { opacity: 0; transform: scale(1.02); } to { opacity: 1; transform: none; } }
.hero-copy .eyebrow, .hero-copy h1 { animation: rise .6s var(--ease) both; }
.hero-copy .lead { animation: rise .6s var(--ease) .12s both; }
.hero-copy .actions, .hero-copy .hero-note { animation: rise .6s var(--ease) .22s both; }
.hero-photo { animation: settle .7s var(--ease) .08s both; }

/* Sections */
.section { padding: 80px 0; }
.soft { background: var(--soft); }
.section h2 { font-size: 36px; }
.section-lead { margin-top: 12px; color: var(--muted); }
.value-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.value p { margin-top: 16px; color: var(--muted); }
.side-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: 70% 40%; }

.checklist { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 32px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: #d7efe2; }
.checklist li::after { content: ""; position: absolute; left: 7px; top: 8px; width: 5px; height: 9px; border: solid var(--green-dark); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* Cards lift slightly on hover, only where there is a mouse. */
.card { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: transform .25s var(--ease), box-shadow .25s ease, border-color .25s ease; }
@media (hover: hover) and (pointer: fine) {
  .card:hover { transform: translateY(-3px); border-color: #b9d6c8; box-shadow: 0 10px 24px rgba(7,21,44,.08); }
}

.steps { margin: 36px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.steps li { padding: 26px 24px; }
.step-number { display: block; color: var(--green); font-size: 28px; font-weight: 800; }
.steps h3 { margin-top: 12px; font-size: 19px; }
.steps p { margin-top: 10px; color: var(--muted); font-size: 16px; }

.features { margin: 34px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.features li { padding: 24px; }
.features h3 { font-size: 19px; }
.features p { margin-top: 8px; color: var(--muted); font-size: 16px; }

.levels { margin: 30px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.levels li { padding: 28px 24px; border-top: 4px solid var(--green); }
.levels h3 { font-size: 26px; }
.levels p { margin-top: 6px; color: var(--muted); }

.cta { text-align: center; }
.cta-inner { max-width: 760px; }
.cta p { margin-top: 14px; color: var(--muted); font-size: 19px; }
.cta .actions { justify-content: center; }

/* Scroll reveals: content is only hidden once landing.js has switched them on (html.motion). */
.motion .reveal, .motion .reveal-group > * { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease), box-shadow .25s ease, border-color .25s ease; transition-delay: calc(var(--i, 0) * 70ms); }
.motion .reveal.is-visible, .motion .reveal-group.is-visible > * { opacity: 1; transform: none; }
.motion-setup .reveal, .motion-setup .reveal-group > * { transition: none; }
.motion .reveal-group.is-done > * { transition: transform .25s var(--ease), box-shadow .25s ease, border-color .25s ease; transition-delay: 0s; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--soft); color: var(--muted); font-size: 15px; }
.footer-main { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; padding-top: 40px; padding-bottom: 28px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 36px; height: 36px; }
.footer-brand strong { display: block; color: var(--ink); font-size: 18px; line-height: 1.2; }
.footer-brand span { display: block; font-size: 14px; }
.footer-nav { display: flex; gap: 64px; }
.footer-group h2 { margin: 0 0 6px; color: var(--ink); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.footer-group ul { margin: 0; padding: 0; list-style: none; }
.footer-group a { display: inline-flex; align-items: center; min-height: 36px; color: var(--muted); text-decoration: none; transition: color .2s ease; }
.footer-social a { gap: 8px; }
.footer-social svg { width: 18px; height: 18px; flex: none; }
.footer-group a:hover { color: var(--green-dark); text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { padding-top: 16px; padding-bottom: 20px; box-shadow: inset 0 1px 0 var(--line); font-size: 14px; }

/* Contact, privacy and terms pages */
.page-head { padding: 56px 0 8px; background: linear-gradient(180deg, var(--warm), #fff); }
.page-head h1 { font-size: 40px; }
.page-head .lead { margin-top: 12px; max-width: 640px; }
.page-body { padding: 32px 0 80px; }
.doc { max-width: 720px; }
.doc .updated { color: var(--muted); font-size: 15px; }
.doc h2 { margin: 36px 0 10px; font-size: 24px; }
.doc p, .doc li { color: #26344d; }
.doc p + p { margin-top: 12px; }
.doc ul { margin: 12px 0 0; padding-left: 22px; }
.doc li + li { margin-top: 8px; }
.contact-card { max-width: 640px; padding: 32px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 10px 30px rgba(7,21,44,.06); }
.notice { margin: 0 0 24px; padding: 14px 16px; border: 1px solid #ecd8a6; border-left: 4px solid #c99a2e; border-radius: 10px; background: #fff8e8; color: #5f4300; font-size: 16px; }
.field { margin: 0 0 18px; }
.field label { display: block; margin: 0 0 6px; font-weight: 700; font-size: 15px; }
.field input, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid #b8c6c1; border-radius: 10px; background: #fff; color: var(--ink); font: inherit; font-size: 16px; transition: border-color .15s ease, box-shadow .15s ease; }
.field input { height: 48px; padding-top: 0; padding-bottom: 0; }
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(11,131,75,.14); }
.form-status { margin-top: 16px; padding: 12px 14px; border: 1px solid #ecd8a6; border-radius: 10px; background: #fff8e8; color: #5f4300; font-size: 16px; }
.form-status:empty { display: none; }
.notice-ok { border-color: #b9dcc8; border-left-color: var(--green); background: #eef8f2; color: #0b4d2c; }
.form-note { margin-top: 14px; color: var(--muted); font-size: 15px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Knowledge pages: pricing, about, samples and guides */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0 0 14px; padding: 0; list-style: none; font-size: 15px; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin: 0 8px; color: #8a97ad; }
.crumbs a { color: var(--muted); }
.crumbs [aria-current] { color: var(--ink); }
.page-body section + section, .page-body section + .doc, .page-body .doc + section, .page-body .two-col + section { margin-top: 48px; }
.page-body h2.section-title, .intro-grid h2, .two-col h2, .faq h2, .related h2, .cta-band h2 { font-size: 28px; margin-bottom: 14px; }
.page-body .more { margin-top: 24px; color: var(--muted); }
.intro-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.intro-grid p + p { margin-top: 12px; }
.intro-grid > div > p { color: #26344d; }
.freebox { padding: 26px; border-top: 4px solid var(--green); }
.freebox h2 { margin: 6px 0 4px; font-size: 24px; }
.freebox .btn { margin-top: 16px; }
.price { margin: 6px 0; font-size: 34px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.packs { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.pack { padding: 24px 22px; }
.pack h3 { font-size: 22px; }
.pack .for { margin-top: 4px; color: var(--muted); font-size: 15px; }
.pack .credits strong { display: block; }
.pack .credits span { color: var(--muted); font-size: 15px; }
.pack .checklist { font-size: 15px; }
.pack-note { margin-top: 18px; color: var(--muted); }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; margin-top: 48px; }
.definition { padding: 14px 16px; border-left: 4px solid var(--green); border-radius: 8px; background: var(--soft); }
.plain-list { margin: 14px 0 0; padding-left: 22px; color: #26344d; }
.plain-list li + li { margin-top: 8px; }
.faq-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 32px; }
.faq-list h3 { font-size: 19px; margin-bottom: 6px; }
.faq-list p { color: #26344d; }
.resource-grid { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.resource-card { padding: 24px; }
.resource-card h3 { margin-top: 8px; font-size: 21px; }
.resource-card h3 a { color: var(--ink); text-decoration: none; }
.resource-card h3 a:hover { color: var(--green-dark); text-decoration: underline; }
.resource-card p:last-child { margin-top: 8px; color: var(--muted); font-size: 16px; }
.resource-card .eyebrow { font-size: 12px; }
.sample-notice { max-width: 860px; }
.sample h2 { font-size: 24px; margin-bottom: 16px; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin: 0 0 20px; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft); }
.facts div { display: grid; grid-template-columns: 11em minmax(0, 1fr); gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 700; font-size: 15px; }
.facts dd { margin: 0; color: #26344d; font-size: 15px; }
.table-scroll { max-width: 100%; overflow-x: auto; margin: 12px 0 0; border: 1px solid var(--line); border-radius: var(--radius); }
.sample-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; background: #fff; }
.sample-table caption { padding: 10px 14px; text-align: left; font-weight: 700; }
.sample-table th, .sample-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.sample-table thead th { background: var(--soft); font-size: 14px; }
.sample-table tbody tr:last-child > * { border-bottom: 0; }
.sample-table .span-row td { font-style: italic; color: var(--muted); text-align: center; background: #fbfbf8; }
.doc .table-scroll { margin-top: 14px; }
.doc .table-scroll + p { margin-top: 14px; }
.doc .numbered { margin: 12px 0 0; padding-left: 22px; }
.doc .numbered li + li { margin-top: 8px; }
.doc.guide h2 { font-size: 26px; }
.code-pattern { margin-top: 12px; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .92em; padding: 1px 5px; border-radius: 5px; background: var(--soft); }
.related ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; max-width: 760px; }
.related li a { font-weight: 700; font-size: 18px; }
.related li span { display: block; margin-top: 2px; color: var(--muted); font-size: 15px; }
.cta-band { margin-top: 56px; padding: 36px 32px; border-radius: 18px; background: linear-gradient(180deg, var(--warm), var(--soft)); text-align: center; }
.cta-band p { margin-top: 6px; color: var(--muted); }
.cta-band .actions { justify-content: center; margin-top: 22px; }
/* Articles (/articles/): written by the content automation, rendered from a small Markdown subset. */
.doc h3 { margin: 24px 0 8px; font-size: 20px; }
.doc ol { margin: 12px 0 0; padding-left: 22px; }
.doc blockquote { margin: 16px 0; padding: 4px 0 4px 16px; border-left: 4px solid var(--green); color: var(--muted); }
.doc sup.cite { font-size: .72em; line-height: 0; }
.doc sup.cite a { text-decoration: none; }
.article-figure { margin: 0 0 24px; }
.article-figure img { display: block; width: 100%; height: auto; border-radius: 14px; aspect-ratio: 3 / 2; object-fit: cover; background: var(--soft); }
.article-sources { margin-top: 36px; padding-top: 18px; border-top: 1px solid #e3e7ee; font-size: 15px; }
.article-sources h2 { font-size: 20px; }
.article-sources ol { padding-left: 22px; }
.article-sources li + li { margin-top: 6px; }
.article-sources .small { color: var(--muted); }
.pager { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; margin-top: 28px; }
.pager a { font-weight: 700; }

/* Tablet */
@media (max-width: 1100px) {
  .hero h1 { font-size: 44px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-nav { gap: 40px; }
  .packs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Phone */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  [id] { scroll-margin-top: 72px; }
  .header-inner { height: 64px; gap: 12px; }
  .logo img { height: 36px; }
  .nav-links { display: none; }
  .site-nav { gap: 10px; }
  .site-nav .btn { min-height: 44px; padding: 0 14px; font-size: 15px; }
  .link-signin { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; font-size: 15px; }
  .hero { padding: 32px 0 44px; }
  .hero-inner, .value-inner { grid-template-columns: 1fr; gap: 28px; }
  .hero h1 { font-size: 34px; }
  .lead { font-size: 17px; }
  .actions { margin-top: 24px; }
  .actions .btn { flex: 1 1 100%; }
  .hero-photo img { aspect-ratio: 16 / 10; }
  .section { padding: 52px 0; }
  .section h2 { font-size: 28px; }
  .steps, .features, .levels { grid-template-columns: 1fr; gap: 14px; margin-top: 24px; }
  .steps li, .features li, .levels li { padding: 20px; }
  .footer-main { flex-direction: column; gap: 20px; padding-top: 28px; padding-bottom: 16px; }
  .footer-nav { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .intro-grid, .two-col, .faq-list, .resource-grid, .packs, .facts { grid-template-columns: 1fr; }
  .facts div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .page-body h2.section-title, .intro-grid h2, .two-col h2, .faq h2, .related h2, .cta-band h2 { font-size: 24px; }
  .cta-band { padding: 26px 18px; }
  .footer-group a { min-height: 44px; }
  .page-head { padding: 36px 0 4px; }
  .page-head h1 { font-size: 30px; }
  .page-body { padding: 24px 0 56px; }
  .contact-card { padding: 22px 18px; }
}

/* Reduced motion: no entrance animations, reveals, parallax or movement on hover. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-photo img { transform: none; }
  .motion .reveal, .motion .reveal-group > * { opacity: 1; transform: none; }
  .btn-primary:hover, .card:hover, .btn:hover .arrow { transform: none; }
}
