/* Motionbar marketing site — layout, chrome and section patterns.
   Loads after tokens.css and base.css. Colours only via tokens. */

/* ---------- Shell & rhythm ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.shell-narrow {
  max-width: var(--shell-narrow);
}

.site-main {
  display: block;
  min-width: 0;
  padding-bottom: 8px;
}

.site-main:focus {
  outline: none;
}

.section {
  padding-top: var(--section-gap);
}

.section-tight {
  padding-top: 48px;
}

.section-first {
  padding-top: clamp(24px, 4vw, 56px);
}

/* ---------- Typography ---------- */
.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ember);
  margin: 0 0 14px;
}

.eyebrow-gold { color: var(--gold); }
.eyebrow-mint { color: var(--mint); }
.eyebrow-mute { color: var(--mute); }

.eyebrow-dot {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 10px var(--mint);
  flex: none;
}

.status-dot-ember {
  background: var(--ember);
  box-shadow: none;
}

.h1 {
  margin: 0;
  font-size: clamp(38px, 5.2vw, 64px);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -0.035em;
  max-width: 820px;
}

.h1-lg {
  font-size: clamp(44px, 5.6vw, 72px);
  line-height: 1;
}

.h1-md {
  font-size: clamp(36px, 4.6vw, 56px);
  line-height: 1.03;
  max-width: 760px;
}

.h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.03em;
  max-width: 700px;
}

.h2-lg {
  font-size: clamp(30px, 3.4vw, 42px);
  line-height: 1.08;
}

.h2-md {
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.08;
}

.h2-sm {
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.15;
}

.h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.lede {
  margin: 20px 0 0;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-soft);
  max-width: 580px;
  text-wrap: pretty;
}

.lede-sm {
  font-size: 16px;
  line-height: 1.6;
  max-width: 620px;
}

.body {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--mute);
}

.body-lg {
  line-height: 1.7;
}

.small {
  font-size: 13px;
  color: var(--mute);
}

.micro {
  font-size: 12px;
  color: var(--mute);
}

.mono {
  font-family: var(--font-mono);
}

.text-cream { color: var(--cream); }
.text-mute { color: var(--mute); }
.text-gold { color: var(--gold); }
.text-mint { color: var(--mint); }
.text-ember { color: var(--ember); }

.inline-link {
  color: var(--cream);
  font-weight: 600;
  text-decoration: none;
}

