/* Kit 05 site template. Laid out in the ZenFrog design system (shared/brand/zenfrog.css, tokens.json).
   Every color and font is a variable. The defaults below are ZenFrog's; content.json "brand" overrides them
   per client (each key becomes --key, underscores to dashes), so a client copy keeps the layout with its own colors.
   Keys: ground band deep card rule card_border outline primary primary_glow on_primary accent ink text muted nav faint font display_font */
:root {
  --ground: #0E110F; --band: #151916; --deep: #0A0C0B; --card: #0E110F;
  --rule: #262B27; --card-border: #2E352F; --outline: #4A524B;
  --primary: #355E3B; --primary-glow: rgba(53,94,59,0.38); --on-primary: #FFFFFF;
  --accent: #A9C9AE; --ink: #FFFFFF; --text: #F4F5F3; --muted: #B9BEB8; --nav: #C9CDC8; --faint: #9AA09A;
  --field-border: #9AA09A;
  --font: "Manrope", system-ui, sans-serif;
  --display-font: "Fraunces", Georgia, serif;
  --r-sm: 10px; --r-md: 12px; --r-lg: 14px; --r-xl: 18px;
  --max: 1120px; --gutter: 24px; --section: 80px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--text); font: 400 17px/1.6 var(--font); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { color: var(--ink); margin: 0 0 12px; }
h1, h2 { font-family: var(--display-font); font-weight: 700; line-height: 1.1; }
h1 { font-size: clamp(32px, 6vw, 46px); }
h2 { font-size: clamp(26px, 4.4vw, 34px); }
h3 { font: 800 21px/1.3 var(--font); }
p { margin: 0 0 12px; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
ul { padding-left: 1.2em; }
strong { color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }

.skip-link { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--primary); color: var(--on-primary); padding: 10px 16px; border-radius: var(--r-md); font-weight: 800; text-decoration: none; }
.skip-link:focus { top: 8px; }

/* Top bar */
.site-header { background: var(--ground); border-bottom: 1px solid var(--rule); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; flex-wrap: wrap; }
.brand { color: var(--ink); text-decoration: none; font: 700 20px/1 var(--display-font); display: inline-flex; align-items: center; gap: 10px; padding: 8px 0; }
.brand:hover { color: var(--ink); }
.brand img { height: 52px; width: auto; flex: none; }
/* A logo with its own lettering (ZenFrog.ltd): never below 40px tall or it stops reading. */
@media (max-width: 640px) { .brand img { height: 40px; } }
.brand-mark { width: 32px; height: 32px; flex: none; }
.nav-toggle { display: none; background: transparent; color: var(--text); border: 2px solid var(--outline); border-radius: var(--r-md); padding: 8px 16px; font: 800 15px/1 var(--font); cursor: pointer; min-height: 44px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.site-nav a { color: var(--nav); text-decoration: none; font: 700 15px/1.2 var(--font); padding: 10px 0; display: block; }
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.site-nav .nav-cta a { background: var(--primary); color: var(--on-primary); padding: 10px 18px; border-radius: var(--r-md); font-weight: 800; }
.site-nav .nav-cta a:hover { color: var(--on-primary); text-decoration: underline; }
@media (max-width: 860px) {
  .js .nav-toggle { display: inline-block; }
  .js .site-nav { display: none; width: 100%; padding-bottom: 16px; }
  .js .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: flex-start; gap: 4px; }
  .site-nav .nav-cta { margin-top: 8px; }
}

/* Hero */
.hero { padding: var(--section) 0; text-align: center; }
.hero h1 { max-width: 22ch; margin-left: auto; margin-right: auto; }
.hero-mark { position: relative; display: inline-block; margin: 0 auto 20px; }
.hero-mark::before { content: ""; position: absolute; inset: -25% -35%; background: radial-gradient(closest-side, var(--primary-glow), transparent); }
.hero-mark img { position: relative; width: 220px; }
.hero-wordmark { margin: 0 auto 20px; }
.hero-wordmark img { width: min(360px, 80vw); margin: 0 auto; }
.tagline { font: 500 clamp(22px, 4vw, 30px)/1.3 var(--display-font); color: var(--text); max-width: 32ch; margin: 0 auto 16px; }
.hero .lead { color: var(--muted); max-width: 60ch; margin: 0 auto 28px; }
.actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.page-hero { padding: 64px 0 40px; border-bottom: 1px solid var(--rule); }
.page-hero .lead { color: var(--muted); font-size: 18px; max-width: 65ch; margin: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 15px 28px; border-radius: var(--r-md); font: 800 17px/1.2 var(--font); text-decoration: none; border: 0; cursor: pointer; }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { color: var(--on-primary); text-decoration: underline; text-underline-offset: 4px; }
.btn-outline { background: transparent; color: var(--text); border: 2px solid var(--outline); padding: 13px 26px; }
.btn-outline:hover { color: var(--ink); border-color: var(--muted); }
.btn-lg { padding: 18px 30px; font-size: 18px; border-radius: var(--r-lg); }

/* Sections */
.section { padding: var(--section) 0; border-top: 1px solid var(--rule); }
.page-hero + .section { border-top: 0; }
.section.band { background: var(--band); }
.section .body { max-width: 68ch; }
.eyebrow { display: block; color: var(--accent); font: 800 13px/1.4 var(--font); text-transform: uppercase; letter-spacing: .16em; margin: 0 0 12px; }
.section-title { font: 700 clamp(32px, 6vw, 46px)/1.1 var(--display-font); margin: 0 0 36px; }
.section-media { display: grid; gap: 28px; align-items: center; }
@media (min-width: 800px) { .section-media { grid-template-columns: 1.2fr 1fr; } }
.section-media img { border-radius: var(--r-xl); }
@media (max-width: 640px) { .hero, .section { padding: 56px 0; } .hero-mark img { width: 170px; } }

