html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--background);
}

/* Anchor targets land below the fixed top bar. */
#preview,
#features,
#pricing,
#story {
  scroll-margin-top: 88px;
}

/* Base app-bar chrome (height, padding, blur, dark border, brand title) is
   shared in common.css — 20px web / 16px mobile side padding, same as the
   app pages. The landing bar is fixed and full-width. */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  justify-content: space-between;
}

.left-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 8px 14px;
  font-size: 14.5px;
  font-weight: 500;
  border-radius: 8px;
  color: var(--text-secondary);
}

.nav-links a:hover {
  color: var(--text-primary);
  background: var(--surface-2);
}

.right-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.login-btn {
  display: flex;
  align-items: center;
  height: 40px;
  gap: 8px;
  font-weight: 500;
  font-size: 15px;
  line-height: 1;
  padding: 0 12px;
  color: var(--text-primary);
  border: 1px solid var(--brand-dark);
  background-color: transparent;
}

.login-btn:hover {
  background-color: var(--surface-2);
  color: var(--text-primary);
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 40px;
  height: 36px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  color: var(--text-primary);
  border: 1px solid var(--border-2);
  border-radius: 999px;
  background-color: transparent;
}

.lang-btn:hover {
  background-color: var(--surface-2);
}

/** ----------- Shared section bits ----------- */
.section-heading {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}

.section-heading p {
  margin-top: 14px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.signup-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 24px;
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  border-radius: 12px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.signup-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -10px var(--shadow-surface-2);
}

/** ----------- Hero ----------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 148px 24px 104px;
  margin-top: 64px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(
      circle at 15% 0%,
      rgba(49, 130, 206, 0.18),
      transparent 50%
    ),
    radial-gradient(
      circle at 85% 25%,
      rgba(72, 187, 120, 0.14),
      transparent 55%
    );
  pointer-events: none;
}

/* Faint blueprint grid, fading out toward the bottom of the hero. */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      color-mix(in srgb, var(--text-primary) 6%, transparent) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      color-mix(in srgb, var(--text-primary) 6%, transparent) 1px,
      transparent 1px
    );
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(
    ellipse 90% 80% at 50% 0%,
    #000 20%,
    transparent 75%
  );
  mask-image: radial-gradient(
    ellipse 90% 80% at 50% 0%,
    #000 20%,
    transparent 75%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 900px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  margin-bottom: 28px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  color: var(--brand-darker);
  background: var(--surface-1);
  border: 1px solid var(--border-2);
  border-radius: 999px;
  box-shadow: 0 4px 16px -8px var(--shadow-surface-1);
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}

.hero-accent {
  background: linear-gradient(90deg, var(--brand-dark), var(--success));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  max-width: 600px;
  margin-top: 24px;
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-secondary);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-secondary-btn {
  display: inline-flex;
  align-items: center;
  height: 52px;
  padding: 0 20px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  color: var(--text-primary);
  text-decoration: none;
  border-radius: 12px;
  border: 1px solid var(--border-2);
  background: var(--surface-1);
}

.hero-secondary-btn:hover {
  background: var(--surface-2);
}

.hero-trust {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  margin-top: 28px;
  padding: 0;
  list-style: none;
}

.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-tertiary);
}

.hero-trust li i,
.hero-trust li svg {
  color: var(--success);
}

/** ----------- Preview ----------- */
.preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  padding: 80px 24px;
}

.browser-frame {
  width: 100%;
  max-width: 920px;
  border-radius: 14px;
  border: 1px solid var(--border-2);
  background: var(--surface-1);
  overflow: hidden;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.18);
}

.browser-chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--surface-3);
  border-bottom: 1px solid var(--border-2);
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.browser-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--surface-4);
}

.browser-dots span:nth-child(1) {
  background: #ff5f57;
}

.browser-dots span:nth-child(2) {
  background: #febc2e;
}

.browser-dots span:nth-child(3) {
  background: #28c840;
}

.browser-url {
  flex: 1;
  text-align: center;
  font-size: 12px;
  color: var(--text-tertiary);
  padding: 4px 12px;
  background: var(--surface-1);
  border-radius: 6px;
}

.browser-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
}

.mock-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.mock-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 16px;
  border: 1px solid var(--border-2);
  border-radius: 10px;
  background: var(--surface-3);
}

.mock-stat-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-tertiary);
}

.mock-stat-value {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.mock-stat-value.success {
  color: var(--success);
}

.mock-stat-value.danger {
  color: var(--danger);
}

.mock-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid var(--border-2);
  border-radius: 10px;
  background: var(--surface-1);
}

.mock-main {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 2;
}

.mock-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mock-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.mock-pill {
  font-size: 10px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.mock-sub {
  font-size: 13px;
  color: var(--text-tertiary);
}

.mock-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 12px;
}

.mock-chip.success {
  background: var(--success-toast);
  color: var(--success);
}

.mock-chip.danger {
  background: var(--danger-toast);
  color: var(--danger);
}

.mock-flex {
  flex: 1;
}

.mock-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-tertiary);
}

.mock-actions {
  display: flex;
  gap: 6px;
}