.inline-link:hover {
  color: var(--ember);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.section-head .eyebrow {
  margin-bottom: 12px;
}

.section-head > div {
  max-width: 560px;
}

.section-head h2 {
  margin: 0;
}

.arrow-link {
  font-size: 13px;
  color: var(--mute);
  text-decoration: none;
  white-space: nowrap;
}

.arrow-link:hover {
  color: var(--cream);
}

.arrow-link-mint {
  color: var(--mint);
  font-weight: 600;
}

.mb-22 { margin-bottom: 22px; }
.mt-14 { margin-top: 14px; }
.mt-16 { margin-top: 16px; }
.mt-22 { margin-top: 22px; }
.mt-26 { margin-top: 26px; }
.mt-28 { margin-top: 28px; }

/* ---------- Buttons & pills ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border-radius: 12px;
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition:
    background-color var(--speed) var(--ease),
    border-color var(--speed) var(--ease),
    color var(--speed) var(--ease),
    transform var(--speed) var(--ease);
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 13px;
  border-radius: 11px;
}

.btn-md {
  padding: 13px 21px;
  font-size: 13px;
}

.btn-block {
  width: 100%;
}

.btn-ember {
  background: var(--ember);
  color: var(--ember-ink);
  border-color: var(--ember);
}

.btn-ember:hover {
  background: rgba(var(--ember-rgb), 0.88);
  color: var(--ember-ink);
}

.btn-bone {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--cream);
}

.btn-bone:hover {
  background: rgba(var(--cream-rgb), 0.88);
  color: var(--ink);
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(var(--cream-rgb), 0.22);
  font-weight: 500;
}

.btn-ghost:hover {
  border-color: rgba(var(--cream-rgb), 0.4);
  color: var(--cream);
}

.btn-outline {
  background: transparent;
  color: var(--cream);
  border-color: var(--line-strong);
  font-weight: 600;
}

.btn-outline:hover {
  border-color: rgba(var(--cream-rgb), 0.4);
  color: var(--cream);
}

.btn-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 600;
  padding: 5px 9px;
  border-radius: var(--radius-pill);
  background: var(--fill);
  color: var(--cream);
  line-height: 1.3;
  white-space: nowrap;
}

.pill-gold { background: var(--gold); color: var(--ink); }
.pill-ember { background: var(--ember); color: var(--ember-ink); }
.pill-mint { background: var(--mint); color: var(--ink); }
.pill-mint-soft { background: rgba(var(--mint-rgb), 0.15); color: var(--mint); }
.pill-bone { background: var(--cream); color: var(--ink); }
.pill-dark { background: rgba(var(--ink-rgb), 0.4); color: var(--cream); }
.pill-outline {
  background: transparent;
  border: 1px solid rgba(var(--cream-rgb), 0.12);
  color: var(--mute);
  font-size: 12px;
  font-weight: 500;
  padding: 7px 13px;
}

.pill-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.meta-row {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--mute);
}

/* ---------- Cards & grids ---------- */
.grid {
  display: grid;
  gap: 14px;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid-cards { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.grid-tiles { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.grid-wide { gap: 36px; align-items: center; }
.grid-start { align-items: start; }

.card {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.card-link {
  transition: border-color var(--speed) var(--ease), transform var(--speed) var(--ease);
}

.card-link:hover {
  border-color: var(--line-strong);
  color: inherit;
  transform: translateY(-2px);
}

.card-md {
  padding: 24px;
  border-radius: 20px;
}

.card-sm {
  padding: 20px;
  border-radius: 18px;
  background: transparent;
}

.card-xl {
  border-radius: var(--radius-xl);
  padding: clamp(26px, 3.6vw, 40px);
}

.card-title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.card-title-sm {
  font-size: 15px;
  font-weight: 600;
}

.card-title-md {
  font-size: 16px;
  font-weight: 600;
}

.card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--mute);
}

.card-foot {
  margin-top: auto;
  padding-top: 8px;
  font-size: 12px;
  color: var(--gold);
  font-weight: 600;
}

.card-mint {
  border-color: rgba(var(--mint-rgb), 0.25);
  background: rgba(var(--mint-rgb), 0.05);
}

.card-mint .card-title {
  color: var(--mint);
}

.card-ember-line {
  border-color: rgba(var(--ember-rgb), 0.25);
}

.card-gold-line {
  border-color: rgba(var(--gold-rgb), 0.28);
}

.step-badge {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(var(--ember-rgb), 0.14);
  color: var(--ember);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 600;
  flex: none;
}

/* Stat strip */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}

.stat {
  background: var(--ink);
  padding: 22px 24px;
}

.stat-value {
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 12px;
  color: var(--mute);
  margin-top: 5px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.stat-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
}

/* Ledger / table list */
.ledger {
  border: 1px solid rgba(var(--gold-rgb), 0.28);
  border-radius: var(--radius-lg);
  background: var(--panel);
  padding: 8px;
}

.ledger-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  font-size: 12px;
  color: var(--mute);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ledger-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px;
  border-top: 1px solid var(--line-soft);
  font-size: 14px;
}

.ledger-row b {
  font-weight: 600;
  color: var(--gold);
}

.ledger-row b.mint {
  color: var(--mint);
}

/* FAQ */
.faq {
  display: flex;
  flex-direction: column;
}

.faq-item {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.faq-item:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-q {
  font-size: 15px;
  font-weight: 600;
  margin: 0;
}

.faq-a {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--mute);
  max-width: 660px;
}

.faq-a a {
  color: var(--cream);
  font-weight: 600;
  text-decoration: none;
}

.faq-a a:hover {
  color: var(--ember);
}

/* Check list */
.check-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 13px;
  color: var(--mute);
  line-height: 1.45;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 9px;
}

