:root {
  --bg: #fafaf7;
  --bg-soft: #f3f2ee;
  --bg-elev: #ffffff;
  --ink: #0a0a0a;
  --ink-2: #3a3a3a;
  --ink-3: #6a6a66;
  --ink-4: #a8a6a0;
  --hair: rgba(10,10,10,0.08);
  --hair-2: rgba(10,10,10,0.04);
  --acc: #e0512e;
  --acc-2: #f2a933;
  --acc-soft: rgba(224,81,46,0.09);
  --lime: #c7d24a;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04), 0 1px 1px rgba(0,0,0,0.02);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-lg: 0 30px 60px -20px rgba(0,0,0,0.18), 0 8px 18px -8px rgba(0,0,0,0.08);
  --shadow-xl: 0 50px 100px -30px rgba(0,0,0,0.22), 0 12px 24px -8px rgba(0,0,0,0.1);
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 18px;
  --r-xl: 26px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--ink); color: var(--bg); }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.15); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(0,0,0,0.3); }
a { color: inherit; text-decoration: none; }

/* NAV */
nav {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%);
  z-index: 100;
  display: flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.72);
  backdrop-filter: saturate(180%) blur(28px);
  -webkit-backdrop-filter: saturate(180%) blur(28px);
  border: 1px solid var(--hair);
  border-radius: 999px;
  padding: 6px 6px 6px 18px;
  box-shadow: var(--shadow-md);
  max-width: calc(100vw - 32px);
}
.nav-logo {
  display: flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 700;
  letter-spacing: -0.01em;
  padding-right: 16px; border-right: 1px solid var(--hair);
  margin-right: 4px;
}
.nav-logo svg { width: 22px; height: 22px; }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-links a {
  font-size: 13.5px; font-weight: 500; color: var(--ink-2);
  padding: 8px 14px; border-radius: 999px;
  transition: background .15s, color .15s;
}
.nav-links a:hover { background: var(--hair-2); color: var(--ink); }
.city-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 500; color: var(--ink-2);
  padding: 7px 12px; border-radius: 999px;
  background: var(--hair-2);
  border: 1px solid transparent;
  margin: 0 4px 0 2px;
  white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s;
}
.city-pill svg { width: 13px; height: 13px; color: var(--acc); flex-shrink: 0; }
.city-pill.detected { background: var(--bg-elev); border-color: var(--hair); color: var(--ink); }
.city-pill.detected svg { color: var(--acc); }
.city-pill .pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ink-4); margin-right: 2px;
  animation: cityPulse 1.4s ease-in-out infinite;
}
@keyframes cityPulse { 0%,100%{opacity:.4} 50%{opacity:1} }

@media (max-width: 720px) {
  .city-pill { display: none; }
}

/* burger — hidden on desktop */
.nav-burger {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; border-radius: 999px;
  border: none; background: var(--hair-2); cursor: pointer;
  margin-left: 4px; padding: 0;
}
.nav-burger span {
  display: block; width: 18px; height: 2px; border-radius: 2px;
  background: var(--ink); margin: 0 auto;
  transition: transform .22s ease, opacity .18s ease;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-links a { white-space: nowrap; }
.nav-cta {
  background: var(--ink); color: var(--bg-elev);
  font-family: inherit; font-size: 13.5px; font-weight: 600;
  border: none; padding: 9px 18px; border-radius: 999px;
  cursor: pointer; margin-left: 6px; white-space: nowrap; flex-shrink: 0;
  transition: background .15s, transform .12s;
}
.nav-cta:hover { background: var(--acc); }
.nav-cta:active { transform: scale(0.97); }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-weight: 600; cursor: pointer;
  border: none; border-radius: 999px;
  transition: all .15s ease;
  white-space: nowrap;
}
.btn-lg { padding: 14px 28px; font-size: 15px; }
.btn-md { padding: 10px 20px; font-size: 14px; }
.btn-primary { background: var(--ink); color: var(--bg-elev); }
.btn-primary:hover { background: var(--acc); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(204,43,43,0.25); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--hair); }
.btn-ghost:hover { border-color: var(--ink); background: var(--bg-elev); }
.btn-arrow { width: 14px; height: 14px; }

