/* Keep imported pricing treatments inside the journey section. */
@scope (#pricing) {
:root {
  --bg: #f2f4f1;
  --surface: #ffffff;
  --surface-2: #f7f8f6;
  --surface-3: #eef0ec;
  --ink: #181a18;
  --ink-2: #555b54;
  --muted: #676d66;
  --line: #e2e5df;
  --line-strong: #d4d9d1;
  --green: #15803d;
  --green-strong: #166534;
  --green-text: #15703c;
  --green-soft: #eaf6ee;
  --green-ink: #14532d;
  --accent-line: #b9d8c2;
  --danger: #a32c2c;
  --danger-soft: #fff0ef;
  --danger-line: #efd0cd;
  --font-sans: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, 'Cascadia Mono', monospace;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 18px;
  --r-xl: 22px;
  --r-pill: 999px;
  --shadow-soft: 0 1px 2px rgba(24, 26, 24, 0.03), 0 6px 20px rgba(36, 51, 33, 0.04);
  --shadow-lift: 0 2px 6px rgba(24, 26, 24, 0.04), 0 18px 44px rgba(36, 51, 33, 0.1);
  --shadow-float: 0 24px 70px rgba(21, 43, 28, 0.22);

:root[data-theme='dark'] {
  color-scheme: dark;
  --bg: #141815;
  --surface: #1c221e;
  --surface-2: #242c26;
  --surface-3: #303a32;
  --ink: #eef2ed;
  --ink-2: #c0cabe;
  --muted: #a2afa0;
  --line: #38443a;
  --line-strong: #536353;
  --green: #63c58b;
  --green-strong: #79d79e;
  --green-text: #8cdda9;
  --green-soft: #253e2e;
  --green-ink: #b5ecc8;
  --accent-line: #45674e;
  --danger: #ffaaa3;
  --danger-soft: #492925;
  --danger-line: #5c2f2b;
  --shadow-soft: 0 1px 2px rgba(0, 0, 0, 0.3), 0 6px 20px rgba(0, 0, 0, 0.4);
  --shadow-lift: 0 2px 6px rgba(0, 0, 0, 0.4), 0 18px 44px rgba(0, 0, 0, 0.5);
  --shadow-float: 0 24px 70px rgba(0, 0, 0, 0.7);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    color-scheme: dark;
    --bg: #141815;
    --surface: #1c221e;
    --surface-2: #242c26;
    --surface-3: #303a32;
    --ink: #eef2ed;
    --ink-2: #c0cabe;
    --muted: #a2afa0;
    --line: #38443a;
    --line-strong: #536353;
    --green: #63c58b;
    --green-strong: #79d79e;
    --green-text: #8cdda9;
    --green-soft: #253e2e;
    --green-ink: #b5ecc8;
    --accent-line: #45674e;
    --danger: #ffaaa3;
    --danger-soft: #492925;
    --danger-line: #5c2f2b;
    --shadow-soft: 0 1px 2px rgba(0, 0, 0, 0.3), 0 6px 20px rgba(0, 0, 0, 0.4);
    --shadow-lift: 0 2px 6px rgba(0, 0, 0, 0.4), 0 18px 44px rgba(0, 0, 0, 0.5);
    --shadow-float: 0 24px 70px rgba(0, 0, 0, 0.7);
  }
}

:root[data-theme='dark'] .compare td.is-current {

    background: rgba(36, 44, 38, 0.7);
  
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .compare td.is-current {

    background: rgba(36, 44, 38, 0.7);
  
  }
}

:root[data-theme='dark'] .dlg::backdrop {

    background: rgba(0, 0, 0, 0.65);
  
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .dlg::backdrop {

    background: rgba(0, 0, 0, 0.65);
  
  }
}

:root[data-theme='dark'] .chip--warn {

    background: #382c16;
    border-color: #5c4820;
    color: #ffd88a;
  
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .chip--warn {

    background: #382c16;
    border-color: #5c4820;
    color: #ffd88a;
  
  }
}

:root[data-theme='dark'] .thumb--a {

    background: var(--green-soft);
  
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .thumb--a {

    background: var(--green-soft);
  
  }
}

:root[data-theme='dark'] .thumb--b {

    background: var(--surface-3);
  
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .thumb--b {

    background: var(--surface-3);
  
  }
}

:root[data-theme='dark'] .banner--danger .banner-copy strong,
:root[data-theme='dark'] .banner--danger .banner-copy span,
:root[data-theme='dark'] .notice--danger,
:root[data-theme='dark'] .notice--danger strong {
  color: var(--danger);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .banner--danger .banner-copy strong,
  :root:not([data-theme='light']) .banner--danger .banner-copy span,
  :root:not([data-theme='light']) .notice--danger,
  :root:not([data-theme='light']) .notice--danger strong {
    color: var(--danger);
  }
}
  --ease: cubic-bezier(0.2, 0, 0, 1);
}

* { box-sizing: border-box; }

