/*
 * SmartBizOps site v1: hand-written design layer.
 * Loaded AFTER the frozen, pre-compiled Tailwind build (style.css).
 * See docs/website-v1/DESIGN.md. Do not add new Tailwind class names to
 * templates; add small v1- classes here instead.
 */

/* ------------------------------------------------------------------ */
/* Tokens                                                             */
/* ------------------------------------------------------------------ */
:root {
  /* color */
  --c-ink: #0F172A;
  --c-ink-2: #334155;
  --c-navy: #123B63;
  --c-navy-hover: #0E2F50;
  --c-paper: #FAF8F4;
  --c-surface: #FFFFFF;
  --c-surface-2: #F8FAFC;
  --c-line: #E2DED6;
  --c-pencil: #C2410C;
  --c-focus: #6366F1;
  --c-ok: #15803D;
  --c-error: #B91C1C;
  --c-todo-bg: #FEF3C7;
  --c-todo-ink: #78350F;

  /* type */
  --f-head: "Space Grotesk", system-ui, sans-serif;
  --f-body: "Inter", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --fs-body: 1.125rem;
  --lh-body: 1.6;
  --fs-small: 0.9375rem;
  --fs-h1: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem);
  --fs-h2: clamp(1.625rem, 1.3rem + 1.2vw, 2.25rem);
  --fs-h3: 1.25rem;
  --measure: 68ch;

  /* spacing (4px base) */
  --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem;
  --s-6: 1.5rem;  --s-8: 2rem;   --s-12: 3rem;   --s-16: 4rem; --s-24: 6rem;
  --section-y: clamp(3.5rem, 2.5rem + 4vw, 6rem);

  /* shape */
  --radius: 8px;
  --border: 1px solid var(--c-line);
  --header-h: 4rem;

  /* motion */
  --t-fast: 140ms;
  --t-reveal: 220ms;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (prefers-reduced-motion: reduce) {
  :root { --t-fast: 0ms; --t-reveal: 0ms; }
}

