/* Hallmark · macrostructure: Split Hero + live product demo · tone: technical-trust · anchor hue: teal 174
 * pre-emit critique: P5 H5 E5 S4 R4 V5
 * theme: dark navy + teal (tokens do app desktop) · refs visuais: 1password.com, bitwarden.com, lastpass.com */

:root {
  --paper: #0a0f16;
  --paper-2: #0e1520;
  --paper-3: #121b2b;
  --ink: #f1f5f9;
  --ink-muted: #97a5b8;
  --ink-faint: #64748b;
  --accent: #14b8a6;
  --accent-bright: #2dd4bf;
  --accent-ink: #04201d;
  --line: rgba(148, 163, 184, 0.13);
  --line-accent: rgba(20, 184, 166, 0.35);
  --radius: 14px;
  --radius-lg: 22px;
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --container: 1180px;
}

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

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  line-height: 1.12;
  overflow-wrap: anywhere;
  min-width: 0;
}

h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.14rem; }

p { max-width: 62ch; }

a { color: var(--accent-bright); }

code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  background: var(--paper-3);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.1em 0.4em;
  color: var(--ink);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-bright);
  margin-bottom: 0.9rem;
}

/* ============ Buttons ============ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.78rem 1.6rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.18s var(--ease-out), background 0.18s var(--ease-out),
    border-color 0.18s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

.btn:active { transform: translateY(1px) scale(0.98); }

.btn:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 3px;
}

.btn-primary {
  background: linear-gradient(180deg, var(--accent-bright), var(--accent));
  color: var(--accent-ink);
}
.btn-primary:hover {
  background: linear-gradient(180deg, #46e0cd, var(--accent-bright));
  transform: translateY(-1px);
}

.btn-glow { box-shadow: 0 0 32px rgba(20, 184, 166, 0.35), 0 8px 24px rgba(0, 0, 0, 0.4); }
.btn-glow:hover { box-shadow: 0 0 48px rgba(20, 184, 166, 0.5), 0 10px 28px rgba(0, 0, 0, 0.45); }

.btn-ghost {
  color: var(--ink);
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(18, 27, 43, 0.5);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: var(--accent); }

.btn-outline {
  color: var(--ink);
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: transparent;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent-bright); }

.btn-lg { padding: 0.95rem 2.2rem; font-size: 1.04rem; }

/* ============ Nav ============ */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 15, 22, 0.75);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo img { height: 34px; width: auto; }

.nav-links { display: flex; gap: 1.7rem; margin-left: auto; }

.nav-links a {
  color: var(--ink-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.15s var(--ease-out);
}
.nav-links a:hover { color: var(--ink); }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.nav-burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }

.nav-mobile {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem;
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}
.nav-mobile[hidden] { display: none; }
.nav-mobile a { color: var(--ink); text-decoration: none; font-weight: 500; }

/* ============ Hero ============ */

.hero { position: relative; overflow: clip; }

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(52% 46% at 50% -6%, rgba(20, 184, 166, 0.16), transparent 70%),
    radial-gradient(38% 38% at 85% 30%, rgba(30, 64, 120, 0.28), transparent 70%),
    radial-gradient(30% 30% at 8% 60%, rgba(20, 184, 166, 0.07), transparent 70%);
  pointer-events: none;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(60% 55% at 50% 20%, black, transparent 78%);
  -webkit-mask-image: radial-gradient(60% 55% at 50% 20%, black, transparent 78%);
}

.hero-inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 4.2rem 1.25rem 4.5rem;
  display: grid;
  gap: 3.2rem;
  text-align: center;
  justify-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.1rem);
  font-weight: 700;
  max-width: 17ch;
  margin: 0 auto;
}

