/* EGA — egaagency.com
   Colors, type and components follow the EGA Brand Guidelines v1.0. */

:root {
  --teal: #002D2D;
  --teal-surface: #0B3D3D;
  --action: #008060;
  --action-hover: #006B50;
  --growth: #95BE46;
  --forest: #5E8D3D;
  --charcoal: #30373B;
  --slate: #5B6670;
  --mist: #F4F7F3;
  --line: #DDE5DF;
  --white: #FFFFFF;
  --alert: #C53030;

  --radius-btn: 8px;
  --radius-card: 12px;
  --container: 1200px;
  --gutter: 24px;
  --section: 96px;
  --font: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.625;
  color: var(--charcoal); background: var(--white); -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
img { height: auto; }
a { color: var(--action); text-underline-offset: 3px; }
a:hover { color: var(--action-hover); }
p { margin: 0 0 16px; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; color: var(--teal); font-weight: 600; }
:focus-visible { outline: 3px solid var(--action); outline-offset: 2px; border-radius: 4px; }
.dark :focus-visible { outline-color: var(--growth); }
.ic { width: 24px; height: 24px; flex: none; }

.skip-link { position: absolute; left: 16px; top: -48px; z-index: 100; background: var(--white); color: var(--teal); padding: 10px 16px; border-radius: var(--radius-btn); font-weight: 600; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section-sm { padding: 64px 0; }
.dark { background: var(--teal); color: rgba(255,255,255,.82); }
.dark h1, .dark h2, .dark h3 { color: var(--white); }
.mist { background: var(--mist); }
.grid-motif { position: relative; isolation: isolate; }
.grid-motif::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at 75% 20%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse at 75% 20%, #000 0%, transparent 70%);
}

/* Type */
.eyebrow { font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--forest); margin: 0 0 14px; }
.dark .eyebrow { color: var(--growth); }
.display { font-size: clamp(40px, 6.2vw, 64px); line-height: 1.06; letter-spacing: -.025em; }
.h1 { font-size: clamp(34px, 4.6vw, 48px); line-height: 1.1; letter-spacing: -.02em; }
.h2 { font-size: clamp(28px, 3.4vw, 36px); line-height: 1.18; letter-spacing: -.018em; }
.h3 { font-size: clamp(19px, 2vw, 22px); line-height: 1.35; letter-spacing: -.01em; }
.lead { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.6; }
.dark .lead { color: rgba(255,255,255,.82); }
.accent { color: var(--growth); }
.muted { color: var(--slate); }
.dark .muted { color: rgba(255,255,255,.65); }
.small { font-size: 14px; line-height: 1.5; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .lead { margin-top: 16px; margin-bottom: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 16px/1.5 var(--font); padding: 13px 22px; border-radius: var(--radius-btn);
  text-decoration: none; text-align: center; border: 1.5px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.btn .ic { width: 18px; height: 18px; }
.btn-primary { background: var(--action); color: var(--white); }
.btn-primary:hover { background: var(--action-hover); color: var(--white); }
.btn-secondary { border-color: var(--charcoal); color: var(--charcoal); background: transparent; }
.btn-secondary:hover { background: var(--charcoal); color: var(--white); }
.dark .btn-secondary { border-color: rgba(255,255,255,.85); color: var(--white); }
.dark .btn-secondary:hover { background: var(--white); color: var(--teal); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.link-arrow .ic { width: 18px; height: 18px; transition: transform .15s; }
.link-arrow:hover .ic { transform: translateX(3px); }
.dark .link-arrow { color: var(--growth); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--teal); border-bottom: 1px solid rgba(255,255,255,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand img { height: 36px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav ul { list-style: none; display: flex; gap: 28px; }
.site-nav a:not(.btn) { color: rgba(255,255,255,.82); text-decoration: none; font-size: 15px; font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav a:not(.btn):hover { color: var(--white); }
.site-nav a[aria-current="page"] { color: var(--white); border-bottom-color: var(--growth); }
.nav-toggle { display: none; background: none; border: 0; color: var(--white); padding: 8px; margin-right: -8px; cursor: pointer; }
.nav-toggle-close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-close { display: block; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 72px; background: var(--teal);
    flex-direction: column; align-items: stretch; gap: 8px; padding: 8px var(--gutter) 24px; border-bottom: 1px solid rgba(255,255,255,.1);
  }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a:not(.btn) { display: block; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 17px; }
  .site-nav a[aria-current="page"] { border-bottom-color: rgba(255,255,255,.08); color: var(--growth); }
  .site-nav .btn { margin-top: 12px; padding: 13px 22px; font-size: 16px; }
}

/* Hero */
.hero { padding: 88px 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 64px; align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero .lead { max-width: 600px; margin-bottom: 32px; }
.hero-photo { position: relative; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 12%; border-radius: 16px; }
.hero-chip {
  position: absolute; left: -40px; bottom: 32px; background: var(--white); color: var(--teal); border-radius: var(--radius-card);
  padding: 14px 18px; display: flex; gap: 12px; align-items: center; box-shadow: 0 16px 40px rgba(0,0,0,.28); max-width: 270px;
}
.hero-chip strong { display: block; font-size: 22px; line-height: 1.1; letter-spacing: -.02em; }
.hero-chip span { font-size: 13px; line-height: 1.35; color: var(--slate); display: block; }
.channel-strip { margin-top: 72px; padding: 22px 0 26px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; gap: 12px 36px; align-items: center; font-size: 14px; }
.channel-strip b { color: var(--white); font-weight: 600; letter-spacing: .01em; }

.page-hero { padding: 80px 0 72px; }
.page-hero h1 { max-width: 860px; }
.page-hero .lead { max-width: 680px; margin: 20px 0 0; }
.page-hero .btn-row { margin-top: 32px; }

/* Cards and grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 28px; }
.card h3 { margin: 18px 0 8px; }
.card p:last-child { margin-bottom: 0; }
.card-accent { border-top: 4px solid var(--growth); }
.dark .card-dark { background: var(--teal-surface); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius-card); padding: 28px; }
.icon-box { width: 48px; height: 48px; border-radius: 10px; background: var(--mist); color: var(--forest); display: flex; align-items: center; justify-content: center; }
.dark .icon-box { background: rgba(149,190,70,.12); color: var(--growth); }
.card .link-arrow { margin-top: 8px; }

.pillar { display: flex; flex-direction: column; }
.pillar .tag { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--forest); margin-top: 18px; }
.pillar h3 { margin-top: 6px; }
.pillar ul { margin: 6px 0 20px; }
.pillar .link-arrow { margin-top: auto; }

.checklist { list-style: none; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist .ic { width: 20px; height: 20px; color: var(--action); margin-top: 3px; }
.dark .checklist .ic { color: var(--growth); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stat { background: var(--teal-surface); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius-card); padding: 24px; }
.stat-value { font-size: clamp(32px, 3.6vw, 42px); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; color: var(--growth); }
.stat-label { font-size: 14px; line-height: 1.45; color: rgba(255,255,255,.8); margin-top: 8px; }
.stats-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stats-2 .stat-value { font-size: clamp(28px, 2.8vw, 36px); }
.light-stats .stat { background: var(--white); border-color: var(--line); }
.light-stats .stat-value { color: var(--teal); }
.light-stats .stat-label { color: var(--slate); }

/* Split section */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.split-photo img { width: 100%; border-radius: 16px; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 12%; }

/* Steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.steps li { counter-increment: step; border-top: 2px solid var(--teal); padding-top: 18px; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-size: 13px; font-weight: 600; color: var(--forest); margin-bottom: 10px; }
.steps h3 { font-size: 18px; margin-bottom: 6px; }
.steps p { font-size: 15px; color: var(--slate); margin: 0; }

/* Automation list */
.auto-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.auto-group { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 22px; }
.auto-group h3 { font-size: 16px; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.auto-group h3 .ic { width: 20px; height: 20px; color: var(--forest); }
.auto-group ul { list-style: none; display: grid; gap: 6px; }
.auto-group li { font-size: 14.5px; line-height: 1.45; padding-left: 14px; position: relative; }
.auto-group li::before { content: ""; position: absolute; left: 0; top: 8px; width: 5px; height: 5px; background: var(--forest); }

/* Case study */
.cs-meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 48px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12); }
.cs-meta dt { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--growth); }
.cs-meta dd { margin: 6px 0 0; color: var(--white); font-weight: 500; }
.prose { max-width: 760px; }
.prose h2 { margin: 56px 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 32px 0 10px; font-size: 20px; }
.prose ul { padding-left: 22px; margin: 0 0 16px; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--forest); }
.phase { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 32px; padding: 32px 0; border-top: 1px solid var(--line); }
.phase:last-child { border-bottom: 1px solid var(--line); }
.phase-when { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--forest); padding-top: 4px; }
.phase h3 { margin-bottom: 10px; }
.phase ul { padding-left: 20px; }
.phase li { margin-bottom: 6px; }
.phase li::marker { color: var(--forest); }
.results-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.results-table th, .results-table td { text-align: left; padding: 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.results-table th { font-weight: 500; color: var(--charcoal); padding-right: 24px; }
.results-table td { font-weight: 700; color: var(--teal); white-space: nowrap; text-align: right; }

/* Tools */
.tool-card { display: flex; flex-direction: column; }
.badge { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .04em; padding: 4px 10px; border-radius: 999px; background: #FFF6E5; color: #8A5A00; }
.tool-card .badge { align-self: flex-start; margin-top: 18px; }
.tool-card h3 { margin-top: 12px; }
.tool-card .btn { margin-top: auto; align-self: flex-start; }
.tool-card p { margin-bottom: 24px; }

/* Blog */
.chip-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.chip-link {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px;
  background: var(--white); border: 1.5px solid var(--line); color: var(--charcoal); font-size: 15px; font-weight: 500; text-decoration: none;
}
.chip-link span { font-size: 12px; font-weight: 600; color: var(--slate); background: var(--mist); border-radius: 999px; padding: 1px 8px; }
.chip-link:hover { border-color: var(--action); color: var(--teal); }
.chip-link[aria-current="page"] { background: var(--teal); border-color: var(--teal); color: var(--white); }
.chip-link[aria-current="page"] span { background: rgba(255,255,255,.15); color: var(--white); }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card); transition: border-color .15s, box-shadow .15s; }
.post-card:hover { border-color: var(--action); box-shadow: 0 8px 24px rgba(0,45,45,.08); }
.post-card-link { display: flex; flex-direction: column; height: 100%; padding: 28px; color: inherit; text-decoration: none; }
.post-card-link:hover { color: inherit; }
.post-card h3 { margin: 14px 0 10px; }
.post-card .muted { font-size: 15px; line-height: 1.55; margin-bottom: 20px; }
.post-meta { margin: auto 0 0; font-size: 13px; color: var(--slate); }
.post-card.featured { grid-column: 1 / -1; background: var(--teal); border-color: var(--teal); }
.post-card.featured .post-card-link { padding: 40px; }
.post-card.featured h3 { color: var(--white); font-size: clamp(24px, 3vw, 32px); line-height: 1.2; max-width: 820px; }
.post-card.featured .muted { color: rgba(255,255,255,.8); font-size: 17px; max-width: 760px; }
.post-card.featured .post-meta { color: rgba(255,255,255,.6); }
.post-card.featured .tag-pill { background: rgba(149,190,70,.15); color: var(--growth); }
.post-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-pill { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .04em; padding: 3px 10px; border-radius: 999px; background: #ECF5EF; color: var(--forest); text-decoration: none; }
a.tag-pill:hover { background: var(--growth); color: var(--teal); }
.post-hero .post-tags .tag-pill { background: rgba(149,190,70,.15); color: var(--growth); }
.post-hero h1 { margin-top: 16px; }
.post-back { margin: 0 0 24px; font-size: 14px; }
.post-back a { display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,.7); text-decoration: none; }
.post-back a:hover { color: var(--white); }
.post-back .ic { width: 16px; height: 16px; transform: rotate(180deg); }
.byline { display: flex; align-items: center; gap: 12px; margin-top: 28px; }
.byline img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.byline strong { display: block; color: var(--white); font-size: 15px; }
.byline span { font-size: 14px; color: rgba(255,255,255,.65); }

.article { max-width: 740px; margin: 0 auto; font-size: 18px; line-height: 1.7; }
.article > p:first-child { font-size: 20px; line-height: 1.6; color: var(--teal); }
.article h2 { font-size: clamp(24px, 2.6vw, 28px); line-height: 1.25; letter-spacing: -.015em; margin: 48px 0 14px; }
.article h3 { font-size: 20px; margin: 32px 0 10px; }
.article p { margin: 0 0 20px; }
.article ul, .article ol { padding-left: 24px; margin: 0 0 20px; }
.article li { margin-bottom: 8px; }
.article li::marker { color: var(--forest); font-weight: 600; }
.article strong { color: var(--teal); }
.article table { width: 100%; border-collapse: collapse; margin: 8px 0 28px; font-size: 16px; }
.article th, .article td { text-align: left; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.article thead th { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--slate); font-weight: 600; border-bottom: 2px solid var(--teal); }
.article td.num, .article th.num { text-align: right; padding-right: 0; font-variant-numeric: tabular-nums; }
.callout { background: var(--mist); border-left: 4px solid var(--growth); border-radius: 0 var(--radius-card) var(--radius-card) 0; padding: 20px 24px; margin: 28px 0; font-size: 17px; }
.callout p:last-child { margin-bottom: 0; }
.callout-title { font-weight: 700; color: var(--teal); margin-bottom: 6px !important; }
.formula { background: var(--teal); color: var(--white); border-radius: var(--radius-card); padding: 22px 26px; margin: 24px 0; font-size: 18px; font-weight: 600; line-height: 1.5; }
.formula span { color: var(--growth); }
.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 28px 0; }
.stat-row div { background: var(--mist); border-radius: var(--radius-card); padding: 18px 20px; }
.stat-row strong { display: block; font-size: 30px; line-height: 1.1; letter-spacing: -.02em; color: var(--teal); }
.stat-row span { display: block; font-size: 14px; line-height: 1.4; color: var(--slate); margin-top: 6px; }
.author-box { display: flex; gap: 20px; align-items: flex-start; margin-top: 56px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-card); font-size: 16px; line-height: 1.6; }
.author-box img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; }
.author-box p { margin: 0 0 10px; }
.author-name { font-weight: 700; color: var(--teal); }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font-weight: 600; font-size: 18px; color: var(--teal); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-size: 26px; font-weight: 400; color: var(--forest); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 22px; color: var(--charcoal); max-width: 720px; }

