/* =========================================================
   EDICTA — Court Ink Refined (v1)
   - Newsreader serif (display + emphasis)
   - Inter sans (body, tabular numbers)
   - JetBrains Mono (eyebrows, labels, IDs)
   - Seal earned: logo wax + destructive only.
   - Italic accents move from seal to ink.
   ========================================================= */

:root {
  --ink: #10131A;
  --rule: #1F2D44;
  --quiet: #5A6273;
  --whisper: #9BA0AB;

  --paper: #FBFAF6;
  --vellum: #F2EEE2;
  --surface: #FFFDF7;

  --line: #E2DCCC;
  --line-strong: #C7BCA3;

  --bronze: #7A6132;
  --seal: #8C2F2F;

  --grid: rgba(16,19,26,0.06);
  --grid-strong: rgba(16,19,26,0.14);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
  min-height: 100vh;
}
::selection { background: var(--ink); color: var(--vellum); }

.serif { font-family: 'Newsreader', Georgia, serif; }
.mono  { font-family: 'JetBrains Mono', monospace; }
.tnum  { font-variant-numeric: tabular-nums; }

a { color: inherit; text-decoration: none; }

.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze);
  font-weight: 500;
}

.container       { max-width: 1320px; margin: 0 auto; padding: 0 4rem; }
.container-tight { max-width:  960px; margin: 0 auto; padding: 0 4rem; }
@media (max-width: 768px) {
  .container, .container-tight { padding: 0 1.5rem; }
}

/* ------------------------------------------------------------ */
/* TOP BAR                                                      */
/* ------------------------------------------------------------ */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.05rem 0;
  background: rgba(251, 250, 246, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  display: flex; justify-content: space-between; align-items: center;
  gap: 2rem;
}
.brand { display: flex; align-items: center; gap: 0.7rem; cursor: default; }
.brand-mark { width: 26px; height: 26px; flex-shrink: 0; }
.brand-name {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 500;
  font-size: 1.45rem;
  letter-spacing: -0.005em;
  color: var(--ink);
  line-height: 1;
}
.brand-name .accent { color: var(--seal); font-style: italic; font-weight: 500; }
.brand-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: var(--quiet);
  text-transform: uppercase;
  margin-left: 0.7rem;
  padding-left: 0.85rem;
  border-left: 1px solid var(--line);
}
@media (max-width: 600px) { .brand-tag { display: none; } }

.topnav {
  display: flex; gap: 2px; align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--quiet);
}
.topnav a {
  padding: 0.55rem 0.85rem;
  border: 1px solid transparent;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  cursor: default;
}
.topnav a:hover { color: var(--ink); border-color: var(--line); }
.topnav a.cta {
  color: var(--vellum);
  background: var(--ink);
  border-color: var(--ink);
  padding: 0.7rem 1.05rem;
}
.topnav a.cta:hover { background: var(--rule); border-color: var(--rule); }
.topnav a.signin { color: var(--whisper); cursor: pointer; }
.topnav a.signin:hover { color: var(--ink); border-color: var(--line); }
@media (max-width: 768px) { .topnav a:not(.cta) { display: none; } }

/* ------------------------------------------------------------ */
/* HERO                                                         */
/* ------------------------------------------------------------ */
.hero { padding: 7rem 0 5.25rem; position: relative; }

.hero-eyebrow { margin-bottom: 1.85rem; display: inline-block; }
.hero-eyebrow .seal-dot {
  display: inline-block; width: 7px; height: 7px;
  background: var(--seal); border-radius: 50%;
  margin-right: 0.7rem; vertical-align: middle;
  position: relative; top: -1px;
}

