/* ==========================================================================
   Porcelio — ceramics control-room design system
   Consistent kaolin surface across every page. Committed terracotta accent.
   ========================================================================== */

:root {
  /* palette */
  --kaolin: #f6f1ea;
  --kaolin-2: #fbf8f3;
  --kaolin-3: #efe7db;
  --ink: #241c17;
  --ink-2: #5a4e44;
  --terracotta: #c65d3b;
  --terracotta-deep: #a8492c;
  --ember: #e0925a;
  --taupe: #6b5e54;
  --fired: #1a1512;
  --fired-2: #241d18;
  --line: rgba(36, 28, 23, 0.12);
  --line-strong: rgba(36, 28, 23, 0.22);
  --line-dark: rgba(246, 241, 234, 0.14);

  /* type */
  --font-sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Spline Sans Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* spacing rhythm */
  --gap: clamp(1rem, 2.4vw, 1.75rem);
  --section-y: clamp(4.5rem, 9vw, 8.5rem);
  --wrap: 1200px;
  --wrap-narrow: 900px;

  /* radius */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-pill: 999px;

  /* elevation */
  --shadow-1: 0 1px 2px rgba(36, 28, 23, 0.06), 0 8px 24px rgba(36, 28, 23, 0.07);
  --shadow-2: 0 2px 4px rgba(36, 28, 23, 0.08), 0 18px 48px rgba(36, 28, 23, 0.12);

  /* z-scale */
  --z-base: 1;
  --z-sticky: 100;
  --z-dropdown: 200;
  --z-backdrop: 300;
  --z-modal: 400;
  --z-toast: 500;

  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

/* ------- reset ------- */
*,
*::before,
*::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--font-sans);
  background: var(--kaolin);
  color: var(--ink);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.62;
  font-weight: 420;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

/* ------- type scale ------- */
h1, h2, h3, h4 {
  font-weight: 680;
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.h-display {
  font-size: clamp(2.6rem, 1.4rem + 5vw, 4.75rem);
  letter-spacing: -0.03em;
  line-height: 0.98;
}
h2, .h2 {
  font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3rem);
  letter-spacing: -0.025em;
}
h3, .h3 { font-size: clamp(1.3rem, 1.05rem + 0.9vw, 1.65rem); }
p { text-wrap: pretty; }
.lead {
  font-size: clamp(1.1rem, 1rem + 0.7vw, 1.4rem);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 60ch;
}
.measure { max-width: 68ch; }

/* mono kicker — a deliberate, named brand system (used with restraint) */
.kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}
.kicker::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--terracotta);
}
.kicker.on-dark { color: var(--ember); }
.kicker.on-dark::before { background: var(--ember); }

.mono { font-family: var(--font-mono); }
.eyebrow-note {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--taupe);
}

/* ------- layout ------- */
.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}
.wrap-narrow { max-width: var(--wrap-narrow); }
.section { padding-block: var(--section-y); }
.section-sm { padding-block: clamp(3rem, 6vw, 5rem); }
.stack > * + * { margin-top: var(--gap); }

