/* Qixeo Invoice — marketing site styles
   Tokens first; change --accent here to re-theme the whole page. */

:root {
  --paper: #f8f5ee;
  --paper-alt: #f1ecdf;
  --card: #fcfbf7;
  --ink: #1a1a1f;
  --muted: #6e6a62;
  --line: rgba(26, 26, 31, 0.1);
  --line-soft: rgba(26, 26, 31, 0.06);
  --accent: #1f8f6e;
  --accent-soft: rgba(31, 143, 110, 0.1);
  --accent-mid: rgba(31, 143, 110, 0.35);
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Inter', -apple-system, system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --shadow-card: 0 1px 0 rgba(0, 0, 0, 0.02), 0 16px 40px -32px rgba(26, 26, 31, 0.3);
  --shadow-mock: 0 1px 0 rgba(0, 0, 0, 0.02), 0 24px 60px -40px rgba(26, 26, 31, 0.35);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
html,
body {
  margin: 0;
  padding: 0;
  background: var(--paper);
}
body {
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
}
a:hover {
  color: var(--ink);
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 56px;
}

/* Type helpers */
.mono {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.si {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-variation-settings:
    'SOFT' 100,
    'WONK' 1;
}
.si.accent {
  color: var(--accent);
}
.h2 {
  font-family: var(--serif);
  font-size: 48px;
  line-height: 1.04;
  letter-spacing: -0.025em;
  font-weight: 400;
  margin: 14px 0 0;
  max-width: 820px;
  text-wrap: balance;
}
.sub {
  color: var(--muted);
  font-size: 17px;
  margin: 14px 0 0;
  max-width: 640px;
}

/* Buttons */
.btn {
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 6px 16px -8px var(--accent-mid);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px -8px var(--accent-mid);
  color: #fff;
}
.btn-lg {
  padding: 14px 26px;
  font-size: 15px;
}
.btn-ghost-dark {
  background: transparent;
  color: var(--paper);
  border-color: rgba(248, 245, 238, 0.25);
}
.btn-ghost-dark:hover {
  border-color: rgba(248, 245, 238, 0.6);
  color: var(--paper);
}
.text-link {
  color: var(--ink);
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px solid rgba(26, 26, 31, 0.14);
  padding-bottom: 2px;
}
.text-link:hover {
  border-bottom-color: var(--ink);
}

/* Shopify badge */
.badge-shopify {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(26, 26, 31, 0.12);
  border-radius: 999px;
  padding: 4px 10px;
}
.badge-shopify .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5e8e3e;
}
.badge-shopify .label {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 245, 238, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 18px 0;
  border-bottom: 1px solid rgba(26, 26, 31, 0.08);
}
.nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.wordmark {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 21px;
  letter-spacing: -0.015em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  color: var(--muted);
}
.nav-links a {
  text-decoration: none;
}

/* Hero */
.hero {
  padding: 84px 0 0;
  position: relative;
  overflow: hidden;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
}
.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.hero h1 {
  font-family: var(--serif);
  font-size: 74px;
  line-height: 1.03;
  letter-spacing: -0.028em;
  font-weight: 400;
  margin: 0 0 36px;
  max-width: 980px;
  text-wrap: balance;
  padding-bottom: 4px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: start;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 6px;
}
.lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 540px;
  margin: 0;
}
.lead .si {
  color: var(--ink);
}
.cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
}
.micro {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Hero invoice mock */
.doc-wrap {
  position: relative;
  height: 470px;
}
.doc-back {
  position: absolute;
  top: 26px;
  left: 34px;
  width: 390px;
  height: 400px;
  background: #fdfcf8;
  border: 1px solid var(--line);
  border-radius: 10px;
  transform: rotate(2.2deg);
  box-shadow: 0 18px 44px -30px rgba(26, 26, 31, 0.35);
}
.doc {
  position: absolute;
  top: 0;
  left: 0;
  width: 400px;
  background: #fff;
  border: 1px solid rgba(26, 26, 31, 0.12);
  border-radius: 10px;
  padding: 26px 28px;
  box-shadow:
    0 1px 0 rgba(0, 0, 0, 0.02),
    0 30px 60px -34px rgba(26, 26, 31, 0.4);
  transform: rotate(-1.2deg);
}
.doc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.doc-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-top: 2px;
}
.pill-accent {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 9px;
  border-radius: 999px;
}
.mono-xs {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.doc-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(26, 26, 31, 0.08);
}
.doc-items {
  margin-top: 18px;
  border-top: 1px solid rgba(26, 26, 31, 0.08);
}
.doc-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13px;
}
.doc-item .dim {
  color: var(--muted);
}
.doc-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 14px;
}
.doc-total .amount {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.remit {
  margin-top: 16px;
  background: var(--paper);
  border-radius: 6px;
  padding: 10px 12px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.chip-dark {
  position: absolute;
  right: -18px;
  top: -16px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 8px;
  padding: 9px 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  white-space: nowrap;
  box-shadow: 0 16px 34px -18px rgba(26, 26, 31, 0.5);
  transform: rotate(1.5deg);
}
.chip-paid {
  position: absolute;
  left: -14px;
  bottom: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 20px 44px -24px rgba(26, 26, 31, 0.35);
}
.check-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}

/* fig captions */
.fig-caption {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.fig-caption .si {
  text-transform: none;
  letter-spacing: 0;
  font-size: 14px;
  color: var(--ink);
}

/* Diagram */
.diagram-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--line);
  overflow: hidden;
  width: 100%;
  box-shadow:
    0 1px 0 rgba(0, 0, 0, 0.02),
    0 24px 60px -40px rgba(26, 26, 31, 0.3);
  background-image: radial-gradient(rgba(26, 26, 31, 0.05) 1px, transparent 1px);
  background-size: 22px 22px;
}
#ship2 {
  width: 960px;
  height: 470px;
  margin: 0 auto;
  position: relative;
}
.diag-headers {
  position: absolute;
  left: 0;
  right: 0;
  top: 24px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.diag-headers div {
  position: absolute;
  width: 236px;
}
#ship2 svg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
#ship2 svg path {
  stroke: var(--accent);
}
.dcard {
  position: absolute;
  width: 236px;
  height: 108px;
  padding: 16px 18px;
}
.dcard-order {
  left: 32px;
  top: 180px;
  height: 132px;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 12px;
  color: var(--paper);
  box-shadow: 0 20px 44px -22px rgba(26, 26, 31, 0.5);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}