.hero-h1 {
  font-family: 'Newsreader', serif;
  font-weight: 500;
  font-size: clamp(2.5rem, 5.4vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -0.022em;
  color: var(--ink);
  margin-bottom: 1.6rem;
  max-width: 19ch;
  text-wrap: pretty;
}
.hero-h1 .accent { font-style: italic; color: var(--seal); font-weight: 500; }

.hero-lede {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--rule);
  line-height: 1.5;
  max-width: 60ch;
  margin-bottom: 3rem;
  padding-left: 1.1rem;
  border-left: 2px solid var(--bronze);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.4rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  color: var(--ink);
  text-transform: uppercase;
  margin-top: 3.25rem;
  background: transparent;
}
.hero-meta-item {
  display: inline-flex;
  align-items: center;
  font-weight: 500;
}
.hero-meta-item + .hero-meta-item::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--bronze);
  margin-right: 1.4rem;
  opacity: 0.7;
}

/* ------------------------------------------------------------ */
/* WHAT IT DOES — capability columns                            */
/* ------------------------------------------------------------ */
.does { padding: 8rem 0; border-top: 1px solid var(--line); }
.does-h {
  font-family: 'Newsreader', serif;
  font-weight: 500;
  font-size: clamp(2rem, 4.2vw, 3rem);
  letter-spacing: -0.018em;
  color: var(--ink);
  margin-bottom: 0.6rem;
  max-width: 22ch;
  line-height: 1.05;
}
.does-h .accent { font-style: italic; color: var(--seal); }
.does-sub {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-size: 1.25rem;
  color: var(--quiet);
  margin-bottom: 4.5rem;
  max-width: 52ch;
}
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-strong);
}
@media (max-width: 920px) { .cap-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cap-grid { grid-template-columns: 1fr; } }

.cap {
  padding: 2.25rem 2rem 2.5rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
  position: relative;
}
.cap:nth-child(3n) { border-right: none; }
@media (max-width: 920px) {
  .cap:nth-child(3n) { border-right: 1px solid var(--line); }
  .cap:nth-child(2n) { border-right: none; }
}
@media (max-width: 600px) {
  .cap { border-right: none !important; padding: 2rem 0; }
}

.cap-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.66rem; letter-spacing: 0.16em;
  color: var(--bronze);
  font-weight: 500;
  margin-bottom: 1rem;
}
.cap-h {
  font-family: 'Newsreader', serif;
  font-weight: 500;
  font-size: 1.4rem;
  letter-spacing: -0.008em;
  color: var(--ink);
  margin-bottom: 0.85rem;
  line-height: 1.18;
}
.cap-body {
  font-family: 'Inter', sans-serif;
  font-size: 0.93rem;
  color: var(--rule);
  line-height: 1.65;
}
.cap-body strong { color: var(--ink); font-weight: 600; }

/* ------------------------------------------------------------ */
/* RECOGNIZE                                                    */
/* ------------------------------------------------------------ */
.recognize {
  padding: 8rem 0;
  background: var(--vellum);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.recognize-grid {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 5rem;
  align-items: start;
}
@media (max-width: 920px) { .recognize-grid { grid-template-columns: 1fr; gap: 3rem; } }

.recognize-h {
  font-family: 'Newsreader', serif;
  font-weight: 500;
  font-size: clamp(2rem, 4.2vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.018em;
  color: var(--ink);
  margin-bottom: 1.1rem;
}
.recognize-h .accent { font-style: italic; color: var(--seal); }
.recognize-side { position: sticky; top: 6rem; }
.recognize-side-note {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--quiet);
  line-height: 1.5;
  margin-top: 1rem;
  max-width: 32ch;
}

.recognize-list {
  display: flex; flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line-strong);
}
.recognize-item {
  padding: 2rem 0 2rem 1.75rem;
  border-left: 2px solid var(--bronze);
  border-bottom: 1px solid var(--line);
  font-family: 'Newsreader', serif;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.5;
  margin-left: 0;
}
.recognize-item:last-child { border-bottom: none; }
.recognize-item .you {
  color: var(--seal);
  font-style: italic;
  font-weight: 500;
}
.recognize-item-attribution {
  font-family: 'JetBrains Mono', monospace;
  font-style: normal;
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-top: 1rem;
  font-weight: 500;
}

/* ------------------------------------------------------------ */
/* WHAT IT IS — dark statement                                  */
/* ------------------------------------------------------------ */
.is {
  padding: 9rem 0;
  background: var(--ink);
  color: var(--vellum);
  position: relative;
  overflow: hidden;
}
.is::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(242,238,226,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242,238,226,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}
.is .container-tight { position: relative; }
.is .eyebrow { color: var(--bronze) !important; }