html {
  color-scheme: light dark;
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.billing-page { overflow: hidden; }

body.no-scroll { overflow: hidden; }

::selection { background: #ccebd6; color: var(--green-ink); }

a { color: inherit; }

button, input, select, textarea { font: inherit; color: inherit; }

button { cursor: pointer; }

button:disabled { cursor: not-allowed; }

img, svg { display: block; }

h1, h2, h3, p { margin: 0; }

[hidden] { display: none !important; }

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 500;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  text-decoration: none;
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

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

.micro {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.11em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--muted);
}

.signal {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  flex: none;
}

#dotBg {
  position: fixed;
  top: -32px;
  left: -32px;
  z-index: 0;
  pointer-events: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--ink);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background 150ms var(--ease), border-color 150ms var(--ease), color 150ms var(--ease);
}

.btn:hover { background: var(--surface-2); border-color: var(--line-strong); }

.btn--primary {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
  box-shadow: 0 1px 2px rgba(24, 26, 24, 0.08);
}

.btn--primary:hover { background: var(--green-strong); border-color: var(--green-strong); }

.btn--quiet {
  background: transparent;
  border-color: transparent;
  color: var(--ink-2);
  padding: 0 8px;
}

.btn--quiet:hover { background: var(--surface-2); color: var(--ink); border-color: transparent; }

.btn--danger {
  background: var(--danger);
  border-color: var(--danger);
  color: #fff;
}

.btn--danger:hover { background: #8a2424; border-color: #8a2424; }

.btn--danger-quiet {
  background: transparent;
  border-color: transparent;
  color: var(--danger);
  padding: 0 8px;
}

.btn--danger-quiet:hover { background: var(--danger-soft); border-color: transparent; }

.btn--sm { min-height: 32px; padding: 0 11px; font-size: 11px; }

.btn:disabled,
.btn[aria-disabled='true'] {
  opacity: 0.5;
  pointer-events: none;
  box-shadow: none;
}

.btn.is-busy { pointer-events: none; opacity: 0.75; }

.link-btn {
  border: 0;
  background: none;
  padding: 0;
  color: var(--green-text);
  font-size: 11px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.link-btn:hover { text-decoration: underline; text-underline-offset: 3px; }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: none;
  padding: 0;
  border: 0;
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--muted);
}

.icon-btn:hover { background: var(--surface-3); color: var(--ink); }

.icon-btn svg { width: 16px; height: 16px; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 22px;
  padding: 2px 8px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--surface-2);
  color: var(--ink-2);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.chip--ok { background: var(--green-soft); border-color: var(--accent-line); color: var(--green-ink); }
.chip--warn { background: #faf5e8; border-color: #eadfbe; color: #6b5320; }
.chip--danger { background: var(--danger-soft); border-color: var(--danger-line); color: var(--danger); }

.panel {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.panel-head h2 {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
}

.panel-foot {
  margin-top: 12px;
  color: var(--muted);
  font-size: 11px;
}

.footnote {
  margin-top: 18px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.app-shell {
  position: fixed;
  inset: 0;
  height: 100dvh;
  overflow: hidden;
  background: transparent;
}

.app-sidebar {
  position: absolute;
  inset: 16px auto 16px 16px;
  z-index: 45;
  display: flex;
  flex-direction: column;
  width: 232px;
  padding: 16px 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: 0 4px 20px rgba(36, 51, 33, 0.025);
  transition: transform 180ms var(--ease), visibility 180ms;
}

.side-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 26px;
  padding: 0 4px;
}

.side-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.side-brand svg { color: var(--green); flex: none; }

.collapse-btn {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: none;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
}

.collapse-btn:hover { background: var(--surface-3); color: var(--ink); }
.collapse-btn svg { width: 16px; height: 16px; }

.new-project {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface-2);
  color: var(--ink);
  font-size: 13px;
  text-decoration: none;
}

.new-project:hover { background: var(--surface-3); }
.new-project svg { width: 16px; height: 16px; color: var(--ink-2); }

.side-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 20px;
}

.side-nav a {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  color: var(--ink-2);
  font-size: 12px;
  text-decoration: none;
}

.side-nav a svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.side-nav a:hover { background: var(--surface-2); color: var(--ink); }
.side-nav a[aria-current='page'] {
  border-color: #d8ebdf;
  background: var(--green-soft);
  color: var(--green-ink);
  font-weight: 500;
}
.side-nav a[aria-current='page'] svg { color: var(--green); }

.side-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 24px 9px 8px;
  color: var(--muted);
  font-size: 11px;
}

.side-search { margin: 0 9px 8px; }

.side-search input {
  width: 100%;
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
  font-size: 12px;
}

.side-search input:focus {
  outline: none;
  border-color: var(--accent-line);
  background: var(--surface);
}

.side-empty { margin: 6px 9px; color: var(--muted); font-size: 11px; }

.side-projects {
  display: grid;
  gap: 2px;
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  list-style: none;
}

.side-project {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 9px;
  border-radius: var(--r-sm);
  color: var(--ink-2);
  font-size: 12px;
  text-decoration: none;
}

.side-project:hover { background: var(--surface-2); color: var(--ink); }
.side-project .p-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.thumb {
  width: 20px;
  height: 20px;
  flex: none;
  border-radius: 5px;
  background: var(--surface-3);
}
.thumb--a { background: #d9e4d9; }
.thumb--b { background: #b7cbbb; }

.side-foot {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: auto;
  padding: 14px 9px 3px;
  border-top: 1px solid var(--line);
}

.side-workspace {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--ink-2);
  font-size: 12px;
}

.workspace-name { display: flex; align-items: center; gap: 8px; min-width: 0; }
.workspace-name span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.dot {
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--green);
}