/* Keep focused elements clear of the sticky header (WCAG 2.4.11). */
html { scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ------------------------------------------------------------------ */
/* Base (scoped to v1 pages so ShipHelper keeps its own look)          */
/* ------------------------------------------------------------------ */
.v1-body {
  background: var(--c-paper);
  color: var(--c-ink);
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}
.v1-body h1, .v1-body h2, .v1-body h3 {
  font-family: var(--f-head);
  font-weight: 600;
  color: var(--c-ink);
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.v1-body h1 { font-size: var(--fs-h1); }
.v1-body h2 { font-size: var(--fs-h2); }
.v1-body h3 { font-size: var(--fs-h3); line-height: 1.3; }
.v1-body p { max-width: var(--measure); }
.v1-body strong { font-weight: 600; }
.v1-body :focus-visible {
  outline: 3px solid var(--c-focus);
  outline-offset: 2px;
  border-radius: 2px;
}
.v1-body ::selection { background: #DBE7F3; }

.v1-muted { color: var(--c-ink-2); }
.v1-small { font-size: var(--fs-small); }
.v1-mono { font-family: var(--f-mono); font-weight: 500; }
.v1-eyebrow {
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--c-ink-2);
  letter-spacing: 0.01em;
}
.v1-lead { font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.25rem); color: var(--c-ink-2); }
.v1-visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ------------------------------------------------------------------ */
/* Layout                                                             */
/* ------------------------------------------------------------------ */
.v1-container {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (min-width: 640px) { .v1-container { padding-inline: 2rem; } }
.v1-narrow { max-width: var(--measure); }
.v1-section { padding-block: var(--section-y); }
.v1-section--surface { background: var(--c-surface); border-block: var(--border); }
.v1-section--tight { padding-block: clamp(2.5rem, 2rem + 2vw, 4rem); }
.v1-stack > * + * { margin-top: var(--s-4); }
.v1-stack-lg > * + * { margin-top: var(--s-8); }
.v1-mt-2 { margin-top: var(--s-2); }
.v1-mt-3 { margin-top: var(--s-3); }
.v1-mt-4 { margin-top: var(--s-4); }
.v1-mt-6 { margin-top: var(--s-6); }
.v1-mt-8 { margin-top: var(--s-8); }
.v1-split { display: grid; gap: var(--s-8); align-items: start; }
@media (min-width: 900px) {
  .v1-split { grid-template-columns: 1fr 1fr; gap: var(--s-12); }
  .v1-split--wide-left { grid-template-columns: 3fr 2fr; }
  .v1-split--wide-right { grid-template-columns: 2fr 3fr; }
  .v1-split--center { align-items: center; }
}
.v1-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }

/* ------------------------------------------------------------------ */
/* Skip link                                                          */
/* ------------------------------------------------------------------ */
.skip-link {
  position: absolute;
  left: var(--s-4);
  top: -100px;
  z-index: 100;
  background: var(--c-navy);
  color: #fff;
  padding: var(--s-3) var(--s-4);
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: var(--s-3); outline: 3px solid var(--c-focus); outline-offset: 2px; }

/* ------------------------------------------------------------------ */
/* TODO(yogesh) marker                                                */
/* ------------------------------------------------------------------ */
.todo {
  background: var(--c-todo-bg);
  color: var(--c-todo-ink);
  font-family: var(--f-mono);
  font-size: 0.9em;
  padding: 0 .25em;
  border-radius: 4px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.v1-todo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 12rem;
  padding: var(--s-6);
  border: 2px dashed #D6B25E;
  border-radius: var(--radius);
  background: #FFFBEB;
  color: var(--c-todo-ink);
}

/* ------------------------------------------------------------------ */
/* Links and buttons                                                  */
/* ------------------------------------------------------------------ */
.v1-link {
  color: var(--c-navy);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: text-decoration-thickness var(--t-fast) var(--ease);
}
.v1-link:hover { text-decoration-thickness: 2px; color: var(--c-navy-hover); }

.v1-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  min-height: 44px;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-family: var(--f-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.v1-btn:active { transform: translateY(1px); }
.v1-btn--primary { background: var(--c-navy); color: #fff; }
.v1-btn--primary:hover { background: var(--c-navy-hover); color: #fff; }
.v1-btn--quiet { background: transparent; color: var(--c-navy); border-color: var(--c-navy); }
.v1-btn--quiet:hover { background: #EEF3F8; }
.v1-btn--sm { min-height: 40px; padding: 0.5rem 1rem; font-size: var(--fs-small); }
.v1-btn[disabled], .v1-btn[aria-disabled="true"] {
  background: #E5E7EB; color: #4B5563; border-color: #D1D5DB; cursor: not-allowed; transform: none;
}

/* ------------------------------------------------------------------ */
/* Pills and status                                                   */
/* ------------------------------------------------------------------ */
.v1-pill {
  display: inline-block;
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 0.8125rem;
  line-height: 1.4;
  padding: 0.125rem 0.5rem;
  border: 1px solid var(--c-ink-2);
  border-radius: 999px;
  color: var(--c-ink-2);
  background: transparent;
}
.v1-status {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-family: var(--f-mono); font-weight: 500; font-size: var(--fs-small);
  color: var(--c-ink-2);
}
.v1-status::before {
  content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--c-ink-2);
}

/* ------------------------------------------------------------------ */
/* Early-client bar                                                   */
/* ------------------------------------------------------------------ */
.v1-early-bar {
  background: var(--c-ink);
  color: #F8FAFC;
  font-size: var(--fs-small);
}
.v1-early-bar__inner {
  display: flex; align-items: center; gap: var(--s-3);
  padding-block: var(--s-2);
}
.v1-early-bar p { margin: 0; flex: 1; max-width: none; }
.v1-early-bar a { color: #fff; text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.v1-early-bar .todo { font-size: 0.85em; }
.v1-early-bar__close {
  flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 6px;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.v1-early-bar__close:hover { background: rgba(255,255,255,.1); }
.v1-early-bar :focus-visible { outline-color: #A5B4FC; }
.v1-early-bar[hidden] { display: none; }

/* ------------------------------------------------------------------ */
/* Header                                                             */
/* ------------------------------------------------------------------ */
.v1-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--c-paper);
  border-bottom: var(--border);
  transition: box-shadow var(--t-fast) var(--ease);
}
.v1-header.shadow-soft { box-shadow: 0 1px 0 rgba(15, 23, 42, .06); }
.v1-header__bar {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  min-height: var(--header-h);
}
.v1-logo {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-family: var(--f-head); font-weight: 600; font-size: 1.125rem;
  color: var(--c-ink); text-decoration: none;
  min-height: 44px;
}
.v1-logo img { width: 28px; height: 28px; border-radius: 6px; }
.v1-nav { display: none; }
.v1-nav ul { display: flex; gap: var(--s-6); list-style: none; margin: 0; padding: 0; }
.v1-nav a {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--c-ink); text-decoration: none; font-size: 1rem;
  text-underline-offset: 6px;
}
.v1-nav a:hover, .v1-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; color: var(--c-navy); }
.v1-header__cta { display: none; }
.v1-menu-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-width: 44px; min-height: 44px; padding: 0 var(--s-3);
  border: var(--border); border-radius: var(--radius);
  background: var(--c-surface); color: var(--c-ink);
  font: 600 var(--fs-small)/1 var(--f-body);
  cursor: pointer;
}
.v1-mobile-nav { border-top: var(--border); padding-block: var(--s-3) var(--s-4); }
.v1-mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.v1-mobile-nav li a {
  display: flex; align-items: center; min-height: 44px; padding-inline: var(--s-2);
  color: var(--c-ink); text-decoration: none; border-radius: 6px;
}
.v1-mobile-nav li a:hover { background: #F1EEE8; }
.v1-mobile-nav .v1-btn { width: 100%; margin-top: var(--s-3); }
@media (min-width: 1024px) {
  .v1-nav, .v1-header__cta { display: flex; align-items: center; }
  .v1-menu-btn, .v1-mobile-nav { display: none !important; }
}

/* ------------------------------------------------------------------ */
/* Hero                                                               */
/* ------------------------------------------------------------------ */
.v1-hero { padding-block: clamp(2.5rem, 2rem + 4vw, 5.5rem) var(--section-y); }
.v1-hero h1 { margin-top: var(--s-3); max-width: 18ch; }
.v1-hero .v1-lead { margin-top: var(--s-6); }
.v1-signature {
  margin-top: var(--s-6);
  display: flex; align-items: baseline; flex-wrap: wrap; gap: var(--s-2);
  font-size: var(--fs-small); color: var(--c-ink-2);
}
.v1-signature__name { font-family: var(--f-head); font-weight: 600; font-size: 1.25rem; color: var(--c-ink); }
.v1-hero .v1-actions { margin-top: var(--s-8); }
.v1-hero__textlink { margin-top: var(--s-4); font-size: var(--fs-small); }

/* ------------------------------------------------------------------ */
/* Media and sketches                                                 */
/* ------------------------------------------------------------------ */
.v1-media { margin: 0; }
.v1-media > video, .v1-media > img, .v1-media > .v1-todo-box {
  display: block; width: 100%; height: auto;
  border: var(--border); border-radius: var(--radius); background: var(--c-surface);
}
.v1-media figcaption {
  margin-top: var(--s-2);
  font-family: var(--f-mono); font-weight: 500; font-size: 0.8125rem; color: var(--c-ink-2);
}
.v1-annotation {
  margin-top: var(--s-2);
  font-family: var(--f-head); font-size: 1.125rem; color: var(--c-pencil);
}
.v1-sketch { display: block; width: 100%; height: auto; color: var(--c-ink); }

/* ------------------------------------------------------------------ */
/* Problems list                                                      */
/* ------------------------------------------------------------------ */
.v1-problems { list-style: none; margin: var(--s-6) 0 0; padding: 0; }
.v1-problems li {
  position: relative;
  padding: var(--s-3) 0 var(--s-3) 1.75rem;
  border-top: var(--border);
}
.v1-problems li:last-child { border-bottom: var(--border); }
.v1-problems li::before {
  content: "";
  position: absolute; left: 0.25rem; top: 1.45rem;
  width: 0.75rem; height: 2px; background: var(--c-pencil);
}
.v1-closing { margin-top: var(--s-6); font-weight: 600; }

/* ------------------------------------------------------------------ */
/* Workflow diagram                                                   */
/* ------------------------------------------------------------------ */
.v1-workflow { position: relative; margin-top: var(--s-8); }
.v1-workflow ol {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: var(--s-2);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 640px) { .v1-workflow ol { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .v1-workflow ol { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.v1-workflow__step {
  width: 100%;
  min-height: 56px;
  display: flex; align-items: center; gap: var(--s-2);
  padding: var(--s-3);
  border: var(--border);
  border-radius: var(--radius);
  background: var(--c-surface);
  color: var(--c-ink);
  font: 600 1rem/1.2 var(--f-body);
  text-align: left;
  cursor: pointer;
  transition: transform var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.v1-workflow__step .v1-mono { color: var(--c-ink-2); font-size: 0.8125rem; }
.v1-workflow__step:hover, .v1-workflow__step:focus-visible, .v1-workflow__step[aria-expanded="true"] {
  transform: translateY(-2px);
  border-color: var(--c-navy);
}
.v1-workflow__step[aria-expanded="true"] { box-shadow: inset 0 -3px 0 var(--c-navy); }
.v1-workflow__note {
  margin-top: var(--s-4);
  padding: var(--s-4) var(--s-6);
  border: var(--border);
  border-radius: var(--radius);
  background: var(--c-surface);
  min-height: 7.5rem;
}
.v1-workflow__note dl { display: grid; gap: var(--s-2); margin: var(--s-2) 0 0; }
@media (min-width: 640px) { .v1-workflow__note dl { grid-template-columns: 1fr 1fr; gap: var(--s-6); } }
.v1-workflow__note dt { font-family: var(--f-mono); font-weight: 500; font-size: 0.8125rem; color: var(--c-ink-2); }
.v1-workflow__note dd { margin: 0; }
.v1-workflow__caption { margin-top: var(--s-3); font-family: var(--f-mono); font-size: 0.8125rem; color: var(--c-ink-2); }
@media (prefers-reduced-motion: reduce) {
  .v1-workflow__step:hover, .v1-workflow__step:focus-visible, .v1-workflow__step[aria-expanded="true"] { transform: none; }
}

/* ------------------------------------------------------------------ */
/* Numbered rows (not cards)                                          */
/* ------------------------------------------------------------------ */
.v1-steps { list-style: none; margin: var(--s-8) 0 0; padding: 0; counter-reset: v1step; }
.v1-steps > li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: var(--s-4);
  padding-block: var(--s-6);
  border-top: var(--border);
}
.v1-steps > li:last-child { border-bottom: var(--border); }
@media (min-width: 768px) { .v1-steps > li { grid-template-columns: 5rem 14rem 1fr; align-items: baseline; } }
.v1-steps__num { font-family: var(--f-mono); font-weight: 500; font-size: 2rem; line-height: 1; color: var(--c-navy); }
.v1-steps__title { font-family: var(--f-head); font-weight: 600; font-size: var(--fs-h3); margin: 0; }
.v1-steps__body { grid-column: 2; margin: 0; color: var(--c-ink-2); }
@media (min-width: 768px) { .v1-steps__body { grid-column: auto; } }

/* ------------------------------------------------------------------ */
/* Plain lists                                                        */
/* ------------------------------------------------------------------ */
.v1-list { margin: var(--s-4) 0 0; padding-left: 1.25rem; }
.v1-list li + li { margin-top: var(--s-2); }
.v1-list li::marker { color: var(--c-ink-2); }
.v1-checks { list-style: none; margin: var(--s-6) 0 0; padding: 0; }
.v1-checks li { position: relative; padding-left: 1.75rem; }
.v1-checks li + li { margin-top: var(--s-3); }
.v1-checks li::before {
  content: ""; position: absolute; left: 0.2rem; top: 0.55em;
  width: 0.6rem; height: 0.35rem;
  border-left: 2px solid var(--c-navy); border-bottom: 2px solid var(--c-navy);
  transform: rotate(-45deg);
}
.v1-fineprint { margin-top: var(--s-6); font-size: var(--fs-small); color: var(--c-ink-2); }

/* ------------------------------------------------------------------ */
/* Build log                                                          */
/* ------------------------------------------------------------------ */
.v1-log { list-style: none; margin: var(--s-6) 0 0; padding: 0; }
.v1-log-entry {
  padding: var(--s-4) var(--s-6);
  background: var(--c-surface-2);
  border: var(--border);
  border-radius: var(--radius);
}
.v1-log-entry + .v1-log-entry { margin-top: var(--s-3); }
.v1-log-entry__meta { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }
.v1-log-entry time { font-family: var(--f-mono); font-weight: 500; font-size: var(--fs-small); color: var(--c-ink); }
.v1-log-entry dl { margin: var(--s-3) 0 0; display: grid; grid-template-columns: auto 1fr; gap: var(--s-1) var(--s-3); }
.v1-log-entry dt { font-family: var(--f-mono); font-weight: 500; font-size: var(--fs-small); color: var(--c-ink-2); }
.v1-log-entry dd { margin: 0; }

/* ------------------------------------------------------------------ */
/* About teaser / monogram                                            */
/* ------------------------------------------------------------------ */
.v1-monogram {
  display: inline-flex; align-items: center; justify-content: center;
  width: 5rem; height: 5rem; flex: none;
  border-radius: 50%;
  border: 2px solid var(--c-ink);
  background: var(--c-surface);
  font-family: var(--f-head); font-weight: 600; font-size: 1.75rem; color: var(--c-ink);
}
.v1-monogram .todo { font-size: 0.55rem; line-height: 1.2; text-align: center; padding: 0.25rem; }
.v1-person { display: flex; gap: var(--s-6); align-items: flex-start; flex-direction: column; }
@media (min-width: 640px) { .v1-person { flex-direction: row; } }

/* ------------------------------------------------------------------ */
/* FAQ                                                                */
/* ------------------------------------------------------------------ */
.v1-faq { margin-top: var(--s-6); border-top: var(--border); }
.v1-faq details { border-bottom: var(--border); }
.v1-faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: var(--s-4);
  min-height: 52px; padding-block: var(--s-3);
  font-family: var(--f-head); font-weight: 600; font-size: 1.125rem; color: var(--c-ink);
  cursor: pointer; list-style: none;
}
.v1-faq summary::-webkit-details-marker { display: none; }
.v1-faq summary::after {
  content: "+"; flex: none; font-family: var(--f-mono); font-size: 1.25rem; color: var(--c-navy);
}
.v1-faq details[open] summary::after { content: "\2212"; }
.v1-faq__answer { padding-bottom: var(--s-4); color: var(--c-ink-2); }

/* ------------------------------------------------------------------ */
/* CTA band                                                           */
/* ------------------------------------------------------------------ */
.v1-cta { border-top: var(--border); }
.v1-cta h2 { max-width: 22ch; }
.v1-cta .v1-actions { margin-top: var(--s-6); }

/* ------------------------------------------------------------------ */
/* Cards used sparingly (forms, callouts)                             */
/* ------------------------------------------------------------------ */
.v1-panel {
  background: var(--c-surface);
  border: var(--border);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 1rem + 1.5vw, 2rem);
}
.v1-callout {
  border-left: 3px solid var(--c-navy);
  padding: var(--s-3) var(--s-4);
  background: var(--c-surface);
}

/* ------------------------------------------------------------------ */
/* Forms                                                              */
/* ------------------------------------------------------------------ */
.v1-form > * + * { margin-top: var(--s-6); }
.v1-form-row { display: grid; gap: var(--s-6); }
@media (min-width: 640px) { .v1-form-row { grid-template-columns: 1fr 1fr; } }
.v1-field label, .v1-field legend {
  display: block;
  margin-bottom: var(--s-2);
  font-weight: 600;
  font-size: 1rem;
  color: var(--c-ink);
}
.v1-field .v1-req { font-weight: 400; color: var(--c-ink-2); font-size: var(--fs-small); }
.v1-field input[type="text"], .v1-field input[type="email"], .v1-field input[type="tel"],
.v1-field select, .v1-field textarea {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 0.5rem 0.75rem;
  border: 1px solid #A8A29E;
  border-radius: var(--radius);
  background: var(--c-surface);
  color: var(--c-ink);
  font: 400 1rem/1.5 var(--f-body);
}
.v1-field textarea { min-height: 8rem; resize: vertical; }
.v1-field input:focus, .v1-field select:focus, .v1-field textarea:focus {
  outline: 3px solid var(--c-focus); outline-offset: 1px; border-color: var(--c-navy);
}
.v1-field [aria-invalid="true"] { border-color: var(--c-error); }
.v1-field__error { margin-top: var(--s-2); font-size: var(--fs-small); color: var(--c-error); }
.v1-field__error::before { content: "! "; font-weight: 700; }
.v1-check {
  display: flex; gap: var(--s-3); align-items: flex-start;
  font-size: 1rem; font-weight: 400 !important;
}
.v1-check input { width: 24px; height: 24px; margin: 0.1rem 0 0; flex: none; accent-color: var(--c-navy); }
.v1-form-status {
  padding: var(--s-3) var(--s-4);
  border-radius: var(--radius);
  font-size: 1rem;
}
.v1-form-status--ok { background: #F0FDF4; border: 1px solid #86EFAC; color: #14532D; }
.v1-form-status--error { background: #FEF2F2; border: 1px solid #FCA5A5; color: #7F1D1D; }
.v1-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ------------------------------------------------------------------ */
/* Prose pages (privacy, terms)                                       */
/* ------------------------------------------------------------------ */
.v1-prose h2 { margin-top: var(--s-8); font-size: 1.375rem; }
.v1-prose p, .v1-prose ul { margin-top: var(--s-3); }
.v1-prose ul { padding-left: 1.25rem; list-style: disc; }
.v1-prose a { color: var(--c-navy); text-decoration: underline; text-underline-offset: 3px; }

/* ------------------------------------------------------------------ */
/* Footer                                                             */
/* ------------------------------------------------------------------ */
.v1-footer { border-top: var(--border); background: var(--c-surface); padding-block: var(--s-12) var(--s-8); font-size: var(--fs-small); }
.v1-footer__grid { display: grid; gap: var(--s-8); }
@media (min-width: 768px) { .v1-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.v1-footer h2 { font-family: var(--f-mono); font-weight: 500; font-size: 0.8125rem; color: var(--c-ink-2); letter-spacing: 0.02em; text-transform: none; }
.v1-footer ul { list-style: none; margin: var(--s-3) 0 0; padding: 0; }
.v1-footer li a {
  display: inline-flex; align-items: center; min-height: 32px;
  color: var(--c-ink); text-decoration: none;
}
.v1-footer li a:hover { text-decoration: underline; text-underline-offset: 3px; color: var(--c-navy); }
.v1-footer__brand { font-family: var(--f-head); font-weight: 600; font-size: 1.125rem; color: var(--c-ink); }
.v1-footer__bottom { margin-top: var(--s-8); padding-top: var(--s-6); border-top: var(--border); color: var(--c-ink-2); }
.v1-newsletter { margin-top: var(--s-6); max-width: 24rem; }
.v1-newsletter form { display: flex; gap: var(--s-2); margin-top: var(--s-3); }
.v1-newsletter input {
  flex: 1; min-width: 0; min-height: 44px; padding: 0.5rem 0.75rem;
  border: 1px solid #A8A29E; border-radius: var(--radius); background: var(--c-surface);
  font: 400 1rem/1.5 var(--f-body); color: var(--c-ink);
}
.v1-newsletter input:focus { outline: 3px solid var(--c-focus); outline-offset: 1px; }
.v1-social { display: flex; gap: var(--s-2); margin-top: var(--s-4); }
.v1-social a {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px; padding-inline: var(--s-2);
  border: var(--border); border-radius: var(--radius); color: var(--c-ink); text-decoration: none;
}

/* ------------------------------------------------------------------ */
/* Overrides of old classes (style.css stays frozen)                  */
/* ------------------------------------------------------------------ */
.btn-primary, .btn-primary:hover, .btn-primary:focus {
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  box-shadow: none;
  background-color: var(--c-navy);
  border-radius: var(--radius);
}
.btn-primary:hover { background-color: var(--c-navy-hover); transform: none; }
.btn-primary:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 2px; }

.reveal {
  transform: translateY(8px);
  transition: opacity var(--t-reveal) var(--ease), transform var(--t-reveal) var(--ease);
}
.reveal.is-visible { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.is-visible { opacity: 1; transform: none; transition: none; }
}
/* Without JS, never hide content. */
.no-js .reveal { opacity: 1; transform: none; }

[x-cloak] { display: none !important; }
