/*
 * FlyballHub marketing landing page styles.
 *
 * Palette and type mirror the in-app theme (src/theme) so the handoff
 * from landing → app feels continuous. Ink background, fire accent,
 * Syne display / DM Sans body / Space Mono monospace — identical to
 * the authed shell.
 *
 * The page is a single static HTML document per locale; this stylesheet
 * is locale-agnostic and covers all three packs (en / es / he).
 */

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

:root {
  --ink: #0B0C10;
  --ink-2: #14161E;
  --ink-3: #1C1F2C;
  --ink-4: #242838;
  --fire: #E8410A;
  --fire-dim: rgba(232, 65, 10, 0.14);
  --fire-border: rgba(232, 65, 10, 0.28);
  --amber: #F0A500;
  --green: #21C06B;
  --text: #EAE8E4;
  --text-2: #9A97A8;
  --text-3: #5C5B6B;
  --border: rgba(255, 255, 255, 0.06);
  --border-2: rgba(255, 255, 255, 0.11);
  --r: 10px;
  --r-lg: 16px;
  --r-xl: 22px;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--ink);
  color: var(--text);
  font-family: "DM Sans", system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

/* ---------- Nav ---------- */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 2rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(11, 12, 16, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 0.5px solid var(--border);
}

.logo {
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fire);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.82rem;
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-end {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.lang-switch {
  display: flex;
  gap: 2px;
  background: var(--ink-3);
  border: 0.5px solid var(--border);
  border-radius: 8px;
  padding: 2px;
}

.lang-switch a {
  font-family: "Space Mono", ui-monospace, monospace;
  font-size: 0.7rem;
  color: var(--text-3);
  padding: 0.28rem 0.55rem;
  border-radius: 6px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.lang-switch a.active {
  background: var(--ink-4);
  color: var(--text);
}

.lang-switch a:hover {
  color: var(--text);
}

.btn-sm {
  background: transparent;
  border: 0.5px solid var(--border-2);
  color: var(--text-2);
  padding: 0.42rem 1rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-family: "DM Sans", sans-serif;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s;
}

.btn-sm:hover {
  color: var(--text);
}

.btn-sm-fire {
  background: var(--fire);
  border: none;
  color: #fff;
  padding: 0.42rem 1.1rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  font-family: "DM Sans", sans-serif;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s;
}

.btn-sm-fire:hover {
  opacity: 0.88;
}

/* ---------- Hero ---------- */

section {
  position: relative;
  z-index: 1;
}

.hero-wrap {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 3rem;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 100px 2rem 60px;
  position: relative;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(232, 65, 10, 0.1) 0%, transparent 70%);
  top: 50%;
  right: -80px;
  transform: translateY(-50%);
  z-index: 0;
}

.hero-left {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: "Space Mono", ui-monospace, monospace;
  font-size: 0.68rem;
  color: var(--fire);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 0.5px solid var(--fire-border);
  background: var(--fire-dim);
  padding: 0.3rem 0.85rem;
  border-radius: 100px;
  margin-bottom: 1.75rem;
}

.ey-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--fire);
  animation: blink 1.8s ease-in-out infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

h1 {
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: clamp(3rem, 6.5vw, 5.8rem);
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 1.5rem;
}

h1 em {
  font-style: normal;
  color: var(--fire);
}

h1 .ghost {
  -webkit-text-stroke: 1.5px rgba(234, 232, 228, 0.2);
  color: transparent;
}

.hero-desc {
  font-size: 1.02rem;
  color: var(--text-2);
  max-width: 480px;
  line-height: 1.8;
  margin-bottom: 2.25rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.btn-fire {
  background: var(--fire);
  color: #fff;
  border: none;
  padding: 0.82rem 1.75rem;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  font-family: "DM Sans", sans-serif;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: opacity 0.2s, transform 0.15s;
}

.btn-fire:hover {
  opacity: 0.88;
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-2);
  border: 0.5px solid var(--border-2);
  padding: 0.82rem 1.5rem;
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: "DM Sans", sans-serif;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s, border-color 0.2s;
}

.btn-ghost:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.2);
}

/* ---------- Mockup ---------- */

.hero-right {
  position: relative;
  z-index: 1;
}

.float-pill {
  position: absolute;
  font-family: "Space Mono", ui-monospace, monospace;
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.32rem 0.75rem;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  z-index: 2;
}

.pill-live {
  background: var(--fire);
  color: #fff;
  top: -10px;
  right: 18px;
}

.pill-offline {
  background: #131d2e;
  border: 0.5px solid rgba(33, 192, 107, 0.4);
  color: var(--green);
  bottom: -10px;
  left: 12px;
}

.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.mockup {
  background: var(--ink-2);
  border: 0.5px solid var(--border-2);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.6),
    0 0 0 0.5px rgba(232, 65, 10, 0.18);
}