/* ------- buttons ------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.85em 1.4em;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease-expo), background 0.25s, color 0.25s,
    border-color 0.25s;
  will-change: transform;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--terracotta);
  color: #fff;
}
.btn-primary:hover { background: var(--terracotta-deep); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--ink); background: rgba(36, 28, 23, 0.04); }
.btn-dark {
  background: var(--fired);
  color: var(--kaolin);
}
.btn-dark:hover { background: var(--fired-2); }
.btn.on-dark.btn-ghost { color: var(--kaolin); border-color: var(--line-dark); }
.btn.on-dark.btn-ghost:hover { border-color: var(--kaolin); background: rgba(246,241,234,0.06); }
.btn .arrow { transition: transform 0.35s var(--ease-expo); }
.btn:hover .arrow { transform: translateX(3px); }

.link-inline {
  color: var(--terracotta-deep);
  font-weight: 560;
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, gap 0.3s var(--ease-expo);
}
.link-inline:hover { border-color: currentColor; gap: 0.55em; }

/* ------- header ------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: color-mix(in srgb, var(--kaolin) 82%, var(--kaolin));
  backdrop-filter: none;
  border-bottom: 1px solid var(--line);
}
.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 720;
  font-size: 1.22rem;
  letter-spacing: -0.03em;
}
.brand__glyph { width: 26px; height: 26px; flex: none; }
.nav { display: flex; align-items: center; gap: 0.35rem; }
.nav a {
  padding: 0.5rem 0.8rem;
  border-radius: var(--r-md);
  font-size: 0.94rem;
  font-weight: 520;
  color: var(--ink-2);
  transition: color 0.2s, background 0.2s;
}
.nav a:hover,
.nav a[aria-current="page"] { color: var(--ink); background: rgba(36, 28, 23, 0.05); }
.header-cta { display: flex; align-items: center; gap: 0.6rem; }

/* products dropdown */
.has-menu { position: relative; }
.menu-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  width: min(92vw, 640px);
  background: var(--kaolin-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: none;
  padding: 0.75rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease-quart), transform 0.25s var(--ease-quart),
    visibility 0.25s;
  z-index: var(--z-dropdown);
}
.has-menu:hover .menu-panel,
.has-menu:focus-within .menu-panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.menu-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  padding: 0.7rem 0.8rem;
  border-radius: var(--r-md);
  align-items: start;
}
.menu-item:hover { background: var(--kaolin-3); }
.menu-item__mark { width: 30px; height: 30px; margin-top: 2px; }
.menu-item strong { font-size: 0.95rem; font-weight: 640; display: block; }
.menu-item span { font-size: 0.82rem; color: var(--ink-2); line-height: 1.4; }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  background: transparent;
  align-items: center; justify-content: center;
}
.menu-toggle svg { width: 20px; height: 20px; }

/* ------- hero ------- */
.hero {
  position: relative;
  padding-block: clamp(3.5rem, 7vw, 7rem) clamp(3rem, 6vw, 5.5rem);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.hero__eyebrow { margin-bottom: 1.4rem; }
.hero__title { margin-bottom: 1.4rem; }
.hero__title em { font-style: normal; color: var(--terracotta-deep); }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}
.hero__meta {
  margin-top: 2.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem 2.4rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.hero__panel {
  background: var(--fired);
  color: var(--kaolin);
  border-radius: var(--r-lg);
  padding: clamp(1.2rem, 2.2vw, 1.8rem);
  box-shadow: none;
}

/* firing curve widget */
.curve-card__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1rem;
}
.curve-card__head .mono { font-size: 0.75rem; color: var(--ember); letter-spacing: 0.08em; }
.curve-card__title { font-size: 0.95rem; color: var(--kaolin); font-weight: 600; }
.curve-svg { width: 100%; height: auto; }
.curve-svg .grid-line { stroke: var(--line-dark); stroke-width: 1; }
.curve-svg .axis-label { fill: rgba(246,241,234,0.5); font-family: var(--font-mono); font-size: 9px; }
.curve-svg .curve-target { fill: none; stroke: rgba(224,146,90,0.4); stroke-width: 2; stroke-dasharray: 4 4; }
.curve-svg .curve-actual {
  fill: none; stroke: var(--terracotta); stroke-width: 2.5; stroke-linecap: round;
  stroke-dasharray: 1000; stroke-dashoffset: 1000;
  animation: draw-curve 2.4s var(--ease-expo) 0.3s forwards;
}
@keyframes draw-curve { to { stroke-dashoffset: 0; } }
.curve-card__readouts {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; margin-top: 1rem;
}
.readout { border-top: 1px solid var(--line-dark); padding-top: 0.5rem; }
.readout b { font-family: var(--font-mono); font-size: 1.15rem; font-weight: 600; color: var(--kaolin); display: block; }
.readout span { font-size: 0.7rem; color: rgba(246,241,234,0.55); letter-spacing: 0.04em; }