/* Scenario swap: order card + scenario label dip out while data changes */
.diag-headers div[data-d='label'] {
  transition: opacity 0.35s ease;
}
#ship2[data-swap='1'] .dcard-order {
  opacity: 0;
  transform: translateY(8px);
}
#ship2[data-swap='1'] .diag-headers div[data-d='label'] {
  opacity: 0;
}
.dcard-ship {
  left: 362px;
  background: var(--card);
  border: 1px dashed rgba(26, 26, 31, 0.3);
  border-radius: 8px;
  transition: all 0.45s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.dcard-inv {
  left: 692px;
  background: #fff;
  border: 1px solid rgba(26, 26, 31, 0.12);
  border-left: 3px solid var(--accent);
  border-radius: 12px;
  transition: all 0.5s cubic-bezier(0.2, 0.7, 0.3, 1);
  box-shadow:
    0 1px 0 rgba(0, 0, 0, 0.02),
    0 14px 34px -22px rgba(26, 26, 31, 0.25);
}
.row-1 {
  top: 56px;
}
.row-2 {
  top: 192px;
}
.row-3 {
  top: 328px;
}
.delay-1 {
  transition-delay: 0.12s;
}
.delay-2 {
  transition-delay: 0.24s;
}
.dcard-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}
.dcard-id {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.dcard-amount {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 500;
  margin-top: 8px;
  letter-spacing: -0.015em;
}
.dcard-note {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 2px;
}
.pill-final {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 2px 6px;
  border-radius: 3px;
}

/* Diagram phase states (data-phase set by app.js) */
#ship2[data-phase='0'] .dcard-ship {
  transform: translateX(-18px);
  opacity: 0;
}
#ship2[data-phase='0'] .dcard-inv,
#ship2[data-phase='1'] .dcard-inv {
  transform: translateX(18px);
  opacity: 0;
}
#ship2[data-phase='3'] .dcard-inv {
  border-color: var(--accent-mid);
  box-shadow:
    0 0 0 3px var(--accent-soft),
    0 14px 34px -22px rgba(26, 26, 31, 0.28);
}
#ship2 svg path.os {
  stroke-dasharray: 600;
  stroke-dashoffset: 0;
  transition:
    stroke-dashoffset 0.7s ease,
    opacity 0.3s;
}
#ship2 svg path.si-line {
  stroke-dasharray: 500;
  stroke-dashoffset: 0;
  transition:
    stroke-dashoffset 0.6s ease,
    opacity 0.3s;
}
#ship2[data-phase='0'] svg path.os {
  stroke-dashoffset: 600;
  opacity: 0;
}
#ship2[data-phase='0'] svg path.si-line,
#ship2[data-phase='1'] svg path.si-line {
  stroke-dashoffset: 500;
  opacity: 0;
}