.side-report {
  border: 0;
  background: none;
  padding: 2px 0;
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
}

.side-report:hover { color: var(--ink); }

.side-usage {
  padding-left: 14px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.5;
  text-decoration: none;
}

.side-usage:hover { color: var(--green-text); }
.side-usage.is-low { color: var(--danger); }

.app-scrim {
  position: fixed;
  inset: 0;
  z-index: 44;
  display: none;
  border: 0;
  padding: 0;
  background: rgba(24, 26, 24, 0.3);
}

.main-col {
  position: absolute;
  inset: 0 0 0 264px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  transition: left 180ms var(--ease);
}

body.sidebar-hidden .app-sidebar { transform: translateX(-268px); visibility: hidden; }
body.sidebar-hidden .main-col { left: 0; }

.topbar {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 80px;
  flex: none;
  padding: 20px 32px;
}

.menu-toggle {
  display: none;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--ink-2);
}

body.sidebar-hidden .menu-toggle { display: inline-grid; }

.menu-toggle svg { width: 17px; height: 17px; }

.crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
}

.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumb-sep { color: var(--line-strong); }
.crumb-now { color: var(--ink); font-weight: 500; white-space: nowrap; }

.topbar-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }

.topbar-chip {
  min-height: 20px;
  padding: 1px 7px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pill-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--surface);
  color: var(--ink-2);
  font-size: 12px;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(24, 26, 24, 0.03);
  white-space: nowrap;
}

.pill-link:hover { color: var(--ink); border-color: var(--line-strong); }

.canvas {
  flex: 1;
  min-height: 0;
  padding: 0 32px 64px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.page {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding-top: 6px;
}

.page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.page-head h1 {
  margin-top: 8px;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.page-lede {
  max-width: 62ch;
  margin-top: 6px;
  color: var(--ink-2);
  font-size: 13px;
}

.tabs {
  display: flex;
  gap: 26px;
  margin: 22px 0 20px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  scrollbar-width: none;
}

.tabs::-webkit-scrollbar { display: none; }

.tab {
  position: relative;
  flex: none;
  padding: 11px 0 13px;
  border: 0;
  background: none;
  color: var(--ink-2);
  font-size: 12.5px;
  text-decoration: none;
  white-space: nowrap;
}

.tab:hover { color: var(--ink); }
.tab[aria-selected='true'] { color: var(--ink); font-weight: 500; }
.tab[aria-selected='true']::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--green);
}

.view { outline: none; }

.grid-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr);
  gap: 16px;
  align-items: stretch;
  margin-bottom: 16px;
}

.plan-panel { display: flex; flex-direction: column; }

.plan-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.plan-title {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 10px;
}

.plan-title h2 {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.price { display: flex; align-items: baseline; gap: 5px; }
.price .amount { font-family: var(--font-mono); font-size: 22px; letter-spacing: -0.03em; }
.price .unit { color: var(--muted); font-size: 11px; }

.plan-meta { margin-top: 4px; color: var(--muted); font-size: 11px; }

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 14px;
  margin: 16px 0 18px;
  padding: 0;
  color: var(--ink-2);
  font-size: 12px;
  list-style: none;
}

.facts li { display: flex; align-items: center; gap: 7px; }
.facts li + li::before {
  content: '';
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--line-strong);
}

.plan-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: auto; }

.banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface-2);
}

.banner--danger { border-color: var(--danger-line); background: var(--danger-soft); }
.banner--green { border-color: var(--accent-line); background: var(--green-soft); }

.banner-copy strong {
  display: block;
  margin-bottom: 2px;
  font-size: 12.5px;
  font-weight: 500;
}

.banner-copy span { color: var(--ink-2); font-size: 12px; }
.banner--danger .banner-copy strong { color: #7a2424; }
.banner--danger .banner-copy span { color: #7a2424; }
.banner--green .banner-copy strong { color: var(--green-ink); }
.banner--green .banner-copy span { color: var(--green-ink); }
.banner .btn { flex: none; }

.method-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 0 6px;
}

.card-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 27px;
  padding: 0 7px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface-2);
  color: var(--ink-2);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.method-info { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.method-info .num { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.02em; }
.method-meta { color: var(--muted); font-size: 11px; }
.method-row .chip { margin-left: auto; }

.meters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.meter-block { min-width: 0; }
.meter-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  color: var(--ink-2);
  font-size: 11px;
}

.meter-label b {
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.meter-block .panel-foot { margin-top: 0; }

.meter {
  height: 4px;
  overflow: hidden;
  border-radius: var(--r-pill);
  background: var(--surface-3);
}

.meter span {
  display: block;
  height: 100%;
  border-radius: var(--r-pill);
  background: var(--green);
}

.meter.is-full span { background: var(--danger); }

.table-wrap { width: 100%; overflow-x: auto; }

.data {
  width: 100%;
  border-collapse: collapse;
}

.data th {
  padding: 0 10px 9px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}

.data td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 12px;
  vertical-align: middle;
}