.check-list li::before {
  content: "/";
  color: var(--ember);
  flex: none;
}

/* Cross list */
.cross-list {
  border: 1px solid rgba(var(--ember-rgb), 0.25);
  border-radius: var(--radius-lg);
  background: var(--panel);
  overflow: hidden;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cross-list li {
  display: flex;
  gap: 14px;
  padding: 16px 22px;
  font-size: 14px;
  line-height: 1.5;
  border-top: 1px solid var(--line-soft);
}

.cross-list li:first-child {
  border-top: 0;
}

.cross-list li::before {
  content: "×";
  color: var(--ember);
  font-weight: 600;
  flex: none;
}

/* Rules list (left ember bar) */
.rules {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.rule {
  border-left: 2px solid var(--ember);
  padding: 2px 0 2px 16px;
}

.rule-title {
  font-size: 14px;
  font-weight: 600;
}

.rule p {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--mute);
  line-height: 1.55;
}

/* Comparison table */
.compare {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  overflow-x: auto;
}

.compare table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 13px;
}

.compare th,
.compare td {
  text-align: left;
  padding: 14px 18px;
  border-top: 1px solid var(--line-soft);
  color: var(--mute);
  vertical-align: middle;
}

.compare thead th {
  border-top: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px 18px;
}

.compare th.highlight {
  color: var(--ember);
}

.compare td:first-child,
.compare tbody th {
  color: var(--cream);
  font-weight: 500;
}

.compare td.gold {
  color: var(--gold);
  font-weight: 600;
}

/* ---------- Hero / wash ---------- */
.wash {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(70% 120% at 80% 0%, rgba(var(--ember-rgb), 0.42), transparent 62%),
    radial-gradient(60% 100% at 5% 100%, rgba(var(--gold-rgb), 0.22), transparent 60%),
    var(--panel-warm);
}

.cta-wash {
  padding: clamp(32px, 4.6vw, 56px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.cta-wash h2 {
  margin: 0;
  font-size: clamp(28px, 3.8vw, 46px);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.035em;
  max-width: 600px;
}

.cta-wash.cta-wash-lg h2 {
  font-size: clamp(32px, 4.4vw, 54px);
  line-height: 1.04;
  max-width: 620px;
}

.cta-wash p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(var(--cream-rgb), 0.75);
  max-width: 480px;
}

.cta-wash .btn-row {
  margin-top: 6px;
}

/* Home hero */
.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 36px;
  align-items: center;
  padding-top: clamp(20px, 3vw, 44px);
}

.hero-copy {
  min-width: 0;
}

.hero-copy .pill-row {
  margin-bottom: 22px;
}

.hero-copy .lede {
  max-width: 520px;
}

.hero-copy .btn-row {
  margin-top: 28px;
}

.hero-copy .meta-row {
  margin-top: 26px;
}

.hero-visual {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 480px;
  background:
    radial-gradient(80% 75% at 75% 25%, rgba(var(--ember-rgb), 0.5), transparent 62%),
    radial-gradient(60% 60% at 8% 100%, rgba(var(--gold-rgb), 0.28), transparent 60%),
    var(--panel-warm);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
}

.hero-twin {
  position: absolute;
  right: 4%;
  top: 2%;
  height: 96%;
  width: auto;
  max-width: none;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(180deg, var(--ink) 62%, transparent);
  mask-image: linear-gradient(180deg, var(--ink) 62%, transparent);
}

.hero-twin-back {
  right: 46%;
  top: 14%;
  height: 64%;
  opacity: 0.45;
  -webkit-mask-image: linear-gradient(180deg, var(--ink) 50%, transparent);
  mask-image: linear-gradient(180deg, var(--ink) 50%, transparent);
}

.hero-prompt {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.prompt-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(var(--ink-rgb), 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(var(--cream-rgb), 0.12);
  border-radius: 16px;
  padding: 12px 12px 12px 18px;
}

.prompt-bar span:first-child {
  font-size: 13px;
  color: rgba(var(--cream-rgb), 0.7);
  flex: 1;
  min-width: 0;
}

.prompt-go {
  background: var(--ember);
  color: var(--ember-ink);
  border-radius: 10px;
  padding: 9px 15px;
  font-size: 12px;
  font-weight: 600;
  flex: none;
}

.prompt-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
  color: var(--text-softer);
  padding: 0 4px;
  flex-wrap: wrap;
}

