/* ============================================================
   TAMP — Marketing Website
   Design System: "Playful Precision meets Premium Quiet"
   Palette: Smoke & Ochre
   Font: JetBrains Mono
   ============================================================ */

/* --- Design Tokens --- */
:root {
  /* Backgrounds */
  --bg: #F8F5F0;
  --surface: #EFEBE4;
  --surface-elevated: #FFFFFF;
  --border: #D5CFC6;
  --border-subtle: #E2DDD5;

  /* Text */
  --text-primary: #1F1B18;
  --text-secondary: #8B7355;
  --text-tertiary: #A89880;

  /* Accents */
  --ochre: #CC7A3F;
  --moss: #6B8F71;
  --umber: #8B7355;

  /* Semantic */
  --positive: #6B8F71;
  --negative: #C2543A;
  --warning: #D4A96A;
  --info: #5A7A8B;

  /* Flavor colors */
  --fruity: #C2543A;
  --sweet: #D4A96A;
  --floral: #6B8F71;
  --nutty: #8B6941;
  --spicy: #9E6B5A;
  --earthy: #5A7A8B;

  /* Shadows (warm-tinted) */
  --shadow-sm: 0 1px 3px rgba(31,27,24,0.06);
  --shadow-md: 0 4px 12px rgba(31,27,24,0.08);
  --shadow-lg: 0 8px 24px rgba(31,27,24,0.12);
  --shadow-btn: 0 2px 8px rgba(204,122,63,0.2);

  /* Spacing (4px grid) */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 12px;
  --space-base: 16px;
  --space-lg: 20px;
  --space-xl: 24px;
  --space-2xl: 32px;
  --space-3xl: 40px;
  --space-4xl: 48px;

  /* Radii */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 10px;
  --radius-xl: 12px;
  --radius-2xl: 16px;

  /* Motion */
  --motion-fast: 150ms ease-out;
  --motion-normal: 250ms ease-in-out;
  --motion-slow: 400ms ease-out;

  /* Layout */
  --max-width: 1120px;
  --nav-height: 64px;
}

/* --- Dark Mode (class-toggled) --- */
html.dark,
body.dark {
  --bg: #2C2420;
  --surface: #362E28;
  --surface-elevated: #403832;
  --border: #4D443B;
  --border-subtle: #413930;
  --text-primary: #F0E8DE;
  --text-secondary: #B09578;
  --text-tertiary: #887A6A;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.15);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.2);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.25);
}

html.dark .nav,
body.dark .nav {
  background: rgba(44,36,32,0.85);
}

/* --- Theme Toggle (fixed top-right) --- */
.theme-toggle {
  position: fixed;
  top: var(--space-base);
  right: var(--space-lg);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--ochre);
  cursor: pointer;
  transition: all var(--motion-fast);
}
.theme-toggle:hover {
  border-color: var(--ochre);
  background: var(--surface-elevated);
  transform: scale(1.05);
}

.theme-toggle__icon--light { display: none; }
.theme-toggle__icon--dark { display: block; }

.dark .theme-toggle__icon--light { display: block; }
.dark .theme-toggle__icon--dark { display: none; }

/* --- Prevent pinch-to-zoom --- */
html {
  touch-action: manipulation;
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-primary);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--ochre);
  text-decoration: none;
  transition: color var(--motion-fast);
}
a:hover {
  color: var(--text-primary);
}

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

/* --- Layout --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* --- Section Labels & Titles --- */
.section__label {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: var(--space-md);
}

.section__title {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: var(--space-xl);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-xl);
  padding: 14px 28px;
  transition: all var(--motion-fast);
  white-space: nowrap;
}

.btn--primary {
  background: var(--ochre);
  color: #1F1B18;
  box-shadow: var(--shadow-btn);
}
.btn--primary:hover {
  background: #B86D35;
  color: #1F1B18;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(204,122,63,0.3);
}

.btn--secondary {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}
.btn--secondary:hover {
  border-color: var(--ochre);
  color: var(--ochre);
}

.btn--sm {
  padding: 8px 16px;
  font-size: 11px;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 100;
  background: rgba(248,245,240,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--motion-normal);
}

.nav__container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.08em;
  color: var(--text-primary);
}
.nav__logo:hover { color: var(--text-primary); }

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
  list-style: none;
}

.nav__links a {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  transition: color var(--motion-fast);
}
.nav__links a:hover {
  color: var(--text-primary);
}

.nav__links .btn--primary {
  color: #1F1B18;
}
.nav__links .btn--primary:hover {
  color: #1F1B18;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
}
.nav__toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--text-primary);
  transition: all var(--motion-fast);
}

/* Mobile nav */
@media (max-width: 768px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: var(--space-2xl) var(--space-lg);
    gap: var(--space-xl);
    border-bottom: 1px solid var(--border);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--motion-normal);
  }
  .nav__links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav__links a { font-size: 14px; }
}