.mock-bar {
  background: var(--ink-3);
  padding: 0.7rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 0.5px solid var(--border);
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.dt-r {
  background: #FF5F57;
}

.dt-y {
  background: #FFBD2E;
}

.dt-g {
  background: #28CA41;
}

.mock-title {
  font-family: "Space Mono", ui-monospace, monospace;
  font-size: 0.63rem;
  color: var(--text-3);
  margin-left: 6px;
  letter-spacing: 0.1em;
}

.mock-body {
  padding: 1.1rem;
}

.mock-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.9rem;
}

.mock-section {
  font-family: "Space Mono", ui-monospace, monospace;
  font-size: 0.6rem;
  color: var(--text-3);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mock-badge {
  font-family: "Space Mono", ui-monospace, monospace;
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  padding: 0.18rem 0.55rem;
  border-radius: 100px;
  background: var(--fire-dim);
  color: var(--fire);
  border: 0.5px solid var(--fire-border);
}

.mock-badge.green {
  background: rgba(33, 192, 107, 0.12);
  color: var(--green);
  border-color: rgba(33, 192, 107, 0.3);
}

.mock-badge.amber {
  background: rgba(240, 165, 0, 0.12);
  color: var(--amber);
  border-color: rgba(240, 165, 0, 0.3);
}

.dog-list {
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
  margin-bottom: 0.9rem;
}

.dog-row {
  background: var(--ink-3);
  border: 0.5px solid var(--border);
  border-radius: 9px;
  padding: 0.52rem 0.75rem;
  display: grid;
  grid-template-columns: 22px 1fr auto auto;
  gap: 0.6rem;
  align-items: center;
}

.dog-rank {
  font-family: "Space Mono", ui-monospace, monospace;
  font-size: 0.58rem;
  color: var(--text-3);
  text-align: center;
}

.dog-name {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.2;
}

.dog-breed {
  font-size: 0.62rem;
  color: var(--text-3);
}

.dog-time {
  font-family: "Space Mono", ui-monospace, monospace;
  font-size: 0.73rem;
  color: var(--amber);
}

.dog-time.pb {
  color: var(--green);
}

.dog-status {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s ease-in-out infinite;
}

.dog-status.warn {
  background: var(--amber);
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(0.85);
  }
}

.error-panel {
  background: var(--ink-3);
  border: 0.5px solid var(--border);
  border-radius: 9px;
  padding: 0.72rem;
  margin-bottom: 0.75rem;
}

.error-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  margin-top: 0.5rem;
}

.e-code {
  background: var(--ink-4);
  border-radius: 5px;
  padding: 3px;
  text-align: center;
  font-family: "Space Mono", ui-monospace, monospace;
  font-size: 0.52rem;
  color: var(--text-3);
}

.e-code.active {
  background: rgba(232, 65, 10, 0.18);
  color: var(--fire);
  border: 0.5px solid var(--fire-border);
}

.e-code.warn {
  background: rgba(240, 165, 0, 0.14);
  color: var(--amber);
}

.team-time-bar {
  background: linear-gradient(90deg, rgba(232, 65, 10, 0.1), transparent);
  border: 0.5px solid var(--fire-border);
  border-radius: 9px;
  padding: 0.65rem 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tt-label {
  font-size: 0.65rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tt-time {
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: 1.55rem;
  color: var(--fire);
  letter-spacing: -0.02em;
}

.tt-delta {
  font-family: "Space Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  color: var(--green);
  text-align: right;
}

.tt-seed {
  font-size: 0.62rem;
  color: var(--text-3);
}

/* ---------- Shared ---------- */

.tag {
  font-family: "Space Mono", ui-monospace, monospace;
  font-size: 0.65rem;
  color: var(--fire);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}

h2 {
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 1.1rem;
}

h2 em {
  font-style: normal;
  color: var(--fire);
}

.body-text {
  font-size: 0.95rem;
  color: var(--text-2);
  line-height: 1.82;
  margin-bottom: 1.25rem;
}

/* ---------- Pain section ---------- */

.pain-section {
  background: var(--ink-2);
  border-top: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
  padding: 80px 2rem;
}

.pain-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.pain-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.pain-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--text-2);
  padding: 0.85rem 1rem;
  background: var(--ink-3);
  border-radius: var(--r);
  border: 0.5px solid var(--border);
}