.prompt-meta span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.prompt-meta .status-dot {
  width: 7px;
  height: 7px;
}

.hero-credit {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 10px;
  color: rgba(var(--cream-rgb), 0.5);
  letter-spacing: 0.04em;
}

/* Twin thumbnails (how it runs) */
.twin-thumbs {
  margin-top: auto;
  display: flex;
  gap: 6px;
}

.twin-thumbs img {
  width: 44px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
}

.script-lines {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.script-lines span {
  height: 9px;
  border-radius: 3px;
  background: rgba(var(--cream-rgb), 0.14);
}

.script-lines span:nth-child(2) { width: 78%; background: var(--fill); }
.script-lines span:nth-child(3) { width: 44%; background: var(--ember); }

.render-grid {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.render-grid span {
  aspect-ratio: 9 / 16;
  border-radius: 6px;
  background: linear-gradient(160deg, var(--panel-ember), var(--ink));
}

.render-grid span:nth-child(2) { background: linear-gradient(160deg, var(--panel-mint), var(--ink)); }
.render-grid span:nth-child(3) { background: linear-gradient(160deg, var(--panel-blue), var(--ink)); }
.render-grid span:nth-child(4) { background: linear-gradient(160deg, var(--panel-gold), var(--ink)); }

/* Format tiles */
.format {
  text-decoration: none;
  color: inherit;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  display: block;
  transition: border-color var(--speed) var(--ease), transform var(--speed) var(--ease);
}

.format:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
  color: inherit;
}

.format-art {
  aspect-ratio: 16 / 10;
  position: relative;
  display: flex;
  align-items: flex-start;
  padding: 13px;
  gap: 6px;
}

.format-art-viral {
  background: radial-gradient(90% 90% at 80% 20%, rgba(var(--ember-rgb), 0.55), transparent 60%), var(--panel-ember);
}

.format-art-listing {
  background: radial-gradient(90% 90% at 80% 20%, rgba(var(--mint-rgb), 0.4), transparent 60%), var(--panel-mint);
}

.format-art-series {
  background: radial-gradient(90% 90% at 80% 20%, rgba(var(--cream-rgb), 0.18), transparent 60%), var(--panel-blue);
}

.format-art-brand {
  background: radial-gradient(90% 90% at 80% 20%, rgba(var(--gold-rgb), 0.45), transparent 60%), var(--panel-gold);
}

.format-phone {
  position: absolute;
  right: 18px;
  bottom: -10px;
  width: 50px;
  height: 90px;
  border: 1.5px solid rgba(var(--cream-rgb), 0.25);
  border-radius: 10px;
}

.format-rooms {
  position: absolute;
  right: 18px;
  bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.format-rooms span {
  width: 78px;
  height: 34px;
  background: var(--fill);
  border-radius: 6px;
}

.format-rooms span:last-child {
  background: var(--fill-soft);
}

.format-rows {
  position: absolute;
  right: 18px;
  bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.format-rows span {
  width: 78px;
  height: 15px;
  border-radius: 4px;
  background: rgba(var(--cream-rgb), 0.12);
}

.format-rows span:nth-child(2) { background: rgba(var(--cream-rgb), 0.08); }
.format-rows span:nth-child(3) { background: rgba(var(--cream-rgb), 0.05); }

.format-ring {
  position: absolute;
  right: 22px;
  bottom: 16px;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 1.5px solid rgba(var(--cream-rgb), 0.25);
}

.format-body {
  padding: 17px 19px 19px;
}

.format-title {
  font-size: 16px;
  font-weight: 600;
}

.format-desc {
  font-size: 13px;
  color: var(--mute);
  margin-top: 5px;
  line-height: 1.45;
}

/* Twin feature split */
.split {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--panel);
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.split-copy {
  padding: clamp(28px, 4vw, 46px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: center;
  min-width: 0;
}

.split-copy .body {
  max-width: 460px;
}

.split-visual {
  position: relative;
  min-height: 380px;
  background: radial-gradient(70% 70% at 60% 30%, rgba(var(--ember-rgb), 0.35), transparent 62%), var(--panel-warm-deep);
}

.split-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
  margin-top: 4px;
}

.mini-stat {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 15px;
}

.mini-stat-label {
  font-size: 10px;
  color: var(--mute);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mini-stat-value {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-top: 5px;
}

/* Trust band */
.trust-band {
  border: 1px solid rgba(var(--mint-rgb), 0.25);
  background: rgba(var(--mint-rgb), 0.05);
  border-radius: var(--radius-xl);
  padding: clamp(26px, 3.6vw, 40px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  align-items: center;
}

.trust-band .h2 {
  font-size: clamp(26px, 3vw, 36px);
}

.badge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
}

.badge {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 14px;
  font-size: 12px;
  color: var(--mute);
}

.badge b {
  display: block;
  color: var(--cream);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
}

/* Portrait art */
.portrait {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: radial-gradient(80% 70% at 70% 20%, rgba(var(--ember-rgb), 0.42), transparent 62%), var(--panel-warm);
}

.portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.use-case-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 28px;
  align-items: center;
}

@media (max-width: 860px) {
  .use-case-split {
    grid-template-columns: 1fr;
  }
  .use-case-split .portrait {
    max-width: 420px;
  }
}

.tile {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 15px 17px;
  font-size: 14px;
  color: var(--cream);
}

/* ---------- Pricing ---------- */
.plan-toggle {
  display: inline-flex;
  gap: 6px;
  margin-top: 26px;
  border: 1px solid rgba(var(--cream-rgb), 0.12);
  border-radius: var(--radius-pill);
  padding: 5px;
  font-size: 13px;
  font-weight: 500;
}

.plan-toggle span {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  color: var(--mute);
}

.plan-toggle span.on {
  background: var(--cream);
  color: var(--ink);
}

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}

.plan {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  min-width: 0;
}

.plan-featured {
  border-color: var(--ember);
  background: radial-gradient(120% 100% at 80% 0%, rgba(var(--ember-rgb), 0.16), transparent 60%), var(--panel);
}

.plan-flag {
  position: absolute;
  top: -10px;
  left: 26px;
}

.plan-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--mute);
}

