/* The AI-Powered Owner: brand tokens from AIPO_Color_Palette.png */
:root {
  --ink: #0D0D14;
  --teal: #2F6F63;
  --teal-dark: #24564D;
  --paper: #F6F3EE;
  --sand: #D8C8B5;
  --sand-soft: #ECE4D9;
  --graphite: #4A4A4A;
  --white: #FFFFFF;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(13,13,20,.05), 0 8px 24px rgba(13,13,20,.06);
  /* Gilroy is used only if installed locally until the web license is confirmed (D-10). */
  --font: "Gilroy", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
[id] { scroll-margin-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font); font-size: 1.0625rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--teal-dark); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .6em; font-weight: 800; }
h1 { font-size: clamp(2.4rem, 7vw, 4.25rem); }
h2 { font-size: clamp(1.75rem, 4.2vw, 2.6rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.wrap.narrow { max-width: 800px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--teal); margin-bottom: .8em; }
.section-dark .eyebrow { color: var(--sand); }
.fine { font-size: .875rem; color: var(--graphite); }
.brand-line { font-weight: 700; color: var(--graphite); margin-top: 1.5rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 12px 24px; border-radius: 999px; font-weight: 700; text-decoration: none;
  border: 2px solid transparent; transition: background .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--teal-dark); color: var(--white); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.btn-sm { min-height: 42px; padding: 8px 18px; font-size: .95rem; }
.btn-block { width: 100%; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5rem; }
.cta-row.center { justify-content: center; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(246,243,238,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--sand-soft); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; }
.brand:hover { color: var(--ink); }
.mark { width: 34px; height: 34px; color: var(--ink); }
.mark-bar { fill: var(--teal); }
.nav-toggle { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; background: none; border: 0; cursor: pointer; color: var(--ink); }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 22px; height: 2px; background: currentColor; position: relative; content: ""; transition: transform .2s; }
.nav-toggle-bars::before { position: absolute; top: -7px; }
.nav-toggle-bars::after { position: absolute; top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }
.site-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--sand); padding: 8px var(--gutter) 20px; }
.site-nav.open { display: block; }
.site-nav ul { list-style: none; margin: 0 0 12px; padding: 0; }
.site-nav li a { display: block; padding: 12px 0; color: var(--ink); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--sand-soft); }
.site-nav .btn { width: 100%; }
.no-js .site-nav { display: block; position: static; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav, .no-js .site-nav { display: flex; align-items: center; gap: 24px; position: static; padding: 0; border: 0; background: none; }
  .site-nav ul { display: flex; gap: 22px; margin: 0; }
  .site-nav li a { padding: 6px 0; border: 0; font-size: .95rem; }
  .site-nav li a:hover { color: var(--teal); }
  .site-nav .btn { width: auto; }
}

/* Hero */
.hero { padding: 20px 0 56px; overflow: hidden; }
.hero-grid { display: grid; gap: 24px; align-items: center; }
.lead { font-size: clamp(1.1rem, 2.2vw, 1.3rem); color: var(--graphite); max-width: 36em; }
.hero-art { order: -1; }
.hero-art img { aspect-ratio: 16 / 8; object-fit: cover; object-position: 70% 40%; }
.hero-art img { border-radius: 20px; box-shadow: var(--shadow); width: 100%; }
.hero-mark { width: 100%; color: var(--ink); }
.hero-sand { fill: var(--sand-soft); }
@media (min-width: 900px) {
  .hero { padding: 96px 0 104px; }
  .hero-grid { grid-template-columns: 1fr 1.1fr; gap: 48px; }
  .hero-art { order: 0; }
  .hero-art img { aspect-ratio: auto; }
}

/* Sections */
.section { padding: 64px 0; }
.section-alt { background: var(--white); }
.section-dark { background: var(--ink); color: var(--paper); }
.section-dark h2 { color: var(--white); }
@media (min-width: 900px) { .section { padding: 96px 0; } }

.pain-list { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: 10px; }
.pain-list li { padding: 14px 18px; background: var(--white); border-left: 4px solid var(--sand); border-radius: 8px; font-weight: 600; }
.callout { font-size: 1.2rem; font-weight: 700; border-left: 4px solid var(--teal); padding-left: 18px; margin-top: 2rem; }