/* ------- marquee ------- */
.marquee {
  border-block: 1px solid var(--line);
  overflow: hidden;
  padding-block: 1.15rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: inline-flex;
  gap: 3rem;
  white-space: nowrap;
  animation: scroll-x 34s linear infinite;
}
.marquee__track span {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--taupe);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.marquee__track span::before { content: "◇"; color: var(--terracotta); font-size: 0.7rem; }
@keyframes scroll-x { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  .curve-svg .curve-actual { animation: none; stroke-dashoffset: 0; }
}

/* ------- section heading block ------- */
.section-head { max-width: 760px; margin-bottom: clamp(2.2rem, 4vw, 3.4rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .kicker { margin-bottom: 1rem; }
.section-head p { margin-top: 1rem; color: var(--ink-2); font-size: 1.08rem; }
.section-head.center p { margin-inline: auto; }

/* ------- loop diagram ------- */
.loop {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  position: relative;
}
.loop__node {
  background: var(--kaolin-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.6rem;
}
.loop__node .step-n {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--terracotta-deep);
  letter-spacing: 0.1em;
}
.loop__node h3 { margin: 0.7rem 0 0.5rem; }
.loop__node p { color: var(--ink-2); font-size: 0.96rem; }

/* ------- stat band ------- */
.stat-band { background: var(--fired); color: var(--kaolin); }
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: clamp(1.4rem, 3vw, 2.6rem);
}
.stat {
  border-top: 2px solid var(--terracotta);
  padding-top: 1rem;
}
.stat b {
  font-family: var(--font-mono);
  font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--kaolin);
  display: block;
  line-height: 1;
}
.stat span { display: block; margin-top: 0.7rem; color: rgba(246,241,234,0.7); font-size: 0.95rem; }
.stat-band.on-light { background: transparent; color: var(--ink); }
.stat-band.on-light .stat b { color: var(--ink); }
.stat-band.on-light .stat span { color: var(--ink-2); }

/* ------- product grid ------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.1rem;
}
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--kaolin-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.6rem;
  overflow: hidden;
  transition: transform 0.4s var(--ease-expo), box-shadow 0.4s var(--ease-expo),
    border-color 0.3s;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: none;
  border-color: var(--line-strong);
}
.product-card__mark { width: 40px; height: 40px; margin-bottom: 1.1rem; }
.product-card h3 { display: flex; align-items: baseline; gap: 0.5rem; }
.product-card h3 .tag {
  font-family: var(--font-mono); font-size: 0.68rem; color: var(--taupe);
  letter-spacing: 0.08em; font-weight: 500;
}
.product-card p { color: var(--ink-2); font-size: 0.96rem; margin-top: 0.6rem; flex: 1; }
.product-card .card-foot {
  margin-top: 1.3rem; padding-top: 1rem; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
}
.product-card .card-foot .mono { font-size: 0.72rem; color: var(--taupe); }

/* ------- feature split ------- */
.split {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split.reverse .split__media { order: 2; }
.split__body h2 { margin-bottom: 1.1rem; }
.split__body > p { color: var(--ink-2); }
.feature-list { margin-top: 1.6rem; }
.feature-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
}
.feature-list li:last-child { border-bottom: 1px solid var(--line); }
.feature-list .tick {
  width: 22px; height: 22px; flex: none; margin-top: 2px;
  color: var(--terracotta-deep);
}
.feature-list strong { font-weight: 600; }
.feature-list span { display: block; color: var(--ink-2); font-size: 0.94rem; margin-top: 0.15rem; }