.plan-featured .plan-name {
  color: var(--ember);
}

.plan-price {
  font-size: 38px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

.plan-price small {
  font-size: 14px;
  color: var(--mute);
  font-weight: 500;
  letter-spacing: 0;
}

.plan-desc {
  font-size: 13px;
  color: var(--mute);
  line-height: 1.5;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(var(--cream-rgb), 0.08);
}

.plan .btn {
  margin-top: auto;
}

.pack {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 15px 18px;
  font-size: 14px;
  text-decoration: none;
  color: var(--cream);
}

.pack:hover {
  border-color: var(--line-strong);
  color: var(--cream);
}

.pack-featured {
  border-color: rgba(var(--gold-rgb), 0.35);
}

.pack b {
  font-weight: 600;
}

.pack small {
  font-size: 11px;
  color: var(--mute);
}

.pack-price {
  color: var(--gold);
  font-weight: 600;
  white-space: nowrap;
}

.pack-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 22px;
}

.empty {
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3.6vw, 40px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: var(--panel);
}

.empty p {
  margin: 0;
  font-size: 15px;
  color: var(--mute);
  line-height: 1.6;
  max-width: 520px;
}

/* ---------- Forms (static, mailto-driven) ---------- */
.form-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--panel);
  padding: clamp(24px, 3.2vw, 36px);
}

.form-title {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.form-intro {
  margin: 10px 0 24px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--mute);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}

.form-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.field-wide {
  grid-column: 1 / -1;
}

.field > span {
  font-size: 12px;
  font-weight: 600;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid rgba(var(--cream-rgb), 0.14);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  background: var(--ink);
  font-size: 14px;
  color: var(--cream);
  font-family: inherit;
  transition: border-color var(--speed) var(--ease);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--mute);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: rgba(var(--cream-rgb), 0.4);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.chip-row {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  font-size: 12px;
}

