/* ProlifAI — base styles
   Design: field-research instrument. Cool sage paper, bottle-green ink,
   restrained indigo, antique brass. Grotesk display / serif body /
   Plex Sans for chrome / mono for coordinates and labels. */

:root {
  --ink: #101c18;
  --ink-soft: #4a5a51;
  --paper: #e8ece5;
  --paper-alt: #dde4db;
  --card: #f3f5f0;
  --line: #c5cec1;
  --line-strong: #a8b3a6;
  --accent: #3c46c4;
  --accent-ink: #eceeff;
  --accent-soft: #cfd3ef;
  --gold: #8f6d28;
  --radius: 2px;
  --radius-sm: 2px;
  --max: 1080px;
  --header: 0 1px 0 rgba(16, 28, 24, 0.06);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[hidden] { display: none !important; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Bricolage Grotesque', 'Arial Narrow', sans-serif;
  color: var(--ink);
  margin: 0 0 0.45em;
  letter-spacing: -0.022em;
  font-weight: 600;
  text-wrap: balance;
}

.mono {
  font-family: 'IBM Plex Mono', 'SFMono-Regular', Consolas, monospace;
}

p { margin: 0 0 1em; color: var(--ink-soft); max-width: 62ch; }
a { color: inherit; }

img, svg { display: block; max-width: 100%; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.skip-link {
  position: absolute;
  left: 12px; top: -48px;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  z-index: 200;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 13px;
  text-decoration: none;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: var(--radius-sm);
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: var(--paper);
}
.btn-primary:hover { background: #1a2d26; }
.btn-primary:disabled {
  opacity: 0.62;
  cursor: wait;
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--ink); background: rgba(16, 28, 24, 0.03); }
.btn:focus-visible,
a:focus-visible,
button:focus-visible,
textarea:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(232, 236, 229, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: none;
}
.site-header.is-scrolled {
  background: rgba(232, 236, 229, 0.96);
  box-shadow: var(--header);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
}
.logo svg { color: var(--accent); flex-shrink: 0; }

.site-nav {
  display: flex;
  gap: 28px;
}
.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 13px;
  letter-spacing: 0.01em;
  transition: color .15s ease;
}
.site-nav a:hover { color: var(--ink); }

.nav-cta {
  flex-shrink: 0;
  padding: 8px 14px;
  font-size: 12.5px;
}

.coord-strip {
  border-top: 1px solid var(--line);
}
.coord-inner {
  display: flex;
  gap: 22px;
  padding-top: 8px;
  padding-bottom: 8px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  text-transform: uppercase;
  overflow-x: auto;
  white-space: nowrap;
}
.coord-inner span + span::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 3px;
  margin-right: 22px;
  border-radius: 50%;
  background: var(--gold);
  vertical-align: middle;
  opacity: 0.85;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
  padding: 0;
}
.menu-toggle span {
  display: block;
  width: 14px;
  height: 1px;
  background: var(--ink);
  margin: 0 auto;
  transition: transform .2s ease, opacity .2s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0;
  padding: 4px 28px 20px;
  border-top: 1px solid var(--line);
}
.mobile-nav a {
  padding: 13px 0;
  text-decoration: none;
  color: var(--ink-soft);
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 14px;
  border-bottom: 1px solid var(--line);
}
.mobile-nav .btn { margin-top: 14px; justify-content: center; border-bottom: none; }
.mobile-nav.open { display: flex; }

/* Hero */
.hero {
  padding: 88px 0 72px;
  background:
    repeating-linear-gradient(90deg, rgba(16, 28, 24, 0.028) 0 1px, transparent 1px 160px),
    var(--paper);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.95fr);
  gap: 56px;
  align-items: start;
}
.hero-inner { padding-top: 34px; }
.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  font-weight: 500;
  color: var(--gold);
  margin: 0 0 22px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}