/* Sections */
.section {
  padding: 104px 0;
}
.section.bordered {
  border-top: 1px solid var(--line-soft);
}
.section.alt {
  background: var(--paper-alt);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

/* How-it-works cards */
.cards-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 28px;
  margin-top: 56px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 30px 28px;
  box-shadow: var(--shadow-card);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 1px 0 rgba(0, 0, 0, 0.02),
    0 24px 50px -30px rgba(26, 26, 31, 0.4);
}
.num-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.num-pill {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 9px;
  border-radius: 999px;
  letter-spacing: 0.06em;
}
.num-row .rule {
  height: 1px;
  flex: 1;
  background: rgba(26, 26, 31, 0.08);
}
.card-title {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.card-body {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

/* What's inside */
.inside-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 56px;
  row-gap: 16px;
  margin-top: 52px;
}
.inside-item {
  border-top: 1px solid rgba(26, 26, 31, 0.12);
  padding: 24px 0 12px;
}
.inside-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.inside-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.inside-tier {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}
.inside-body {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  margin-top: 8px;
  max-width: 460px;
}

/* The loop */
.loop-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 56px;
  margin-top: 56px;
  align-items: start;
}
.steps-rail {
  display: flex;
  flex-direction: column;
  position: relative;
}
.steps-rail::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 20px;
  bottom: 20px;
  width: 1px;
  background: rgba(26, 26, 31, 0.14);
}
.step {
  display: flex;
  gap: 20px;
  padding: 18px 0;
  position: relative;
}
.step-num {
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(26, 26, 31, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--accent);
  flex-shrink: 0;
  box-shadow: 0 4px 10px -6px rgba(26, 26, 31, 0.3);
}
.step-title {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.step-body {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
  margin-top: 6px;
  max-width: 380px;
}

/* Mock frames (dashboard, editor, status page) */
.mock {
  background: #fff;
  border: 1px solid rgba(26, 26, 31, 0.12);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-mock);
}
.mock-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(26, 26, 31, 0.08);
  background: var(--card);
}
.mock-head-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.traffic {
  display: flex;
  gap: 6px;
}
.traffic span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(26, 26, 31, 0.12);
}
.mock-title {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.mock-status {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--accent);
}