.chip {
  position: relative;
}

.chip input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.chip span {
  display: inline-block;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(var(--cream-rgb), 0.14);
  color: var(--mute);
  transition: all var(--speed) var(--ease);
}

.chip input:checked + span {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--cream);
  font-weight: 600;
}

.chip input:focus-visible + span {
  outline: 2px solid var(--ember);
  outline-offset: 2px;
}

.form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.form-foot .small {
  max-width: 300px;
  line-height: 1.5;
  font-size: 12px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 1fr);
  gap: 28px;
  align-items: start;
}

@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.side-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.kv {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}

.kv span:first-child {
  color: var(--mute);
}

.kv b {
  font-weight: 600;
}

.kv-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-top: 16px;
}

.kv-divider {
  padding-top: 11px;
  border-top: 1px solid rgba(var(--mint-rgb), 0.18);
}

.direct-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 13px;
}

.direct-list a {
  text-decoration: none;
  font-weight: 600;
}

.direct-label {
  color: var(--mute);
  font-size: 12px;
}

/* ---------- Legal pages ---------- */
.legal {
  display: grid;
  grid-template-columns: minmax(200px, 260px) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
}

.legal-toc-title {
  font-size: 11px;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.legal-toc a {
  text-decoration: none;
  font-size: 13px;
  line-height: 1.5;
  color: var(--mute);
  padding: 6px 0;
  border-bottom: 1px solid rgba(var(--cream-rgb), 0.06);
}

.legal-toc a:hover {
  color: var(--cream);
}

.legal-toc a b {
  font-weight: 500;
  color: var(--mute);
  margin-right: 8px;
  font-variant-numeric: tabular-nums;
}

.legal-body {
  min-width: 0;
  max-width: 720px;
}

.legal-section {
  padding-top: 40px;
  scroll-margin-top: 110px;
}

.legal-section .eyebrow {
  margin-bottom: 10px;
}

.legal-section h2 {
  margin: 0 0 16px;
}

.legal-section p,
.legal-section li {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-soft);
}

.legal-section p {
  margin: 0 0 14px;
}

.legal-section ul {
  margin: 0 0 14px;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.legal-section li {
  line-height: 1.7;
}

.legal-section b {
  color: var(--cream);
  font-weight: 600;
}

.legal-section a {
  color: var(--cream);
  font-weight: 600;
  text-decoration: none;
}

.legal-section a:hover {
  color: var(--ember);
}

@media (max-width: 860px) {
  .legal {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .legal-toc {
    position: static;
  }
}

/* Help */
.help-search {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(var(--cream-rgb), 0.14);
  border-radius: 16px;
  padding: 14px 18px;
  background: var(--panel);
  max-width: 520px;
}

.help-search span:first-child {
  font-size: 14px;
  color: var(--mute);
  flex: 1;
}

.kbd {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--mute);
  border: 1px solid rgba(var(--cream-rgb), 0.12);
  border-radius: 6px;
  padding: 3px 7px;
}

.help-group {
  padding-top: 44px;
  scroll-margin-top: 110px;
}

.help-group h2 {
  margin: 0 0 6px;
}

.help-group .faq-item {
  padding: 19px 0;
}

.help-group .faq-item:last-child {
  border-bottom: 0;
}

.help-group .faq-a {
  margin-top: 9px;
  line-height: 1.7;
}

/* Team placeholder */
.team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

.headshot {
  aspect-ratio: 1;
  border-radius: 18px;
  border: 1px solid var(--line);
  background:
    repeating-linear-gradient(135deg, rgba(var(--cream-rgb), 0.05) 0 8px, transparent 8px 16px),
    var(--panel);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--mute);
  letter-spacing: 0.06em;
  text-align: center;
  padding: 10px;
}

.team-name {
  font-size: 13px;
  font-weight: 600;
  margin-top: 10px;
}

.team-role {
  font-size: 12px;
  color: var(--mute);
  margin-top: 2px;
}