.eyebrow.center { justify-content: center; }

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.55rem);
  line-height: 1.06;
  font-weight: 600;
  margin-bottom: 0.35em;
}
.hero h1 em {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.hero-lede {
  font-size: 1.12rem;
  line-height: 1.7;
  max-width: 58ch;
  color: var(--ink-soft);
  margin-bottom: 0;
}
.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* Build box — the one dark, instrumented moment */
.build-box {
  margin-top: 0;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  padding: 28px 28px 24px;
  max-width: none;
  position: relative;
}
.build-box::before,
.build-box::after {
  content: "";
  position: absolute;
  width: 8px; height: 8px;
  border: 1px solid rgba(207, 211, 239, 0.45);
  top: 9px;
}
.build-box::before { left: 9px; border-right: none; border-bottom: none; }
.build-box::after { right: 9px; border-left: none; border-bottom: none; }

.build-box-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  color: var(--accent-soft);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid #24352d;
}
.dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  display: inline-block;
}
.build-box h2 {
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: var(--paper);
}
.build-sub {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 22px;
  color: #9eada4;
  font-family: 'Source Serif 4', serif;
}

.chat-window {
  border: 1px solid #24352d;
  background: #122019;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.chat-log {
  min-height: 180px;
  max-height: 260px;
  overflow-y: auto;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.chat-message {
  max-width: 88%;
  padding: 11px 13px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.6;
}
.chat-message p { margin: 0; max-width: none; }
.chat-message-bot {
  align-self: flex-start;
  background: #16261f;
  border: 1px solid #2a3c34;
  color: #d5ddd6;
}
.chat-message-user {
  align-self: flex-end;
  background: var(--paper);
  color: var(--ink);
}
.chat-composer {
  border-top: 1px solid #24352d;
  padding: 18px;
}
.chat-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
}

.contact-form-head {
  margin-bottom: 16px;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}
.correspondence-form {
  margin-top: 18px;
  border-top: 1px solid #24352d;
  padding-top: 18px;
}
.correspondence-form[hidden] { display: none !important; }