.mock-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  font-size: 12px;
  border-radius: 14px;
  background: var(--surface-2);
  color: var(--text-primary);
}

.mock-btn.primary {
  background: var(--brand-dark);
  color: var(--text-contrast);
}

.mock-btn.ghost {
  width: 28px;
  height: 28px;
  padding: 0;
  justify-content: center;
}

/** ----------- Steps (how it works) ----------- */
.steps {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  padding: 96px 24px;
}

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

.step-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--border-2);
  border-radius: 16px;
  background: var(--surface-1);
  box-shadow: 0 4px 14px -8px rgba(0, 0, 0, 0.08);
}

.step-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}

.step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand-lighter);
  color: var(--brand-dark);
}

.step-num {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--brand-lighter);
  user-select: none;
}

.step-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
}

.step-card p {
  margin-top: 10px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/** ----------- Bento features ----------- */
.bento {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  padding: 96px 24px;
  background: var(--surface-1);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 1080px;
}

.bento-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px;
  border: 1px solid var(--border-2);
  border-radius: 16px;
  background: var(--background);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bento-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -12px rgba(0, 0, 0, 0.18);
}

.bento-card.wide {
  grid-column: span 2;
}

.bento-card.accent {
  background: linear-gradient(135deg, var(--brand-lighter), var(--background));
}

.bento-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand-lighter);
  color: var(--brand-dark);
}

.bento-card.accent .bento-icon {
  background: var(--brand);
  color: var(--text-contrast);
}

.bento-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 999px;
  background: var(--info-toast);
  color: var(--text-primary);
}

.bento-card h3 {
  margin-top: 18px;
  font-size: 1.05rem;
  font-weight: 600;
}

.bento-card p {
  margin-top: 8px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/** ----------- Pricing ----------- */
.pricing {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  padding: 96px 24px;
}

.pricing-card {
  width: 100%;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 32px;
  border-radius: 18px;
  border: 1px solid var(--border-2);
  background: var(--surface-1);
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.16);
}

.pricing-tier {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.pricing-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 999px;
  background: var(--success-toast);
  color: var(--success);
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.pricing-amount .currency {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.pricing-amount .value {
  font-size: 4rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.pricing-amount .period {
  font-size: 1rem;
  color: var(--text-tertiary);
  margin-left: 6px;
}

.pricing-tagline {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.pricing-features {
  width: 100%;
  list-style: none;
  margin: 32px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.pricing-features li i,
.pricing-features li svg {
  color: var(--success);
  flex-shrink: 0;
}

.pricing-card .signup-btn {
  width: 100%;
}

.pricing-microcopy {
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-tertiary);
}

/** ----------- Story ----------- */
.story {
  display: flex;
  justify-content: center;
  padding: 32px 24px 96px;
}

.story-card {
  width: 100%;
  max-width: 760px;
  padding: 56px;
  border-radius: 20px;
  border: 1px solid var(--border-2);
  background: var(--surface-1);
  box-shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.14);
}

.story-kicker {
  display: block;
  font-family: 'Caveat', cursive;
  font-size: 1.5rem;
  color: var(--brand-light);
}

.story-card h2 {
  margin-top: 8px;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.story .paragraphs {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
}

.story p {
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.75;
  color: var(--text-secondary);
}

.story-signature {
  margin-top: 28px;
  font-family: 'Caveat', cursive;
  font-size: 1.6rem;
  color: var(--text-primary);
}

/** ----------- Products (Balance) ----------- */
.products {
  padding: 0 24px 96px;
}

.product-card {
  display: flex;
  align-items: center;
  gap: 56px;
  max-width: 960px;
  margin: 0 auto;
  padding: 48px 56px;
  border-radius: 20px;
  border: 1px solid var(--border-2);
  background: var(--surface-1);
  box-shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.14);
}

.product-info {
  flex: 1;
}

.product-kicker {
  display: block;
  font-family: 'Caveat', cursive;
  font-size: 1.5rem;
  color: var(--brand-light);
}

.product-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
}

.product-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex-shrink: 0;
}

.product-title h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.product-info p {
  margin-top: 14px;
  max-width: 480px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.product-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  margin-top: 24px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  border-radius: 12px;
  background: var(--brand);
  color: var(--text-contrast);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.product-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -10px var(--shadow-surface-2);
}

/* The Balance mini-screen. Fixed dark palette on purpose — these are
   Balance's own colors (dark-first app), shown as a product shot. */
.product-shot {
  flex-shrink: 0;
  width: 280px;
  padding: 20px;
  border-radius: 20px;
  background: #0a0a0e;
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 24px 48px -24px rgba(10, 10, 14, 0.5);
}

.shot-net {
  padding: 18px;
  border-radius: 14px;
  background: #14141b;
}

.shot-label {
  display: block;
  font-size: 12px;
  color: #9a9ca8;
}

.shot-amount {
  display: block;
  margin-top: 6px;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #f4f4f8;
  font-variant-numeric: tabular-nums;
}

.shot-note {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 600;
  color: #2ee27a;
}

.shot-bar {
  margin-top: 14px;
  height: 6px;
  border-radius: 3px;
  background: #e05252;
  overflow: hidden;
}

.shot-bar span {
  display: block;
  height: 100%;
  /* received / (sent + received) = 3,500 / 11,500 — matches the app's rule */
  width: 30%;
  border-radius: 3px;
  background: #2ee27a;
}

.shot-list {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
}

.shot-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 6px;
}