/* media panel (dark instrument) */
.media-panel {
  background: var(--fired);
  border-radius: var(--r-lg);
  padding: clamp(1.4rem, 2.6vw, 2rem);
  color: var(--kaolin);
  box-shadow: none;
}
.media-panel__label {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ember); margin-bottom: 1rem;
  display: flex; justify-content: space-between;
}
.media-panel.on-light { background: var(--kaolin-2); color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.media-panel.on-light .media-panel__label { color: var(--terracotta-deep); }

/* tone / caliber strip */
.tone-strip { display: flex; border-radius: var(--r-md); overflow: hidden; }
.tone-strip div { flex: 1; height: 46px; }
.tone-legend {
  display: flex; justify-content: space-between; margin-top: 0.6rem;
  font-family: var(--font-mono); font-size: 0.7rem; color: rgba(246,241,234,0.6);
}
.media-panel.on-light .tone-legend { color: var(--taupe); }

/* spec chips */
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  padding: 0.4em 0.8em;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  color: var(--ink-2);
  background: var(--kaolin-2);
}
.chip.on-dark { border-color: var(--line-dark); color: rgba(246,241,234,0.8); background: rgba(246,241,234,0.04); }

/* mini readout rows (dark panel) */
.readout-rows { display: grid; gap: 0.5rem; }
.readout-row {
  display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: baseline;
  padding: 0.6rem 0; border-bottom: 1px solid var(--line-dark);
  font-size: 0.9rem;
}
.readout-row:last-child { border-bottom: 0; }
.readout-row span { color: rgba(246,241,234,0.6); }
.readout-row b { font-family: var(--font-mono); color: var(--kaolin); font-weight: 500; }
.readout-row b .ok { color: var(--ember); }
.media-panel.on-light .readout-row { border-color: var(--line); }
.media-panel.on-light .readout-row span { color: var(--ink-2); }
.media-panel.on-light .readout-row b { color: var(--ink); }

/* ------- segments ------- */
.segment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}
.segment {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  background: var(--kaolin-2);
  transition: background 0.3s;
}
.segment:hover { background: var(--kaolin-3); }
.segment .seg-ico { width: 30px; height: 30px; color: var(--terracotta-deep); margin-bottom: 1rem; }
.segment h3 { font-size: 1.1rem; }
.segment p { color: var(--ink-2); font-size: 0.92rem; margin-top: 0.5rem; }

/* ------- steps ------- */
.steps { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); counter-reset: step; }
.step {
  background: var(--kaolin-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.6rem 1.4rem;
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--terracotta-deep);
  font-weight: 600;
}
.step h3 { font-size: 1.12rem; margin: 0.7rem 0 0.5rem; }
.step p { color: var(--ink-2); font-size: 0.94rem; }

/* ------- comparison ------- */
.compare { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.compare__row {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr;
  border-top: 1px solid var(--line);
}
.compare__row:first-child { border-top: 0; }
.compare__row > div { padding: 1rem 1.2rem; font-size: 0.94rem; }
.compare__row.head > div { background: var(--fired); color: var(--kaolin); font-weight: 600; font-size: 0.9rem; }
.compare__row.head .col-porcelio { color: var(--ember); }
.compare__row > div:first-child { font-weight: 560; }
.compare__row > div + div { border-left: 1px solid var(--line); }
.compare .col-porcelio { background: rgba(198,93,59,0.06); }
.compare .yes { color: var(--terracotta-deep); font-weight: 600; }
.compare .no { color: var(--taupe); }

/* ------- testimonial ------- */
.quote-band { background: var(--kaolin-3); }
.quote {
  font-size: clamp(1.4rem, 1.1rem + 1.5vw, 2.1rem);
  font-weight: 560;
  letter-spacing: -0.02em;
  line-height: 1.28;
  max-width: 22ch;
}
.quote-wrap {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.quote-meta { display: flex; align-items: center; gap: 0.9rem; margin-top: 2rem; }
.quote-meta .avatar {
  width: 46px; height: 46px; border-radius: var(--r-pill);
  background: var(--terracotta); color: #fff; display: grid; place-items: center;
  font-weight: 700; font-family: var(--font-mono);
}
.quote-meta b { display: block; font-weight: 600; }
.quote-meta span { color: var(--ink-2); font-size: 0.9rem; }

/* ------- faq ------- */
.faq { display: grid; gap: 0.6rem; max-width: 820px; margin-inline: auto; }
.faq-item { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--kaolin-2); overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 1.15rem 1.3rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-weight: 560; font-size: 1.02rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .ico {
  width: 20px; height: 20px; flex: none; transition: transform 0.3s var(--ease-quart);
  color: var(--terracotta-deep);
}
.faq-item[open] summary .ico { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 1.3rem 1.25rem; color: var(--ink-2); }

/* ------- pricing ------- */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.1rem; align-items: start; }
.price-card {
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.8rem;
  background: var(--kaolin-2); display: flex; flex-direction: column;
}
.price-card.featured { background: var(--fired); color: var(--kaolin); border-color: var(--fired); }
.price-card__name { font-family: var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.78rem; color: var(--terracotta-deep); }
.price-card.featured .price-card__name { color: var(--ember); }
.price-card__price { font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.4rem); font-weight: 700; margin: 0.8rem 0 0.2rem; letter-spacing: -0.02em; }
.price-card__price small { font-size: 0.95rem; font-weight: 500; color: var(--ink-2); }
.price-card.featured .price-card__price small { color: rgba(246,241,234,0.6); }
.price-card__desc { color: var(--ink-2); font-size: 0.94rem; min-height: 3em; }
.price-card.featured .price-card__desc { color: rgba(246,241,234,0.72); }
.price-card ul { margin: 1.4rem 0; display: grid; gap: 0.7rem; }
.price-card li { display: grid; grid-template-columns: auto 1fr; gap: 0.6rem; font-size: 0.92rem; }
.price-card li .tick { width: 18px; height: 18px; margin-top: 2px; color: var(--terracotta); }
.price-card.featured li .tick { color: var(--ember); }
.price-card .btn { margin-top: auto; justify-content: center; }
.badge-featured {
  align-self: flex-start; font-family: var(--font-mono); font-size: 0.68rem;
  letter-spacing: 0.1em; text-transform: uppercase; background: var(--terracotta);
  color: #fff; padding: 0.3em 0.7em; border-radius: var(--r-pill); margin-bottom: 0.9rem;
}