/* Dashboard */
.buckets {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-bottom: 1px solid rgba(26, 26, 31, 0.08);
}
.bk {
  padding: 16px 16px 14px;
  border-left: 1px solid var(--line-soft);
}
.bk-amount {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-top: 6px;
}
.bar {
  height: 3px;
  border-radius: 2px;
  background: rgba(26, 26, 31, 0.07);
  margin-top: 10px;
  position: relative;
  overflow: hidden;
}
.bar span {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: var(--accent);
  border-radius: 2px;
}
.ar-head,
.ar-row {
  display: grid;
  grid-template-columns: 1.6fr 0.6fr 0.9fr 1.4fr;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line-soft);
}
.ar-head {
  padding: 10px 18px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.ar-row {
  font-size: 13.5px;
  align-items: center;
}
.ar-name {
  font-weight: 500;
}
.ar-open {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
}
.ar-balance {
  font-weight: 500;
}
.status-pill {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
}
.status-pill.neutral {
  background: rgba(26, 26, 31, 0.06);
  color: var(--muted);
}
.status-pill.accent {
  background: var(--accent-soft);
  color: var(--accent);
}
.status-pill.dark {
  background: var(--ink);
  color: var(--paper);
}
.mock-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 18px;
  background: var(--card);
}
.mock-foot .total {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* Template editor mock */
.editor-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
}
.blocks {
  padding: 16px;
  border-right: 1px solid rgba(26, 26, 31, 0.08);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.blk {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 12.5px;
  background: var(--card);
}
.blk .grip {
  color: rgba(26, 26, 31, 0.3);
  font-size: 11px;
}
.blk.sel {
  border-color: var(--accent);
  background: var(--accent-soft);
  font-weight: 500;
}
.blk.sel .grip {
  color: var(--accent);
}
.add-block {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}
.preview-pane {
  padding: 18px;
  background: var(--paper);
}
.preview-doc {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 16px;
  box-shadow: 0 8px 20px -14px rgba(26, 26, 31, 0.3);
}
.sk {
  border-radius: 3px;
  background: rgba(26, 26, 31, 0.1);
}
.sk.dark {
  background: rgba(26, 26, 31, 0.16);
}
.sk.accent {
  background: var(--accent-mid);
}
.mock-caption-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-top: 24px;
}
.mock-caption-body {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  margin-top: 8px;
  max-width: 460px;
}
.docs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  margin-top: 56px;
  align-items: start;
}

/* Status page mock */
.url-pill {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--muted);
  background: rgba(26, 26, 31, 0.05);
  border-radius: 999px;
  padding: 4px 14px;
}
.ship-row {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid rgba(26, 26, 31, 0.08);
}
.ship-title {
  font-size: 13.5px;
  font-weight: 500;
}
.ship-sub {
  font-size: 12px;
  color: var(--muted);
  margin-top: 1px;
}
.track {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
}
.inv-link {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  color: var(--accent);
  border: 1px solid var(--accent-mid);
  border-radius: 999px;
  padding: 4px 10px;
}
.state-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-block;
}
.state-dot.done {
  background: var(--accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}
.state-dot.transit {
  background: var(--accent-soft);
  border: 1px solid var(--accent-mid);
}
.state-dot.pending {
  border: 1px dashed rgba(26, 26, 31, 0.25);
}
.invoiced-strip {
  margin-top: 4px;
  background: var(--paper);
  border-radius: 8px;
  padding: 10px 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
}
.invoiced-strip .val {
  color: var(--ink);
}

/* Built for */
.bf-list {
  margin-top: 44px;
  border-top: 1px solid var(--line);
}
.bf-row {
  display: grid;
  grid-template-columns: 140px 1fr 2fr;
  gap: 32px;
  padding: 26px 16px;
  margin: 0 -16px;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
  border-radius: 8px;
  transition: background 0.2s ease;
}
.bf-row:hover {
  background: rgba(255, 255, 255, 0.7);
}
.bf-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.bf-title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.bf-body {
  color: var(--muted);
  font-size: 15px;
}

/* Testimonials */
.quotes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.quote-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 36px 34px;
  box-shadow: var(--shadow-card);
  position: relative;
}
.placeholder-tag {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--muted);
  background: rgba(26, 26, 31, 0.05);
  padding: 3px 8px;
  border-radius: 3px;
  position: absolute;
  top: 16px;
  right: 16px;
}
.quote {
  font-family: 'Lora', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -0.01em;
}
.attrib {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}
.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 15px;
  color: var(--accent);
}
.attrib-name {
  font-size: 14px;
  font-weight: 500;
}
.attrib-sub {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 1px;
}

