/* The Great Brick Company: site styles.
   One family (Archivo, variable width + weight). Palette: lime-mortar ground, iron-gall ink,
   fired brick for BFCM dates, spruce for the Christmas side of the calendar. */

:root {
  --bg: #eceee9;
  --paper: #fafbf8;
  --ink: #1b2232;
  --ink-2: #434c63;
  --line: #747b8e;
  --brick: #a23b22;
  --brick-dk: #7f2d19;
  --spruce: #2c5545;
  --mortar: #cdd0c7;
  --mortar-2: #dcdfd7;
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --wrap: 77.5rem;
  --gut: 1rem;
  --radius: 3px;
  color-scheme: light;
}

@media (min-width: 48rem) {
  :root { --gut: 2rem; }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scrollbar-color: var(--ink-2) var(--bg);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 1ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
  font-stretch: 100%;
  font-kerning: normal;
  caret-color: var(--brick);
  overflow-x: hidden;
}

::selection { background: var(--brick); color: #fff; }

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

a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 0.2em; }
a:hover { color: var(--brick); }

:focus-visible {
  outline: 3px solid var(--brick);
  outline-offset: 3px;
  border-radius: 2px;
}

h1, h2, h3, h4 { margin: 0; font-weight: 750; line-height: 1.08; text-wrap: balance; }
p, ul, ol, dl, figure { margin: 0; }
p + p { margin-top: 1em; }
ul, ol { padding: 0; }
strong { font-weight: 650; }

.tnum { font-variant-numeric: tabular-nums; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: var(--gut);
  top: -4rem;
  z-index: 10;
  background: var(--ink);
  color: var(--paper);
  padding: 0.6rem 1rem;
  border-radius: var(--radius);
  text-decoration: none;
}
.skip-link:focus { top: 0.75rem; color: var(--paper); }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
}

/* ---------- Type scale ---------- */