.data th:first-child, .data td:first-child { padding-left: 2px; }
.data th:last-child, .data td:last-child { padding-right: 2px; text-align: right; }
.data tr:last-child td { border-bottom: 0; }
.data td strong { color: var(--ink); font-weight: 500; }
.data .num { font-family: var(--font-mono); font-size: 11.5px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.data .status { white-space: nowrap; }
.data .status--paid { color: var(--green-text); }
.data .status--failed { color: var(--danger); }
.data .row-menu-btn { margin-left: auto; }

.table-link { color: var(--green-text); text-decoration: none; font-size: 11px; }
.table-link:hover { text-decoration: underline; text-underline-offset: 3px; }

.empty {
  padding: 22px 0 10px;
}

.empty h3 { margin-bottom: 4px; font-size: 13px; font-weight: 500; }
.empty p { max-width: 46ch; margin-bottom: 14px; color: var(--muted); font-size: 12px; }
.empty p:last-child { margin-bottom: 0; }

.usage-total {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin: 12px 0 16px;
}

.usage-total strong {
  font-family: var(--font-mono);
  font-size: 54px;
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.95;
  font-variant-numeric: tabular-nums;
}

.usage-total span {
  padding-bottom: 7px;
  color: var(--muted);
  font-size: 12px;
}

.usage-scale {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 7px;
  color: var(--muted);
  font-size: 10px;
  font-family: var(--font-mono);
}

.usage-note {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 12px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.stat { min-width: 0; }
.stat .micro { display: block; margin-bottom: 5px; }
.stat strong {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.cancel-zone {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 16px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}

.cancel-zone h2 { margin-bottom: 3px; font-size: 13px; font-weight: 500; }
.cancel-zone p { max-width: 58ch; color: var(--muted); font-size: 12px; }

.seg {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--surface-2);
}

.seg button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 31px;
  padding: 0 13px;
  border: 0;
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
}

.seg button:hover { color: var(--ink); }
.seg button[aria-pressed='true'] {
  background: var(--surface);
  color: var(--ink);
  font-weight: 500;
  box-shadow: 0 1px 2px rgba(24, 26, 24, 0.06);
}

.seg .save {
  color: var(--green-text);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.02em;
}

.interval-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 20px;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}

.interval-row p { color: var(--muted); font-size: 11.5px; }
.interval-row strong { display: block; margin-bottom: 2px; font-size: 12.5px; font-weight: 500; }

.compare-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.compare {
  width: 100%;
  min-width: 660px;
  border-collapse: collapse;
}

.compare th, .compare td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.compare thead th {
  position: relative;
  padding-top: 18px;
  padding-bottom: 16px;
  background: var(--surface);
  vertical-align: top;
}

.compare thead th:first-child { width: 34%; }
.compare thead th.is-current { background: var(--surface-2); }

.compare-name { display: block; color: var(--ink); font-size: 13px; font-weight: 500; }
.compare-price {
  display: block;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 15px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.compare-bill { display: block; margin-top: 2px; color: var(--muted); font-size: 10px; }
.compare thead .chip { margin-top: 9px; }

.compare tbody th {
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 400;
}

.compare tbody td {
  color: var(--ink-2);
  font-size: 12px;
}

.compare td.is-current { background: rgba(247, 248, 246, 0.7); }
.compare td.is-current { font-weight: 500; color: var(--ink); }

.compare .group th {
  padding-top: 18px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.compare .num { font-family: var(--font-mono); font-size: 11px; }

.compare-cta th, .compare-cta td { padding-top: 16px; padding-bottom: 18px; border-bottom: 0; background: var(--surface); }
.compare-cta td.is-current { background: var(--surface-2); }
.compare-cta .btn { width: 100%; }
.compare-wrap + .panel { margin-top: 16px; }

.view > .panel + .panel { margin-top: 16px; }

.details-view { display: grid; gap: 0; }
.kv {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 12px;
}
.kv:first-child { border-top: 0; padding-top: 0; }
.kv dt, .kv .k { color: var(--muted); }
.kv dd, .kv .v { margin: 0; color: var(--ink); text-align: right; }
.kv .v.mono { font-family: var(--font-mono); font-size: 11px; }

.details-form { display: grid; gap: 12px; margin-top: 2px; }
.form-actions { display: flex; justify-content: flex-end; gap: 8px; }

.field { display: grid; gap: 6px; min-width: 0; }
.field label { color: var(--ink-2); font-size: 11px; font-weight: 500; }
.field input, .field select {
  width: 100%;
  height: 40px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface-2);
  color: var(--ink);
  font-size: 12.5px;
}
.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--green);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(21, 128, 61, 0.11);
}
.field input[aria-invalid='true'] { border-color: var(--danger); background: #fffafa; }
.field .err { color: var(--danger); font-size: 10.5px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.country-note { margin-top: 8px; color: var(--muted); font-size: 10.5px; }

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  z-index: 300;
  max-width: min(560px, calc(100vw - 32px));
  padding: 12px 16px;
  border-radius: var(--r-md);
  background: var(--ink);
  color: #f7f8f6;
  font-size: 12px;
  line-height: 1.45;
  box-shadow: var(--shadow-float);
  transform: translate(-50%, 8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms var(--ease), transform 160ms var(--ease);
}

.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

.row-menu {
  position: fixed;
  z-index: 260;
  width: 208px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow: var(--shadow-lift);
}

.row-menu button {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 34px;
  padding: 0 9px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink-2);
  font-size: 12px;
  text-align: left;
}

.row-menu button:hover, .row-menu button:focus-visible { background: var(--surface-2); color: var(--ink); outline: none; }
.row-menu button svg { width: 15px; height: 15px; color: var(--muted); flex: none; }
.row-menu .sep { height: 1px; margin: 5px 4px; background: var(--line); }
.row-menu .danger { color: var(--danger); }
.row-menu .danger svg { color: var(--danger); }
.row-menu .danger:hover { background: var(--danger-soft); color: var(--danger); }

.menu-confirm { padding: 9px 9px 7px; }
.menu-confirm strong { display: block; margin-bottom: 4px; font-size: 12px; font-weight: 500; color: var(--ink); }
.menu-confirm p { margin-bottom: 11px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.menu-confirm .actions { display: flex; justify-content: flex-end; gap: 4px; }

.dlg {
  width: min(540px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-float);
}

.dlg::backdrop { background: rgba(24, 26, 24, 0.34); }

.dlg-shell {
  display: flex;
  flex-direction: column;
  max-height: calc(100dvh - 32px);
}

.dlg-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px 16px;
}

.dlg-head h2 {
  margin-top: 5px;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.dlg-close {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
}

.dlg-close:hover { background: var(--surface-3); color: var(--ink); }
.dlg-close svg { width: 15px; height: 15px; }

.dlg-body {
  padding: 0 22px 20px;
  overflow-y: auto;
  color: var(--ink-2);
  font-size: 12.5px;
}

.dlg-lede { margin-bottom: 16px; color: var(--ink-2); }

.dlg-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  padding: 13px 22px;
  border-top: 1px solid var(--line);
  background: var(--surface-2);
}

.dlg-foot .spacer { margin-right: auto; }

.summary { display: grid; gap: 0; margin: 0 0 16px; }
.summary > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  font-size: 12px;
}
.summary > div:first-child { border-top: 0; }
.summary dt, .summary .k { color: var(--muted); }
.summary dd, .summary .v { margin: 0; color: var(--ink); text-align: right; }
.summary .v.mono { font-family: var(--font-mono); font-size: 11.5px; }
.summary .strong { font-weight: 500; }