.hero-copy h1 em {
  font-style: italic;
  line-height: 1.15;
  padding-bottom: 0.05em;
  background: linear-gradient(100deg, var(--accent-bright), #6ee7db);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  margin: 1.2rem auto 0;
  font-size: 1.15rem;
  color: var(--ink-muted);
  max-width: 46ch;
}

.hero-ctas {
  margin-top: 2.1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
}

.hero-micro {
  margin-top: 1.1rem;
  font-size: 0.85rem;
  color: var(--ink-faint);
}

/* ---- App preview (mockup vivo) ---- */

.hero-app { width: 100%; max-width: 980px; }

.app-frame {
  display: grid;
  grid-template-columns: 200px 260px 1fr;
  min-height: 400px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: linear-gradient(180deg, #101825, #0c1320);
  box-shadow:
    0 0 0 1px rgba(20, 184, 166, 0.08),
    0 24px 80px rgba(0, 0, 0, 0.65),
    0 0 120px rgba(20, 184, 166, 0.08);
  overflow: hidden;
  text-align: left;
}

.app-side {
  background: rgba(8, 12, 19, 0.75);
  border-right: 1px solid var(--line);
  padding: 1.1rem 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.app-side-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.2rem 0.5rem 0.9rem;
}

.app-hex {
  width: 18px;
  height: 20px;
  background: var(--accent);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.app-side-group {
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
  padding: 0.7rem 0.5rem 0.3rem;
}

.app-side-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--ink-muted);
  font-family: var(--font-body);
  font-size: 0.85rem;
  padding: 0.42rem 0.55rem;
  border-radius: 8px;
  cursor: default;
}

.app-side-item.is-active {
  background: rgba(20, 184, 166, 0.12);
  color: var(--ink);
  border-left: 2px solid var(--accent);
}

.app-count { font-size: 0.7rem; color: var(--ink-faint); }

.app-side-lock {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  color: var(--ink-faint);
  padding: 0.5rem;
}

.app-lock-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(20, 184, 166, 0.8);
}

.app-list {
  border-right: 1px solid var(--line);
  padding: 0.9rem 0.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.app-search {
  font-size: 0.8rem;
  color: var(--ink-faint);
  background: rgba(8, 12, 19, 0.8);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.45rem 0.7rem;
  margin-bottom: 0.5rem;
}

.app-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  text-align: left;
  background: none;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 0.5rem 0.6rem;
  cursor: pointer;
  transition: background 0.15s var(--ease-out), border-color 0.15s var(--ease-out);
}

.app-row:hover { background: rgba(148, 163, 184, 0.06); }

.app-row.is-selected {
  background: rgba(20, 184, 166, 0.1);
  border-color: rgba(20, 184, 166, 0.3);
}

.app-fav {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--fav, #1e2536);
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: #dbe4ee;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.66rem;
  display: grid;
  place-items: center;
  letter-spacing: 0.03em;
}

.app-fav-lg { width: 44px; height: 44px; font-size: 0.8rem; border-radius: 12px; }

.app-row-txt { display: flex; flex-direction: column; min-width: 0; }
.app-row-txt strong { font-size: 0.87rem; font-weight: 600; color: var(--ink); }
.app-row-txt small { font-size: 0.73rem; color: var(--ink-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.app-detail { padding: 1.3rem 1.4rem; display: flex; flex-direction: column; gap: 1rem; }

.app-detail-head { display: flex; align-items: center; gap: 0.8rem; }
.app-detail-head strong { display: block; font-family: var(--font-display); font-size: 1.05rem; }
.app-detail-head small { color: var(--ink-faint); font-size: 0.78rem; }

.app-field label {
  display: block;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-faint);
  margin-bottom: 0.3rem;
}

.app-field-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  background: rgba(8, 12, 19, 0.7);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.55rem 0.8rem;
}

.app-dots { font-family: var(--font-mono); font-size: 0.9rem; letter-spacing: 0.08em; color: var(--ink); }

.app-mini {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  opacity: 0.6;
  transition: opacity 0.15s;
}
.app-mini:hover { opacity: 1; }

.app-totp {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent-bright);
  letter-spacing: 0.12em;
}

.totp-ring { width: 26px; height: 26px; transform: rotate(-90deg); }
.totp-track { fill: none; stroke: rgba(148, 163, 184, 0.15); stroke-width: 3; }
.totp-fill {
  fill: none;
  stroke: var(--accent);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 69.1;
  stroke-dashoffset: 0;
}