.display {
  font-stretch: 118%;
  font-weight: 780;
  font-size: clamp(2.4rem, 1.35rem + 4.6vw, 5.1rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
}

.h2 {
  font-stretch: 116%;
  font-weight: 760;
  font-size: clamp(1.85rem, 1.25rem + 2.3vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
}

.h3 {
  font-stretch: 106%;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.2;
}

.lead {
  font-size: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  line-height: 1.5;
  max-width: 36em;
}

.muted { color: var(--ink-2); }
.small { font-size: 0.9375rem; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.75rem 1.35rem;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
  font: inherit;
  font-weight: 650;
  font-stretch: 106%;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 140ms var(--ease-out);
}
.btn:hover { background: var(--brick); border-color: var(--brick); color: #fff; }
.btn:active { transform: scale(0.97); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.6; cursor: progress; transform: none; }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn--small { min-height: 2.5rem; padding: 0.5rem 1rem; font-size: 0.9375rem; }
.btn--light { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn--light:hover { background: var(--brick); border-color: var(--brick); color: #fff; }

.linkish {
  background: none; border: 0; padding: 0;
  font: inherit; color: inherit;
  text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 0.2em;
  cursor: pointer;
}
.linkish:hover { color: var(--brick); }

/* ---------- Header / footer ---------- */

.site-header { padding-block: 1rem; }
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-stretch: 120%;
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.brand:hover { color: var(--ink); }
.brand svg { width: 2rem; height: auto; flex: none; }
.brand small { display: block; font-stretch: 100%; font-weight: 500; font-size: 0.8125rem; color: var(--ink-2); letter-spacing: 0; }
.site-nav { display: none; }
.site-nav ul { display: flex; gap: 1.5rem; list-style: none; }
.site-nav a { text-decoration: none; font-weight: 550; font-size: 0.9375rem; }
.site-nav a:hover { text-decoration: underline; }
@media (min-width: 60rem) {
  .site-nav { display: block; }
}
@media (max-width: 22rem) {
  .brand small { display: none; }
}

.site-footer {
  background: var(--ink);
  color: var(--mortar-2);
  padding-block: 3.5rem 2.5rem;
  font-size: 0.9375rem;
}
.site-footer a { color: var(--paper); }
.site-footer a:hover { color: #f0b6a4; }
.footer-grid { display: grid; gap: 2rem; }
.footer-grid ul { list-style: none; display: grid; gap: 0.4rem; }
.site-footer .brand { color: var(--paper); }
.site-footer .brand small { color: var(--mortar); }
.footer-legal { margin-top: 3rem; color: var(--mortar); }
@media (min-width: 48rem) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

/* ---------- Layout ---------- */

.section { padding-block: clamp(4rem, 3rem + 5vw, 7.5rem); }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--ink .muted { color: #c3c8d4; }
.section--ink a:hover { color: #f0b6a4; }

.split { display: grid; gap: 2rem var(--gut); }
.split > .split-head p { margin-top: 1.25rem; max-width: 30em; }
@media (min-width: 60rem) {
  .split { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .split > .split-head { grid-column: 1 / span 4; }
  .split > .split-body { grid-column: 6 / -1; }
  .split--sticky > .split-head { position: sticky; top: 2rem; align-self: start; }
}

.prose { max-width: 40em; }
.prose h2 { margin-bottom: 1rem; }
.prose h3 { margin-top: 2.25rem; margin-bottom: 0.6rem; }
.prose ul, .prose ol { padding-left: 1.25rem; margin-top: 0.75rem; }
.prose li + li { margin-top: 0.4rem; }
.prose p + ul, .prose ul + p { margin-top: 1em; }

/* ---------- Hero ---------- */

.hero { padding-block: clamp(2rem, 1rem + 4vw, 4.5rem) clamp(4rem, 3rem + 4vw, 6.5rem); }
.hero-grid { display: grid; gap: 3rem var(--gut); align-items: end; }
.hero h1 { max-width: 12ch; }
.hero .lead { margin-top: 1.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; align-items: center; margin-top: 2rem; }
.hero-note { margin-top: 1.25rem; font-size: 0.9375rem; color: var(--ink-2); max-width: 34em; }
@media (min-width: 64rem) {
  .hero-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .hero-copy { grid-column: 1 / span 7; }
  .hero-wall { grid-column: 8 / -1; }
}

/* ---------- The calendar wall ---------- */

.wall-figure { width: 100%; }
.wall {
  --g: 4px;
  display: grid;
  gap: var(--g);
  padding: var(--g);
  background: var(--mortar);
  border-radius: 2px;
}
.course {
  display: grid;
  grid-template-columns: repeat(15, minmax(0, 1fr));
  gap: var(--g);
}
.brick {
  grid-column: span 2;
  position: relative;
  min-height: clamp(1.7rem, 1.2rem + 1.8vw, 2.5rem);
  background: var(--paper);
  border-radius: 1px;
  padding: 0.2rem 0.35rem;
  font-size: 0.75rem;
  line-height: 1.1;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--ink-2);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  animation: lay 520ms var(--ease-out) both;
  animation-delay: calc(var(--row, 0) * 70ms + var(--col, 0) * 22ms + 150ms);
}
.course:nth-child(2) { --row: 1; } .course:nth-child(3) { --row: 2; } .course:nth-child(4) { --row: 3; }
.course:nth-child(5) { --row: 4; } .course:nth-child(6) { --row: 5; } .course:nth-child(7) { --row: 6; }
.course:nth-child(8) { --row: 7; } .course:nth-child(9) { --row: 8; }
.brick:nth-child(2) { --col: 1; } .brick:nth-child(3) { --col: 2; } .brick:nth-child(4) { --col: 3; }
.brick:nth-child(5) { --col: 4; } .brick:nth-child(6) { --col: 5; } .brick:nth-child(7) { --col: 6; }
.brick:nth-child(8) { --col: 7; }
.brick--half { grid-column: span 1; }
.brick--half, .brick--edge { background: var(--mortar-2); }
.brick .tag { display: none; font-weight: 700; font-stretch: 105%; font-size: 0.6875rem; }
.brick--past { background: var(--mortar-2); color: #5c6478; }
.brick--today { box-shadow: inset 0 0 0 2px var(--ink); color: var(--ink); font-weight: 800; } /* taste-skill-ignore: inset outline or focus ring, not elevation */
.brick--bfcm { background: var(--brick); color: #fff; }
.brick--xmas { background: var(--spruce); color: #fff; }
.brick--soft { background: #e7cfc6; color: var(--brick-dk); }
@media (min-width: 40rem) {
  .brick .tag { display: block; }
}
@keyframes lay {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: none; }
}

.wall-caption { margin-top: 0.9rem; font-size: 0.875rem; color: var(--ink-2); }
.wall-key { list-style: none; display: grid; gap: 0.5rem; margin-top: 1rem; font-size: 0.9375rem; }
.wall-key li { display: grid; grid-template-columns: 1.6rem 1fr; gap: 0.6rem; align-items: baseline; }
.swatch { display: inline-block; width: 1.6rem; height: 0.8rem; border-radius: 1px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); transform: translateY(0.05rem); } /* taste-skill-ignore: inset outline or focus ring, not elevation */
.swatch--bfcm { background: var(--brick); box-shadow: none; } /* taste-skill-ignore: inset outline or focus ring, not elevation */
.swatch--soft { background: #e7cfc6; box-shadow: none; } /* taste-skill-ignore: inset outline or focus ring, not elevation */
.swatch--xmas { background: var(--spruce); box-shadow: none; } /* taste-skill-ignore: inset outline or focus ring, not elevation */
.swatch--today { background: var(--paper); box-shadow: inset 0 0 0 2px var(--ink); } /* taste-skill-ignore: inset outline or focus ring, not elevation */

/* ---------- Problem ---------- */

.problems { display: grid; gap: 2.25rem; counter-reset: none; }
.problems h3 { margin-bottom: 0.5rem; }
.problems p { max-width: 38em; }

/* ---------- Inventory table ---------- */

.inventory { width: 100%; border-collapse: collapse; font-size: 1rem; }
.inventory caption { text-align: left; font-size: 0.9375rem; color: var(--ink-2); padding-bottom: 1rem; }
.inventory th, .inventory td { text-align: left; vertical-align: top; padding: 1rem 1rem 1rem 0; }
.inventory thead th { font-size: 0.875rem; font-weight: 600; color: var(--ink-2); padding-block: 0 0.75rem; border-bottom: 2px solid var(--ink); }
.inventory tbody tr + tr th, .inventory tbody tr + tr td { border-top: 1px solid var(--mortar); }
.inventory tbody th { font-weight: 650; font-stretch: 104%; width: 38%; }
@media (max-width: 40rem) {
  .inventory thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .inventory, .inventory caption, .inventory tbody, .inventory tr, .inventory th, .inventory td { display: block; width: auto; }
  .inventory tbody tr { padding-block: 1rem; }
  .inventory tbody tr + tr { border-top: 1px solid var(--mortar); }
  .inventory tbody tr + tr th, .inventory tbody tr + tr td { border-top: 0; }
  .inventory th, .inventory td { padding: 0; }
  .inventory tbody th { width: auto; }
  .inventory td { margin-top: 0.35rem; }
  .inventory td::before { content: attr(data-label) ": "; color: var(--ink-2); font-size: 0.875rem; font-weight: 600; }
}

/* ---------- Included ---------- */

.included { display: grid; gap: 3rem var(--gut); }
.included h3 { margin-bottom: 1rem; padding-bottom: 0.75rem; border-bottom: 2px solid var(--ink); }
.ticks { list-style: none; display: grid; gap: 0.7rem; }
.ticks li { position: relative; padding-left: 1.6rem; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 0.85rem; height: 0.45rem;
  background: var(--brick);
  border-radius: 1px;
}
.ticks--plain li::before { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); } /* taste-skill-ignore: inset outline or focus ring, not elevation */
.section--ink .ticks li::before { background: #e08a71; }
@media (min-width: 48rem) {
  .included { grid-template-columns: 1fr 1fr; }
}

/* ---------- Steps ---------- */

.steps { list-style: none; display: grid; gap: 0; counter-reset: step; }
.steps > li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 3.25rem 1fr;
  gap: 0 1rem;
  padding-block: 1.6rem;
  border-top: 2px solid var(--ink);
}
.steps > li:last-child { border-bottom: 2px solid var(--ink); }
.steps > li::before {
  content: counter(step);
  font-stretch: 125%;
  font-weight: 800;
  font-size: 2.25rem;
  line-height: 1;
  color: var(--brick);
  font-variant-numeric: tabular-nums;
}
.steps h3 { margin-bottom: 0.4rem; }
.steps p { max-width: 38em; }

/* ---------- Timeline ---------- */

.dates { list-style: none; display: grid; }
.dates li {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 0 1.25rem;
  padding-block: 1rem;
  border-top: 1px solid var(--mortar); /* taste-skill-ignore: row divider in a list that reads as a table */
}
.dates li:first-child { border-top: 2px solid var(--ink); }
.dates time { font-weight: 700; font-stretch: 108%; font-variant-numeric: tabular-nums; }
.dates .is-bfcm time { color: var(--brick); }
.dates .is-xmas time { color: var(--spruce); }
.dates strong { display: block; }
.example-plan { margin-top: 2rem; padding: 1.25rem 1.4rem; background: var(--paper); border-radius: var(--radius); max-width: 42em; }

/* ---------- Pricing ---------- */

.founding { max-width: 44em; margin-top: 1.25rem; }
.packages { display: grid; gap: 3rem var(--gut); margin-top: 3rem; }
.package { border-top: 6px solid var(--ink); padding-top: 1.5rem; display: flex; flex-direction: column; }
.package--bundle { border-top-color: var(--brick); }
.package h3 { font-size: 1.375rem; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.25rem 0.75rem; margin-top: 1.25rem; }
.price-now { font-stretch: 122%; font-weight: 800; font-size: 3rem; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.price-label { width: 100%; font-size: 0.9375rem; color: var(--ink-2); margin-top: 0.35rem; }
.package dl { display: grid; gap: 0.6rem; margin-top: 1.5rem; font-size: 0.9375rem; }
.package dl div { display: grid; grid-template-columns: 6.5rem 1fr; gap: 0.75rem; }
.package dt { color: var(--ink-2); }
.package dd { margin: 0; font-weight: 550; }
.package .summary { margin-top: 1.25rem; }
.package .btn { margin-top: 1.75rem; align-self: flex-start; }
.package-foot { margin-top: auto; }
@media (min-width: 60rem) {
  .packages { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Demo ---------- */

.demo-grid { display: grid; gap: 2.5rem var(--gut); margin-top: 3rem; align-items: start; }
.frame { margin: 0; }
.frame-screen {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  container-type: inline-size;
}
.frame-screen--landing { aspect-ratio: 16 / 11; }
.frame-screen--email { aspect-ratio: 3 / 4.4; max-width: 26rem; }
.frame-screen iframe {
  position: absolute;
  top: 0; left: 0;
  border: 0;
  transform-origin: 0 0;
  transform: scale(var(--scale, 0.5));
  pointer-events: none;
  background: #fff;
}
.frame-screen--landing iframe { width: 1280px; height: 880px; }
.frame-screen--email iframe { width: 600px; height: 880px; }
.frame-missing {
  position: absolute; inset: 0;
  display: none;
  align-items: center; justify-content: center;
  padding: 1.5rem;
  text-align: center;
  color: var(--ink-2);
  background: var(--mortar-2);
}
.frame.is-missing iframe { display: none; }
.frame.is-missing .frame-missing { display: flex; }
.frame figcaption { margin-top: 0.8rem; font-size: 0.9375rem; color: var(--ink-2); }
@media (min-width: 60rem) {
  .demo-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .demo-grid .frame--landing { grid-column: 1 / span 8; }
  .demo-grid .frame--email { grid-column: 9 / -1; }
}

/* ---------- Never promise ---------- */

.never { display: grid; gap: 2.5rem var(--gut); margin-top: 2.5rem; }
.never h3 { margin-bottom: 0.9rem; color: var(--paper); }
@media (min-width: 48rem) {
  .never { grid-template-columns: 1fr 1fr; }
}

/* ---------- About ---------- */

.about-name { font-stretch: 112%; font-weight: 750; font-size: 1.5rem; line-height: 1.15; }
.about-facts { display: grid; gap: 0.6rem; margin-top: 1.5rem; }
.about-facts div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; }
.about-facts dt { color: var(--ink-2); }
.about-facts dd { margin: 0; }

/* ---------- FAQ ---------- */

.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--mortar); } /* taste-skill-ignore: row divider in a list that reads as a table */
.faq summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: 1fr 1.25rem;
  gap: 1rem;
  align-items: center;
  padding-block: 1.15rem;
  font-weight: 650;
  font-stretch: 104%;
  font-size: 1.125rem;
  line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--brick); }
.faq .plus { position: relative; width: 1.1rem; height: 1.1rem; }
.faq .plus::before, .faq .plus::after {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 100%; height: 2px; margin-top: -1px;
  background: currentColor;
  transition: transform 220ms var(--ease-out);
}
.faq .plus::after { transform: rotate(90deg); }
.faq details[open] .plus::after { transform: rotate(0deg); }
.faq .answer { padding-bottom: 1.4rem; max-width: 40em; }
.faq .answer ul { padding-left: 1.25rem; margin-top: 0.6rem; }
.faq .answer li + li { margin-top: 0.3rem; }

/* ---------- Forms ---------- */

.form { display: grid; gap: 1.25rem; }
.field { display: grid; gap: 0.4rem; }
.field label, .field legend, .label {
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.35;
}
.field .opt { font-weight: 400; color: var(--ink-2); }
.field .help { font-size: 0.875rem; color: var(--ink-2); line-height: 1.45; }
.field .err { font-size: 0.875rem; color: var(--brick); font-weight: 600; line-height: 1.4; }
.field .err:empty { display: none; }
.input, .form input[type="text"], .form input[type="email"], .form input[type="url"], .form input[type="date"],
.form input[type="datetime-local"], .form select, .form textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.85rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 140ms ease, box-shadow 140ms ease; /* taste-skill-ignore: inset outline or focus ring, not elevation */
}
.form textarea { min-height: 7rem; resize: vertical; }
.form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231b2232' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.5rem;
}
.form input:hover, .form select:hover, .form textarea:hover { border-color: var(--ink); }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(162, 59, 34, 0.45); /* taste-skill-ignore: inset outline or focus ring, not elevation */
}
.form [aria-invalid="true"] { border-color: var(--brick); }
.form ::placeholder { color: #6b7286; opacity: 1; }
.check { display: grid; grid-template-columns: 1.25rem 1fr; gap: 0.7rem; align-items: start; font-weight: 500; font-size: 1rem; }
.check input { width: 1.25rem; height: 1.25rem; margin: 0.15rem 0 0; accent-color: var(--brick); }
.radios { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.radios label { display: inline-flex; gap: 0.5rem; align-items: center; font-weight: 500; font-size: 1rem; }
.radios input { width: 1.15rem; height: 1.15rem; margin: 0; accent-color: var(--brick); }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; } /* taste-skill-ignore: honeypot, offscreen */
.form-status { font-weight: 600; }
.form-status:empty { display: none; }
.notice {
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: inset 0 0 0 2px var(--ink); /* taste-skill-ignore: inset outline or focus ring, not elevation */
}
.notice--error { box-shadow: inset 0 0 0 2px var(--brick); color: var(--brick-dk); background: #fbefeb; } /* taste-skill-ignore: inset outline or focus ring, not elevation */
.notice--ok { box-shadow: inset 0 0 0 2px var(--spruce); } /* taste-skill-ignore: inset outline or focus ring, not elevation */
.notice p + p { margin-top: 0.5em; }
.form-row { display: grid; gap: 1.25rem; }
@media (min-width: 40rem) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

/* ---------- Final CTA ---------- */

.cta-grid { display: grid; gap: 2.5rem var(--gut); }
.cta-panel { background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: clamp(1.25rem, 0.75rem + 2vw, 2.25rem); }
.cta-panel .muted { color: var(--ink-2); }
.cta-copy p { margin-top: 1.25rem; max-width: 30em; }
.cta-copy .contact { margin-top: 2rem; }
@media (min-width: 60rem) {
  .cta-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .cta-copy { grid-column: 1 / span 5; }
  .cta-panel { grid-column: 7 / -1; }
}
.success h3 { margin-bottom: 0.75rem; }

/* ---------- Simple pages ---------- */

.page-head { padding-block: clamp(2rem, 1rem + 4vw, 4rem) 2rem; }
.page-head p { margin-top: 1.25rem; }
.page-body { padding-bottom: clamp(4rem, 3rem + 4vw, 6rem); }
.legal h2 { font-stretch: 110%; font-size: 1.5rem; margin-top: 2.75rem; margin-bottom: 0.75rem; }
.legal h2:first-child { margin-top: 0; }
.legal .updated { color: var(--ink-2); font-size: 0.9375rem; }

/* ---------- Pay ---------- */

.pay-grid { display: grid; gap: 2.5rem var(--gut); }
.pay-pkg { border-top: 6px solid var(--ink); padding-top: 1.25rem; }
.pay-pkg + .pay-pkg { margin-top: 2.5rem; }
.pay-pkg.is-selected { border-top-color: var(--brick); }
#payment-methods {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: inset 0 0 0 2px var(--ink); /* taste-skill-ignore: inset outline or focus ring, not elevation */
  font-weight: 600;
}
@media (min-width: 60rem) {
  .pay-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .pay-main { grid-column: 1 / span 7; }
  .pay-side { grid-column: 9 / -1; }
}

/* ---------- Onboarding (/start/) ---------- */

.ob { display: grid; gap: 2rem var(--gut); padding-bottom: 5rem; }
.ob-progress { list-style: none; display: grid; grid-template-columns: repeat(var(--steps, 8), minmax(0, 1fr)); gap: 4px; padding: 4px; background: var(--mortar); border-radius: 2px; }
.ob-progress li { min-width: 0; }
.ob-progress button {
  width: 100%;
  min-height: 2.25rem;
  border: 0;
  border-radius: 1px;
  background: var(--paper);
  color: var(--ink-2);
  font: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem;
  cursor: pointer;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ob-progress button:disabled { cursor: not-allowed; background: var(--mortar-2); color: #5c6478; }
.ob-progress .is-done button { background: var(--ink); color: var(--paper); }
.ob-progress .is-current button { background: var(--brick); color: #fff; }
.ob-progress .label-long { display: none; }
@media (min-width: 48rem) {
  .ob-progress .label-short { display: none; }
  .ob-progress .label-long { display: inline; }
}
.ob-status { font-size: 0.9375rem; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; align-items: center; }
.ob-panel { background: var(--paper); border-radius: var(--radius); padding: clamp(1.25rem, 0.75rem + 2vw, 2.5rem); }
.ob-panel h2 { margin-bottom: 1.75rem; }
.ob-panel h2:focus { outline: none; }
.ob-panel h2:focus-visible { outline: 3px solid var(--brick); outline-offset: 4px; }
.ob-nav { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: space-between; margin-top: 2rem; }
.offer-item { border-top: 2px solid var(--ink); padding-top: 1.25rem; margin-top: 1rem; }
.offer-item:first-of-type { margin-top: 0; }
.offer-item-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1rem; }
.offer-item-head h3 { font-size: 1.0625rem; }
.offer-fields { display: grid; gap: 1.25rem; }
@media (min-width: 40rem) {
  .offer-fields { grid-template-columns: 1fr 1fr; }
  .offer-fields .field--wide { grid-column: 1 / -1; }
}
.color-pair { display: grid; grid-template-columns: 3rem 1fr; gap: 0.5rem; }
.color-pair input[type="color"] { width: 3rem; height: 3rem; padding: 0.2rem; border: 1.5px solid var(--line); border-radius: var(--radius); background: #fff; cursor: pointer; }
.review-section { border-top: 2px solid var(--ink); padding-block: 1.25rem; }
.review-section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 0.75rem; }
.review-section dl { display: grid; gap: 0.6rem; font-size: 0.9375rem; }
.review-section dl div { display: grid; gap: 0.15rem; }
.review-section dt { color: var(--ink-2); }
.review-section dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.review-section .empty { color: #6b7286; }
.review-section .is-missing { color: var(--brick); font-weight: 600; }
@media (min-width: 48rem) {
  .review-section dl div { grid-template-columns: 16rem 1fr; gap: 1rem; }
}
.ref-id { font-stretch: 112%; font-weight: 800; font-size: 1.5rem; overflow-wrap: anywhere; }

/* ---------- 404 ---------- */

.lost { padding-block: clamp(3rem, 2rem + 6vw, 7rem); }
.lost .wall { max-width: 26rem; margin-bottom: 2.5rem; }

.footer-about { margin-top: 1rem; max-width: 28em; }
.pricing-foot { margin-top: 3rem; max-width: 46em; }
.about-copy { margin-top: 1rem; }

/* ---------- Inner page details ---------- */

.prose .ticks, .prose .steps { padding-left: 0; }
.prose > p + p { margin-top: 1em; }
.prose h2 + p, .prose h2 + ul { margin-top: 0; }
.steps--compact { margin-block: 0.75rem 1.75rem; }
.steps--compact > li { padding-block: 1rem; grid-template-columns: 2.25rem 1fr; }
.steps--compact > li::before { font-size: 1.5rem; }
.legal h3 + ul { margin-top: 0.5rem; }
.legal .placeholder { background: var(--soft); color: var(--brick-dk); font-weight: 700; padding: 0 0.25em; border-radius: 1px; overflow-wrap: anywhere; }
.pay-pkg dl { margin-top: 1rem; font-size: 0.9375rem; }
.pay-pkg dl div { display: grid; gap: 0.15rem; }
.pay-pkg dt { color: var(--ink-2); }
.pay-pkg dd { margin: 0; }
.pay-pkg > p:not(.price) { margin-top: 1rem; max-width: 36em; }
.pay-side #payment-methods { margin-top: 1rem; }
.pay-note { margin-top: 1rem; font-size: 0.9375rem; color: var(--ink-2); }
.pay-sub { margin-top: 2.5rem; margin-bottom: 0.75rem; }
.brick--gap { background: transparent; box-shadow: inset 0 0 0 2px var(--brick); } /* taste-skill-ignore: inset outline or focus ring, not elevation */
.wall--lost .brick { min-height: 2rem; }
.lost .display { max-width: 14ch; }
.lost .lead { margin-top: 1.25rem; }
.lost .small { margin-top: 2rem; }

/* ---------- Small-screen fixes ---------- */

.split > * { min-width: 0; }
.about-name { overflow-wrap: anywhere; }
.site-header .btn { white-space: nowrap; flex: none; }
@media (max-width: 30rem) {
  .brand { font-size: 0.9375rem; font-stretch: 110%; }
  .brand small { font-size: 0.75rem; }
  .site-header .btn { padding-inline: 0.9rem; }
}