/* ------- cta band ------- */
.cta-band { background: var(--fired); color: var(--kaolin); position: relative; overflow: hidden; }
.cta-band::after {
  content: ""; position: absolute; inset: -40% -10% auto auto; width: 480px; height: 480px;
  background: none;
  filter: blur(20px); pointer-events: none;
}
.cta-inner { position: relative; text-align: center; max-width: 720px; margin-inline: auto; }
.cta-inner h2 { color: var(--kaolin); }
.cta-inner p { color: rgba(246,241,234,0.72); margin: 1rem auto 2rem; max-width: 52ch; }
.cta-actions { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }

/* ------- footer ------- */
.site-footer { background: var(--fired); color: rgba(246,241,234,0.72); padding-block: clamp(3.5rem, 6vw, 5rem) 2.5rem; }
.footer-top { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 2rem; }
.footer-brand .brand { color: var(--kaolin); }
.footer-brand p { margin-top: 1rem; max-width: 30ch; font-size: 0.92rem; }
.footer-col h4 { color: var(--kaolin); font-size: 0.82rem; font-family: var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1rem; font-weight: 500; }
.footer-col a { display: block; padding: 0.35rem 0; font-size: 0.92rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--ember); }
.footer-bottom {
  margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--line-dark);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  font-size: 0.85rem; font-family: var(--font-mono);
}

/* ------- page hero (interior) ------- */
.page-hero { padding-block: clamp(3.5rem, 6vw, 5.5rem) clamp(2.5rem, 4vw, 3.5rem); }
.page-hero .kicker { margin-bottom: 1.2rem; }
.page-hero h1 { max-width: 16ch; }
.page-hero p { margin-top: 1.3rem; }
.breadcrumb { font-family: var(--font-mono); font-size: 0.76rem; color: var(--taupe); margin-bottom: 1.4rem; }
.breadcrumb a:hover { color: var(--terracotta-deep); }

/* prose */
.prose { max-width: 68ch; }
.prose p { margin-top: 1.1rem; color: var(--ink-2); }
.prose h2 { margin-top: 2.6rem; }
.prose h3 { margin-top: 1.8rem; }
.prose ul.bullets { margin-top: 1rem; display: grid; gap: 0.5rem; }
.prose ul.bullets li { display: grid; grid-template-columns: auto 1fr; gap: 0.6rem; color: var(--ink-2); }
.prose ul.bullets li::before { content: "◇"; color: var(--terracotta); }