.app-url { font-size: 0.85rem; color: var(--ink-muted); }

.app-badge-e2e {
  margin-top: auto;
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-bright);
  background: rgba(20, 184, 166, 0.1);
  border: 1px solid rgba(20, 184, 166, 0.3);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
}

.hero-app-caption {
  margin: 0.9rem auto 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--ink-faint);
}

/* ============ Migrate strip ============ */

.migrate-strip {
  border-top: 1px solid var(--line);
  padding: 2.6rem 0;
  background: var(--paper-2);
}

.migrate-strip .container { text-align: center; }

.migrate-label { margin: 0 auto; font-size: 0.85rem; color: var(--ink-faint); }

.migrate-row {
  margin-top: 1.3rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.6rem;
}

.migrate-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink-muted);
  transition: color 0.2s var(--ease-out);
}
.migrate-item:hover { color: var(--ink); }
.migrate-item svg { opacity: 0.75; }

/* ============ Crypto band ============ */

.crypto-band {
  padding: 6rem 0;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(60% 90% at 50% 110%, rgba(20, 184, 166, 0.09), transparent 65%),
    var(--paper);
}

.crypto-head { text-align: center; max-width: 720px; margin: 0 auto; }
.crypto-head h2 em {
  font-style: italic;
  color: var(--accent-bright);
}
.crypto-head p { margin: 1rem auto 0; color: var(--ink-muted); }

.crypto-grid {
  margin-top: 3.4rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
}

.crypto-stat {
  text-align: center;
  padding: 2rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(16, 24, 37, 0.8), rgba(10, 15, 22, 0.4));
  transition: border-color 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}
.crypto-stat:hover { border-color: var(--line-accent); transform: translateY(-3px); }

.crypto-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-bright);
  letter-spacing: -0.03em;
}

.crypto-unit {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--ink-faint);
  margin-left: 0.35rem;
}

.crypto-stat p { margin: 0.7rem auto 0; font-size: 0.88rem; color: var(--ink-muted); max-width: 24ch; }

/* ============ Proof cards ============ */

.proof { padding: 4.5rem 0 5.5rem; }

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.proof-card {
  background: linear-gradient(180deg, var(--paper-2), var(--paper));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem 1.6rem;
  transition: border-color 0.2s var(--ease-out), transform 0.2s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.proof-card:hover {
  border-color: var(--line-accent);
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
}

.proof-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--accent-bright);
  background: rgba(20, 184, 166, 0.1);
  border: 1px solid rgba(20, 184, 166, 0.25);
  margin-bottom: 1.1rem;
}

.proof-card h3 { margin-bottom: 0.6rem; }
.proof-card p { color: var(--ink-muted); font-size: 0.95rem; }

/* ============ Generator ============ */

.generator { padding: 2rem 0 5.5rem; }

.gen-card {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 2.5rem;
  align-items: center;
  border: 1px solid var(--line-accent);
  border-radius: var(--radius-lg);
  padding: 2.6rem 2.4rem;
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(20, 184, 166, 0.12), transparent 60%),
    linear-gradient(180deg, var(--paper-2), var(--paper));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.4);
}

.gen-copy h2 { max-width: 18ch; }
.gen-copy p:last-child { margin-top: 0.9rem; color: var(--ink-muted); font-size: 0.95rem; }

.gen-output {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: #070b11;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem 1rem;
}

.gen-output code {
  flex: 1;
  min-width: 0;
  background: none;
  border: none;
  padding: 0;
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--accent-bright);
  letter-spacing: 0.04em;
  overflow-wrap: anywhere;
}

.gen-copy-btn { padding: 0.55rem 1.2rem; font-size: 0.85rem; flex: none; }

.gen-controls { margin-top: 1.2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; }

