/* Growth Point Studio — shared design system.
   Source of truth: studio-site-design/00_DESIGN_SYSTEM.md + business.html
   extended token set. Dark theme, teal accent, Space Grotesk + Inter. */

:root {
  --bg: #0a0c0b;
  --bg-2: #0b100e;
  --card: #121614;
  --card-2: #0e1512;
  --line: #232a27;
  --line-2: #1c2823;
  --teal: #1fd3a5;
  --teal-dim: rgba(31, 211, 165, 0.07);
  --teal-glow: rgba(31, 211, 165, 0.14);
  --txt: #f2f5f4;
  --muted: #9aa8a2;
  --muted-2: #7e8c86;
  --head: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
  --body: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --radius: 16px;
  --maxw: 1100px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
body {
  background: var(--bg);
  color: var(--txt);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.15; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
/* Links inside running text must not rely on color alone (WCAG 1.4.1) */
p a:not(.btn), li a:not(.btn), td a:not(.btn), .callout a:not(.btn), .fine a:not(.btn), .support a:not(.btn) {
  text-decoration: underline;
  text-underline-offset: 2px;
}
img, video { max-width: 100%; height: auto; }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--teal); color: #06110d; padding: 10px 16px; font-weight: 700; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

/* ---- Nav ---- */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 12, 11, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-nav .inner {
  max-width: var(--maxw); margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; gap: 28px;
}
.site-nav .logo img { height: 40px; width: auto; display: block; }
.site-nav ul { display: flex; gap: 22px; list-style: none; margin-left: auto; align-items: center; }
.site-nav a.nl { color: var(--txt); font-size: 15px; }
.site-nav a.nl:hover { color: var(--teal); text-decoration: none; }
.site-nav a.nl[aria-current="page"] { color: var(--teal); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--txt); border-radius: 8px; padding: 8px 12px; font-size: 18px; cursor: pointer; }
@media (max-width: 860px) {
  .nav-toggle { display: block; margin-left: auto; }
  .site-nav ul { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 16px 24px; gap: 14px; margin: 0; align-items: flex-start; }
  .site-nav ul.open { display: flex; }
}

/* ---- Buttons ---- */
.btn {
  display: inline-block; background: var(--teal); color: #06110d;
  font-weight: 700; font-family: var(--head);
  padding: 13px 26px; border-radius: 8px; border: 0; cursor: pointer; font-size: 16px;
}
.btn:hover { filter: brightness(1.08); text-decoration: none; }
.btn.ghost { background: transparent; color: var(--txt); border: 1px solid var(--line); }
.btn.ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

/* ---- Sections / cards ---- */
.section { padding: 96px 0; }
@media (max-width: 860px) { .section { padding: 56px 0; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.callout { background: var(--teal-dim); border: 1px solid rgba(31, 211, 165, 0.3); border-radius: 12px; padding: 20px 24px; }
.kicker { color: var(--teal); font-family: var(--head); text-transform: uppercase; letter-spacing: 0.12em; font-size: 13px; font-weight: 600; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 860px) { .grid2, .grid3 { grid-template-columns: 1fr; } }

/* ---- Forms ---- */
.form-field { margin-bottom: 22px; }
.form-field label { display: block; font-weight: 600; margin-bottom: 6px; }
.form-field .helper { color: var(--muted); font-size: 14px; margin-top: 4px; }
.form-field input[type="text"], .form-field input[type="email"], .form-field input[type="url"], .form-field input[type="date"],
.form-field select, .form-field textarea {
  width: 100%; background: var(--card-2); color: var(--txt);
  border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; font-size: 16px; font-family: var(--body);
}
.form-field textarea { min-height: 110px; resize: vertical; }
.form-field.has-error input, .form-field.has-error select, .form-field.has-error textarea { border-color: #e0655a; }
.error-text { color: #ff9b91; font-size: 14px; margin-top: 6px; }
.error-summary { background: rgba(224, 101, 90, 0.1); border: 1px solid rgba(224, 101, 90, 0.45); border-radius: 12px; padding: 18px 22px; margin-bottom: 26px; }
.error-summary h2 { font-size: 17px; margin-bottom: 8px; }
.check-row { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.check-row input[type="checkbox"], .radio-row input[type="radio"] { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--teal); flex-shrink: 0; }
.radio-row { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 10px; }

/* Honeypot — visually hidden but present for bots */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---- DRAFT banner (D11/D15/D18 — removed only after attorney sign-off) ---- */
.draft {
  background: rgba(240, 180, 41, 0.1); border: 1px solid rgba(240, 180, 41, 0.5);
  color: #f0c469; border-radius: 10px; padding: 12px 18px; font-size: 14px; margin: 18px 0;
}

/* ---- Footer ---- */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 60px; margin-top: 40px; color: var(--muted); font-size: 14px; }
.site-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
@media (max-width: 860px) { .site-footer .cols { grid-template-columns: 1fr; } }
.site-footer h3 { font-size: 14px; color: var(--txt); margin-bottom: 12px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--teal); }

/* ---- Tables ---- */
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; }
table.data th, table.data td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
table.data th { color: var(--teal); font-family: var(--head); font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; }

/* ---- Misc ---- */
.fine { color: var(--muted); font-size: 14px; }
.center { text-align: center; }
.mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 36px; }
.mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