.prose {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--mute);
}

.prose p {
  margin: 0;
}

.hiring {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.hiring > div {
  min-width: 0;
  max-width: 520px;
}

.hiring p {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--mute);
}

/* ---------- Brand page ---------- */
.lockup-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}

.lockup {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
  overflow: hidden;
}

.lockup-art {
  min-height: 140px;
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--ink);
  border-bottom: 1px solid var(--line-soft);
}

.lockup-art.light {
  background: var(--cream);
}

.lockup-art.mid {
  background: var(--mute);
}

.lockup-art img {
  max-height: 64px;
  width: auto;
}

.lockup-art img.mark {
  max-height: 72px;
}

.lockup-body {
  padding: 16px 18px 18px;
}

.lockup-body b {
  display: block;
  font-size: 14px;
  font-weight: 600;
}

.lockup-body p {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--mute);
}

.swatches {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
}

.swatch {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--panel);
}

.swatch-chip {
  height: 72px;
}

.swatch-ember { background: linear-gradient(180deg, var(--ember), rgba(var(--ember-rgb), 0.8)); }
.swatch-gold { background: linear-gradient(180deg, var(--gold), rgba(var(--gold-rgb), 0.8)); }
.swatch-stone { background: linear-gradient(180deg, var(--mute), rgba(var(--mute-rgb), 0.8)); }
.swatch-ink { background: var(--ink); border-bottom: 1px solid var(--line); }
.swatch-bone { background: var(--cream); }
.swatch-mint { background: var(--mint); }
.swatch-wash {
  background:
    radial-gradient(70% 120% at 80% 0%, rgba(var(--ember-rgb), 0.42), transparent 62%),
    radial-gradient(60% 100% at 5% 100%, rgba(var(--gold-rgb), 0.22), transparent 60%),
    var(--panel-warm);
}

.swatch-body {
  padding: 14px 16px;
}

.swatch-body b {
  display: block;
  font-size: 14px;
  font-weight: 600;
}

.swatch-body p {
  margin: 4px 0 0;
  font-size: 12.5px;
  color: var(--mute);
  line-height: 1.5;
}

.swatch-body code {
  display: block;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-softer);
}

.type-specimen {
  display: grid;
  grid-template-columns: minmax(100px, 160px) minmax(0, 1fr) minmax(120px, 200px);
  gap: 16px;
  align-items: baseline;
  padding: 16px 0;
  border-top: 1px solid var(--line-soft);
}

.type-specimen:last-child {
  border-bottom: 1px solid var(--line-soft);
}

.type-specimen .label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
}

.type-specimen .spec {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--mute);
  text-align: right;
}

@media (max-width: 640px) {
  .type-specimen {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .type-specimen .spec {
    text-align: left;
  }
}

.voice-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.voice-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
}

.voice-list li {
  padding-left: 18px;
  position: relative;
}

.voice-list li::before {
  position: absolute;
  left: 0;
  font-weight: 600;
}

.voice-list.yes li::before { content: "/"; color: var(--mint); }
.voice-list.no li { color: var(--mute); }
.voice-list.no li::before { content: "×"; color: var(--ember); }

.asset-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.asset {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  text-decoration: none;
  color: var(--cream);
  font-size: 14px;
}

.asset:hover {
  border-color: var(--line-strong);
  color: var(--cream);
}

.asset small {
  display: block;
  font-size: 12px;
  color: var(--mute);
  margin-top: 2px;
}

.asset .arrow {
  color: var(--mute);
  white-space: nowrap;
  font-size: 13px;
}

.icon-row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.icon-row img {
  border-radius: 8px;
}

.og-preview {
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: var(--panel);
}

.og-preview img {
  display: block;
  width: 100%;
}