.notice {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface-2);
  color: var(--ink-2);
  font-size: 11.5px;
  line-height: 1.55;
}

.notice strong { color: var(--ink); font-weight: 500; }
.notice--green { border-color: var(--accent-line); background: var(--green-soft); color: var(--green-ink); }
.notice--danger { border-color: var(--danger-line); background: var(--danger-soft); color: #7a2424; }
.notice--danger strong { color: #7a2424; }
.notice + .notice { margin-top: 10px; }

.notice-icon {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--line);
  color: var(--ink-2);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
}

.option-list { display: grid; gap: 8px; margin: 0 0 16px; }

.option {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface);
  cursor: pointer;
}

.option:hover { background: var(--surface-2); }

.option:has(input:checked) {
  border-color: var(--accent-line);
  background: var(--green-soft);
}

.option input { margin: 2px 0 0; accent-color: var(--green); flex: none; }
.option span { display: block; color: var(--ink); font-size: 12px; }
.option small { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; }

.diff-list { margin: 0 0 16px; padding: 0; list-style: none; }
.diff-list li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  font-size: 12px;
}
.diff-list li:first-child { border-top: 0; }
.diff-list .from { color: var(--muted); font-family: var(--font-mono); font-size: 11px; text-decoration: line-through; }
.diff-list .to { color: var(--ink); font-family: var(--font-mono); font-size: 11px; }

.inv-lines { margin: 0 0 14px; padding: 0; list-style: none; }
.inv-lines li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 12px;
}
.inv-lines li:first-child { border-top: 0; }
.inv-lines .item { color: var(--ink); }
.inv-lines .item small { display: block; color: var(--muted); font-size: 10.5px; }
.inv-lines .amt { font-family: var(--font-mono); font-size: 11.5px; white-space: nowrap; }

.totals { margin: 0 0 16px; padding-top: 10px; border-top: 1px solid var(--line); }
.totals div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 4px 0;
  font-size: 12px;
  color: var(--muted);
}
.totals .grand {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-weight: 500;
}
.totals .num { font-family: var(--font-mono); font-size: 12px; color: var(--ink); }

.dlg .meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 10.5px;
  font-family: var(--font-mono);
}

.proto {
  position: relative;
  display: flex;
  justify-content: flex-end;
  margin-top: 32px;
  z-index: 20;
  font-family: var(--font-mono);
}

.proto summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 11px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink-2);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
  backdrop-filter: blur(8px);
}

.proto summary::-webkit-details-marker { display: none; }
.proto summary:hover { color: var(--ink); border-color: var(--muted); }
.proto[open] summary { border-style: solid; border-color: var(--accent-line); color: var(--green-ink); }

.proto-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  width: 272px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow: var(--shadow-lift);
}

.proto-panel .micro { margin-bottom: 9px; }

.proto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }

.proto-grid button {
  min-height: 29px;
  padding: 0 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--ink-2);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.02em;
  text-align: center;
}

.proto-grid button:hover { border-color: var(--line-strong); color: var(--ink); }
.proto-grid button[aria-checked='true'] {
  border-color: var(--accent-line);
  background: var(--green-soft);
  color: var(--green-ink);
}