.shot-list li + li {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.shot-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 600;
  flex-shrink: 0;
}

.shot-avatar.a {
  background: hsl(158, 35%, 18%);
  color: hsl(158, 60%, 65%);
}

.shot-avatar.b {
  background: hsl(24, 40%, 20%);
  color: hsl(24, 70%, 68%);
}

.shot-name {
  flex: 1;
  font-size: 14px;
  color: #f4f4f8;
}

.shot-val {
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.shot-val.pos {
  color: #2ee27a;
}

.shot-val.neg {
  color: #e05252;
}

/** ----------- CTA band ----------- */
.cta-band {
  padding: 0 24px 96px;
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 1080px;
  margin: 0 auto;
  padding: 72px 48px;
  border-radius: 24px;
  background: var(--brand);
  color: var(--text-contrast);
}

.cta-inner h2 {
  max-width: 640px;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
}

.cta-inner p {
  max-width: 520px;
  margin-top: 16px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: color-mix(in srgb, var(--text-contrast) 78%, transparent);
}

.cta-inner .signup-btn {
  margin-top: 32px;
  background: var(--background);
  color: var(--text-primary);
}

.cta-inner .signup-btn:hover {
  background: var(--surface-1);
}

/** ----------- Footer ----------- */
footer {
  background-color: var(--surface-1);
  border-top: 1px solid var(--border-2);
}

.dark footer {
  border-top-color: var(--border-4);
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  max-width: 1080px;
  margin: 0 auto;
  padding: 48px 24px 24px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-wordmark {
  font-family: 'Caveat', cursive;
  font-size: 1.7rem;
  font-weight: 500;
  color: var(--brand);
  user-select: none;
}

.footer-tagline {
  margin-top: 10px;
  font-size: 14px;
  color: var(--text-tertiary);
}

.footer-balance {
  max-width: 320px;
  margin-top: 6px;
  font-size: 14px;
  color: var(--text-tertiary);
}

.footer-balance a {
  color: var(--text-secondary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-balance a:hover {
  color: var(--text-primary);
}

.footer-social {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--text-secondary);
  border: 1px solid var(--border-2);
}

.footer-social a:hover {
  color: var(--text-primary);
  background: var(--surface-2);
}

.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}

.footer-links a {
  padding: 8px 12px;
  font-size: 14px;
  border-radius: 8px;
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--text-primary);
  background: var(--surface-2);
}

.footer-copy {
  padding: 8px 24px 32px;
  text-align: center;
  font-size: 13px;
  color: var(--text-tertiary);
}

/* ----------- Responsive ----------- */
@media (max-width: 960px) {
  .nav-links {
    display: none;
  }

  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .top-bar {
    padding: 12px 16px;
  }

  .hero {
    padding: 108px 20px 72px;
  }

  .preview {
    padding: 64px 16px;
    gap: 36px;
  }

  .browser-body {
    padding: 14px;
  }

  .mock-card {
    flex-direction: column;
    align-items: stretch;
  }

  .mock-flex {
    display: none;
  }

  .steps {
    padding: 72px 16px;
    gap: 36px;
  }

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

  .bento {
    padding: 72px 16px;
    gap: 36px;
  }

  .pricing {
    padding: 72px 16px;
  }

  .pricing-card {
    padding: 32px 24px;
  }

  .pricing-amount .value {
    font-size: 3rem;
  }

  .story {
    padding: 16px 16px 72px;
  }

  .story-card {
    padding: 36px 28px;
  }

  .story p {
    font-size: 1rem;
  }

  .products {
    padding: 0 16px 72px;
  }

  .product-card {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
    padding: 36px 28px;
  }

  .product-info p {
    font-size: 1rem;
  }

  .product-shot {
    width: 100%;
    max-width: 340px;
  }

  .cta-band {
    padding: 0 16px 72px;
  }

  .cta-inner {
    padding: 56px 28px;
  }
}

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

  .bento-card.wide {
    grid-column: span 1;
  }
}

@media (max-width: 480px) {
  .top-bar {
    padding: 10px 16px;
  }

  .top-bar .brand-name {
    font-size: 1.8rem;
    padding-right: 4px;
  }

  .left-actions {
    gap: 8px;
  }

  .right-actions {
    gap: 8px;
  }

  .dark-mode {
    display: none;
  }

  .login-btn {
    padding: 6px 12px;
    font-size: 14px;
  }

  .hero {
    padding: 96px 16px 56px;
  }

  .hero-actions {
    width: 100%;
  }

  .hero .signup-btn,
  .hero-secondary-btn {
    width: 100%;
    justify-content: center;
  }

  .mock-stats {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    gap: 20px;
  }

  .footer-links {
    margin-left: -12px;
  }
}