/* --- Hero --- */
.hero {
  padding-top: calc(var(--nav-height) + var(--space-4xl));
  padding-bottom: var(--space-4xl);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.hero__label {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: var(--space-base);
}

.hero__title {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: var(--space-xl);
}

.hero__title--accent {
  color: var(--ochre);
}

.hero__subtitle {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: var(--space-2xl);
  max-width: 440px;
}

.hero__hint {
  font-size: 10px;
  font-weight: 300;
  color: var(--text-tertiary);
  margin-top: var(--space-md);
  letter-spacing: 0.02em;
}
.hero__hint a {
  color: var(--text-tertiary);
  text-decoration: underline;
}
.hero__hint a:hover { color: var(--ochre); }

/* Waitlist success */
.waitlist-success {
  animation: fadeInUp 0.4s ease-out;
}
.waitlist-success__icon {
  margin-bottom: var(--space-md);
}
.waitlist-success__title {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}
.waitlist-success__position {
  font-size: 28px;
  font-weight: 700;
  color: var(--ochre);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-sm);
}
.waitlist-success__subtitle {
  font-size: 12px;
  font-weight: 300;
  color: var(--text-secondary);
}

/* Waitlist error */
.waitlist-error {
  font-size: 11px;
  font-weight: 400;
  color: var(--negative);
  margin-top: var(--space-sm);
  min-height: 16px;
}

/* Waitlist form */
.waitlist {
  display: flex;
  gap: var(--space-sm);
}

.waitlist__input {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 300;
  font-size: 12px;
  padding: 12px 16px;
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  outline: none;
  flex: 1;
  min-width: 0;
  transition: border-color var(--motion-fast);
}
.waitlist__input::placeholder { color: var(--text-tertiary); }
.waitlist__input:focus { border-color: var(--ochre); }

.waitlist__btn {
  flex-shrink: 0;
}

/* Hero visual */
.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.hero__stamp {
  position: absolute;
  opacity: 0.12;
  animation: stampSpin 120s linear infinite;
}

@keyframes stampSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Bean card mockup */
.hero__card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  width: 280px;
  box-shadow: var(--shadow-md);
  z-index: 1;
  transform: rotate(-2deg);
}

.hero__card-stamp {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
}

.hero__card-roaster {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: var(--space-xs);
}

.hero__card-bean {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

.hero__card-meta {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}
.hero__card-meta span {
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  padding: 2px 6px;
  background: var(--bg);
  border-radius: var(--radius-sm);
}

.hero__card-notes {
  font-size: 12px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: var(--space-base);
  font-style: italic;
}

.hero__card-bar {
  display: flex;
  gap: 2px;
  height: 4px;
  border-radius: 2px;
  overflow: hidden;
}
.hero__card-bar span {
  border-radius: 2px;
}

/* --- Problem Section --- */
.problem {
  padding: var(--space-4xl) 0;
  background: var(--surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.problem__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
}

.problem__item {
  padding: var(--space-xl);
}

.problem__quote {
  font-size: 14px;
  font-weight: 400;
  font-style: italic;
  line-height: 1.6;
  color: var(--text-primary);
  margin-bottom: var(--space-base);
  position: relative;
  padding-left: var(--space-base);
  border-left: 2px solid var(--ochre);
}

.problem__answer {
  font-size: 12px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-secondary);
  padding-left: var(--space-base);
}

/* --- Features --- */
.features {
  padding: var(--space-4xl) 0 var(--space-4xl);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  transition: all var(--motion-normal);
}
.feature-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border);
  transform: translateY(-2px);
}

.feature-card__icon {
  margin-bottom: var(--space-lg);
}

.feature-card__title {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.feature-card__desc {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* --- How It Works --- */
.how-it-works {
  padding: var(--space-4xl) 0;
  background: var(--surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
  margin-top: var(--space-2xl);
}

.step {
  position: relative;
  text-align: center;
}

.step__number {
  font-size: 32px;
  font-weight: 700;
  color: var(--ochre);
  opacity: 0.3;
  margin-bottom: var(--space-base);
}

.step__thread {
  position: absolute;
  top: 22px;
  left: calc(50% + 24px);
  width: calc(100% - 48px);
  height: 1px;
  background: var(--ochre);
  opacity: 0.3;
}
.step:last-child .step__thread { display: none; }

.step__title {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.step__desc {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 280px;
  margin: 0 auto;
}

/* --- Unique Value --- */
.unique {
  padding: var(--space-4xl) 0;
}

.unique__content {
  max-width: 640px;
}

.unique__text {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: var(--space-2xl);
}

.unique__points {
  display: flex;
  flex-direction: column;
  gap: var(--space-base);
}

.unique__point {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.unique__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ochre);
  flex-shrink: 0;
  margin-top: 7px;
}

.unique__point p {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-primary);
}

/* --- Pricing --- */
.pricing {
  padding: var(--space-4xl) 0;
  background: var(--surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.pricing__subtitle {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-secondary);
  margin-top: calc(-1 * var(--space-base));
  margin-bottom: var(--space-2xl);
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  max-width: 720px;
}

.pricing-card {
  background: var(--bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-2xl);
  padding: var(--space-2xl);
  position: relative;
  transition: all var(--motion-normal);
}
.pricing-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.pricing-card--pro {
  border-color: var(--ochre);
  border-width: 2px;
}

.pricing-card__badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ochre);
  color: #1F1B18;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
}

.pricing-card__header {
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--border-subtle);
}