.pain-icon {
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.pain-item strong {
  display: block;
  color: var(--text);
  font-weight: 500;
  font-size: 0.86rem;
  margin-bottom: 0.1rem;
}

/* ---------- Features ---------- */

.features-section {
  padding: 100px 2rem;
  max-width: 1180px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header p {
  font-size: 0.95rem;
  color: var(--text-2);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.78;
}

.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 0.5px solid var(--border);
}

.feat-cell {
  background: var(--ink);
  padding: 1.85rem 1.65rem;
  transition: background 0.22s;
}

.feat-cell:hover {
  background: var(--ink-2);
}

.feat-cell.span2 {
  grid-column: span 2;
}

.feat-icon {
  font-size: 1.4rem;
  margin-bottom: 1.1rem;
  display: block;
}

.feat-title {
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 0.45rem;
}

.feat-text {
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.75;
}

.feat-tag {
  display: inline-block;
  margin-top: 0.9rem;
  font-family: "Space Mono", ui-monospace, monospace;
  font-size: 0.58rem;
  color: var(--fire);
  background: var(--fire-dim);
  border: 0.5px solid var(--fire-border);
  padding: 0.18rem 0.55rem;
  border-radius: 100px;
  letter-spacing: 0.08em;
}

.feat-tag.new {
  color: var(--green);
  background: rgba(33, 192, 107, 0.1);
  border-color: rgba(33, 192, 107, 0.28);
}

/* ---------- Error codes ---------- */

.codes-section {
  background: var(--ink-2);
  border-top: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
  padding: 100px 2rem;
}

.codes-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.code-grid-full {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 1.75rem;
}

.code-card {
  background: var(--ink-3);
  border: 0.5px solid var(--border);
  border-radius: 9px;
  padding: 0.72rem 0.55rem;
  text-align: center;
  transition: background 0.2s;
}

.code-card:hover {
  background: var(--ink-4);
}

.code-num {
  font-family: "Space Mono", ui-monospace, monospace;
  font-size: 0.62rem;
  color: var(--fire);
  display: block;
  margin-bottom: 4px;
}

.code-label {
  font-size: 0.62rem;
  color: var(--text-3);
  line-height: 1.3;
}

.free-lock {
  background: var(--ink-4);
  border: 1px dashed rgba(255, 255, 255, 0.08);
  border-radius: 9px;
  padding: 0.9rem 1rem;
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lock-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
}

.lock-text {
  font-size: 0.78rem;
  color: var(--text-3);
  line-height: 1.5;
}

.lock-text strong {
  color: var(--text-2);
  display: block;
  font-size: 0.8rem;
  margin-bottom: 2px;
}

/* ---------- Flow ---------- */

.flow-section {
  padding: 100px 2rem;
  max-width: 1180px;
  margin: 0 auto;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 0.5px solid var(--border);
  margin-top: 3rem;
}

.flow-step {
  background: var(--ink);
  padding: 1.65rem 1.5rem;
  transition: background 0.22s;
}

.flow-step:hover {
  background: var(--ink-2);
}

.step-num {
  font-family: "Space Mono", ui-monospace, monospace;
  font-size: 0.6rem;
  color: var(--text-3);
  letter-spacing: 0.1em;
  margin-bottom: 0.9rem;
}

.step-title {
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 0.45rem;
}

.step-text {
  font-size: 0.82rem;
  color: var(--text-2);
  line-height: 1.72;
}

/* ---------- Offline banner ---------- */

.offline-wrap {
  padding: 0 2rem 80px;
  max-width: 1180px;
  margin: 0 auto;
}

.offline-banner {
  background: var(--ink-2);
  border: 0.5px solid var(--border);
  border-left: 3px solid var(--green);
  border-radius: var(--r-lg);
  padding: 1.85rem 2.25rem;
  display: flex;
  gap: 1.75rem;
  align-items: flex-start;
}

.offline-icon {
  font-size: 2.2rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.offline-title {
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.offline-text {
  font-size: 0.86rem;
  color: var(--text-2);
  line-height: 1.78;
}

/* ---------- Pricing ---------- */

.pricing-section {
  padding: 100px 2rem;
  max-width: 980px;
  margin: 0 auto;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 0.5px solid var(--border);
  margin-top: 3.5rem;
}

.plan {
  background: var(--ink-2);
  padding: 2rem 1.65rem;
}

.plan.featured {
  background: var(--ink-3);
  border: 1.5px solid var(--fire-border);
  margin: -1px;
  z-index: 2;
  position: relative;
  border-radius: var(--r-xl);
}

.plan-tier {
  font-family: "Space Mono", ui-monospace, monospace;
  font-size: 0.6rem;
  color: var(--fire);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}

.plan-name {
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: 1.55rem;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 0.22rem;
}

.price-big {
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: 2.7rem;
  color: var(--text);
  letter-spacing: -0.04em;
  line-height: 1;
}

.price-per {
  font-size: 0.78rem;
  color: var(--text-3);
}

.plan-note {
  font-size: 0.72rem;
  color: var(--text-3);
  margin-bottom: 1.4rem;
}

.plan-limits {
  background: var(--ink-4);
  border-radius: 8px;
  padding: 0.7rem 0.85rem;
  margin-bottom: 1.2rem;
  display: flex;
  gap: 1rem;
}

.limit {
  text-align: center;
  flex: 1;
}

.limit-val {
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
}

.limit-val.fire {
  color: var(--fire);
}

.limit-key {
  font-size: 0.62rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.plan-features {
  list-style: none;
  margin-bottom: 1.65rem;
}

.plan-features li {
  font-size: 0.8rem;
  color: var(--text-2);
  padding: 0.36rem 0;
  border-bottom: 0.5px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.plan-features li:last-child {
  border-bottom: none;
}

.li-y {
  color: var(--fire);
  font-size: 0.72rem;
}

.li-n {
  color: var(--text-3);
  font-size: 0.72rem;
}

.plan-cta {
  display: block;
  text-align: center;
  padding: 0.72rem;
  border-radius: 10px;
  font-size: 0.86rem;
  font-weight: 500;
  font-family: "DM Sans", sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

.cta-fire {
  background: var(--fire);
  color: #fff;
  border: none;
}

.cta-fire:hover {
  opacity: 0.88;
}

.cta-outline {
  background: transparent;
  color: var(--text-2);
  border: 0.5px solid var(--border-2);
}

.cta-outline:hover {
  color: var(--text);
}

/* ---------- Final CTA ---------- */

.final-cta {
  padding: 120px 2rem;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.final-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(232, 65, 10, 0.09) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.final-cta>* {
  position: relative;
  z-index: 1;
}

.final-cta h2 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  margin-bottom: 1.2rem;
}

.final-cta p {
  font-size: 0.96rem;
  color: var(--text-2);
  margin-bottom: 2.2rem;
  line-height: 1.78;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}

.final-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.4rem;
}

.final-note {
  font-size: 0.75rem;
  color: var(--text-3);
}

/* ---------- Footer ---------- */

footer {
  border-top: 0.5px solid var(--border);
  padding: 1.65rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: 7px;
}

.footer-copy {
  font-family: "Space Mono", ui-monospace, monospace;
  font-size: 0.62rem;
  color: var(--text-3);
  letter-spacing: 0.05em;
}

footer a {
  color: var(--text-3);
  text-decoration: none;
}

footer a:hover {
  color: var(--text-2);
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .hero-wrap {
    grid-template-columns: 1fr;
  }

  .hero-right,
  .nav-links {
    display: none;
  }

  .two-col,
  .codes-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .feat-grid {
    grid-template-columns: 1fr;
  }

  .feat-cell.span2 {
    grid-column: span 1;
  }

  .flow-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .plan.featured {
    margin: 0;
  }

  .offline-banner {
    flex-direction: column;
    gap: 1rem;
  }

  nav {
    padding: 0 1rem;
  }
}

@media (max-width: 500px) {
  .flow-grid {
    grid-template-columns: 1fr;
  }

  .code-grid-full {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-wrap {
    padding: 90px 1rem 40px;
  }

  .pain-section,
  .features-section,
  .codes-section,
  .flow-section,
  .pricing-section {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* ------------------------------------------------------------------ */
/* Analytics consent banner                                            */
/*                                                                     */
/* Fixed to the bottom of the viewport, never blocks the primary CTA,  */
/* and styled to read as infrastructure rather than a sales prompt.    */
/* The banner is hidden by default (`hidden` attribute) and toggled on */
/* by `consent.js` when there's no recorded decision and the user has  */
/* not set Do Not Track.                                               */
/* ------------------------------------------------------------------ */

.consent-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 200;
  background: var(--ink-3);
  border: 1px solid var(--border-2);
  border-radius: var(--r-lg);
  padding: 16px 20px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 720px;
  margin: 0 auto;
}

.consent-banner[hidden] {
  display: none;
}

.consent-banner .consent-copy {
  font-size: 14px;
  color: var(--text);
  line-height: 1.55;
}

.consent-banner .consent-copy a {
  color: var(--fire);
  text-decoration: underline;
}

.consent-banner .consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.consent-banner button {
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  padding: 10px 16px;
  cursor: pointer;
  border: 1px solid var(--border-2);
  background: transparent;
  color: var(--text);
  min-height: 44px;
}

.consent-banner button[data-consent="accept"] {
  background: var(--fire);
  border-color: var(--fire);
  color: #fff;
}

.consent-banner button[data-consent="accept"]:hover {
  filter: brightness(1.05);
}

.consent-banner button[data-consent="reject"]:hover {
  background: var(--ink-4);
}

.consent-manage {
  color: var(--text-2);
  text-decoration: underline;
  cursor: pointer;
}

@media (min-width: 540px) {
  .consent-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .consent-banner .consent-copy {
    flex: 1;
    margin-right: 16px;
  }
}