/* generic two-col grids reused */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.1rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.1rem; }

.info-card {
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.5rem; background: var(--kaolin-2);
}
.info-card .ico { width: 28px; height: 28px; color: var(--terracotta-deep); margin-bottom: 0.9rem; }
.info-card h3 { font-size: 1.1rem; }
.info-card p { color: var(--ink-2); font-size: 0.94rem; margin-top: 0.5rem; }

/* timeline */
.timeline { display: grid; gap: 0; }
.tl-item { display: grid; grid-template-columns: 120px 1fr; gap: 1.6rem; padding: 1.4rem 0; border-top: 1px solid var(--line); }
.tl-item:last-child { border-bottom: 1px solid var(--line); }
.tl-item .tl-when { font-family: var(--font-mono); font-size: 0.85rem; color: var(--terracotta-deep); font-weight: 600; }
.tl-item h3 { font-size: 1.1rem; }
.tl-item p { color: var(--ink-2); font-size: 0.94rem; margin-top: 0.4rem; }

/* form */
.form-card { background: var(--kaolin-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.6rem, 3vw, 2.4rem); box-shadow: none; }
.field { display: grid; gap: 0.4rem; margin-bottom: 1.1rem; }
.field label { font-size: 0.86rem; font-weight: 560; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 0.95rem; padding: 0.75rem 0.9rem; border: 1px solid var(--line-strong);
  border-radius: var(--r-md); background: var(--kaolin); color: var(--ink); transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--terracotta); box-shadow: none;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* reveal animation */
.reveal { opacity: 0; transform: translateY(22px); }
.reveal.in { opacity: 1; transform: none; transition: opacity 0.7s var(--ease-expo), transform 0.7s var(--ease-expo); }
.reveal.d1 { transition-delay: 0.06s; }
.reveal.d2 { transition-delay: 0.12s; }
.reveal.d3 { transition-delay: 0.18s; }
.reveal.d4 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .product-card, .link-inline { transition: none; }
}

/* focus ring */
:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 3px; border-radius: 3px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: var(--z-toast);
  background: var(--fired); color: var(--kaolin); padding: 0.7rem 1rem; border-radius: 0 0 var(--r-md) 0;
}
.skip-link:focus { left: 0; }

/* ------- responsive ------- */
@media (max-width: 940px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__panel { order: -1; }
  .split { grid-template-columns: 1fr; }
  .split.reverse .split__media { order: 0; }
  .loop { grid-template-columns: 1fr; }
  .quote-wrap { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .nav, .header-cta .btn-ghost { display: none; }
  .menu-toggle { display: inline-flex; }
  .field-row { grid-template-columns: 1fr; }
  .compare__row { grid-template-columns: 1fr; }
  .compare__row > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .compare__row.head { display: none; }
  .tl-item { grid-template-columns: 1fr; gap: 0.4rem; }
  .footer-top { grid-template-columns: 1fr; }
}

/* mobile nav drawer */
.mobile-nav {
  position: fixed; inset: 0; z-index: var(--z-modal);
  background: var(--kaolin); padding: 1.2rem;
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform 0.4s var(--ease-expo);
  visibility: hidden;
}
.mobile-nav.open { transform: none; visibility: visible; }
.mobile-nav__top { display: flex; justify-content: space-between; align-items: center; height: 46px; }
.mobile-nav__links { margin-top: 1.5rem; display: grid; gap: 0.2rem; overflow-y: auto; }
.mobile-nav__links a { padding: 0.85rem 0.4rem; font-size: 1.15rem; font-weight: 560; border-bottom: 1px solid var(--line); }
.mobile-nav__links a small { display: block; font-size: 0.82rem; color: var(--ink-2); font-weight: 400; }
.mobile-nav .btn { margin-top: 1.4rem; justify-content: center; }