/* HERO */
.hero {
  padding: 180px 32px 90px;
  text-align: left;
  position: relative; overflow: hidden;
  min-height: 78vh; display: flex; align-items: center;
}
.hero-inner { max-width: 1200px; margin: 0 auto; width: 100%; position: relative; z-index: 1; }
.hero-wordmark {
  position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%);
  z-index: 0; pointer-events: none;
  font-size: clamp(160px, 30vw, 440px); font-weight: 800;
  letter-spacing: -0.05em; line-height: 1;
  color: var(--ink); opacity: 0.05; white-space: nowrap;
  animation: wordmarkIn .8s ease both;
}
@keyframes wordmarkIn {
  from { opacity: 0; transform: translate(-50%, calc(-50% + 20px)); }
  to { opacity: 0.05; transform: translate(-50%, -50%); }
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(242,169,51,0.10), transparent 70%),
    radial-gradient(ellipse 60% 60% at 90% 30%, rgba(224,81,46,0.06), transparent 70%);
}
.hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg-elev); border: 1px solid var(--hair);
  border-radius: 999px; padding: 6px 14px 6px 8px;
  font-size: 13px; font-weight: 500; color: var(--ink-2);
  box-shadow: var(--shadow-sm);
  margin-bottom: 30px;
  animation: rise .6s ease both;
}
.hero-pill-tag {
  background: var(--ink); color: var(--bg-elev);
  font-size: 11px; font-weight: 700; letter-spacing: 0.04em;
  padding: 3px 9px; border-radius: 999px;
  text-transform: uppercase;
}
h1 {
  font-size: clamp(38px, 5.4vw, 76px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
  max-width: 16ch;
  margin: 0 0 42px;
  animation: rise .6s .08s ease both;
}
h1 em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.hero-sub {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--ink-3);
  max-width: 540px;
  margin: 0 auto 40px;
  animation: rise .6s .16s ease both;
}
.hero-cta-row {
  display: flex; align-items: center; gap: 56px; flex-wrap: wrap;
  animation: rise .6s .24s ease both;
}
.hero-cta-left { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero-help { font-size: 13.5px; color: var(--ink-3); line-height: 1.45; }
.hero-reasons {
  display: inline-flex; align-items: center; gap: 6px;
  position: relative; text-decoration: none;
  font-size: 14.5px; font-weight: 600; color: var(--ink-2);
  padding-left: 8px;
}
.hero-reasons:hover { color: var(--acc); }
.hero-reasons:hover .chev { transform: translateX(3px); }
.hero-reasons .chev { display: inline-block; transition: transform .18s; font-size: 18px; }
.hero-arrow {
  position: absolute; right: calc(100% + 4px); top: 50%; transform: translateY(-30%);
  width: 92px; height: 46px; color: var(--acc); opacity: .85;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* WINDOW */
.window {
  max-width: 1140px; margin: 0 auto;
  background: var(--bg-elev);
  border: 1px solid var(--hair);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  animation: rise .8s .32s ease both;
}
.window-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  background: linear-gradient(180deg, #f9f8f5, #f3f2ee);
  border-bottom: 1px solid var(--hair);
  position: relative;
}
.traffic { display: flex; gap: 6px; }
.light { width: 12px; height: 12px; border-radius: 50%; }
.light-r { background: #ed6a5e; box-shadow: inset 0 0 0 0.5px rgba(0,0,0,0.1); }
.light-y { background: #f5c04f; box-shadow: inset 0 0 0 0.5px rgba(0,0,0,0.1); }
.light-g { background: #62c554; box-shadow: inset 0 0 0 0.5px rgba(0,0,0,0.1); }
.win-title {
  position: absolute; left: 50%; transform: translateX(-50%);
  font-size: 13px; font-weight: 600; color: var(--ink-2);
  display: flex; align-items: center; gap: 8px;
}
.win-title .dot { width: 6px; height: 6px; background: var(--acc); border-radius: 50%; }

.window-body {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 480px;
  text-align: left;
}
.sidebar {
  background: #fafaf7;
  border-right: 1px solid var(--hair);
  padding: 18px 12px;
}
.sb-label {
  font-size: 11px; font-weight: 600; color: var(--ink-4);
  text-transform: uppercase; letter-spacing: 0.06em;
  padding: 8px 10px 6px;
}
.sb-item {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 10px; border-radius: 7px;
  font-size: 13px; color: var(--ink-2); font-weight: 500;
  cursor: default; margin-bottom: 1px;
  transition: background .12s;
}
.sb-item:hover { background: var(--hair-2); }
.sb-item.active { background: var(--ink); color: var(--bg-elev); }
.sb-item.active .sb-icon { color: var(--bg-elev); }
.sb-icon { width: 14px; height: 14px; color: var(--ink-3); flex-shrink: 0; }
.sb-count { margin-left: auto; font-size: 11px; opacity: 0.6; }

.main {
  padding: 24px 28px;
  display: flex; flex-direction: column; gap: 18px;
  background: var(--bg-elev);
}

/* VIEWS (dashboard switcher) */
.view { display: none; flex-direction: column; gap: 18px; flex: 1; animation: viewIn .35s ease; }
.view.active { display: flex; }
@keyframes viewIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

/* sidebar buttons (override default <button>) */
button.sb-item {
  width: 100%;
  background: none; border: none; outline: none;
  text-align: left; font-family: inherit; cursor: pointer;
  color: var(--ink-2);
}

/* tables used by views */
.v-table {
  background: var(--bg);
  border: 1px solid var(--hair);
  border-radius: var(--r);
  padding: 6px;
  flex: 1; overflow: hidden;
  display: flex; flex-direction: column; gap: 2px;
}
.v-th, .v-tr {
  display: grid;
  grid-template-columns: 32px 1.6fr 1.2fr 1fr 1fr;
  gap: 12px; align-items: center;
  padding: 10px 12px;
}
.v-th {
  font-size: 10.5px; font-weight: 600; color: var(--ink-4);
  text-transform: uppercase; letter-spacing: 0.06em;
}
.v-tr {
  font-size: 13px;
  border-radius: 8px;
  transition: background .12s;
}
.v-tr:hover { background: var(--bg-elev); }
.v-tr small { display: block; font-size: 11px; color: var(--ink-4); margin-top: 1px; font-weight: 400; }
.v-id, .v-mono, .v-num { font-feature-settings: "tnum"; }
.v-id { font-size: 11px; font-weight: 600; color: var(--ink-3); }
.v-mono { font-size: 11.5px; color: var(--ink-3); font-family: ui-monospace, "SF Mono", Menlo, monospace; }
.v-num { font-weight: 600; text-align: right; }
.v-num.low { color: var(--acc); }
.v-thumb { width: 24px; height: 24px; background: var(--bg-soft); border-radius: 5px; display: inline-flex; align-items: center; justify-content: center; color: var(--ink-3); }
.v-thumb svg { width: 15px; height: 15px; }
.v-avatar {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--ink); color: var(--bg-elev);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
}
.v-tag {
  font-size: 10.5px; font-weight: 600;
  padding: 3px 9px; border-radius: 999px;
  display: inline-block; width: max-content;
  letter-spacing: 0.02em;
}
.v-tag.ok { background: rgba(24,165,88,0.12); color: #14904a; }
.v-tag.warn { background: rgba(244,180,24,0.18); color: #a46f00; }
.v-tag.err { background: rgba(204,43,43,0.12); color: var(--acc); }

/* timeline */
.timeline {
  display: flex; flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--hair);
  border-radius: var(--r);
  padding: 8px;
  flex: 1;
}
.tl-row {
  display: grid;
  grid-template-columns: 56px 14px 1fr;
  gap: 14px; align-items: flex-start;
  padding: 14px 12px;
  border-bottom: 1px solid var(--hair-2);
  position: relative;
}
.tl-row:last-child { border-bottom: none; }
.tl-time { font-size: 11.5px; color: var(--ink-3); font-feature-settings: "tnum"; padding-top: 2px; }
.tl-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--ink-4); margin-top: 5px;
  box-shadow: 0 0 0 4px var(--bg);
}
.tl-dot.ok { background: #18a558; }
.tl-dot.warn { background: var(--acc-2); }
.tl-dot.acc { background: var(--acc); }
.tl-body strong { font-size: 13.5px; font-weight: 600; display: block; }
.tl-body small { display: block; font-size: 12px; color: var(--ink-3); margin-top: 2px; }

@media (max-width: 720px) {
  .v-th, .v-tr { grid-template-columns: 1fr 80px; }
  .v-th > :nth-child(n+3), .v-tr > :nth-child(n+3):not(:last-child) { display: none; }
}
.main-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 14px; border-bottom: 1px solid var(--hair);
}
.main-title { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.main-date { font-size: 12px; color: var(--ink-3); }

.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat-tile {
  background: var(--bg);
  border: 1px solid var(--hair);
  border-radius: var(--r);
  padding: 14px 16px;
}
.stat-lbl { font-size: 11px; color: var(--ink-3); font-weight: 500; }
.stat-val {
  font-size: 22px; font-weight: 700;
  letter-spacing: -0.02em; margin-top: 4px;
  font-feature-settings: "tnum";
}
.stat-delta {
  font-size: 11px; font-weight: 600; margin-top: 4px;
  display: inline-flex; align-items: center; gap: 3px;
}
.stat-delta.up { color: #18a558; }
.stat-delta.down { color: var(--acc); }

.panel-row {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 12px;
  flex: 1;
}
.panel {
  background: var(--bg);
  border: 1px solid var(--hair);
  border-radius: var(--r);
  padding: 16px;
}
.panel-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.panel-title { font-size: 13px; font-weight: 700; }
.panel-meta { font-size: 11px; color: var(--ink-3); }

.chart { height: 110px; display: flex; align-items: flex-end; gap: 6px; }
.chart .bar {
  flex: 1; background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
  border-radius: 4px 4px 0 0;
  opacity: 0.85;
}
.chart .bar.acc { background: linear-gradient(180deg, var(--acc) 0%, #b32424 100%); }
.chart-x {
  display: flex; justify-content: space-between;
  margin-top: 6px; font-size: 10px; color: var(--ink-4);
}

.list { display: flex; flex-direction: column; gap: 8px; }
.list-row {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: 7px; background: var(--bg-elev);
  border: 1px solid var(--hair-2);
}
.lr-num { font-size: 11px; font-weight: 600; color: var(--ink-4); width: 18px; }
.lr-name { font-size: 12px; font-weight: 500; flex: 1; }
.lr-val { font-size: 12px; font-weight: 600; font-feature-settings: "tnum"; }

/* LOGOS */
.logos { padding: 50px 32px; text-align: center; }
.logos-label { font-size: 13px; color: var(--ink-3); margin-bottom: 28px; }
.logos-row {
  display: flex; justify-content: center; align-items: center;
  gap: 56px; flex-wrap: wrap;
  opacity: 0.55;
}
.logo-name {
  font-size: 15px; font-weight: 700; letter-spacing: -0.01em;
  color: var(--ink-2);
}

/* SECTIONS */
section { padding: 100px 32px; }
.container { max-width: 1140px; margin: 0 auto; }
.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 600; letter-spacing: 0.04em;
  color: var(--acc);
  margin-bottom: 14px;
  text-transform: uppercase;
}
h2 {
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 700; line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}
h2 em {
  font-family: 'Instrument Serif', serif;
  font-style: italic; font-weight: 400;
}
.sub {
  font-size: 18px; color: var(--ink-3);
  max-width: 580px; line-height: 1.55;
}
.head-row {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 32px; margin-bottom: 56px; flex-wrap: wrap;
}

/* BENTO */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.card {
  background: var(--bg-elev);
  border: 1px solid var(--hair);
  border-radius: var(--r-lg);
  padding: 30px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(10,10,10,0.14);
}
.card-1 { grid-column: span 3; min-height: 280px; }
.card-2 { grid-column: span 3; min-height: 280px; }
.card-3 { grid-column: span 2; }
.card-4 { grid-column: span 2; }
.card-5 { grid-column: span 2; }

.card-icon {
  width: 38px; height: 38px;
  background: var(--bg);
  border: 1px solid var(--hair);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card-icon svg { width: 18px; height: 18px; stroke: var(--ink); stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.card h3 {
  font-size: 18px; font-weight: 700; letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.card-1 h3, .card-2 h3 { font-size: 22px; }
.card p { font-size: 14px; color: var(--ink-3); line-height: 1.6; }

.card-visual {
  margin-top: 22px;
  background: var(--bg);
  border: 1px solid var(--hair);
  border-radius: var(--r);
  padding: 16px;
  display: flex; flex-direction: column; gap: 8px;
}
.visual-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 10px; background: var(--bg-elev); border-radius: 6px;
  font-size: 12px; border: 1px solid var(--hair-2);
  gap: 10px;
}
.visual-row.acc { background: var(--ink); color: var(--bg-elev); border-color: var(--ink); }
.visual-row .vr-name { font-weight: 500; flex: 1; }
.visual-row .vr-val { font-weight: 600; font-feature-settings: "tnum"; }
.visual-row .vr-tag {
  font-size: 10px; padding: 2px 8px; border-radius: 999px;
  background: var(--hair-2); font-weight: 600;
}
.visual-row.acc .vr-tag { background: rgba(255,255,255,0.15); }

.bars { display: flex; align-items: flex-end; gap: 6px; height: 70px; }
.bars .b { flex: 1; background: var(--ink); border-radius: 3px; opacity: 0.85; }
.bars .b.acc { background: var(--acc); }

/* FORMATS */
.formats-section { background: var(--bg-soft); }
.seg {
  display: inline-flex;
  background: var(--bg-elev);
  border: 1px solid var(--hair);
  border-radius: 999px;
  padding: 4px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 48px;
  overflow-x: auto;
  max-width: 100%;
  scrollbar-width: none;
}
.seg::-webkit-scrollbar { display: none; }
.seg-btn {
  background: transparent; border: none; cursor: pointer;
  font-family: inherit; font-size: 13.5px; font-weight: 600;
  color: var(--ink-3);
  padding: 9px 18px; border-radius: 999px;
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.seg-btn:hover:not(.on) { color: var(--ink); }
.seg-btn svg { width: 15px; height: 15px; flex-shrink: 0; opacity: .75; }
.seg-btn { display: inline-flex; align-items: center; gap: 7px; }
.seg-btn.on svg { opacity: 1; }
.seg-btn.on {
  background: var(--ink); color: var(--bg-elev);
  box-shadow: var(--shadow-sm);
}

.fmt-panel { display: none; }
.fmt-panel.on { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.fmt-panel h3 {
  font-size: clamp(26px, 3vw, 38px); font-weight: 700;
  letter-spacing: -0.02em; line-height: 1.1;
  margin-bottom: 14px;
}
.fmt-panel .fmt-desc {
  font-size: 16px; color: var(--ink-3);
  margin-bottom: 28px; line-height: 1.6;
  max-width: 460px;
}
.fmt-list { display: flex; flex-direction: column; gap: 14px; }
.fmt-li { display: flex; gap: 14px; align-items: flex-start; }
.fmt-check {
  width: 22px; height: 22px; flex-shrink: 0;
  background: var(--ink); color: var(--bg-elev);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.fmt-check svg { width: 11px; height: 11px; stroke: currentColor; stroke-width: 2.2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.fmt-li h4 { font-size: 15px; font-weight: 600; margin-bottom: 2px; }
.fmt-li p { font-size: 13.5px; color: var(--ink-3); line-height: 1.5; }

.fmt-mock {
  background: var(--bg-elev);
  border: 1px solid var(--hair);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.fmt-mock-head {
  background: linear-gradient(180deg, #f9f8f5, #f3f2ee);
  padding: 10px 14px;
  display: flex; align-items: center; gap: 6px;
  border-bottom: 1px solid var(--hair);
}
.fmt-mock-head .light { width: 10px; height: 10px; }
.fmt-mock-head .mt {
  flex: 1; text-align: center; font-size: 12px; color: var(--ink-3);
  font-weight: 600;
}
.fmt-mock-body { padding: 20px; }
.fmt-table { display: flex; flex-direction: column; gap: 6px; }
.fmt-th {
  display: grid; grid-template-columns: 32px 1fr 80px 80px;
  gap: 12px; padding: 6px 10px;
  font-size: 11px; font-weight: 600; color: var(--ink-4);
  text-transform: uppercase; letter-spacing: 0.04em;
}
.fmt-tr {
  display: grid; grid-template-columns: 32px 1fr 80px 80px;
  gap: 12px; padding: 10px; border-radius: 8px;
  border: 1px solid var(--hair-2); align-items: center;
  font-size: 13px;
}
.fmt-tr:hover { background: var(--bg); }
.fmt-tr-thumb { width: 26px; height: 26px; background: var(--bg-soft); border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; color: var(--ink-3); }
.fmt-tr-thumb svg { width: 16px; height: 16px; }
.fmt-tr-name { font-weight: 500; }
.fmt-tr-name small { color: var(--ink-4); font-weight: 400; display: block; font-size: 11px; margin-top: 1px; }
.fmt-tr-stock { font-size: 12px; color: var(--ink-3); }
.fmt-tr-stock.low { color: var(--acc); font-weight: 600; }
.fmt-tr-price { font-weight: 600; text-align: right; font-feature-settings: "tnum"; }

/* BIG NUMBERS */
.bignum-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
}
.bignum {
  padding: 48px 32px;
  border-right: 1px solid var(--hair);
}
.bignum:last-child { border-right: none; }
.bn-v {
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: 700; letter-spacing: -0.04em; line-height: 1;
}
.bn-v sup { font-size: 0.5em; font-weight: 500; vertical-align: super; margin-left: 2px; color: var(--ink-3); }
.bn-l {
  font-size: 14px; color: var(--ink-3); margin-top: 12px;
  line-height: 1.4;
}

/* STEPS */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.step {
  background: var(--bg-elev);
  border: 1px solid var(--hair);
  border-radius: var(--r-lg);
  padding: 30px;
}
.step-n {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 32px;
  color: var(--acc);
  margin-bottom: 14px;
  line-height: 1;
}
.step h4 { font-size: 17px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.01em; }
.step p { font-size: 13.5px; color: var(--ink-3); line-height: 1.6; }

/* PRICING */
.pricing-section { background: var(--bg-soft); }
.prices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.price {
  background: var(--bg-elev);
  border: 1px solid var(--hair);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  display: flex; flex-direction: column;
  position: relative;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.price:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.price.featured {
  background: var(--ink); color: var(--bg-elev); border-color: var(--ink);
}
.price.featured .price-name,
.price.featured .price-desc,
.price.featured .price-period { color: rgba(255,255,255,0.7); }
.price-tag {
  position: absolute; top: -10px; right: 20px;
  background: var(--acc); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 11px; border-radius: 999px;
}
.price-name {
  font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--ink-3); margin-bottom: 6px;
}
.price-desc { font-size: 13px; color: var(--ink-3); margin-bottom: 24px; min-height: 36px; line-height: 1.5; }
.price-amount {
  font-size: 44px; font-weight: 700;
  letter-spacing: -0.04em; line-height: 1;
  font-feature-settings: "tnum";
}
.price-amount sup { font-size: 18px; font-weight: 500; color: var(--ink-3); margin-left: 2px; }
.price.featured .price-amount sup { color: rgba(255,255,255,0.7); }
.price-period { font-size: 13px; color: var(--ink-3); margin-top: 4px; margin-bottom: 24px; }
.price-cta {
  width: 100%; padding: 12px;
  font-family: inherit; font-size: 14px; font-weight: 600;
  border-radius: 999px; cursor: pointer;
  margin-bottom: 22px;
  transition: all .15s;
  border: 1px solid var(--hair);
  background: transparent; color: var(--ink);
}
.price-cta:hover { background: var(--ink); color: var(--bg-elev); border-color: var(--ink); }
.price.featured .price-cta {
  background: var(--bg-elev); color: var(--ink); border: none;
}
.price.featured .price-cta:hover { background: var(--acc); color: #fff; }
.price-feats { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.price-feats li {
  font-size: 13.5px; color: var(--ink-2);
  display: flex; align-items: flex-start; gap: 9px; line-height: 1.5;
}
.price.featured .price-feats li { color: rgba(255,255,255,0.9); }
.pf-check {
  width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px;
  color: var(--acc);
}
.pf-check svg { width: 100%; height: 100%; stroke: currentColor; stroke-width: 2.2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.price-feats li.off { opacity: 0.4; }
.price-feats li.off .pf-check { color: var(--ink-4); }

/* 3-tier layout (START / PRO / ENTERPRISE) */
.prices.prices-3 { grid-template-columns: repeat(3, 1fr); max-width: 1060px; margin: 0 auto; }
.price-feats li.pf-head { font-weight: 700; color: var(--ink); font-size: 13.5px; margin-bottom: 2px; }
.price.featured .price-feats li.pf-head { color: #fff; }
.pf-plus {
  flex-shrink: 0; width: 16px; margin-top: 1px;
  color: var(--acc); font-weight: 800; font-size: 15px; line-height: 1.35; text-align: center;
}
.price.featured .pf-plus { color: var(--acc-2); }
.prices-note {
  max-width: 900px; margin: 26px auto 0; text-align: center;
  font-size: 12.5px; color: var(--ink-3); line-height: 1.6;
}

/* FAQ */
.faq-wrap {
  display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px;
  align-items: start;
}
.faq-list { border-top: 1px solid var(--hair); }
.faq { border-bottom: 1px solid var(--hair); }
.faq-q {
  width: 100%; background: transparent; border: none; cursor: pointer;
  text-align: left; font-family: inherit;
  padding: 22px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  font-size: 16.5px; font-weight: 600; color: var(--ink);
  letter-spacing: -0.01em;
  transition: color .15s;
}
.faq-q:hover { color: var(--acc); }
.faq-icon {
  width: 28px; height: 28px; flex-shrink: 0;
  border: 1px solid var(--hair); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-3); transition: all .25s;
}
.faq-icon svg { width: 11px; height: 11px; stroke: currentColor; stroke-width: 2; fill: none; }
.faq.open .faq-icon { background: var(--ink); color: var(--bg-elev); border-color: var(--ink); transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease;
  font-size: 15px; color: var(--ink-3); line-height: 1.65;
}
.faq.open .faq-a { max-height: 300px; padding-bottom: 22px; }

/* CTA */
.cta-section { background: var(--ink); color: var(--bg-elev); padding: 100px 32px; }
.cta-wrap { max-width: 1140px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.cta-section .eyebrow { color: var(--acc-2); }
.cta-section h2 { font-size: clamp(32px, 4vw, 56px); }
.cta-section .sub { color: rgba(255,255,255,0.65); max-width: 460px; }
.cta-feats { display: flex; flex-direction: column; gap: 14px; margin-top: 32px; }
.cta-feat { display: flex; align-items: center; gap: 14px; font-size: 14px; color: rgba(255,255,255,0.8); }
.cta-feat svg { width: 16px; height: 16px; color: var(--acc-2); flex-shrink: 0; }

.cta-form {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-xl);
  padding: 32px;
  backdrop-filter: blur(20px);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label {
  font-size: 12px; font-weight: 500;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.02em;
}
.field input, .field textarea, .field select {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--bg-elev);
  font-family: inherit; font-size: 14px;
  padding: 11px 14px; border-radius: 10px;
  transition: all .15s; outline: none;
  width: 100%;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,0.3); }
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.1);
}
.field textarea { resize: none; min-height: 88px; }
.field select { appearance: none; cursor: pointer; }
.field select option { background: var(--ink); color: var(--bg-elev); }
.form-submit {
  width: 100%; padding: 14px;
  background: var(--bg-elev); color: var(--ink);
  border: none; border-radius: 999px; cursor: pointer;
  font-family: inherit; font-size: 15px; font-weight: 600;
  transition: all .15s;
}
.form-submit:hover { background: var(--acc); color: #fff; transform: translateY(-1px); }
.form-note {
  font-size: 11.5px; color: rgba(255,255,255,0.4);
  text-align: center; margin-top: 14px; line-height: 1.5;
}

/* FOOTER */
footer { padding: 60px 32px 36px; background: var(--bg); }
.footer-wrap { max-width: 1140px; margin: 0 auto; }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px; padding-bottom: 36px;
  border-bottom: 1px solid var(--hair);
}
.footer-brand p { font-size: 13.5px; color: var(--ink-3); line-height: 1.6; max-width: 280px; margin-top: 14px; }
.footer-brand .nav-logo { font-size: 16px; padding: 0; margin: 0; border: none; }
.footer-col h5 { font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.footer-col a {
  display: block; font-size: 13.5px; color: var(--ink-2);
  margin-bottom: 10px; transition: color .15s;
}
.footer-col a:hover { color: var(--acc); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px;
  font-size: 12.5px; color: var(--ink-3);
}
.footer-socials { display: flex; gap: 8px; }
.soc {
  width: 32px; height: 32px;
  border: 1px solid var(--hair); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-2); transition: all .15s;
}
.soc:hover { background: var(--ink); color: var(--bg-elev); border-color: var(--ink); }
.soc svg { width: 14px; height: 14px; }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* RESPONSIVE */
@media (max-width: 1080px) {
  nav { padding: 4px 4px 4px 14px; gap: 4px; }
  .nav-burger { display: flex; }
  .nav-links {
    position: absolute; top: calc(100% + 10px); right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: rgba(255,255,255,0.94);
    backdrop-filter: saturate(180%) blur(28px);
    -webkit-backdrop-filter: saturate(180%) blur(28px);
    border: 1px solid var(--hair); border-radius: 18px;
    padding: 8px; min-width: 220px;
    box-shadow: var(--shadow-lg);
    opacity: 0; transform: translateY(-8px) scale(0.98);
    pointer-events: none; transition: opacity .18s ease, transform .18s ease;
  }
  .nav-links.open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
  .nav-links a { display: block; font-size: 14.5px; padding: 11px 16px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .card-1, .card-2 { grid-column: span 2; }
  .card-3, .card-4, .card-5 { grid-column: span 1; }
  .fmt-panel.on { grid-template-columns: 1fr; gap: 40px; }
  .prices { grid-template-columns: repeat(2, 1fr); }
  .prices.prices-3 { grid-template-columns: 1fr; max-width: 460px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .bignum-row { grid-template-columns: repeat(2, 1fr); }
  .bignum:nth-child(2) { border-right: none; }
  .bignum:nth-child(1), .bignum:nth-child(2) { border-bottom: 1px solid var(--hair); }
  .cta-wrap { grid-template-columns: 1fr; gap: 48px; }
  .faq-wrap { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .window-body { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .panel-row { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  section { padding: 72px 20px; }
  .hero { padding: 130px 20px 60px; min-height: 0; }
  .hero-arrow { display: none; }
  .hero-cta-row { gap: 28px; }
  .bento { grid-template-columns: 1fr; }
  .card-1, .card-2, .card-3, .card-4, .card-5 { grid-column: span 1; }
  .prices { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .bignum-row { grid-template-columns: 1fr; }
  .bignum { border-right: none; border-bottom: 1px solid var(--hair); }
  .bignum:last-child { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 14px; }
  .form-row { grid-template-columns: 1fr; }
  .cta-form { padding: 24px; }
  .fmt-th, .fmt-tr { grid-template-columns: 28px 1fr 64px; }
  .fmt-th .col-stock, .fmt-tr-stock { display: none; }
}
