/* ── HiveCode landing ─────────────────────────────────────────────────────────
   The logo is a hexagon with an H in it. Nothing on the site used that shape, so
   the page read like any other dark SaaS template. The hexagon is now the load
   bearing shape: feature icons sit in it, the comb pattern is built from it, and
   the amber is the only colour that ever competes with the text.
   ──────────────────────────────────────────────────────────────────────────── */
:root {
  --bg: #0a0a0a;
  --surface: #111113;
  --surface-2: #16161a;
  --border: #1f1f22;
  --border-lit: rgba(245, 158, 11, 0.28);
  --accent: #f59e0b;
  --accent-lit: #fbbf24;
  --accent-deep: #b45309;
  --accent-dim: rgba(245, 158, 11, 0.1);
  --text: #ececed;
  --muted: #8b8b90;
  --muted-2: #66666b;
  --radius: 10px;
  --radius-lg: 16px;
  --font: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --maxw: 1140px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* clip rather than hidden: hidden on the root would turn html into a scroll
   container and break the sticky nav. */
html { scroll-behavior: smooth; overflow-x: clip; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Honeycomb field. Two offset rows of hexagons drawn once and tiled, sitting far
   enough back that it reads as texture rather than pattern. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='96' viewBox='0 0 56 96'%3E%3Cg fill='none' stroke='%23f59e0b' stroke-opacity='0.05' stroke-width='1'%3E%3Cpath d='M28 1 L54 16 L54 46 L28 61 L2 46 L2 16 Z'/%3E%3Cpath d='M0 49 L26 64 L26 94 L0 109 L-26 94 L-26 64 Z'/%3E%3Cpath d='M56 49 L82 64 L82 94 L56 109 L30 94 L30 64 Z'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.9;
  mask-image: radial-gradient(ellipse 120% 80% at 50% 0%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 120% 80% at 50% 0%, #000 0%, transparent 70%);
}

::selection { background: rgba(245, 158, 11, 0.3); color: #fff; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #232326; border-radius: 6px; border: 3px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #34343a; }

/* ── Hexagon primitive ───────────────────────────────────────────────────────
   Same vertex ratios as logo.svg so the shape is literally the brand mark. */
.hex {
  position: relative;
  width: 52px;
  height: 58px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}

.hex-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hex-frame polygon {
  fill: rgba(245, 158, 11, 0.07);
  stroke: var(--accent);
  stroke-width: 1.6;
  transition: fill 0.25s, stroke 0.25s;
}

.hex-icon {
  position: relative;
  width: 22px;
  height: 22px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.25s;
}

/* ── Nav ─────────────────────────────────────────────────────────────────────── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 2rem;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 100;
}

/* No flex gap here. "Hive" is a bare text node and "Code" is an <em>, so flex
   counts them as two items and put the 10px meant for the icon between the two
   halves of the wordmark, which rendered it as "Hive Code". The icon carries its
   own margin instead. */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0;
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

.nav-logo-icon { width: 28px; height: 28px; margin-right: 10px; }
/* Space Grotesk still leaves optical air between the "e" and the "C". */
.nav-logo em { font-style: normal; color: var(--accent); margin-left: -1.5px; }

.nav-links { display: flex; align-items: center; gap: 0.25rem; }

.nav-links a {
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  padding: 0.45rem 0.7rem;
  border-radius: 8px;
  transition: color 0.18s, background 0.18s;
}

.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.nav-links .btn:hover { background: none; }

.hamburger-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.3rem;
  cursor: pointer;
  padding: 4px 8px;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 1.5rem;
  position: relative;
  z-index: 99;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  color: var(--text);
  text-decoration: none;
  font-family: var(--font);
  font-size: 0.92rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
}

.mobile-nav a:last-child { border-bottom: none; }

/* ── Buttons ─────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1.3rem;
  border-radius: 9px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  transition: transform 0.16s, box-shadow 0.16s, background 0.16s, border-color 0.16s;
  position: relative;
  z-index: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-lit), var(--accent));
  color: #140d00;
  font-weight: 700;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 6px 20px -8px rgba(245, 158, 11, 0.7);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3) inset, 0 14px 34px -10px rgba(245, 158, 11, 0.75);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover { border-color: #35353a; background: rgba(255, 255, 255, 0.06); transform: translateY(-2px); }

.btn-lg { padding: 0.85rem 1.9rem; font-size: 0.98rem; }

/* ── Section furniture ───────────────────────────────────────────────────────── */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 6rem 2rem;
  position: relative;
  z-index: 1;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9rem;
}

.section-label::before {
  content: '';
  width: 9px;
  height: 10px;
  background: var(--accent);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.section-heading {
  font-family: var(--font);
  font-size: clamp(1.8rem, 3.6vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin-bottom: 0.9rem;
}

.section-heading em { font-style: normal; color: var(--accent); }

.section-sub {
  color: var(--muted);
  max-width: 560px;
  font-size: 1rem;
}

.section-center { text-align: center; }
.section-center .section-label { justify-content: center; }
.section-center .section-sub { margin-left: auto; margin-right: auto; }

/* ── Hero ────────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  z-index: 1;
  padding: 5.5rem 2rem 4rem;
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-glow {
  position: absolute;
  top: -20%;
  right: 0;
  width: min(780px, 100%);
  height: 620px;
  background: radial-gradient(ellipse at center, rgba(245, 158, 11, 0.13) 0%, transparent 62%);
  pointer-events: none;
  z-index: -1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.85rem 0.35rem 0.5rem;
  border-radius: 999px;
  border: 1px solid var(--border-lit);
  background: var(--accent-dim);
  color: var(--accent-lit);
  font-size: 0.73rem;
  font-weight: 700;
  font-family: var(--font);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.6rem;
  animation: fadeUp 0.6s ease both;
}

.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
}

.hero h1 {
  font-family: var(--font);
  font-size: clamp(2.6rem, 5.2vw, 4.1rem);
  font-weight: 700;
  letter-spacing: -0.042em;
  line-height: 1.03;
  margin-bottom: 1.3rem;
  animation: fadeUp 0.6s 0.08s ease both;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--accent-lit) 10%, var(--accent) 55%, var(--accent-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lede {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 500px;
  margin-bottom: 2rem;
  animation: fadeUp 0.6s 0.16s ease both;
}

.hero-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  animation: fadeUp 0.6s 0.24s ease both;
}

.hero-trust {
  margin-top: 1.6rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--muted-2);
  font-size: 0.82rem;
  animation: fadeUp 0.6s 0.32s ease both;
}

.hero-trust b { color: var(--muted); font-weight: 600; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Discord mock: the product doing its job ─────────────────────────────────── */
.mock {
  background: #1a1b1e;
  border: 1px solid #26272b;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.03);
  animation: fadeUp 0.7s 0.3s ease both;
  font-size: 13.5px;
}

.mock-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  background: #141517;
  border-bottom: 1px solid #26272b;
  color: #8b8b90;
  font-size: 12.5px;
  font-weight: 600;
}

.mock-bar .hashmark { color: #5c5d63; font-size: 16px; font-weight: 400; }

.mock-body { padding: 14px 15px 16px; display: flex; flex-direction: column; gap: 13px; }

.mock-msg { display: flex; gap: 11px; align-items: flex-start; }

.mock-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13px;
  color: #140d00;
  background: linear-gradient(135deg, var(--accent-lit), var(--accent));
}

.mock-avatar.user { background: linear-gradient(135deg, #5865f2, #4752c4); color: #fff; }

.mock-name {
  font-weight: 600;
  color: #f2f3f5;
  font-size: 13.5px;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
}

.mock-tag {
  background: #5865f2;
  color: #fff;
  font-size: 9.5px;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.mock-time { color: #6d6f78; font-size: 11px; font-weight: 400; }

.mock-text { color: #c8c9ce; }

.mock-cmd { color: #a5b3f5; background: rgba(88, 101, 242, 0.12); border-radius: 3px; padding: 0 3px; }

.mock-embed {
  border-left: 3px solid var(--accent);
  background: #232428;
  border-radius: 4px;
  padding: 11px 13px;
  margin-top: 3px;
  max-width: 430px;
}

.mock-embed-title {
  font-weight: 600;
  color: #f2f3f5;
  font-size: 13.5px;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.mock-embed-body { color: #b4b6bd; font-size: 12.5px; line-height: 1.5; }

.mock-fields { display: flex; gap: 22px; margin-top: 9px; }
.mock-field-label { color: #96979d; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.mock-field-value { color: #dbdce0; font-size: 12.5px; margin-top: 1px; }

.mock-buttons { display: flex; gap: 7px; margin-top: 10px; }

.mock-btn {
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 4px;
  background: #4e5058;
  color: #fff;
}

.mock-btn.primary { background: #5865f2; }
.mock-btn.success { background: #248046; }

/* ── Stats strip ─────────────────────────────────────────────────────────────── */
.stats-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.2rem;
  display: flex;
  justify-content: center;
  gap: 3.5rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.035), transparent);
}

.stat-item { text-align: center; }

.stat-item .num {
  font-family: var(--font);
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: -0.045em;
  color: var(--text);
  display: block;
  line-height: 1.1;
}

.stat-item:first-child .num,
.stat-item .num.accent { color: var(--accent); }

.stat-item .label {
  font-size: 0.73rem;
  color: var(--muted-2);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}

/* ── Replaces / comparison ───────────────────────────────────────────────────── */
/* ── Bot picker ──────────────────────────────────────────────────────────────── */
.cmp-picker {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.cmp-picker-label {
  font-family: var(--font);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.cmp-chips { display: flex; gap: 0.4rem; flex-wrap: wrap; }

.cmp-chip {
  font-family: var(--font);
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  cursor: pointer;
  transition: color 0.16s, border-color 0.16s, background 0.16s;
}

.cmp-chip:hover { color: var(--text); border-color: #35353a; }

.cmp-chip.on {
  color: var(--accent-lit);
  border-color: var(--border-lit);
  background: var(--accent-dim);
}

.cmp-chip.full { opacity: 0.4; cursor: not-allowed; }
.cmp-chip.full:hover { color: var(--muted); border-color: var(--border); }

.cmp-hint { color: var(--muted-2); font-size: 0.78rem; margin-left: auto; }

.cmp-note {
  color: var(--muted-2);
  font-size: 0.79rem;
  margin-top: 0.9rem;
  line-height: 1.6;
}

.cmp-breakdowns {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-top: 0.9rem;
}

.cmp-breakdowns-label {
  font-family: var(--font);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-right: 0.3rem;
}

.cmp-bd {
  font-size: 0.8rem;
  color: var(--muted);
  text-decoration: none;
  padding: 0.28rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 7px;
  transition: color 0.16s, border-color 0.16s, background 0.16s;
}

.cmp-bd:hover {
  color: var(--accent);
  border-color: var(--border-lit);
  background: var(--accent-dim);
}

.cmp-note a { color: var(--accent); text-decoration: none; }
.cmp-note a:hover { text-decoration: underline; }

.cmp-name { display: block; }

.cmp-price {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: var(--muted-2);
  margin-top: 2px;
}

.compare-wrap {
  margin-top: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow-x: auto;
}

.compare {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.compare th, .compare td {
  padding: 0.85rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.compare thead th {
  font-family: var(--font);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--muted-2);
  font-weight: 700;
  background: rgba(255, 255, 255, 0.015);
}

.compare thead th.us { color: var(--accent); }

.compare tbody tr:last-child td { border-bottom: none; }
.compare tbody tr:hover td { background: rgba(255, 255, 255, 0.015); }

.compare td.feat { color: var(--text); font-weight: 500; }
.compare td { color: var(--muted); }

.compare td.us {
  background: rgba(245, 158, 11, 0.045);
  color: var(--text);
  font-weight: 600;
  border-left: 1px solid rgba(245, 158, 11, 0.14);
  border-right: 1px solid rgba(245, 158, 11, 0.14);
}

.compare th.us {
  background: rgba(245, 158, 11, 0.07);
  color: var(--accent);
  border-left: 1px solid rgba(245, 158, 11, 0.14);
  border-right: 1px solid rgba(245, 158, 11, 0.14);
}

.compare .feat-col { min-width: 190px; }

/* Cell values. Only free/paid/limited/not-available make a claim. The dash is
   deliberately grey and quiet: it means we did not confirm, not that the answer
   is no. */
.c-val { display: block; }

.c-detail {
  display: block;
  font-size: 0.73rem;
  color: var(--muted-2);
  margin-top: 1px;
  font-weight: 400;
}

.compare td.c-free .c-val { color: #22c55e; font-weight: 700; }
.compare td.c-paid .c-val { color: #eab308; }
.compare td.c-partial .c-val { color: #eab308; }
.compare td.c-none .c-val { color: #55555b; }
.compare td.c-unknown { color: #55555b; }
.compare td.c-unknown .c-val { color: #48484e; cursor: help; }

/* ── Features ────────────────────────────────────────────────────────────────── */
.feature-group { margin-top: 4rem; }

.feature-group-head {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  padding-bottom: 0.9rem;
  margin-bottom: 1.6rem;
  border-bottom: 1px solid var(--border);
}

.feature-group-head h3 {
  font-family: var(--font);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.feature-group-head span { color: var(--muted-2); font-size: 0.85rem; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.1rem;
}

.feature-card {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.5rem 1.6rem;
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

/* The scroll reveal is an enhancement, never a requirement. Cards are visible by
   default and only start hidden once the inline probe in <head> confirms JS runs,
   so a blocked or broken script can never leave the features section blank. */
html.js .feature-card {
  opacity: 0;
  transform: translateY(20px);
}

html.js .feature-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.55s ease, opacity 0.55s ease;
}

.feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(420px 160px at 100% 0%, rgba(245, 158, 11, 0.08), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.feature-card:hover {
  border-color: var(--border-lit);
  transform: translateY(-4px) !important;
  box-shadow: 0 22px 44px -26px rgba(0, 0, 0, 0.9);
}

.feature-card:hover::after { opacity: 1; }
.feature-card:hover .hex-frame polygon { fill: rgba(245, 158, 11, 0.14); stroke: var(--accent-lit); }

.feature-card h3 {
  font-family: var(--font);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.865rem;
  line-height: 1.6;
}

.pill {
  font-family: var(--font);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 5px;
  border: 1px solid var(--border-lit);
  color: var(--accent);
  background: var(--accent-dim);
}

.pill.free { color: #22c55e; border-color: rgba(34, 197, 94, 0.32); background: rgba(34, 197, 94, 0.1); }
.pill.new { color: #140d00; background: var(--accent); border-color: var(--accent); }

/* ── Dashboard mock ──────────────────────────────────────────────────────────── */
.dash-mock {
  margin-top: 2.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #0d0d0f;
  overflow: hidden;
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.95);
  display: grid;
  grid-template-columns: 190px 1fr;
  min-height: 340px;
}

.dash-side { background: #121214; border-right: 1px solid var(--border); padding: 14px 10px; }

/* Same flex-gap trap as .nav-logo: the gap would land between "Hive" and "Code". */
.dash-side-logo {
  display: flex;
  align-items: center;
  gap: 0;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 4px 8px 14px;
}

.dash-side-logo img { margin-right: 8px; }

.dash-side-logo em { font-style: normal; color: var(--accent); margin-left: -1.5px; }

.dash-nav-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 9px;
  border-radius: 7px;
  color: var(--muted-2);
  font-size: 0.8rem;
  font-weight: 500;
}

.dash-nav-item.on { background: rgba(245, 158, 11, 0.12); color: var(--accent); font-weight: 600; }
.dash-nav-item svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.8; }

.dash-main { padding: 18px 20px; }

.dash-h {
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 3px;
}

.dash-sub { color: var(--muted-2); font-size: 0.78rem; margin-bottom: 16px; }

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

.dash-card {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 10px;
  padding: 12px 13px;
}

.dash-card .k { color: var(--muted-2); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }
.dash-card .v { font-family: var(--font); font-size: 1.35rem; font-weight: 700; letter-spacing: -0.03em; margin-top: 3px; }
.dash-card .v.up { color: #22c55e; }

.dash-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 10px;
  padding: 11px 13px;
  margin-top: 10px;
}

.dash-row-label { font-size: 0.82rem; font-weight: 500; }
.dash-row-hint { color: var(--muted-2); font-size: 0.72rem; margin-top: 1px; }

.toggle {
  width: 34px;
  height: 19px;
  border-radius: 999px;
  background: #2a2a2e;
  position: relative;
  flex-shrink: 0;
}

.toggle::after {
  content: '';
  position: absolute;
  top: 2.5px;
  left: 2.5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #6a6a70;
}

.toggle.on { background: var(--accent); }
.toggle.on::after { left: auto; right: 2.5px; background: #140d00; }

/* ── Pricing ─────────────────────────────────────────────────────────────────── */
.pricing-section {
  padding: 6rem 2rem;
  max-width: var(--maxw);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hc-cycle-toggle {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--surface);
}

.hc-cycle-toggle .btn { box-shadow: none; }
.hc-cycle-toggle .btn-secondary { border-color: transparent; background: transparent; color: var(--muted); }
.hc-cycle-toggle .btn-secondary:hover { transform: none; background: rgba(255, 255, 255, 0.04); }
.hc-cycle-toggle .btn-primary:hover { transform: none; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.3rem;
  margin-top: 2.6rem;
  align-items: start;
}

.price-card {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.9rem 1.7rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  position: relative;
}

.price-card.pro {
  border-color: var(--border-lit);
  background:
    radial-gradient(600px 220px at 50% -10%, rgba(245, 158, 11, 0.1), transparent 70%),
    linear-gradient(180deg, var(--surface-2), var(--surface));
  box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.08), 0 30px 60px -35px rgba(245, 158, 11, 0.4);
}

.pro-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent-lit), var(--accent));
  color: #140d00;
  font-family: var(--font);
  font-size: 0.67rem;
  font-weight: 700;
  padding: 3px 13px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  white-space: nowrap;
}

.price-tier {
  font-family: var(--font);
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--muted-2);
}

.price-card.pro .price-tier { color: var(--accent); }

.price-amount {
  font-family: var(--font);
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
}

.price-amount span { font-size: 0.85rem; font-weight: 500; color: var(--muted-2); letter-spacing: 0; }

.hc-sale-note {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #22c55e;
  letter-spacing: 0.04em;
  margin-top: 5px;
  text-transform: uppercase;
}

.price-features { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }

.price-features li {
  font-size: 0.855rem;
  color: var(--muted);
  padding-left: 1.55rem;
  position: relative;
  line-height: 1.45;
}

.price-features li::before {
  content: '·';
  position: absolute;
  left: 0.35rem;
  color: var(--muted-2);
}

.price-features li.yes { color: var(--text); }

.price-features li.yes::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 9px;
  height: 10px;
  background: var(--accent);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

/* ── Languages ───────────────────────────────────────────────────────────────── */
.lang-grid {
  max-width: 900px;
  margin: 2.4rem auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 8px;
}

.lang-grid div {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.86rem;
  color: var(--muted);
  padding: 7px 11px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.lang-grid .fi { border-radius: 2px; flex-shrink: 0; }

/* ── Steps ───────────────────────────────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.3rem;
  margin-top: 2.8rem;
}

.step {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: 1.7rem 1.6rem;
  position: relative;
}

.step-num {
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  width: 34px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  background: rgba(245, 158, 11, 0.1);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.step h3 { font-family: var(--font); font-size: 1rem; font-weight: 700; margin-bottom: 0.45rem; }
.step p { color: var(--muted); font-size: 0.875rem; }

/* ── FAQ ─────────────────────────────────────────────────────────────────────── */
.faq-list { max-width: 780px; margin: 2.6rem auto 0; display: flex; flex-direction: column; gap: 0.7rem; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item[open] { border-color: var(--border-lit); }

.faq-item summary {
  padding: 1.05rem 1.3rem;
  cursor: pointer;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  color: var(--accent);
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item .faq-body {
  padding: 0 1.3rem 1.2rem;
  color: var(--muted);
  font-size: 0.895rem;
  line-height: 1.65;
}

/* ── CTA ─────────────────────────────────────────────────────────────────────── */
.cta-section {
  position: relative;
  text-align: center;
  padding: 6rem 2rem;
  margin: 0 auto;
  max-width: var(--maxw);
  overflow: hidden;
  z-index: 1;
}

.cta-inner {
  border: 1px solid var(--border-lit);
  border-radius: 22px;
  padding: 3.6rem 2rem;
  background:
    radial-gradient(700px 300px at 50% 0%, rgba(245, 158, 11, 0.13), transparent 70%),
    linear-gradient(180deg, var(--surface-2), var(--surface));
  position: relative;
  overflow: hidden;
}

.cta-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='96' viewBox='0 0 56 96'%3E%3Cg fill='none' stroke='%23f59e0b' stroke-opacity='0.07' stroke-width='1'%3E%3Cpath d='M28 1 L54 16 L54 46 L28 61 L2 46 L2 16 Z'/%3E%3Cpath d='M0 49 L26 64 L26 94 L0 109 L-26 94 L-26 64 Z'/%3E%3Cpath d='M56 49 L82 64 L82 94 L56 109 L30 94 L30 64 Z'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.cta-inner > * { position: relative; }

.cta-inner h2 {
  font-family: var(--font);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  margin-bottom: 0.9rem;
}

.cta-inner p { color: var(--muted); max-width: 560px; margin: 0 auto 2rem; }

/* ── Footer ──────────────────────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 2.8rem 2rem;
  position: relative;
  z-index: 1;
  background: var(--bg);
}

.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  text-align: center;
}

.footer-logo {
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  text-decoration: none;
}

.footer-logo em { font-style: normal; color: var(--accent); margin-left: -1.5px; }

.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.4rem; }

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.855rem;
  transition: color 0.18s;
}

.footer-links a:hover { color: var(--accent); }

.footer-copy { color: var(--muted-2); font-size: 0.78rem; }

/* ── Sale decorations (promo-banner.js) ──────────────────────────────────────── */
.hc-sale-tag {
  display: inline-block;
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #140d00;
  background: linear-gradient(135deg, var(--accent-lit), var(--accent));
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

/* ── Responsive ──────────────────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 2.8rem; padding-top: 4rem; text-align: center; }
  .hero-lede { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-trust { justify-content: center; }
  .hero-badge { margin-left: auto; margin-right: auto; }
  .dash-mock { grid-template-columns: 1fr; }
  .dash-side { display: none; }
}

@media (max-width: 820px) {
  .nav-links { display: none; }
  .hamburger-btn { display: block; }
  .nav { padding: 0.85rem 1.2rem; }
  .section, .pricing-section, .cta-section { padding: 4rem 1.2rem; }
  .hero { padding: 3rem 1.2rem 2.5rem; }
  .stats-bar { gap: 2rem 2.5rem; padding: 1.8rem 1.2rem; }
  .stat-item .num { font-size: 1.7rem; }
  .features-grid { grid-template-columns: 1fr; }
  .cta-inner { padding: 2.6rem 1.3rem; }
  .mock { font-size: 12.5px; }
}

/* ── Trailer ─────────────────────────────────────────────────────────────────── */
.trailer {
  max-width: 960px;
  margin: 2rem auto 0;
  border: 1px solid var(--border-lit);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #050505;
  box-shadow: 0 30px 80px -30px rgba(245, 158, 11, 0.25);
}

.trailer video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html.js .feature-card { opacity: 1; transform: none; }
}