.is-h {
  font-family: 'Newsreader', serif;
  font-weight: 500;
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  letter-spacing: -0.02em;
  color: var(--vellum);
  margin-bottom: 2.5rem;
  max-width: 24ch;
  line-height: 1.06;
}
.is-h .accent {
  font-style: italic;
  color: #E8B5A0;
}

.is-paragraph {
  font-family: 'Newsreader', serif;
  font-size: 1.4rem;
  line-height: 1.55;
  color: rgba(242,238,226,0.85);
  font-weight: 400;
  max-width: 58ch;
  margin-bottom: 1.5rem;
}
.is-paragraph:last-child { margin-bottom: 0; }
.is-paragraph strong {
  color: var(--vellum);
  font-weight: 500;
  font-style: italic;
}

.is-divider {
  width: 80px; height: 1px;
  background: var(--bronze);
  margin: 3rem 0;
  opacity: 0.7;
}

/* ------------------------------------------------------------ */
/* NOT — anti-positioning                                       */
/* ------------------------------------------------------------ */
.not {
  padding: 8rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.not-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
}
@media (max-width: 768px) { .not-grid { grid-template-columns: 1fr; gap: 3rem; } }

.not-col { padding-left: 2rem; border-left: 1px solid var(--line-strong); }
@media (max-width: 768px) { .not-col { padding-left: 1.25rem; } }

.not-h {
  font-family: 'Newsreader', serif;
  font-weight: 500;
  font-size: clamp(1.7rem, 3.2vw, 2.25rem);
  letter-spacing: -0.018em;
  color: var(--ink);
  margin-bottom: 1.25rem;
  line-height: 1.12;
  max-width: 18ch;
}
.not-h .accent { font-style: italic; color: var(--seal); }
.not-body {
  font-family: 'Inter', sans-serif;
  font-size: 0.98rem;
  color: var(--rule);
  line-height: 1.7;
  max-width: 44ch;
}
.not-body p { margin-bottom: 1rem; }
.not-body p:last-child { margin-bottom: 0; }
.not-body strong { color: var(--ink); font-weight: 600; }
.not-body em {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-size: 1.08rem;
  color: var(--ink);
}

/* ------------------------------------------------------------ */
/* ARCHITECTURE                                                  */
/* ------------------------------------------------------------ */
.arch { padding: 9rem 0; background: var(--vellum); border-top: 1px solid var(--line); }
.arch-eyebrow { display: block; margin-bottom: 1.25rem; }
.arch-h {
  font-family: 'Newsreader', serif;
  font-weight: 500;
  font-size: clamp(2rem, 4.2vw, 3rem);
  letter-spacing: -0.018em;
  color: var(--ink);
  margin-bottom: 2rem;
  max-width: 22ch;
  line-height: 1.05;
}
.arch-h .accent { font-style: italic; color: var(--seal); }
.arch-body {
  font-family: 'Newsreader', serif;
  font-size: 1.4rem;
  line-height: 1.5;
  color: var(--rule);
  max-width: 60ch;
  margin-bottom: 4rem;
}
.arch-body strong { color: var(--ink); font-weight: 500; font-style: italic; }

.arch-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--line-strong);
  background: var(--surface);
}
@media (max-width: 768px) { .arch-points { grid-template-columns: 1fr; } }

.arch-pt {
  padding: 2rem 1.85rem 2rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.arch-pt:nth-child(2n) { border-right: none; }
.arch-pt:nth-last-child(-n+2) { border-bottom: none; }
@media (max-width: 768px) {
  .arch-pt { border-right: none; border-bottom: 1px solid var(--line); }
  .arch-pt:last-child { border-bottom: none; }
}
.arch-pt-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--bronze);
  font-weight: 500;
  margin-bottom: 0.85rem;
}
.arch-pt-h {
  font-family: 'Newsreader', serif;
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--ink);
  margin-bottom: 0.55rem;
  letter-spacing: -0.005em;
  line-height: 1.22;
}
.arch-pt-body {
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  color: var(--rule);
  line-height: 1.65;
}

