/* Postbye shared stylesheet */
:root {
  color-scheme: light;
  --bg: #fafaf7;
  --surface: #ffffff;
  --ink: #17171c;
  --muted: #5b5b66;
  --line: #e5e4de;
  --line-strong: #cfcdc4;
  --accent: #3446c4;
  --accent-hover: #2a399f;
  --accent-ink: #ffffff;
  --accent-soft: #eaedfb;
  --peach: #f7e7dc;
  --mint: #e2eee6;
  --sand: #f2eee2;
  --lilac: #ece6f6;
  --sun: #f4c95d;
  --coral: #e2725b;
  --forest: #2f6b52;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(23, 23, 28, 0.06), 0 8px 24px rgba(23, 23, 28, 0.07);
  --max: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-wrap: balance;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.2rem, 5.6vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.015em; }
h2.h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; text-wrap: pretty; }

a { color: var(--accent); text-underline-offset: 3px; }

a:focus-visible, .btn:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.mt-12 { margin-top: 12px; }
.mb-0 { margin-bottom: 0; }
.muted { color: var(--muted); }

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  z-index: 10;
}
.skip:focus { top: 12px; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 720px) {
  .wrap { padding: 0 32px; }
}

.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  min-height: 72px;
  flex-wrap: wrap;
  padding-top: 6px;
  padding-bottom: 6px;
}
.logo {
  font-size: 1.4rem;
  font-weight: 750;
  letter-spacing: -0.04em;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.logo::before {
  content: "";
  margin-right: 9px;
  width: 22px;
  height: 22px;
  border-radius: 7px 7px 7px 2px;
  background: var(--accent);
  box-shadow: inset -7px -7px 0 0 var(--sun);
}
.logo span { color: var(--accent); }
.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
}
.nav a {
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 11px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
}
.nav a[aria-current="page"] { color: var(--accent); }
.nav a.btn {
  color: var(--accent-ink);
  margin-left: 6px;
  min-height: 42px;
  padding: 0 18px;
}
@media (hover: hover) and (pointer: fine) {
  .nav a:not(.btn):hover { background: var(--accent-soft); }
}
@media (max-width: 640px) {
  .nav a { padding: 0 8px; font-size: 0.92rem; }
  .nav a.btn { margin-left: 2px; padding: 0 14px; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid var(--accent);
  cursor: pointer;
  transition: background-color 150ms ease-out, border-color 150ms ease-out, transform 120ms ease-out;
}
.btn:active { transform: scale(0.97); }
.btn.secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn.block { width: 100%; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
  .btn.secondary:hover { background: var(--surface); border-color: var(--ink); }
}
@media (prefers-reduced-motion: reduce) {
  .btn { transition: background-color 150ms ease-out, border-color 150ms ease-out; }
  .btn:active { transform: none; }
}

/* Hero */
.hero {
  padding: 56px 0 48px;
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.1fr 1fr; }
  .hero { padding: 88px 0 80px; }
}
.lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 34em;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.hero-note { margin-top: 18px; font-size: 0.93rem; color: var(--muted); }