/* ---------- Header island ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 14px var(--gutter) 0;
  pointer-events: none;
}

.island {
  pointer-events: auto;
  max-width: 1320px;
  margin: 0 auto;
  background: rgba(var(--panel-rgb), 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(var(--cream-rgb), 0.12);
  border-radius: 20px;
  box-shadow: var(--shadow-island);
  padding: 10px 12px 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transition: background-color var(--speed) var(--ease), border-color var(--speed) var(--ease);
}

.site-header.is-scrolled .island {
  background: rgba(var(--panel-rgb), 0.92);
  border-color: rgba(var(--cream-rgb), 0.16);
}

.island-logo {
  display: flex;
  align-items: center;
  flex: none;
  text-decoration: none;
  margin: -7px -23px;
}

.island-logo img {
  height: 42px;
  width: auto;
  display: block;
}

.island-nav {
  display: flex;
  gap: 4px;
  min-width: 0;
}

.island-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--mute);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: color var(--speed) var(--ease), background-color var(--speed) var(--ease);
}

.island-link:hover {
  color: var(--cream);
  background: var(--fill-soft);
}

.island-link.is-active {
  color: var(--cream);
  background: var(--fill);
}

.island-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

.island-signin {
  font-size: 13px;
  color: var(--mute);
  padding: 9px 12px;
  text-decoration: none;
  white-space: nowrap;
}

.island-signin:hover {
  color: var(--cream);
}

.island-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  border: 1px solid rgba(var(--cream-rgb), 0.18);
  background: transparent;
  cursor: pointer;
  place-items: center;
  color: var(--cream);
}

.island-menu-bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.island-menu-bars span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  transition: transform var(--speed) var(--ease);
}

.site-header.is-open .island-menu-bars span:first-child {
  transform: translateY(2.75px) rotate(45deg);
}

.site-header.is-open .island-menu-bars span:last-child {
  transform: translateY(-2.75px) rotate(-45deg);
}

.mobile-menu {
  pointer-events: auto;
  max-width: 1320px;
  margin: 8px auto 0;
  background: rgba(var(--panel-rgb), 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(var(--cream-rgb), 0.12);
  border-radius: 20px;
  box-shadow: var(--shadow-island);
  padding: 10px;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
}

.mobile-link {
  text-decoration: none;
  color: var(--cream);
  font-size: 15px;
  font-weight: 500;
  padding: 13px 14px;
  border-radius: 12px;
}

.mobile-link:hover,
.mobile-link.is-active {
  background: var(--fill-soft);
  color: var(--cream);
}

.mobile-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 10px 4px 4px;
  border-top: 1px solid var(--line-soft);
  margin-top: 6px;
}

@media (max-width: 900px) {
  .island-nav,
  .island-signin {
    display: none;
  }
  .island-menu-btn {
    display: grid;
  }
  .island {
    padding: 8px 8px 8px 16px;
    border-radius: 18px;
  }
  .island-logo {
    margin: -6px -20px;
  }
  .island-logo img {
    height: 38px;
  }
}

@media (min-width: 901px) {
  .mobile-menu {
    display: none !important;
  }
}

@media (max-width: 380px) {
  .island .btn-sm {
    padding: 10px 12px;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(200px, 1.4fr) repeat(auto-fit, minmax(140px, 1fr));
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}

.footer-brand {
  min-width: 0;
}

.footer-logo {
  display: inline-flex;
  margin: -8px -25px;
}

.footer-logo img {
  height: 46px;
  width: auto;
  display: block;
}

.footer-brand p {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--mute);
  max-width: 280px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 13px;
}

.footer-col a {
  text-decoration: none;
  color: var(--mute);
}

.footer-col a:hover {
  color: var(--cream);
}

.footer-heading {
  font-size: 11px;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 22px;
  font-size: 12px;
  color: var(--mute);
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  text-decoration: none;
  color: var(--mute);
}

.footer-social a:hover {
  color: var(--cream);
}

@media (max-width: 720px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* ---------- 404 ---------- */
.not-found {
  min-height: 60svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 18px;
}

.not-found .code {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--ember);
}

/* ---------- Utility ---------- */
.max-620 { max-width: 620px; }
.max-560 { max-width: 560px; }
.max-520 { max-width: 520px; }
.max-480 { max-width: 480px; }
.max-460 { max-width: 460px; }
.max-440 { max-width: 440px; }
.max-420 { max-width: 420px; }

html.menu-open {
  overflow: hidden;
}