.arch-fineprint {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: var(--quiet);
  margin-top: 2.5rem;
  line-height: 1.7;
  max-width: 56ch;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

/* ------------------------------------------------------------ */
/* CONTACT — dark form                                           */
/* ------------------------------------------------------------ */
.contact {
  padding: 9rem 0 6.5rem;
  background: var(--ink);
  color: var(--vellum);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(242,238,226,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242,238,226,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}
.contact-inner { position: relative; }
.contact-eyebrow { color: var(--bronze); margin-bottom: 1.5rem; display: block; }

.contact-h {
  font-family: 'Newsreader', serif;
  font-weight: 500;
  font-size: clamp(2.5rem, 5.2vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.022em;
  color: var(--vellum);
  margin-bottom: 1.6rem;
  max-width: 18ch;
}
.contact-h .accent { font-style: italic; color: #E8B5A0; }
.contact-lede {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-size: 1.3rem;
  color: rgba(242,238,226,0.78);
  max-width: 52ch;
  margin-bottom: 4rem;
  line-height: 1.5;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-bottom: 4rem;
}
@media (max-width: 880px) { .contact-layout { grid-template-columns: 1fr; gap: 3rem; } }

/* form — squared, no rounded corners, bronze focus */
.demo-form {
  border: 1px solid rgba(242,238,226,0.18);
  padding: 2rem 2rem 1.85rem;
  background: rgba(242,238,226,0.02);
}
.demo-form-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 1.6rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid rgba(242,238,226,0.14);
  font-weight: 500;
}

.field { display: block; margin-bottom: 1.25rem; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
@media (max-width: 480px) {
  .field-row { grid-template-columns: 1fr; gap: 0; margin-bottom: 0; }
  .field-row .field { margin-bottom: 1.25rem; }
}
.field-label {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.field-label .req { color: #E8B5A0; margin-left: 0.2rem; }

.field-input, .field-select, .field-textarea {
  width: 100%;
  background: rgba(242,238,226,0.04);
  border: 1px solid rgba(242,238,226,0.2);
  color: var(--vellum);
  font-family: 'Inter', sans-serif;
  font-size: 0.96rem;
  padding: 0.78rem 0.9rem;
  line-height: 1.4;
  -webkit-appearance: none; appearance: none;
  border-radius: 0;
  transition: border-color 0.15s, background 0.15s;
}
.field-textarea { min-height: 110px; resize: vertical; }
.field-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%237A6132' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.95rem center;
  padding-right: 2rem;
  cursor: pointer;
}
.field-select option { background: var(--ink); color: var(--vellum); }
.field-input::placeholder, .field-textarea::placeholder {
  color: rgba(242,238,226,0.35);
  font-style: italic;
}
.field-input:focus, .field-select:focus, .field-textarea:focus {
  outline: none;
  border-color: var(--bronze);
  background: rgba(242,238,226,0.06);
}
.field-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

.form-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(242,238,226,0.14);
  flex-wrap: wrap;
}
.form-fineprint {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  color: rgba(242,238,226,0.5);
  line-height: 1.4;
  flex: 1;
  min-width: 180px;
}
.btn-submit {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 0.95rem 1.6rem;
  background: var(--vellum);
  color: var(--ink);
  border: 1px solid var(--vellum);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  border-radius: 0;
  white-space: nowrap;
}
.btn-submit:hover:not(:disabled) { background: transparent; color: var(--vellum); }
.btn-submit:disabled { opacity: 0.5; cursor: wait; }

.form-status {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  border: 1px solid;
  display: none;
}
.form-status.is-error {
  display: block;
  border-color: rgba(232,181,160,0.4);
  color: #E8B5A0;
  background: rgba(232,181,160,0.06);
}

.form-success {
  display: none;
  padding: 2.5rem 2rem;
  text-align: left;
  border: 1px solid rgba(242,238,226,0.18);
  background: rgba(242,238,226,0.02);
}
.form-success.is-visible { display: block; }
.form-success-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 1rem;
}
.form-success-h {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-weight: 500;
  font-size: 1.65rem;
  color: var(--vellum);
  line-height: 1.25;
  margin-bottom: 0.75rem;
}
.form-success-body {
  font-family: 'Inter', sans-serif;
  font-size: 0.94rem;
  color: rgba(242,238,226,0.7);
  line-height: 1.6;
}
.form-success-body a { color: var(--vellum); border-bottom: 1px solid var(--bronze); }

.contact-side { padding-top: 0.5rem; }
.contact-side-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 1.25rem;
}
.contact-side-email {
  font-family: 'Newsreader', serif;
  font-weight: 500;
  font-size: 1.6rem;
  color: var(--vellum);
  margin-bottom: 0.5rem;
  letter-spacing: -0.005em;
}
.contact-side-email a {
  border-bottom: 1px solid var(--bronze);
  padding-bottom: 1px;
}
.contact-side-sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: rgba(242,238,226,0.6);
  line-height: 1.6;
  margin-bottom: 2.25rem;
  max-width: 32ch;
}
.contact-side-divider {
  width: 60px; height: 1px;
  background: var(--bronze);
  opacity: 0.55;
  margin: 2.25rem 0;
}
.contact-side-note {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: rgba(242,238,226,0.75);
  line-height: 1.55;
  max-width: 32ch;
}

.contact-fineprint {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: rgba(242,238,226,0.55);
  line-height: 1.7;
  max-width: 60ch;
  padding-top: 2rem;
  border-top: 1px solid rgba(242,238,226,0.14);
}

/* ------------------------------------------------------------ */
/* FOOTER                                                        */
/* ------------------------------------------------------------ */
footer {
  padding: 2.75rem 0;
  background: var(--ink);
  color: rgba(242,238,226,0.55);
  border-top: 1px solid rgba(242,238,226,0.1);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-brand {
  font-family: 'Newsreader', serif;
  font-size: 1.2rem;
  color: rgba(242,238,226,0.85);
}
.footer-brand .accent { color: #E8A0A0; font-style: italic; }
.footer-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  color: rgba(242,238,226,0.45);
}

/* ============================================================
   ADDITIONS (2026-09-30) — sub-pages, footer nav, mobile menu,
   accessibility. Everything above this block is the original
   inline stylesheet from the live page, unchanged.
   ============================================================ */

:root {
  /* bronze lightened for use on the dark ink background (5.5:1) */
  --bronze-on-dark: #A8874D;
}

/* accessibility */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--vellum);
  padding: 0.6rem 1rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase;
}
.skip-link:focus { left: 1rem; top: 1rem; outline: 2px solid var(--bronze); }
.topnav a[href] { cursor: pointer; }
.topnav a[aria-current="page"] { color: var(--ink); border-color: var(--line); }
.topnav a.signin { color: var(--quiet); }
.brand[href] { cursor: pointer; }
.topnav a:focus-visible, .footer-nav a:focus-visible, .prose a:focus-visible, .btn-cta:focus-visible,
.page-lede a:focus-visible, .section-link:focus-visible {
  outline: 2px solid var(--bronze); outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* contrast on the dark sections (original eyebrows/labels used bronze at 3.2:1) */
.page-cta .eyebrow, .is .eyebrow, .contact-eyebrow, .demo-form-title, .field-label,
.form-success-eyebrow, .contact-side-eyebrow { color: var(--bronze-on-dark) !important; }
.footer-meta { color: rgba(242,238,226,0.6); }

/* mobile disclosure menu (the original CSS hides top-nav links under 768px) */
.topnav-menu { display: none; position: relative; }
@media (max-width: 768px) {
  .topnav-menu { display: block; }
  .topnav-menu > summary {
    list-style: none; cursor: pointer;
    padding: 0.7rem 0.85rem;
    border: 1px solid var(--line);
    color: var(--ink);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase;
  }
  .topnav-menu > summary::-webkit-details-marker { display: none; }
  .topnav-menu[open] > summary { background: var(--vellum); }
  .topnav-menu-panel {
    position: absolute; right: 0; top: calc(100% + 0.5rem);
    min-width: 220px;
    background: var(--surface);
    border: 1px solid var(--line-strong);
    padding: 0.4rem 0;
    display: flex; flex-direction: column;
    box-shadow: 0 12px 32px rgba(16,19,26,0.10);
    z-index: 120;
  }
  .topnav-menu-panel a { display: block !important; padding: 0.8rem 1rem; border: 0; color: var(--ink); }
  .topnav-menu-panel a:hover, .topnav-menu-panel a[aria-current="page"] { background: var(--vellum); }
}

/* home: inline section links */
.section-link-row { margin-top: 2.25rem; }
.section-link {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--bronze);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
  transition: color 0.15s, border-color 0.15s;
}
.section-link:hover { color: var(--ink); border-color: var(--ink); }
.contact-lede a, .form-fineprint a { color: var(--vellum); border-bottom: 1px solid var(--bronze-on-dark); }