.proto-note { margin-top: 9px; color: var(--muted); font-size: 9px; line-height: 1.5; letter-spacing: 0; }

.skeleton {
  border-radius: 6px;
  background: var(--surface-3);
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

.sk-panel { padding: 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.sk-row { display: flex; gap: 16px; margin-bottom: 14px; }
.sk-row .skeleton { flex: 1; }
.sk-h { width: 30%; height: 12px; margin-bottom: 16px; }
.sk-line { height: 10px; margin-bottom: 9px; }
.sk-line.short { width: 62%; }
.sk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 18px; }
.sk-block { height: 54px; }

.error-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}

.error-panel h2 { font-size: 16px; font-weight: 500; }
.error-panel p { max-width: 54ch; margin-bottom: 8px; color: var(--muted); font-size: 12px; }

.site-head {
  position: sticky;
  top: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 64px);
  border-bottom: 1px solid transparent;
  background: rgba(242, 244, 241, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.site-head.is-solid { border-bottom-color: var(--line); }

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
}

.brand-mark svg { width: 16px; height: 16px; }

.site-nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.site-nav a {
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
}
.site-nav a:hover, .site-nav a[aria-current='page'] { color: var(--green-text); }

.site-actions { display: flex; align-items: center; justify-content: flex-end; gap: 14px; }

.site-actions .text-link {
  color: var(--ink-2);
  font-size: 12px;
  text-decoration: none;
}

.site-actions .text-link:hover { color: var(--ink); }

.menu-button {
  display: none;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
}

.menu-button span { display: block; width: 14px; height: 1px; background: currentColor; }
.menu-button span + span { margin-top: 5px; }

.public-wrap {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
}

.pricing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.65fr);
  gap: clamp(40px, 7vw, 90px);
  align-items: end;
  padding: clamp(56px, 8vw, 96px) 0 44px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  color: var(--ink-2);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pricing-hero h1 {
  max-width: 14ch;
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.pricing-hero h1 em { font-style: normal; color: var(--green-text); }

.pricing-lede {
  max-width: 46ch;
  margin-top: 18px;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.6;
}

.pricing-toggle { margin-top: 26px; }

.hero-note {
  margin-top: 9px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.02em;
}

.hero-aside {
  padding-top: 18px;
  border-top: 1px solid var(--line-strong);
}

.hero-aside .micro { margin-bottom: 6px; }
.hero-aside ul { margin: 0; padding: 0; list-style: none; }
.hero-aside li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 12px;
}
.hero-aside li span:last-child { color: var(--muted); font-family: var(--font-mono); font-size: 10px; text-align: right; }

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.plan-card.is-featured { border-color: var(--accent-line); }
.plan-card.is-featured::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: var(--green);
}

.plan-name { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.plan-name h2 { font-size: 15px; font-weight: 500; letter-spacing: -0.015em; }
.plan-tag {
  padding: 2px 7px;
  border: 1px solid var(--accent-line);
  border-radius: var(--r-pill);
  background: var(--green-soft);
  color: var(--green-ink);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.plan-for { min-height: 34px; margin-top: 5px; color: var(--muted); font-size: 12px; }

.plan-price { display: flex; align-items: baseline; gap: 5px; margin-top: 16px; }
.plan-price strong {
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.plan-price span { color: var(--muted); font-size: 11px; }
.plan-gst { margin-top: 5px; color: var(--muted); font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.02em; }

.plan-list { margin: 18px 0 22px; padding: 0; list-style: none; }
.plan-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 12px;
}
.plan-list li:first-child { border-top: 0; }
.plan-list b {
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  text-align: right;
}

.plan-card .btn { width: 100%; margin-top: auto; }

.compare-section { margin-top: clamp(54px, 8vw, 84px); }
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}
.section-head h2 { font-size: 20px; font-weight: 500; letter-spacing: -0.03em; }
.section-head p { color: var(--muted); font-size: 11px; }

.pricing-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}

.pricing-table { width: 100%; min-width: 640px; border-collapse: collapse; }
.pricing-table th, .pricing-table td { padding: 12px 18px; border-bottom: 1px solid var(--line); text-align: left; font-size: 12px; }
.pricing-table thead th {
  color: var(--ink);
  font-size: 11px;
  font-weight: 500;
  background: var(--surface-2);
}
.pricing-table thead th:first-child { width: 40%; }
.pricing-table tbody th { color: var(--ink-2); font-weight: 400; }
.pricing-table td { color: var(--ink-2); }
.pricing-table td:nth-child(3) { color: var(--ink); font-weight: 500; }
.pricing-table .group th {
  padding-top: 16px;
  padding-bottom: 6px;
  background: var(--surface);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.pricing-table tbody tr:last-child th, .pricing-table tbody tr:last-child td { border-bottom: 0; }

.faq-section { margin-top: clamp(54px, 8vw, 84px); }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 2px;
  color: var(--ink);
  font-size: 13px;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--muted); font-family: var(--font-mono); font-size: 14px; }
.faq details[open] summary::after { content: '–'; }
.faq details p { max-width: 68ch; margin: 0 0 18px; padding-right: 24px; color: var(--ink-2); font-size: 12.5px; line-height: 1.65; }