.field-label {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  color: #8a9a90;
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.build-form textarea,
#chatInput,
.correspondence-form input,
.correspondence-form textarea {
  width: 100%;
  border: 1px solid #2a3c34;
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  font-family: 'Source Serif 4', serif;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--paper);
  background: #16261f;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.build-form textarea,
#chatInput,
.correspondence-form textarea {
  resize: vertical;
  min-height: 96px;
}
.build-form textarea::placeholder,
.build-followup input::placeholder,
#chatInput::placeholder,
.correspondence-form input::placeholder,
.correspondence-form textarea::placeholder { color: #6a7b72; }
.build-form textarea:focus,
.build-followup input:focus,
#chatInput:focus,
.correspondence-form input:focus,
.correspondence-form textarea:focus {
  outline: none;
  border-color: #5c68c8;
  box-shadow: 0 0 0 3px rgba(60, 70, 196, 0.18);
}
.build-form textarea[aria-invalid="true"],
.build-followup input[aria-invalid="true"],
.correspondence-form input[aria-invalid="true"],
.correspondence-form textarea[aria-invalid="true"] {
  border-color: #c4a15a;
}

.suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}
.chip {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 12.5px;
  line-height: 1.35;
  padding: 6px 11px;
  border-radius: var(--radius-sm);
  border: 1px solid #2a3c34;
  background: transparent;
  color: #8a9a90;
  cursor: pointer;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.chip:hover {
  border-color: #4a5e54;
  color: #d5ddd6;
  background: #16261f;
}

.build-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #24352d;
}
.build-hint {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.02em;
  color: #6a7b72;
}
.build-box .btn-primary {
  background: var(--paper);
  color: var(--ink);
}
.build-box .btn-primary:hover { background: #f7f8f5; }
.build-box .btn-primary:disabled { background: #c5cec1; color: var(--ink); }

.build-form.is-step-brief .build-followup { display: none; }
.build-form.is-step-email .build-step { display: none; }
.build-form.is-sent { display: none; }

.build-followup { margin-top: 0; }
.followup-brief {
  font-family: 'Source Serif 4', serif;
  font-style: italic;
  font-size: 15px;
  color: #c5d0c7;
  background: #16261f;
  border-left: 1px solid var(--gold);
  padding: 12px 14px;
  margin-bottom: 18px;
  max-width: none;
}
.followup-alt {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 12.5px;
  color: #6a7b72;
  margin-top: 12px;
  margin-bottom: 0;
  max-width: none;
}
.followup-alt a { color: var(--accent-soft); text-decoration: none; }
.followup-alt a:hover { text-decoration: underline; }

.correspondence-form .followup-alt {
  color: #9eada4;
  margin-top: 0;
}

.form-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.build-success,
.build-error {
  margin-top: 4px;
  padding-top: 8px;
}
.build-success {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.build-success svg { color: var(--gold); flex-shrink: 0; margin-top: 3px; }
.success-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
  color: var(--paper);
}
.success-sub { font-size: 14.5px; margin: 0; color: #9eada4; max-width: none; }

.build-error {
  border-top: 1px solid #24352d;
  padding-top: 18px;
}
.build-error p {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 13.5px;
  color: #c5d0c7;
  margin: 0;
  max-width: none;
}
.build-error a { color: var(--accent-soft); }

/* Sections */
.section { padding: 96px 0; }
.section-alt { background: var(--paper-alt); }
.section h2 { font-size: clamp(1.65rem, 2.8vw, 2.05rem); }
.section h2.center, .section .center { text-align: center; margin-left: auto; margin-right: auto; }
.section-lede {
  max-width: 54ch;
  font-size: 1.05rem;
  margin: 0 auto 52px;
  text-align: center;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 72px;
  align-items: start;
}
.about-copy h2 { margin-bottom: 0.55em; }
.about-facts {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.about-facts li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12.5px;
  letter-spacing: 0.01em;
}
.fact-label { color: var(--ink-soft); }
.fact-value { font-weight: 500; text-align: right; color: var(--ink); }

/* Process */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 48px;
}
.product-card {
  background: var(--card);
  padding: 30px 28px 32px;
}
.product-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 14px;
}
.product-card h3 {
  font-size: 1.16rem;
  margin-bottom: 10px;
}
.product-card p {
  font-size: 14.5px;
  margin: 0;
  max-width: none;
}
.product-note {
  margin-top: 14px !important;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--ink);
}

/* Process */
.process {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.process-step {
  background: var(--card);
  padding: 28px 24px 30px;
}
.process-num {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 18px;
  letter-spacing: 0.1em;
}
.process-step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.process-step p { font-size: 14.5px; margin: 0; max-width: none; }

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 48px;
}
.value-card {
  background: var(--card);
  padding: 32px 28px 34px;
  text-align: left;
}
.value-icon {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.value-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.value-card p { font-size: 14.5px; margin: 0; max-width: none; }

/* Who */
.who-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 48px;
}
.who-card {
  background: var(--card);
  padding: 40px 34px;
}
.who-card h3 { font-size: 1.15rem; }
.who-card p { margin: 0; font-size: 15.5px; max-width: none; }

/* CTA */
.cta-section { text-align: center; }
.cta-inner { max-width: 540px; margin: 0 auto; }
.cta-inner h2 { font-size: clamp(1.7rem, 2.8vw, 2.1rem); }
.cta-inner p { margin-left: auto; margin-right: auto; }
.cta-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 44px 0 36px;
  background: var(--paper-alt);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px 40px;
  align-items: center;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.footer-brand .logo { margin-right: 0; font-size: 16px; }
.footer-tag {
  font-family: 'Source Serif 4', serif;
  font-style: italic;
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
  max-width: none;
}
.footer-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.footer-nav a {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 13px;
  text-decoration: none;
  color: var(--ink-soft);
}
.footer-nav a:hover { color: var(--ink); }
.footer-legal {
  grid-column: 1 / -1;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  margin: 4px 0 0;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  max-width: none;
}
.footer-legal a {
  color: inherit;
  text-decoration: none;
}
.footer-legal a:hover { color: var(--ink); }
.footer-notices {
  display: inline;
}
.footer-notices::before {
  content: "·";
  margin: 0 0.55em;
  color: var(--line-strong);
}
.footer-notices a + a::before {
  content: "·";
  margin: 0 0.55em;
  color: var(--line-strong);
  pointer-events: none;
}

/* Operating notices — surgical reuse of tokens, type, and fact list */
.notice-banner {
  border-bottom: 1px solid var(--line);
  background: var(--paper-alt);
}
.notice-banner .wrap {
  padding-top: 10px;
  padding-bottom: 10px;
}
.notice-banner p {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0;
  max-width: none;
}
.notice-banner strong {
  color: var(--ink);
  font-weight: 500;
}

.notice-hero {
  padding: 64px 0 0;
  background:
    repeating-linear-gradient(90deg, rgba(16, 28, 24, 0.028) 0 1px, transparent 1px 160px),
    var(--paper);
}
.notice-hero-inner { max-width: 720px; }
.notice-hero h1 {
  font-size: clamp(2rem, 4.2vw, 2.7rem);
  line-height: 1.08;
  margin-bottom: 0.35em;
}
.notice-lede {
  font-size: 1.08rem;
  line-height: 1.7;
  max-width: 58ch;
  margin-bottom: 0;
}
.notice-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.notice-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 13px;
}
.notice-switch a {
  text-decoration: none;
  color: var(--ink-soft);
}
.notice-switch a:hover { color: var(--ink); }
.notice-switch a[aria-current="page"] {
  color: var(--ink);
  box-shadow: inset 0 -1px 0 var(--ink);
}