/* sub-page hero */
.page-hero { padding: 7.5rem 0 2.5rem; }
.breadcrumb {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--quiet);
  margin-bottom: 1.75rem;
}
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: '/' / ''; margin: 0 0.55rem; color: var(--whisper); }
.breadcrumb a { color: var(--bronze); }
.breadcrumb a:hover { color: var(--ink); }
.page-h1 {
  font-family: 'Newsreader', serif;
  font-weight: 500;
  font-size: clamp(2.2rem, 4.8vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 20ch;
  margin-bottom: 1.4rem;
  text-wrap: pretty;
}
.page-h1 .accent { font-style: italic; color: var(--seal); font-weight: 500; }
.page-lede {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-size: 1.25rem;
  color: var(--rule);
  line-height: 1.5;
  max-width: 60ch;
  padding-left: 1.1rem;
  border-left: 2px solid var(--bronze);
}
.page-lede a { color: var(--ink); border-bottom: 1px solid var(--bronze); }
.page-lede a:hover { border-color: var(--ink); }
.page-updated {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 0.66rem !important; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--bronze) !important;
}

/* prose (padding-top/bottom only: the side padding comes from .container-tight) */
.prose { padding-top: 1.5rem; padding-bottom: 5.5rem; }
.prose h2 {
  font-family: 'Newsreader', serif;
  font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.015em;
  line-height: 1.15;
  color: var(--ink);
  margin: 3.25rem 0 1rem;
  max-width: 28ch;
}
.prose h2:first-child { margin-top: 1rem; }
.prose h3 {
  font-family: 'Newsreader', serif;
  font-weight: 500;
  font-size: 1.3rem;
  color: var(--ink);
  margin: 2rem 0 0.6rem;
}
.prose p, .prose li {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--rule);
  max-width: 68ch;
}
.prose p { margin-bottom: 1.1rem; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose em { font-style: italic; }
.prose a { color: var(--ink); border-bottom: 1px solid var(--bronze); }
.prose a:hover { border-color: var(--ink); }
.prose ul, .prose ol { margin: 0 0 1.25rem 1.25rem; }
.prose li { margin-bottom: 0.45rem; }
.prose code { font-family: 'JetBrains Mono', monospace; font-size: 0.88em; color: var(--ink); }

/* stage table */
.stage-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0 1.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.93rem;
  line-height: 1.55;
}
.stage-table th[scope="col"] {
  text-align: left;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--bronze); font-weight: 500;
  padding: 0.75rem 1rem 0.75rem 0;
  border-bottom: 1px solid var(--line-strong);
  vertical-align: bottom;
}
.stage-table td, .stage-table th[scope="row"] {
  padding: 0.95rem 1rem 0.95rem 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  color: var(--rule);
  text-align: left;
}
.stage-table th[scope="row"] {
  font-family: 'Newsreader', serif;
  font-size: 1.08rem;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  width: 1%;
}
@media (max-width: 720px) {
  .stage-table thead {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
  }
  .stage-table tr { display: block; padding: 1rem 0; border-bottom: 1px solid var(--line); }
  .stage-table td, .stage-table th[scope="row"] { display: block; border: 0; padding: 0.25rem 0; }
  .stage-table th[scope="row"] { white-space: normal; width: auto; font-size: 1.2rem; }
  .stage-table td[data-label]::before {
    content: attr(data-label) / '';
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--bronze);
    margin: 0.6rem 0 0.2rem;
  }
}