.gen-range {
  flex: 1 1 220px;
  font-size: 0.82rem;
  color: var(--ink-muted);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.gen-range output { color: var(--ink); font-weight: 600; margin-left: 0.4rem; }

input[type="range"] {
  appearance: none;
  -webkit-appearance: none;
  height: 5px;
  border-radius: 3px;
  background: var(--paper-3);
  outline: none;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-bright);
  border: 2px solid #063f39;
  box-shadow: 0 0 10px rgba(20, 184, 166, 0.6);
}
input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-bright);
  border: 2px solid #063f39;
}

.gen-checks { display: flex; gap: 1rem; font-size: 0.85rem; color: var(--ink-muted); }
.gen-checks label { display: flex; align-items: center; gap: 0.4rem; cursor: pointer; }
.gen-checks input { accent-color: var(--accent); width: 15px; height: 15px; }

/* ============ Split sections ============ */

.split { padding: 5rem 0; }

.split-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 3.5rem;
  align-items: center;
}

.split-visual img {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

.split-copy h2 { max-width: 20ch; }
.split-copy > p { margin-top: 1rem; color: var(--ink-muted); }

.checklist { margin-top: 1.4rem; list-style: none; display: grid; gap: 0.65rem; }

.checklist li {
  position: relative;
  padding-left: 1.7rem;
  color: var(--ink-muted);
  font-size: 0.97rem;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 50%;
  background: rgba(20, 184, 166, 0.15);
  border: 1px solid rgba(20, 184, 166, 0.5);
}
.checklist li::after {
  content: "";
  position: absolute;
  left: 0.28rem;
  top: 0.52em;
  width: 0.38rem;
  height: 0.22rem;
  border-left: 2px solid var(--accent-bright);
  border-bottom: 2px solid var(--accent-bright);
  transform: rotate(-45deg);
}

/* ============ Bento ============ */

.features { padding: 5.5rem 0; border-top: 1px solid var(--line); }

.features-head { margin-bottom: 2.5rem; text-align: center; }

.bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.bento-cell {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.85rem 1.6rem;
  transition: border-color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
.bento-cell:hover { border-color: var(--line-accent); transform: translateY(-3px); }

.bento-cell h3 { margin-bottom: 0.55rem; }
.bento-cell p { color: var(--ink-muted); font-size: 0.95rem; }

.bento-wide { grid-column: span 2; }
.bento-full { grid-column: 1 / -1; }

.bento-accent {
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(20, 184, 166, 0.2), transparent 60%),
    var(--paper-2);
  border-color: rgba(20, 184, 166, 0.3);
}

.bento-pass {
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--accent-bright);
  background: rgba(4, 26, 24, 0.6);
  border: 1px solid rgba(20, 184, 166, 0.25);
  border-radius: 10px;
  padding: 0.55rem 0.9rem;
  letter-spacing: 0.14em;
  display: inline-block;
}

.bento-tags { margin-top: 1.1rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }

.bento-tags span {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
}

.bento-img {
  background:
    linear-gradient(90deg, rgba(14, 21, 32, 0.94) 34%, rgba(14, 21, 32, 0.45)),
    url("assets/sync-devices.png") right center / cover no-repeat;
}

/* ============ CLI terminal ============ */

.cli { padding: 5.5rem 0; border-top: 1px solid var(--line); }

.terminal {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: #070b11;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55), 0 0 80px rgba(20, 184, 166, 0.06);
  overflow: hidden;
}

.terminal-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 40px;
  background: rgba(16, 24, 37, 0.9);
  border-bottom: 1px solid var(--line);
}

.terminal-title { font-family: var(--font-mono); font-size: 0.72rem; color: var(--ink-faint); }

.terminal-body {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  line-height: 1.8;
  padding: 1.4rem 1.5rem 1.6rem;
  min-height: 300px;
  overflow-x: auto;
  color: var(--ink);
  white-space: pre-wrap;
}

.terminal-body code {
  background: none;
  border: none;
  padding: 0;
  font-size: inherit;
}