.notice-doc {
  padding: 48px 0 96px;
}
.notice-doc-inner { max-width: 720px; }
.notice-doc h2 {
  font-size: 1.12rem;
  margin: 2.35em 0 0.55em;
  padding-top: 1.35em;
  border-top: 1px solid var(--line);
}
.notice-doc h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
.notice-doc p,
.notice-doc li {
  color: var(--ink-soft);
}
.notice-doc ul,
.notice-doc ol {
  margin: 0 0 1em;
  padding-left: 1.2em;
  max-width: 62ch;
}
.notice-doc li { margin-bottom: 0.4em; }
.notice-doc a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.notice-doc a:hover { color: var(--ink); }
.notice-doc .about-facts {
  margin: 8px 0 1.4em;
  max-width: none;
}
.notice-doc .about-facts .fact-value {
  flex: 1 1 12rem;
  min-width: 0;
}
.notice-doc .about-facts a {
  color: inherit;
  text-decoration: none;
}
.notice-doc .about-facts a:hover { color: var(--accent); }

.notice-callout {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 2px solid var(--gold);
  padding: 20px 22px 8px;
  margin: 0 0 1.4em;
  max-width: 62ch;
}
.notice-callout h2 {
  margin: 0 0 0.5em;
  padding: 0;
  border: none;
  font-size: 1.02rem;
}
.notice-callout p:last-child { margin-bottom: 0.8em; }

@media (max-width: 760px) {
  .notice-hero { padding: 40px 0 0; }
  .notice-doc { padding: 36px 0 72px; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-inner {
    animation: rise 0.65s ease both;
  }
  .build-box {
    animation: rise 0.7s ease 0.08s both;
  }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-inner { padding-top: 0; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .products-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr; }
  .who-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-nav { justify-content: flex-start; }
}

@media (max-width: 760px) {
  .footer-notices {
    display: block;
    margin-top: 8px;
  }
  .footer-notices::before { content: none; }
  .wrap { padding: 0 20px; }
  .site-nav, .nav-cta { display: none; }
  .menu-toggle { display: flex; }
  .mobile-nav { display: none; padding-left: 20px; padding-right: 20px; }
  .mobile-nav.open { display: flex; }
  .coord-inner { gap: 16px; }
  .coord-inner span + span::before { margin-right: 16px; }
  .hero { padding: 56px 0 48px; }
  .build-box { padding: 24px 18px 22px; }
  .chat-actions { flex-direction: column; align-items: stretch; }
  .contact-grid { grid-template-columns: 1fr; }
  .build-form-footer { flex-direction: column; align-items: stretch; }
  .build-form-footer .btn { justify-content: center; }
  .process { grid-template-columns: 1fr; }
  .section { padding: 68px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