/* CTA band */
.cta-band { text-align: center; }
.cta-band h2 { max-width: 760px; margin: 0 auto 16px; }
.cta-band .lead { max-width: 620px; margin: 0 auto 32px; }
.cta-band .btn-row { justify-content: center; }

/* Founder strip */
.founder { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 56px; align-items: center; }
.founder img { width: 100%; border-radius: 16px; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 20%; }
.founder blockquote { margin: 0 0 20px; font-size: clamp(20px, 2.2vw, 26px); line-height: 1.4; font-weight: 500; color: var(--teal); letter-spacing: -.01em; }
.founder cite { display: block; font-style: normal; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); margin-bottom: 20px; }

/* Forms */
.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 40px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.form-grid > .full { grid-column: 1 / -1; }
.field label, fieldset legend { font-size: 15px; font-weight: 600; color: var(--teal); }
.req { color: var(--alert); margin-left: 2px; }
.hint { font-size: 13px; color: var(--slate); font-weight: 400; }
input[type="text"], input[type="email"], input[type="url"], select, textarea {
  width: 100%; font: 400 16px/1.5 var(--font); color: var(--charcoal); background: var(--white);
  border: 1.5px solid var(--line); border-radius: var(--radius-btn); padding: 11px 14px; min-height: 48px;
}
textarea { min-height: 130px; resize: vertical; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B6670' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--action); box-shadow: 0 0 0 3px rgba(0,128,96,.18); }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset legend { padding: 0; margin-bottom: 10px; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1.5px solid var(--line); border-radius: 999px; font-size: 15px; cursor: pointer; user-select: none; transition: border-color .15s, background .15s; }
.choice span::before { content: ""; width: 16px; height: 16px; border: 1.5px solid #9AA5AE; border-radius: 4px; flex: none; background: var(--white) center / 12px no-repeat; }
.choice input:checked + span { border-color: var(--action); background: #ECF5EF; color: var(--teal); }
.choice input:checked + span::before { background-color: var(--action); border-color: var(--action); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.choice input:focus-visible + span { outline: 3px solid var(--action); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--charcoal); }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--action); flex: none; }
.field-error { margin: 0; font-size: 14px; line-height: 1.4; color: var(--alert); font-weight: 500; }
.consent .field-error { flex-basis: 100%; padding-left: 30px; }
.consent { flex-wrap: wrap; }
.is-invalid input:not([type="checkbox"]), .is-invalid select, .is-invalid textarea { border-color: var(--alert); }
.is-invalid input:focus, .is-invalid select:focus, .is-invalid textarea:focus { box-shadow: 0 0 0 3px rgba(197,48,48,.15); }
.is-invalid.consent input { outline: 2px solid var(--alert); outline-offset: 1px; }
.form-alert { background: #FBF1F1; color: #8A2323; border: 1px solid #F0C9C9; border-radius: var(--radius-btn); padding: 12px 16px; font-size: 15px; font-weight: 500; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 8px; }
.hidden-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.aside-card { background: var(--mist); border-radius: 16px; padding: 32px; }
.aside-card h2 { font-size: 20px; margin-bottom: 18px; }
.aside-steps { list-style: none; counter-reset: s; display: grid; gap: 18px; margin-bottom: 28px; }
.aside-steps li { counter-increment: s; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; font-size: 15px; line-height: 1.5; }
.aside-steps li::before { content: counter(s); width: 28px; height: 28px; border-radius: 50%; background: var(--teal); color: var(--white); font-size: 13px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.aside-steps strong { color: var(--teal); display: block; }

/* Legal */
.legal { max-width: 780px; }
.legal h2 { font-size: 22px; margin: 44px 0 12px; }
.legal h3 { font-size: 17px; margin: 24px 0 8px; }
.legal ul { padding-left: 22px; margin-bottom: 16px; }
.legal li { margin-bottom: 6px; }
.legal .updated { color: var(--slate); font-size: 15px; }

/* Footer */
.site-footer { background: var(--teal); color: rgba(255,255,255,.72); padding: 72px 0 32px; font-size: 15px; border-top: 1px solid rgba(255,255,255,.1); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand img { height: 40px; width: auto; }
.footer-tag { font-size: 22px; font-weight: 600; color: var(--white); letter-spacing: -.02em; margin: 22px 0 10px; }
.footer-tag span { color: var(--growth); }
.footer-note { max-width: 340px; font-size: 14px; line-height: 1.6; }
.footer-h { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--growth); margin-bottom: 16px; }
.footer-links { list-style: none; display: grid; gap: 10px; }
.footer-links a { color: rgba(255,255,255,.82); text-decoration: none; }
.footer-links a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; color: rgba(255,255,255,.55); }

/* Responsive */
@media (max-width: 1080px) {
  .stats, .auto-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 32px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; }
  .form-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  :root { --section: 72px; }
  .hero { padding-top: 56px; }
  .hero-grid, .split, .founder { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero-photo { max-width: 380px; }
  .hero-chip { left: auto; right: -12px; bottom: 20px; }
  .grid-3 { grid-template-columns: minmax(0, 1fr); }
  .post-grid { grid-template-columns: minmax(0, 1fr); }
  .post-card.featured .post-card-link { padding: 28px; }
  .stat-row { grid-template-columns: minmax(0, 1fr); }
  .article { font-size: 17px; }
  .author-box { flex-direction: column; }
  .cs-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .founder img { max-width: 260px; }
  .phase { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .split-photo { max-width: 420px; }
}
@media (max-width: 600px) {
  :root { --gutter: 16px; --section: 60px; }
  .grid-2, .grid-4, .stats, .auto-grid, .form-grid { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .page-hero { padding: 56px 0 48px; }
  .form-card { padding: 24px 20px; }
  .card { padding: 24px; }
  .channel-strip { margin-top: 48px; gap: 10px 24px; }
  .hero-chip { right: 8px; max-width: 230px; }
  .results-table td { white-space: normal; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .btn-row .btn { width: 100%; }
  .stats-2 { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