/* FAQ */
.faq-list { border-top: 1px solid var(--line-strong); margin: 1.5rem 0 3rem; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 1.35rem 2.5rem 1.35rem 0;
  font-family: 'Newsreader', serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.3;
  position: relative;
}
.faq-list summary h2 { display: inline; font: inherit; margin: 0; color: inherit; letter-spacing: normal; max-width: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+' / '';
  position: absolute; right: 0.25rem; top: 1.25rem;
  font-family: 'JetBrains Mono', monospace;
  color: var(--bronze);
  font-size: 1.1rem;
}
.faq-list details[open] summary::after { content: '\2212' / ''; }
.faq-list summary:hover { color: var(--seal); }
.faq-list summary:focus-visible { outline: 2px solid var(--bronze); outline-offset: 4px; }
.faq-answer { padding: 0 0 1.5rem; max-width: 68ch; }
.faq-answer p { margin-bottom: 0.9rem; }

/* CTA band on sub-pages */
.page-cta {
  padding: 5.5rem 0;
  background: var(--ink);
  color: var(--vellum);
  border-top: 1px solid rgba(242,238,226,0.1);
}
.page-cta-h {
  font-family: 'Newsreader', serif;
  font-weight: 500;
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  letter-spacing: -0.018em;
  line-height: 1.1;
  color: var(--vellum);
  max-width: 24ch;
  margin-bottom: 2.25rem;
}
.page-cta-h .accent { font-style: italic; color: #E8B5A0; }
.btn-cta {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500;
  padding: 0.95rem 1.6rem;
  background: var(--vellum); color: var(--ink);
  border: 1px solid var(--vellum);
  transition: background 0.15s, color 0.15s;
}
.btn-cta:hover { background: transparent; color: var(--vellum); }

/* form status region stays rendered so announcements are reliable */
.form-status { display: block; padding: 0; border: 0; margin-top: 0; }
.form-status.is-error { padding: 0.85rem 1rem; border: 1px solid rgba(232,181,160,0.4); margin-top: 1rem; }
.form-success:focus { outline: 2px solid var(--bronze-on-dark); outline-offset: 4px; }

/* footer with navigation */
.footer-inner { flex-direction: column; align-items: stretch; gap: 1.4rem; }
.footer-row {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1.5rem 2rem; flex-wrap: wrap;
}
.footer-nav {
  display: flex; flex-wrap: wrap; gap: 0.25rem 1.4rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase;
}
.footer-nav a { color: rgba(242,238,226,0.62); padding: 0.3rem 0; transition: color 0.15s; }
.footer-nav a:hover { color: var(--vellum); }
.footer-legal { font-family: 'Inter', sans-serif; font-size: 0.8rem; color: rgba(242,238,226,0.62); }
.footer-legal a { border-bottom: 1px solid rgba(168,135,77,0.7); color: rgba(242,238,226,0.75); }

/* 404 */
.notfound { padding: 10rem 0 7rem; min-height: 70vh; }
.notfound .page-h1 { max-width: 16ch; }

/* narrow phones: keep the CTA on one line beside the Menu button */
@media (max-width: 480px) {
  .topbar-inner { gap: 1rem; }
  .topnav { font-size: 0.62rem; }
  .topnav a.cta { padding: 0.7rem 0.8rem; }
  .topnav-menu { margin-left: 0.35rem; }
  .topnav-menu > summary { font-size: 0.62rem; padding: 0.7rem; }
}

/* dark form: "(optional)" label suffix and non-text contrast of fields */
.field-label .field-opt { color: rgba(242,238,226,0.62); font-style: italic; text-transform: none; letter-spacing: 0.04em; }
.field-input, .field-select, .field-textarea { border-color: rgba(242,238,226,0.42); }
.field-select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23A8874D' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E"); }