.pricing-note {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin-top: 30px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.02em;
}
.pricing-note span + span::before { content: '·'; margin-right: 22px; color: var(--line-strong); }

.site-foot {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
  padding: 22px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

.foot-brand { display: flex; align-items: center; gap: 8px; color: var(--ink); font-size: 12px; font-weight: 600; }
.foot-brand .brand-mark { width: 22px; height: 22px; border-radius: 6px; }
.foot-brand .brand-mark svg { width: 12px; height: 12px; }
.foot-note { color: var(--muted); font-size: 11px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 18px; margin-left: auto; }
.foot-nav a {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}
.foot-nav a:hover { color: var(--green-text); }

.menu-dialog {
  width: min(420px, calc(100vw - 32px));
  margin: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-float);
}
.menu-dialog::backdrop { background: rgba(24, 26, 24, 0.34); }
.menu-shell { padding: 18px; }
.menu-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.menu-nav { display: grid; gap: 2px; margin-bottom: 16px; }
.menu-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 9px;
  border-radius: var(--r-sm);
  color: var(--ink);
  font-size: 13px;
  text-decoration: none;
}
.menu-nav a span { color: var(--muted); font-family: var(--font-mono); font-size: 9px; }
.menu-nav a:hover { background: var(--surface-2); }

.checkout-page { overflow-x: hidden; }
.checkout-page .topbar { border-bottom: 0; }
.checkout-main { position: relative; z-index: 2; padding: 0 24px 56px; }
.checkout-wrap { width: min(620px, 100%); margin: 0 auto; padding: 8px 0 0; }
.checkout-back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 16px; color: var(--muted); font-size: 11px; text-decoration: none; }
.checkout-back:hover { color: var(--ink); }
.checkout-back svg { width: 14px; height: 14px; }

.checkout-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.checkout-head { margin-bottom: 20px; }
.checkout-head h1 { margin-top: 7px; font-size: 25px; font-weight: 500; letter-spacing: -0.035em; line-height: 1.15; }
.checkout-head p { max-width: 52ch; margin-top: 6px; color: var(--ink-2); font-size: 12px; }

.checkout-plan {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.checkout-plan strong { display: block; font-size: 14px; font-weight: 500; }
.checkout-plan span { color: var(--muted); font-size: 11px; }
.checkout-plan .price .amount { font-size: 18px; }

.checkout-block { padding: 14px 0; border-bottom: 1px solid var(--line); }
.checkout-block .micro { margin-bottom: 9px; }
.checkout-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; font-size: 12px; color: var(--ink-2); }
.checkout-row + .checkout-row { margin-top: 8px; }
.checkout-row strong { color: var(--ink); font-weight: 500; }

.checkout-totals { padding: 14px 0 18px; }
.checkout-totals div { display: flex; justify-content: space-between; gap: 16px; padding: 4px 0; color: var(--muted); font-size: 12px; }
.checkout-totals .num { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-2); }
.checkout-totals .grand { margin-top: 6px; padding-top: 11px; border-top: 1px solid var(--line); color: var(--ink); font-size: 14px; font-weight: 500; }
.checkout-totals .grand .num { color: var(--ink); font-size: 14px; }

.checkout-card .notice { margin-bottom: 16px; }
.checkout-actions { display: flex; flex-direction: column; gap: 7px; }
.checkout-actions .btn { width: 100%; min-height: 42px; }
.checkout-actions .link-btn { align-self: center; margin-top: 4px; }

.result-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border: 1px solid var(--accent-line);
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
}
.result-icon svg { width: 22px; height: 22px; }
.result-icon.is-danger { border-color: var(--danger-line); background: var(--danger-soft); color: var(--danger); }
.result-icon.is-neutral { border-color: var(--line); background: var(--surface-2); color: var(--ink-2); }

.receipt {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 14px;
  margin: 18px 0;
  padding: 11px 13px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-sm);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.02em;
}
.receipt strong { color: var(--ink-2); font-weight: 500; }

.result-list { margin: 0 0 20px; padding: 0; list-style: none; }
.result-list li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-2); }
.result-list li:first-child { border-top: 0; }
.result-list b { color: var(--ink); font-family: var(--font-mono); font-size: 11px; font-weight: 500; }

.preview-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px dashed var(--line-strong);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.preview-links a { color: var(--muted); text-decoration: none; }
.preview-links a:hover { color: var(--ink); }
.preview-links a[aria-current='page'] { color: var(--green-text); }

@media (max-width: 1100px) {
  .grid-overview { grid-template-columns: 1fr; }
  .meters { gap: 20px; }
}

@media (max-width: 980px) {
  .pricing-hero { grid-template-columns: 1fr; gap: 36px; align-items: start; }
  .hero-aside { max-width: 520px; }
  .plans { grid-template-columns: 1fr; max-width: 640px; }
  .plan-for { min-height: 0; }
}