/* Cards */
.cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--r-xl); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.card h2, .card h3 { margin: 0; font: 800 21px/1.3 var(--font); color: var(--ink); }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.card .price { color: var(--text); font-weight: 700; }
.chip { width: 48px; height: 48px; border-radius: var(--r-md); background: var(--primary); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.chip svg { width: 24px; height: 24px; stroke: var(--on-primary); stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.card a.more { color: var(--accent); font-weight: 800; text-decoration: none; margin-top: auto; }
.card a.more::after { content: " \2192"; }
.card a.more:hover { text-decoration: underline; }
.card .links { margin-top: auto; display: flex; flex-direction: column; gap: 6px; }
.card .links a.more { margin-top: 0; }

.service-block { padding: 28px 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: auto 1fr; gap: 0 20px; }
.service-block > :not(.chip) { grid-column: 2; }
.service-block .chip { grid-row: 1 / span 3; }
.service-block:last-child { border-bottom: 0; }
.service-block .price { font-weight: 700; color: var(--ink); }
.service-block .price-list { margin: 4px 0 12px; display: grid; gap: 6px; }
.service-block .price-list strong { color: var(--ink); }
.service-block .terms { color: var(--muted); font-size: 15px; }

.faq-list { max-width: 72ch; }
.faq-item { padding: 24px 0; border-bottom: 1px solid var(--rule); }
.faq-item h2 { font: 800 21px/1.3 var(--font); margin-bottom: 8px; }
.faq-item p { margin: 0; }

.contact-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin-bottom: 36px; }
.contact-grid .card p { color: var(--text); }
.legal { max-width: 72ch; }
.legal h2 { font-size: 26px; margin-top: 36px; }

/* Forms */
.form { display: grid; gap: 20px; max-width: 560px; }
.field { display: grid; gap: 6px; }
.field label { color: var(--ink); font-weight: 700; }
.field .hint { color: var(--muted); font-size: 15px; margin: 0; }
.field input, .field select, .field textarea { font: 400 17px/1.4 var(--font); color: var(--text); background: var(--deep); border: 1px solid var(--field-border); border-radius: var(--r-sm); padding: 12px 14px; min-height: 48px; width: 100%; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--accent); outline-offset: 1px; }
.form button { justify-self: start; }
.form-status { font-weight: 700; color: var(--ink); }
.form-status[data-state="error"]::before { content: "\2715  "; color: var(--accent); }
.form-status[data-state="ok"]::before { content: "\2713  "; color: var(--accent); }

/* Contact band */
.cta-band { padding: var(--section) 0; border-top: 1px solid var(--rule); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { font: 700 clamp(30px, 5.4vw, 42px)/1.15 var(--display-font); margin: 0 0 6px; }
.cta-band p { color: var(--muted); max-width: 60ch; margin: 0; }
@media (max-width: 640px) { .cta-band { padding: 56px 0; } }

/* Footer */
.site-footer { background: var(--deep); color: var(--faint); border-top: 1px solid var(--rule); padding: 48px 0 32px; font: 400 14px/1.5 var(--font); }
.site-footer a { color: var(--faint); }
.site-footer a:hover { color: var(--ink); }
.footer-cols { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); padding-bottom: 32px; margin-bottom: 28px; border-bottom: 1px solid var(--rule); }
.footer-cols h2 { font: 800 13px/1.4 var(--font); text-transform: uppercase; letter-spacing: .16em; color: var(--accent); margin-bottom: 10px; }
.footer-cols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer-cols p { margin: 0 0 6px; }
.footer-badge { text-align: center; margin: 0 0 24px; }
.footer-badge img { display: inline-block; width: 240px; max-width: 60vw; height: auto; }
.footer-legal { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-legal p { margin: 0; }

.todo { background: #3A3F3B; color: var(--ink); outline: 1px dashed var(--accent); padding: 0 4px; border-radius: 3px; }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
@media print {
  .site-header, .cta-band, .skip-link, .footer-cols { display: none; }
  body { background: #fff; color: #141614; }
  .site-footer { background: #fff; color: #4A504B; }
  .footer-badge img { width: 1.8in; max-width: none; }
}

/* FAQ groups, headshot, plain list items in cards */
.faq-group { font-size: clamp(24px, 4vw, 30px); margin: 40px 0 4px; }
.faq-group:first-child { margin-top: 0; }
.faq-item h3 { font: 800 20px/1.3 var(--font); margin-bottom: 8px; }
.portrait { margin: 0; max-width: 360px; justify-self: center; }
.portrait img { border-radius: var(--r-xl); border: 1px solid var(--card-border); }
.portrait figcaption { color: var(--muted); font-size: 15px; margin-top: 10px; text-align: center; }
.card .more-text { color: var(--muted); font-weight: 800; }
.app-icon { display: inline-block; width: 96px; height: 96px; border-radius: 22px; overflow: hidden; border: 1px solid var(--card-border); }
.app-icon img { width: 96px; height: 96px; }
.service-block h3 { margin: 16px 0 6px; }
.actions.buy { justify-content: flex-start; margin: 8px 0 4px; }