/* Hero art: a small studio board built from CSS */
.board {
  position: relative;
  aspect-ratio: 5 / 4;
  border-radius: var(--radius);
  background: var(--accent-soft);
  overflow: hidden;
  isolation: isolate;
}
.board .frame {
  position: absolute;
  left: 8%;
  top: 12%;
  width: 62%;
  height: 64%;
  background: var(--surface);
  border-radius: 10px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.board .frame::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 12%;
  background: #f1f1ee;
  border-bottom: 1px solid var(--line);
}
.board .frame::after {
  content: "";
  position: absolute;
  left: 9%;
  top: 26%;
  width: 56%;
  height: 9%;
  border-radius: 4px;
  background: var(--ink);
  box-shadow: 0 22px 0 -6px var(--line), 0 40px 0 -6px var(--line), 0 74px 0 4px var(--accent);
}
.board .type {
  position: absolute;
  right: 7%;
  top: 9%;
  width: 30%;
  aspect-ratio: 1;
  border-radius: 10px;
  background: var(--surface);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  font-size: clamp(2rem, 6vw, 3.4rem);
  font-weight: 750;
  letter-spacing: -0.05em;
  color: var(--ink);
}
.board .swatches {
  position: absolute;
  right: 8%;
  bottom: 10%;
  display: flex;
  gap: 8px;
  padding: 10px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.board .swatches i {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: block;
}
.board .mark {
  position: absolute;
  left: 14%;
  bottom: 9%;
  width: 18%;
  aspect-ratio: 1;
  border-radius: 30% 30% 30% 6%;
  background: var(--accent);
  box-shadow: inset -14px -14px 0 0 var(--sun);
  transform: rotate(-8deg);
}

.sw-ink { background: var(--ink); }
.sw-accent { background: var(--accent); }
.sw-sun { background: var(--sun); }
.sw-coral { background: var(--coral); }
.sw-forest { background: var(--forest); }

/* Sections */
.section { padding: 64px 0; }
@media (min-width: 900px) { .section { padding: 88px 0; } }
.section.tight { padding: 40px 0; }
.section.flush-top { padding-top: 0; }
.section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px 32px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.section-head h2 { margin: 0; max-width: 18em; }
.section-head p { color: var(--muted); margin: 0; max-width: 34em; }

/* Industry strip */
.strip { border-bottom: 1px solid var(--line); padding: 28px 0; }
.strip p { text-align: center; color: var(--muted); font-size: 0.93rem; margin-bottom: 18px; }
.strip ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 36px;
}
.strip li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: #6d6c75;
  font-size: 1.05rem;
}
.strip li::before {
  content: "";
  width: 18px;
  height: 18px;
  background: currentColor;
  opacity: 0.8;
}
.strip li.g1::before { border-radius: 50%; }
.strip li.g2::before { border-radius: 4px; transform: rotate(45deg); width: 15px; height: 15px; }
.strip li.g3::before { clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.strip li.g4::before { border-radius: 50% 50% 0 0; }
.strip li.g5::before { border-radius: 4px; }
.strip li.g6::before { border-radius: 50% 0; }

/* Cards */
.cards {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card h3 { margin: 0; }
.card p { margin: 0; color: var(--muted); }
.card .more { margin-top: auto; padding-top: 12px; font-weight: 600; }
.card .more a { text-decoration: none; }
.card .more a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
@media (hover: hover) and (pointer: fine) {
  .card.linked:hover { border-color: var(--line-strong); }
  .card.linked:hover .more a { text-decoration: underline; }
}
.icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  position: relative;
  margin-bottom: 8px;
}
.icon::after { content: ""; position: absolute; }
.icon.brand { background: var(--accent-soft); }
.icon.brand::after { left: 13px; top: 13px; width: 22px; height: 22px; border-radius: 7px 7px 7px 2px; background: var(--accent); }
.icon.web { background: var(--mint); }
.icon.web::after { left: 10px; top: 13px; width: 28px; height: 22px; border-radius: 4px; border: 2.5px solid var(--forest); border-top-width: 7px; }
.icon.support { background: var(--peach); }
.icon.support::after { left: 12px; top: 12px; width: 24px; height: 24px; border-radius: 50%; border: 2.5px solid var(--coral); box-shadow: inset 0 0 0 5px var(--peach), inset 0 0 0 12px var(--coral); }

/* Philosophy */
.philosophy {
  font-size: clamp(1.45rem, 3.4vw, 2.3rem);
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -0.025em;
  max-width: 26em;
  margin: 0;
  text-wrap: balance;
}
.philosophy em { font-style: normal; color: var(--accent); }

/* Work grid */
.works {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.work {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.work .shot {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--sand);
}
.work .body { padding: 18px 20px 22px; }
.work h3 { font-size: 1.08rem; margin: 6px 0 4px; }
.work p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.shot.t-accent { background: var(--accent-soft); }
.shot.t-peach { background: var(--peach); }
.shot.t-mint { background: var(--mint); }
.shot.t-lilac { background: var(--lilac); }
.shot.t-sand { background: var(--sand); }

/* shot: brand identity (mark + wordmark card) */
.shot.brand::before {
  content: "";
  position: absolute;
  left: 20%; top: 22%; width: 60%; height: 56%;
  background: var(--surface);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.shot.brand::after {
  content: "";
  position: absolute;
  left: 41%; top: 33%; width: 18%; aspect-ratio: 1;
  border-radius: var(--r, 50%);
  background: var(--c, var(--accent));
}
.shot i { position: absolute; display: block; }
.shot.brand i { left: 34%; top: 63%; width: 32%; height: 6%; border-radius: 3px; background: var(--ink); }
.shot.web i { left: 19%; top: 72%; width: 24%; height: 10%; border-radius: 999px; background: var(--c2, var(--accent)); }
/* shot: web (browser frame) */
.shot.web::before {
  content: "";
  position: absolute;
  left: 12%; top: 16%; width: 76%; height: 84%;
  background: var(--surface);
  border-radius: 8px 8px 0 0;
  box-shadow: var(--shadow);
  border-top: 14px solid #efeee9;
}
.shot.web::after {
  content: "";
  position: absolute;
  left: 19%; top: 34%; width: 44%; height: 9%;
  border-radius: 3px;
  background: var(--c, var(--ink));
  box-shadow: 0 26px 0 -5px var(--line), 0 44px 0 -5px var(--line);
}
/* shot: support (stack of assets) */
.shot.support::before {
  content: "";
  position: absolute;
  left: 18%; top: 20%; width: 34%; height: 58%;
  background: var(--c, var(--coral));
  border-radius: 8px;
  box-shadow: var(--shadow);
  transform: rotate(-6deg);
}
.shot.support::after {
  content: "";
  position: absolute;
  left: 46%; top: 16%; width: 36%; height: 64%;
  background: var(--surface);
  border-radius: 8px;
  box-shadow: var(--shadow);
  transform: rotate(4deg);
  border-bottom: 34px solid var(--c2, var(--sun));
}

/* Stats */
.stats {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(2, 1fr);
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (min-width: 860px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--surface); padding: 28px 24px; }
.stat .num {
  display: block;
  font-size: clamp(2rem, 4.4vw, 2.9rem);
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  margin-bottom: 10px;
}
.stat .num small { font-size: 0.5em; letter-spacing: -0.01em; margin-left: 2px; color: var(--muted); font-weight: 600; }
.stat p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* Pricing tiers */
.tiers {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  align-items: stretch;
}
.tier {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
}
.tier.featured { border: 2px solid var(--accent); padding: 29px 27px; box-shadow: var(--shadow); }
.tier .badge {
  position: absolute;
  top: -13px;
  left: 26px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.03em;
  padding: 3px 12px;
  border-radius: 999px;
}
.tier h3 { margin: 0 0 4px; font-size: 1.3rem; }
.tier .for { color: var(--muted); margin: 0 0 20px; font-size: 0.97rem; }
.tier .amount {
  font-size: 2.8rem;
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.tier .amount small { font-size: 1rem; font-weight: 500; letter-spacing: 0; color: var(--muted); margin-left: 4px; }
.tier .billing { font-size: 0.9rem; color: var(--muted); margin: 10px 0 22px; }
.tier ul.ticks { margin-bottom: 26px; }
.tier .btn { margin-top: auto; }

ul.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
ul.ticks li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 9px;
}
ul.ticks li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 0.5em;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.cols-2 { columns: 2 260px; column-gap: 40px; }
.cols-2 li { break-inside: avoid; }

/* Compare table */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table.compare { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 0.97rem; }
.compare th, .compare td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-size: 0.95rem; }
.compare tbody th { font-weight: 500; color: var(--muted); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare td { font-variant-numeric: tabular-nums; }

/* FAQ */
.faq { max-width: 820px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 64px;
  padding: 14px 0;
  font-weight: 650;
  font-size: 1.06rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 160ms ease-out;
}
.faq details[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.faq details p { color: var(--muted); max-width: 44em; padding-bottom: 8px; }
@media (prefers-reduced-motion: reduce) {
  .faq summary::after { transition: none; }
}

/* Marquee */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink);
  color: #f4f3ee;
  overflow: hidden;
  padding: 18px 0;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex: none;
}
.marquee li {
  display: inline-flex;
  align-items: center;
  font-size: clamp(1.15rem, 2.4vw, 1.6rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.marquee li::after {
  content: "";
  width: 10px;
  height: 10px;
  margin: 0 28px;
  border-radius: 3px;
  background: var(--sun);
  transform: rotate(45deg);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (hover: hover) and (pointer: fine) {
  .marquee:hover .marquee-track { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; width: auto; }
  .marquee ul { flex-wrap: wrap; justify-content: center; padding: 0 16px; row-gap: 6px; }
  .marquee ul[aria-hidden="true"] { display: none; }
}

/* Newsletter */
.newsletter {
  display: grid;
  gap: 24px;
  align-items: center;
}
@media (min-width: 860px) { .newsletter { grid-template-columns: 1fr 1fr; gap: 48px; } }
.newsletter h2 { margin-bottom: 0.3em; }
.newsletter p { color: var(--muted); margin: 0; }
.inline-form { display: flex; gap: 10px; flex-wrap: wrap; }
.inline-form input { flex: 1 1 220px; }
.form-status { min-height: 1.6em; margin: 10px 0 0; font-size: 0.93rem; color: var(--forest); }

/* Panels */
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
@media (min-width: 720px) { .panel { padding: 40px; } }
.cta-panel {
  display: grid;
  gap: 20px;
  align-items: center;
  background: var(--accent);
  color: var(--accent-ink);
  border: 0;
}
.cta-panel p { color: rgba(255, 255, 255, 0.86); margin: 0; }
.cta-panel h2 { margin-bottom: 0.3em; }
.cta-panel .btn { background: var(--surface); color: var(--ink); border-color: var(--surface); }
.cta-panel .btn.secondary { background: transparent; color: var(--accent-ink); border-color: rgba(255, 255, 255, 0.5); }
@media (hover: hover) and (pointer: fine) {
  .cta-panel .btn:hover { background: #f1f1ee; border-color: #f1f1ee; }
  .cta-panel .btn.secondary:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; }
}
@media (min-width: 860px) { .cta-panel { grid-template-columns: 1.5fr auto; } }
.cta-panel .hero-actions { margin-top: 0; }

/* Steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 12px;
}
.steps h3 { font-size: 1.08rem; margin-bottom: 6px; }
.steps p { margin: 0; color: var(--muted); font-size: 0.96rem; }

/* Two-column feature */
.split { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } }

/* Definition list */
.terms-list {
  display: grid;
  margin: 0;
  border-top: 1px solid var(--line);
}
.terms-list div {
  display: grid;
  gap: 4px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 720px) {
  .terms-list div { grid-template-columns: 220px 1fr; gap: 24px; }
}
.terms-list dt { font-weight: 650; }
.terms-list dd { margin: 0; color: var(--muted); }
.terms-list dd strong { color: var(--ink); }

/* Breadcrumbs */
.crumbs { font-size: 0.92rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.crumbs span { margin: 0 6px; }

/* Prose (policy pages) */
.prose { max-width: 740px; padding: 48px 0 72px; }
.prose h1 { margin-bottom: 0.2em; font-size: clamp(2rem, 4.6vw, 2.8rem); }
.prose .updated { color: var(--muted); margin-bottom: 2em; }
.prose h2 { font-size: 1.3rem; margin-top: 2em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: 0.4em; }

/* Forms */
.form-grid { display: grid; gap: 0 20px; }
@media (min-width: 720px) { .form-grid.two { grid-template-columns: 1fr 1fr; } }
.form-field { display: grid; gap: 6px; margin-bottom: 18px; }
.form-field label, fieldset legend { font-size: 0.93rem; font-weight: 650; color: var(--ink); }
.form-field .hint { font-weight: 400; color: var(--muted); }
input[type="email"], input[type="text"], input[type="password"], textarea {
  font: inherit;
  font-size: 16px;
  padding: 12px 14px;
  min-height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  width: 100%;
}
textarea { min-height: 140px; resize: vertical; }
input:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-color: var(--accent); }
fieldset { border: 0; padding: 0; margin: 0 0 22px; 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; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.97rem;
  font-variant-numeric: tabular-nums;
  transition: background-color 120ms ease-out, border-color 120ms ease-out, color 120ms ease-out;
}
.choice input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .choice input:not(:checked):hover + span { border-color: var(--ink); }
}

.contact-layout { display: grid; gap: 32px; padding: 48px 0 80px; }
@media (min-width: 960px) { .contact-layout { grid-template-columns: 1.5fr 1fr; gap: 48px; } }
.contact-side { display: grid; gap: 16px; align-content: start; }
.contact-side .panel { padding: 24px; }
.contact-side a { font-weight: 600; word-break: break-word; }
.note { font-size: 0.93rem; color: var(--muted); }
address { font-style: normal; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 32px;
  font-size: 0.95rem;
  color: var(--muted);
}
.footer-grid {
  display: grid;
  gap: 24px 32px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  margin-bottom: 28px;
}
.site-footer h2 {
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: 0;
  color: var(--ink);
  margin-bottom: 8px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li a {
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  min-height: 40px;
}
.site-footer li a[aria-current="page"] { color: var(--ink); }
.site-footer address { margin-top: 8px; }
.site-footer .legal { border-top: 1px solid var(--line); padding-top: 20px; margin: 0; }

/* Visually hidden, still read by screen readers */
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