@media (max-width: 900px) {
  .app-sidebar {
    inset: 12px auto 12px 12px;
    visibility: hidden;
    transform: translateX(calc(-100% - 24px));
    box-shadow: 0 18px 60px rgba(36, 51, 33, 0.18);
  }
  body.drawer-open .app-sidebar { visibility: visible; transform: none; }
  body.drawer-open .app-scrim { display: block; }
  .main-col { left: 0; }
  body.sidebar-hidden .main-col { left: 0; }
  .menu-toggle { display: inline-grid; }
  .topbar { padding: 16px 20px; }
  .canvas { padding: 0 20px 56px; }
  .page { padding-top: 2px; }
  .page-head h1 { font-size: 26px; }
  .site-nav { display: none; }
  .site-actions .text-link { display: none; }
  .menu-button { display: grid; }
  .site-head { grid-template-columns: 1fr auto; }
  .site-actions .btn { min-height: 38px; }
}

@media (max-width: 760px) {
  .stats { grid-template-columns: 1fr 1fr; gap: 16px; }
  .interval-row { align-items: flex-start; flex-direction: column; gap: 12px; }
  .cancel-zone { align-items: flex-start; flex-direction: column; gap: 14px; }
  .banner { align-items: flex-start; flex-direction: column; gap: 10px; }
  .banner .btn { align-self: flex-start; }
  .page-head { align-items: flex-start; flex-direction: column; gap: 12px; }
  .tabs { gap: 20px; }
}

@media (max-width: 640px) {
  .topbar { min-height: 68px; padding: 12px 16px; }
  .canvas { padding: 0 16px 48px; }
  .page-head h1 { font-size: 24px; }
  .page-lede { font-size: 12.5px; }
  .tabs { margin: 18px 0 16px; }
  .panel { padding: 16px; border-radius: var(--r-md); }
  .grid-overview { gap: 12px; margin-bottom: 12px; }
  .view .panel + .panel { margin-top: 12px; }
  .meters { grid-template-columns: 1fr; gap: 14px; }
  .usage-total strong { font-size: 44px; }
  .plan-title h2 { font-size: 22px; }
  .data thead { display: none; }
  .data tbody tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .data tbody tr:last-child { border-bottom: 0; }
  .data td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 3px 0;
    border: 0;
    text-align: right;
  }
  .data td::before {
    content: attr(data-label);
    flex: none;
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.06em;
    text-align: left;
    text-transform: uppercase;
  }
  .data td:first-child { padding-left: 0; font-weight: 500; color: var(--ink); }
  .data td:last-child { padding-right: 0; }
  .data td .row-menu-btn { margin-left: 0; }
  .data .status { margin-left: auto; }
  .pricing-hero { padding-top: 42px; }
  .pricing-hero h1 { font-size: 38px; }
  .plan-card { padding: 20px; }
  .section-head { align-items: flex-start; flex-direction: column; gap: 4px; }
  .site-head { padding: 14px 18px; }
  .public-wrap { padding: 0 18px; }
  .site-actions .btn { display: none; }
  .site-foot { align-items: flex-start; flex-direction: column; gap: 14px; }
  .foot-nav { margin-left: 0; }
  .checkout-main { padding: 0 16px 40px; }
  .checkout-card { padding: 20px; border-radius: var(--r-lg); }
  .dlg { width: calc(100vw - 24px); }
  .dlg-head { padding: 18px 18px 14px; }
  .dlg-body { padding: 0 18px 18px; }
  .dlg-foot { padding: 12px 18px; }
  .dlg-foot .btn { flex: 1; }
  .proto { margin-top: 22px; }
  .proto-panel { width: min(272px, calc(100vw - 24px)); }
  .field-row { grid-template-columns: 1fr; }
  .cancel-zone { padding: 16px; border-radius: var(--r-md); }
  .topbar-chip { display: none; }
}

@media (max-width: 440px) {
  .topbar-actions .pill-link { padding: 0 12px; }
  .crumb-root { display: none; }
  .crumb-sep:first-of-type { display: none; }
  .stats { grid-template-columns: 1fr; gap: 12px; }
  .plan-actions .btn { flex: 1; }
  .plan-actions .btn--quiet, .plan-actions .btn--danger-quiet { flex: 1; }
  .pricing-note { flex-direction: column; gap: 5px; }
  .pricing-note span + span::before { display: none; }
  .seg button { padding: 0 10px; }
}

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

@media print {
  .app-sidebar, .topbar, .proto, .toast, .row-menu, #dotBg { display: none !important; }
  body { background: #fff; }
  .main-col { position: static; }
  .canvas { overflow: visible; }
}

}
.landing-pricing{position:relative;z-index:2;background:var(--bg);padding:100px var(--gutter);scroll-margin-top:80px}
.landing-pricing .public-wrap{max-width:1200px;margin:auto;padding:0}
.landing-pricing .pricing-hero{padding-top:0;display:block}
#pricingTitle{font-size:clamp(36px,5vw,64px);line-height:1.05;letter-spacing:-.035em;margin-bottom:24px}
.landing-pricing .plans{margin-top:40px}
.landing-pricing .btn:disabled{opacity:.55;cursor:not-allowed}
@media(max-width:600px){.landing-pricing{padding:72px 20px}}

.landing-pricing{--r-sm:10px;--r-md:14px;--r-lg:18px;--r-xl:22px;--r-pill:999px;--green:#15803d;--green-strong:#166534;--green-soft:#eaf6ee;--green-ink:#14532d;--font-sans:Geist,system-ui,sans-serif;--font-mono:"Geist Mono",monospace}
.standalone-pricing .landing-pricing{min-height:100vh;padding-top:140px}
.standalone-pricing .site-header{background:var(--bg)}