/* Pricing */
.pricing-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
}
.toggle {
  display: flex;
  background: rgba(26, 26, 31, 0.06);
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 6px;
}
.tgl-btn {
  border: none;
  cursor: pointer;
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 500;
  font-family: var(--sans);
  background: transparent;
  color: var(--muted);
  transition: all 0.15s ease;
}
.tgl-btn.active {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 4px 10px -4px rgba(26, 26, 31, 0.4);
}
.ptable {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 44px;
  box-shadow:
    0 1px 0 rgba(0, 0, 0, 0.02),
    0 30px 70px -50px rgba(26, 26, 31, 0.4);
}
.pgrid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
}
.phead {
  border-bottom: 1px solid var(--line);
}
.plan-label {
  padding: 26px 26px 22px;
  align-self: end;
}
.tier {
  padding: 26px 22px 22px;
  border-left: 1px solid var(--line);
}
.tier.hl {
  background: var(--accent-soft);
}
.tier-name {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.tier.hl .tier-name {
  color: var(--accent);
}
.tier-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pop-pill {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  color: #fff;
  background: var(--accent);
  padding: 3px 7px;
  border-radius: 999px;
}
.price-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 8px;
}
.price {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.per {
  color: var(--muted);
  font-size: 13px;
}
.unit {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
}
.sec-head {
  background: var(--paper);
  border-bottom: 1px solid var(--line-soft);
}
.sec-head .sec-label {
  padding: 14px 26px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}
.sec-head .cell {
  padding: 0;
}
.prow {
  border-bottom: 1px solid var(--line-soft);
}
.feat {
  padding: 14px 26px;
  font-size: 14px;
}
.cell {
  padding: 14px 22px;
  border-left: 1px solid var(--line);
  text-align: center;
}
.cell.hl {
  background: var(--accent-soft);
}
.chk {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ink);
  position: relative;
  vertical-align: middle;
}
.cell.hl .chk {
  background: var(--accent);
}
.chk::after {
  content: '✓';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}
.nope {
  color: rgba(26, 26, 31, 0.22);
  font-family: var(--mono);
  font-size: 13px;
}
.pfoot-note {
  padding: 22px 26px;
  color: var(--muted);
  font-size: 13px;
  font-style: italic;
  font-family: var(--serif);
}
.cta-cell {
  padding: 18px 14px;
  border-left: 1px solid var(--line);
}
.cta-cell.hl {
  background: var(--accent-soft);
}
.cta-btn {
  display: block;
  text-align: center;
  padding: 11px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  background: var(--ink);
  color: #fff;
}
.cta-cell.hl .cta-btn {
  background: var(--accent);
}
.cta-btn:hover {
  color: #fff;
}

/* Closing */
.closing {
  padding: 130px 0;
  background: rgb(28, 28, 30);
  color: var(--paper);
}
.closing-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(248, 245, 238, 0.4);
  margin-bottom: 26px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.closing-eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: rgba(248, 245, 238, 0.3);
  display: inline-block;
}
.closing h2 {
  font-family: var(--serif);
  font-size: 64px;
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 400;
  margin: 0;
  max-width: 900px;
  text-wrap: balance;
  padding-bottom: 4px;
}
.closing p {
  font-size: 18px;
  color: rgba(248, 245, 238, 0.72);
  max-width: 560px;
  margin-top: 22px;
  line-height: 1.55;
}
.closing .cta-row {
  margin-top: 36px;
  gap: 12px;
}

/* Footer */
.footer {
  padding: 52px 0;
  background: var(--paper);
  color: var(--muted);
}
.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 13px;
}
.footer-left {
  display: flex;
  gap: 12px;
  align-items: baseline;
}
.footer-wordmark {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
}
.footer-links {
  display: flex;
  gap: 26px;
  align-items: baseline;
}
.footer-links a {
  text-decoration: none;
}
.footer-links a:hover {
  color: var(--ink);
}
