:root {
  --bg: #faf5eb;
  --surface: #ffffff;
  --border: #1a1a1a;
  --accent: #f6821f;
  --accent-fg: #ffffff;
  --text: #1a1a1a;
  --dim: #666666;
  --shadow: 4px 4px 0 #1a1a1a;
  --shadow-md: 6px 6px 0 #1a1a1a;
  --shadow-lg: 8px 8px 0 #1a1a1a;
  --radius: 6px;
  --max: 1100px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Space Grotesk', -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ─── Shared ─────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: var(--accent-fg);
  border: 2px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.1s, box-shadow 0.1s;
  white-space: nowrap;
}
.btn:hover  { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--border); }
.btn:active { transform: translate(4px, 4px); box-shadow: none; }

.btn-sm  { font-size: 14px; padding: 8px 18px; }
.btn-lg  { font-size: 17px; padding: 14px 28px; box-shadow: var(--shadow-md); }
.btn-lg:hover { box-shadow: 3px 3px 0 var(--border); }

.badge {
  display: inline-flex;
  align-items: center;
  background: var(--accent);
  color: var(--accent-fg);
  border: 2px solid var(--border);
  border-radius: 99px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 1px 8px;
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Nav ─────────────────────────────────────── */

nav {
  border-bottom: 2px solid var(--border);
  background: var(--surface);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-mark {
  width: 36px;
  height: 36px;
  background: var(--accent);
  border: 2px solid var(--border);
  box-shadow: 3px 3px 0 var(--border);
  border-radius: 50%;
  color: var(--accent-fg);
  font-size: 16px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-text {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

/* ─── Hero ────────────────────────────────────── */

.hero {
  padding: 80px 0 72px;
  border-bottom: 2px solid var(--border);
}

.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  background: var(--surface);
  border: 2px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  padding: 4px 12px;
  margin-bottom: 24px;
}

h1 {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 17px;
  color: var(--dim);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 440px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-note {
  font-size: 13px;
  color: var(--dim);
  font-weight: 500;
}

/* ─── Extension mockup ───────────────────────── */

.hero-visual {
  display: flex;
  justify-content: center;
}

.mockup {
  width: 290px;
  background: #faf5eb;
  border: 2px solid var(--border);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius);
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

.mockup-bar {
  background: var(--surface);
  border-bottom: 2px solid var(--border);
  padding: 9px 12px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.m-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
}
.m-dot.red    { background: #ff5f57; }
.m-dot.yellow { background: #febc2e; }
.m-dot.green  { background: #28c840; }

.mockup-title {
  flex: 1;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
}

.mockup-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mockup-drop {
  text-align: center;
  padding: 16px 10px 14px;
  border: 2px dashed var(--border);
  border-radius: 4px;
  background: var(--surface);
}

.m-ember {
  width: 38px;
  height: 38px;
  background: #f6821f;
  border: 2px solid var(--border);
  box-shadow: 2px 2px 0 var(--border);
  border-radius: 50%;
  margin: 0 auto 8px;
}

.mockup-drop strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 3px;
}

.mockup-drop small {
  font-size: 10.5px;
  color: var(--dim);
}

.mockup-entry {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 2px solid var(--border);
  box-shadow: 3px 3px 0 var(--border);
  border-radius: 4px;
  padding: 8px 10px 13px;
  overflow: hidden;
}

.m-thumb {
  width: 38px;
  height: 38px;
  flex: none;
  border: 2px solid var(--border);
  border-radius: 3px;
  background: repeating-linear-gradient(
    0deg,
    #dce8ff,
    #dce8ff 3px,
    #c4d4f8 3px,
    #c4d4f8 6px
  );
}

.m-meta { flex: 1; min-width: 0; }
.m-meta code {
  display: block;
  font-size: 10px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.m-state {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--dim);
  margin-top: 3px;
}

.m-count { color: #f6821f; font-weight: 700; }

.m-fuse {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 5px;
  background: #faf5eb;
  border-top: 2px solid var(--border);
}

.m-burn {
  height: 100%;
  width: 52%;
  background: #f6821f;
  animation: fakeBurn 3s linear infinite;
}

@keyframes fakeBurn {
  from { width: 72%; }
  to   { width: 8%;  }
}

.mockup-footer {
  border-top: 2px solid var(--border);
  padding-top: 10px;
}

.m-row {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 6px;
}

.m-val { color: #f6821f; }

.m-slider {
  position: relative;
  height: 6px;
}

.m-track {
  height: 6px;
  background: #faf5eb;
  border: 2px solid var(--border);
}

.m-fill {
  height: 100%;
  width: 38%;
  background: #f6821f;
  margin-top: -6px;
}

.m-thumb {
  width: 16px;
  height: 16px;
  background: #f6821f;
  border: 2px solid var(--border);
  box-shadow: 2px 2px 0 var(--border);
  border-radius: 50%;
  position: absolute;
  top: -5px;
  left: 33%;
}

/* ─── How it works ────────────────────────────── */

.how {
  padding: 80px 0;
  border-bottom: 2px solid var(--border);
}

.how h2, .why h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 36px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.step-card {
  background: var(--surface);
  border: 2px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.step-num {
  display: inline-flex;
  background: var(--accent);
  color: var(--accent-fg);
  border: 2px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 800;
  padding: 3px 10px;
  margin-bottom: 16px;
}

.step-card h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 14px;
  color: var(--dim);
  line-height: 1.6;
}

/* ─── Why ─────────────────────────────────────── */

.why {
  padding: 80px 0;
  border-bottom: 2px solid var(--border);
}

.why-card {
  background: var(--surface);
  border: 2px solid var(--border);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius);
  padding: 48px;
}

.why-tag {
  display: inline-flex;
  background: var(--accent);
  color: var(--accent-fg);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.why-card p {
  font-size: 16px;
  color: var(--dim);
  line-height: 1.7;
  max-width: 680px;
  margin-bottom: 24px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  background: var(--bg);
  border: 2px solid var(--border);
  box-shadow: 2px 2px 0 var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  padding: 4px 12px;
}

/* ─── Trust strip ─────────────────────────────── */

.trust {
  padding: 80px 0;
  border-bottom: 2px solid var(--border);
  background: var(--surface);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.trust-card {
  border: 2px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 28px 24px;
  background: var(--bg);
}

.trust-icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.trust-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.trust-card p {
  font-size: 14px;
  color: var(--dim);
  line-height: 1.6;
}

/* ─── Footer ──────────────────────────────────── */

footer {
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
  color: var(--dim);
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-weight: 600;
  color: var(--dim);
  transition: color 0.1s;
}
.footer-links a:hover { color: var(--text); }

/* ─── Responsive ──────────────────────────────── */

@media (max-width: 860px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-visual { order: -1; }

  .steps-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .why-card { padding: 28px 24px; }
}

@media (max-width: 480px) {
  h1 { letter-spacing: -1px; }
  .mockup { width: 100%; max-width: 320px; }
}