.terminal-body .t-p { color: var(--accent-bright); }
.terminal-body .t-c { color: var(--ink-faint); }
.terminal-body .t-o { color: var(--ink-muted); }
.terminal-body .t-ok { color: #4ade80; }

.t-cursor {
  display: inline-block;
  width: 8px;
  height: 1em;
  background: var(--accent-bright);
  vertical-align: text-bottom;
  animation: blink 1s steps(1) infinite;
}

@keyframes blink { 50% { opacity: 0; } }

/* ============ Agents ============ */

.agents { border-top: 1px solid var(--line); }

/* ============ Compare ============ */

.compare { padding: 5.5rem 0; border-top: 1px solid var(--line); }

.compare-head { text-align: center; margin-bottom: 2.5rem; }

.compare-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); }

.compare-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  background: var(--paper-2);
  font-size: 0.92rem;
}

.compare-table th, .compare-table td {
  padding: 1rem 1.2rem;
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.compare-table thead th {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--ink-muted);
  background: rgba(8, 12, 19, 0.6);
}

.compare-table tbody th {
  text-align: left;
  font-weight: 500;
  color: var(--ink);
  max-width: 260px;
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td { border-bottom: none; }

.compare-table td { color: var(--ink-muted); }

.col-jolly {
  background: rgba(20, 184, 166, 0.07);
  border-left: 1px solid rgba(20, 184, 166, 0.25);
  border-right: 1px solid rgba(20, 184, 166, 0.25);
  color: var(--ink) !important;
}

thead .col-jolly { color: var(--accent-bright) !important; font-weight: 700; }

.yes { color: var(--accent-bright); font-weight: 700; font-size: 1.05rem; }
.no { color: #7f8ea3; }
.dash { color: #55647a; }

.compare-note {
  margin: 1.1rem auto 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--ink-faint);
}

/* ============ Pricing ============ */

.pricing {
  padding: 5.5rem 0;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(65% 85% at 50% 0%, rgba(20, 184, 166, 0.08), transparent 68%),
    var(--paper);
}

.pricing-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.6rem;
}

.pricing-head p:last-child {
  margin: 1rem auto 0;
  color: var(--ink-muted);
}

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

.pricing-card {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--paper-2), rgba(10, 15, 22, 0.78));
  padding: 1.55rem;
}

.pricing-card-featured {
  border-color: var(--line-accent);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35), 0 0 42px rgba(20, 184, 166, 0.1);
}

.pricing-card-disabled {
  opacity: 0.72;
}

.pricing-badge {
  align-self: flex-start;
  margin-bottom: 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(20, 184, 166, 0.35);
  background: rgba(20, 184, 166, 0.12);
  color: var(--accent-bright);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.22rem 0.65rem;
  text-transform: uppercase;
}

.pricing-badge-muted {
  border-color: rgba(148, 163, 184, 0.25);
  background: rgba(148, 163, 184, 0.08);
  color: var(--ink-muted);
}

.pricing-price {
  margin-top: 0.9rem;
  font-family: var(--font-display);
  font-size: 2.05rem;
  font-weight: 800;
  line-height: 1;
}

.pricing-price span {
  font-size: 0.92rem;
  color: var(--ink-muted);
}

.pricing-note {
  margin-top: 0.55rem;
  color: var(--ink-faint);
  font-size: 0.86rem;
}

.pricing-features {
  margin: 1.25rem 0 1.5rem;
  list-style: none;
  display: grid;
  gap: 0.6rem;
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.pricing-features li {
  position: relative;
  padding-left: 1.25rem;
}

.pricing-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
}

.pricing-cta {
  margin-top: auto;
  width: 100%;
}

.pricing-disabled-cta {
  cursor: not-allowed;
  color: var(--ink-faint);
}

/* ============ Download ============ */

.download {
  position: relative;
  padding: 6rem 0;
  border-top: 1px solid var(--line);
  text-align: center;
  overflow: clip;
}

.download-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(55% 70% at 50% 0%, rgba(20, 184, 166, 0.1), transparent 65%);
  pointer-events: none;
}

.download .container { position: relative; }

.download > .container > p { margin: 0.8rem auto 0; color: var(--ink-muted); }

.dl-grid {
  margin: 2.6rem auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  max-width: 780px;
}

.dl-card {
  background: linear-gradient(180deg, var(--paper-2), rgba(14, 21, 32, 0.5));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.3rem 1.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  transition: border-color 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}