.pricing-card__name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.pricing-card__price {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}
.pricing-card__price span {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-secondary);
}

.pricing-card__period {
  font-size: 11px;
  font-weight: 300;
  color: var(--text-tertiary);
  margin-top: var(--space-xs);
}

.pricing-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.pricing-card__features li {
  font-size: 12px;
  font-weight: 300;
  color: var(--text-secondary);
  padding-left: var(--space-lg);
  position: relative;
}
.pricing-card__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--moss);
}

.pricing-card__btn {
  width: 100%;
  text-align: center;
}

/* --- For Roasters --- */
.roasters {
  padding: var(--space-4xl) 0;
}

.roasters__content {
  max-width: 640px;
}

.roasters__text {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: var(--space-2xl);
}

.roasters__stats {
  display: flex;
  gap: var(--space-3xl);
  margin-bottom: var(--space-2xl);
}

.roasters__stat {
  display: flex;
  flex-direction: column;
}

.roasters__stat-num {
  font-size: 28px;
  font-weight: 700;
  color: var(--ochre);
  letter-spacing: -0.02em;
}

.roasters__stat-label {
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-top: var(--space-xs);
}

/* --- Contact --- */
.contact {
  padding: var(--space-4xl) 0;
  background: var(--surface);
  border-top: 1px solid var(--border-subtle);
}

.contact__subtitle {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-secondary);
  margin-top: calc(-1 * var(--space-base));
  margin-bottom: var(--space-2xl);
}

.contact-form {
  max-width: 640px;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-base);
}

.contact-form__field {
  margin-bottom: var(--space-base);
}

.contact-form__label {
  display: block;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
}

.contact-form__input {
  width: 100%;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 300;
  font-size: 12px;
  padding: 10px 14px;
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  outline: none;
  transition: border-color var(--motion-fast), box-shadow var(--motion-fast);
}
.contact-form__input::placeholder { color: var(--text-tertiary); }
.contact-form__input:focus {
  border-color: var(--ochre);
  box-shadow: 0 0 6px rgba(204,122,63,0.15);
}

.contact-form__textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form__btn {
  margin-top: var(--space-sm);
}

.contact-form__status {
  margin-top: var(--space-md);
  font-size: 12px;
  font-weight: 400;
  min-height: 18px;
}
.contact-form__status--success { color: var(--positive); }
.contact-form__status--error { color: var(--negative); }

/* Contact success state */
.contact-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-4xl) var(--space-xl);
  max-width: 400px;
  animation: fadeInUp 0.4s ease-out;
}

.contact-success__icon {
  margin-bottom: var(--space-xl);
}

.contact-success__title {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.contact-success__text {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: var(--space-2xl);
}

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

/* --- Footer --- */
.footer {
  padding: var(--space-4xl) 0 var(--space-2xl);
  border-top: 1px solid var(--border-subtle);
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-4xl);
  margin-bottom: var(--space-3xl);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

.footer__tagline {
  font-size: 12px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-tertiary);
}

.footer__links {
  display: flex;
  gap: var(--space-4xl);
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer__col-title {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: var(--space-xs);
}

.footer__col a {
  font-size: 12px;
  font-weight: 300;
  color: var(--text-secondary);
}
.footer__col a:hover { color: var(--ochre); }

.footer__bottom {
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border-subtle);
}
.footer__bottom p {
  font-size: 10px;
  font-weight: 300;
  color: var(--text-tertiary);
  letter-spacing: 0.02em;
}

/* --- Scroll Animations --- */
[data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 960px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
  .hero__visual {
    min-height: 300px;
  }
  .features__grid {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  .step__thread { display: none; }
  .footer__top {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: calc(var(--nav-height) + var(--space-2xl));
    min-height: auto;
    padding-bottom: var(--space-2xl);
  }
  .hero__title {
    font-size: 28px;
  }
  .problem__grid {
    grid-template-columns: 1fr;
    gap: var(--space-base);
  }
  .pricing__grid {
    grid-template-columns: 1fr;
    max-width: 360px;
  }
  .waitlist {
    flex-direction: column;
  }
  .contact-form__row {
    grid-template-columns: 1fr;
  }
  .roasters__stats {
    gap: var(--space-xl);
  }
  .footer__links {
    gap: var(--space-2xl);
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .hero__visual {
    min-height: 240px;
  }
  .hero__card {
    width: 240px;
  }
  .hero__stamp svg {
    width: 180px;
    height: 180px;
  }
}