.cards { display: grid; gap: 16px; margin-top: 2rem; }
.card { background: var(--paper); border: 1px solid var(--sand-soft); border-radius: var(--radius); padding: 24px; }
.section:not(.section-alt) .card { background: var(--white); box-shadow: var(--shadow); }
.card h3 { color: var(--teal); }
.card p { margin: 0; color: var(--graphite); }
@media (min-width: 700px) { .cards.two { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .cards.three { grid-template-columns: repeat(3, 1fr); } }

/* OWNER */
.owner { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 14px; }
.owner li { display: flex; gap: 18px; align-items: flex-start; background: var(--white); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.owner-letter { flex: none; width: 56px; height: 56px; border-radius: 50%; border: 4px solid var(--ink); display: grid; place-items: center; font-weight: 800; font-size: 1.5rem; color: var(--teal); }
.owner h3 { margin-bottom: .3em; }
.owner .plain { display: block; font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--teal); margin-top: 4px; }
.owner p { margin: 0; color: var(--graphite); }
@media (min-width: 1000px) {
  .owner { grid-template-columns: repeat(5, 1fr); }
  .owner li { flex-direction: column; }
}

/* Benefits */
.benefits { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 14px; }
.benefits li { padding: 20px; border: 1px solid rgba(216,200,181,.3); border-radius: var(--radius); color: #D9D4CC; }
.benefits strong { display: block; color: var(--white); margin-bottom: 4px; }
@media (min-width: 700px) { .benefits { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .benefits { grid-template-columns: repeat(3, 1fr); } }

/* Community */
.split { display: grid; gap: 32px; align-items: center; }
.community-fig { margin: 0; max-width: 360px; justify-self: center; }
.community-fig img { border-radius: var(--radius); box-shadow: var(--shadow); }
@media (min-width: 900px) { .split { grid-template-columns: 1.3fr 1fr; gap: 64px; } }

.check { list-style: none; padding: 0; margin: 1.25rem 0; display: grid; gap: 12px; }
.check li { position: relative; padding-left: 30px; }
.check li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 16px; height: 9px; border-left: 3px solid var(--teal); border-bottom: 3px solid var(--teal); transform: rotate(-45deg); }

/* Founder */
.founder p { font-size: 1.1rem; }
.sig { font-weight: 700; color: var(--teal); }

/* Offers */
.offers { display: grid; gap: 20px; margin-top: 2rem; max-width: 920px; margin-left: auto; margin-right: auto; }
.offer { background: var(--paper); border: 1px solid var(--sand); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; }
.offer .check { flex: 1; }
.offer-featured { border: 2px solid var(--teal); background: var(--white); box-shadow: var(--shadow); }
.offer-tag { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin-bottom: .5em; }
.price { margin: .25em 0; color: var(--graphite); }
.price .amount { font-size: 2.6rem; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; }
.offer-note { color: var(--graphite); font-size: .95rem; }
.offer-note.small { font-size: .875rem; margin: 1rem 0 0; }
@media (min-width: 800px) { .offers { grid-template-columns: 1fr 1fr; } }

/* FAQ */
.faq { margin-top: 1.5rem; border-top: 1px solid var(--sand); }
.faq details { border-bottom: 1px solid var(--sand); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 700; position: relative; min-height: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font-size: 1.5rem; color: var(--teal); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--graphite); padding-bottom: 12px; }

/* Final CTA */
.final-cta { background: var(--sand-soft); }

/* Footer */
.site-footer { background: var(--ink); color: #CFC9C0; padding: 48px 0 32px; }
.footer-inner { display: grid; gap: 20px; }
.footer-brand { color: var(--white); font-weight: 800; margin: 0; }
.site-footer .brand-line { color: var(--sand); margin-top: .25rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-footer a { color: var(--white); display: inline-block; padding: 6px 0; }
.site-footer a:hover { color: var(--sand); }
.site-footer .fine { color: #ADA79E; margin: 0; }

/* Simple content pages (privacy, 404) */
.page { padding: 56px 0 80px; }
.page h2 { font-size: 1.4rem; margin-top: 2em; }
.page ul { padding-left: 1.2em; }

/* One-thumb: quiet secondary link, sticky mobile CTA, taller footer links */
.text-link { display: inline-flex; align-items: center; min-height: 48px; padding: 0 8px; font-weight: 700; color: var(--ink); }
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(246,243,238,.96); border-top: 1px solid var(--sand); box-shadow: 0 -4px 16px rgba(13,13,20,.06); }
body { padding-bottom: 76px; }
.site-footer a { min-height: 48px; display: inline-flex; align-items: center; }
@media (min-width: 900px) { .sticky-cta { display: none; } body { padding-bottom: 0; } }

/* Brand photos */
.photo { margin: 1.75rem 0; }
.photo img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.headshot { width: 140px; height: 140px; border-radius: 50%; border: 4px solid var(--teal); margin-bottom: 1.25rem; object-fit: cover; }

/* Blog */
.mini-nav { display: flex; align-items: center; gap: 16px; }
.mini-nav > a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; padding: 12px 4px; }
@media (max-width: 520px) { .mini-nav .btn { display: none; } }
.crumbs { font-size: .9rem; color: var(--graphite); margin-bottom: 1rem; }
.crumbs a { color: var(--graphite); }
.post h1 { font-size: clamp(2rem, 5.5vw, 3rem); }
.post-meta { color: var(--graphite); font-size: .95rem; margin-bottom: 2rem; }
.post h2 { font-size: clamp(1.4rem, 3.2vw, 1.8rem); margin-top: 2.2em; }
.post h3 { margin-top: 1.6em; }
.post ul, .post ol { padding-left: 1.3em; }
.post li { margin-bottom: .4em; }
.post article > p:first-of-type { font-size: 1.15rem; }
.post-cta { margin: 3rem 0 2rem; padding: 28px; background: var(--white); border: 2px solid var(--teal); border-radius: var(--radius); }
.post-cta h2 { margin-top: 0; }
.related ul { list-style: none; padding: 0; }
.related li { padding: 10px 0; border-bottom: 1px solid var(--sand); }
.post-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 16px; }
.post-list .card h2 { font-size: 1.25rem; margin: 0 0 .4em; }
.post-list .card h2 a { color: var(--ink); text-decoration: none; }
.post-list .card h2 a:hover { color: var(--teal); }
@media (min-width: 800px) { .post-list { grid-template-columns: 1fr 1fr; } }
.see-all { margin-top: 1.5rem; }
.page .post-list { padding-left: 0; }