.dl-card:hover { border-color: var(--line-accent); transform: translateY(-3px); }

.dl-card svg { color: var(--ink-muted); }
.dl-card h3 { font-size: 1.3rem; }

.dl-buttons { margin-top: 0.8rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.7rem; }

.dl-note { margin: 1.9rem auto 0; font-size: 0.9rem; color: var(--ink-faint); }

/* ============ FAQ ============ */

.faq { padding: 5.5rem 0; border-top: 1px solid var(--line); }

.faq h2 { text-align: center; }

.faq-list { margin: 2.2rem auto 0; max-width: 780px; display: grid; gap: 0.75rem; }

.faq details {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.4rem;
  transition: border-color 0.2s var(--ease-out);
}
.faq details[open] { border-color: var(--line-accent); }

.faq summary {
  font-family: var(--font-display);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 2rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-bright);
  font-size: 1.3rem;
  font-weight: 500;
}
.faq details[open] summary::after { content: "\2212"; }

.faq details p { margin-top: 0.8rem; color: var(--ink-muted); font-size: 0.96rem; }

/* ============ Final CTA ============ */

.final-cta {
  position: relative;
  padding: 7rem 0;
  border-top: 1px solid var(--line);
  text-align: center;
  overflow: clip;
}

.final-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.final-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  mask-image: radial-gradient(70% 90% at 50% 50%, black, transparent 85%);
  -webkit-mask-image: radial-gradient(70% 90% at 50% 50%, black, transparent 85%);
}

.final-cta .container { position: relative; }

.final-cta h2 { max-width: 22ch; margin: 0 auto 2.2rem; font-size: clamp(1.9rem, 4vw, 3rem); }

.final-micro { margin: 1.1rem auto 0; font-size: 0.85rem; color: var(--ink-faint); }

/* ============ Footer ============ */

.footer { border-top: 1px solid var(--line); padding: 3.4rem 0 2.6rem; background: #070b11; }

.footer-top { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; }

.footer-logo { height: 30px; width: auto; }

.footer-links { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-left: auto; }

.footer-links a {
  color: var(--ink-muted);
  text-decoration: none;
  font-size: 0.9rem;
  white-space: nowrap;
}
.footer-links a:hover { color: var(--ink); }

.footer-belief {
  margin-top: 2.2rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  max-width: 34ch;
}

.footer-copy { margin-top: 1rem; font-size: 0.82rem; color: var(--ink-faint); max-width: 72ch; }

/* ============ Reveal ============ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}

.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .proof-card, .crypto-stat, .bento-cell, .dl-card { transition: none; }
  .t-cursor { animation: none; }
}

/* ============ Responsive ============ */

@media (max-width: 1020px) {
  .app-frame { grid-template-columns: 190px 1fr; }
  .app-detail { display: none; }
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .split-inner { grid-template-columns: 1fr; gap: 2.2rem; }
  .cli .split-inner .split-visual { order: 2; }
  .proof-grid { grid-template-columns: 1fr; }
  .crypto-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento { grid-template-columns: 1fr; }
  .bento-wide { grid-column: span 1; }
  .dl-grid { grid-template-columns: 1fr; }
  .gen-card { grid-template-columns: 1fr; padding: 2rem 1.5rem; }
}

@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
}

@media (min-width: 861px) {
  .nav-mobile { display: none !important; }
}

@media (max-width: 640px) {
  .app-frame { grid-template-columns: 1fr; }
  .app-side { flex-direction: row; flex-wrap: wrap; align-items: center; border-right: none; border-bottom: 1px solid var(--line); padding: 0.8rem; }
  .app-side-group, .app-side-lock { display: none; }
  .app-side-brand { padding: 0 0.4rem; }
  .app-side-item { width: auto; }
  .crypto-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .migrate-row { gap: 1.4rem; }
}

@media (max-width: 480px) {
  .hero-copy h1 { font-size: 2.2rem; }
  .hero-ctas .btn { flex: 1 1 auto; }
}
