/* Marketing homepage — tokens + layout for index.html */

:root {
  --radius: 1.25rem;
  --font-display: "Outfit", ui-sans-serif, system-ui, sans-serif;
  --font-sans: "Figtree", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "Space Mono", ui-monospace, monospace;
  --background: oklch(98.6103% 0.00346066 219.532);
  --foreground: oklch(25.5261% 0.0620896 255.532);
  --primary: oklch(58.8314% 0.0895448 215.115);
  --primary-foreground: oklch(99% 0 0);
  --secondary: oklch(94.9602% 0.0148361 218.05);
  --secondary-foreground: oklch(39.5002% 0.0796931 244.681);
  --muted: oklch(96.5449% 0.00792592 216.624);
  --muted-foreground: oklch(50.9152% 0.0466498 231.25);
  --accent: oklch(73.8921% 0.0916619 191.758);
  --accent-foreground: oklch(25.5261% 0.0620896 255.532);
  --border: oklch(91.9807% 0.0193568 217.238);
  --card: #fff;
  --ink: oklch(25.5261% 0.0620896 255.532);
  --green: oklch(72.3% 0.219 149.579);
  --gradient-warm: linear-gradient(135deg, oklch(94.96% 0.015 218), oklch(73.89% 0.092 192));
  --shadow-glow: 0 10px 30px -12px oklch(58.8314% 0.0895448 215.115 / 0.55);
  --gradient-hero: linear-gradient(
    160deg,
    oklch(25.5261% 0.0620896 255.532) 0%,
    oklch(39.5002% 0.0796931 244.681) 45%,
    oklch(58.8314% 0.0895448 215.115) 100%
  );
  --gradient-how: linear-gradient(
    160deg,
    oklch(32.5218% 0.0883962 255.106) 0%,
    oklch(44.8952% 0.0892631 242.127) 50%,
    oklch(58.8314% 0.0895448 215.115) 100%
  );
  --gradient-ocean: linear-gradient(
    135deg,
    oklch(58.8314% 0.0895448 215.115),
    oklch(73.8921% 0.0916619 191.758)
  );
  --shadow-soft: 0 24px 60px -30px oklch(25.5261% 0.0620896 255.532 / 0.25);
  --shadow-lift: 0 6px 0 0 oklch(39.5002% 0.0796931 244.681 / 0.9);
}

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

html {
  -webkit-text-size-adjust: 100%;
  line-height: 1.5;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-feature-settings: "cv02", "cv11", "ss01";
}

img,
svg {
  display: block;
  vertical-align: middle;
}

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

ul {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.04em;
}

h1 {
  letter-spacing: -0.05em;
}

.page {
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--background);
  color: var(--foreground);
}

/* —— Nav —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgb(255 255 255 / 0.1);
  background: color-mix(in oklab, var(--background) 80%, transparent);
  backdrop-filter: blur(24px);
}

.site-nav {
  display: flex;
  max-width: 72rem;
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
}

.site-nav-brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.05em;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  padding: 0.875rem 1.75rem;
  font-size: 0.875rem;
  font-weight: 700;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.075s ease;
}

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

.btn-3d {
  box-shadow: var(--shadow-lift);
  transition: transform 75ms, box-shadow 75ms;
}

.btn-3d:active {
  transform: translateY(6px);
  box-shadow: 0 0 oklch(39.5002% 0.0796931 244.681 / 0.9);
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
}

.btn-white {
  background: #fff;
  color: var(--primary);
}

.btn-white:hover {
  background: rgb(255 255 255 / 0.9);
}

.btn-ghost {
  border: 2px solid rgb(255 255 255 / 0.3);
  background: rgb(255 255 255 / 0.1);
  color: #fff;
}

.btn-ghost:hover {
  background: rgb(255 255 255 / 0.2);
}

.btn-cta {
  background: var(--primary-foreground);
  color: var(--primary);
  padding: 1rem 2rem;
}

/* —— Eyebrow —— */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.eyebrow.center {
  justify-content: center;
}

.eyebrow.light {
  color: rgb(255 255 255 / 0.8);
}

.eyebrow.accent {
  color: var(--primary);
}

.eyebrow.on-primary {
  color: color-mix(in oklab, var(--primary-foreground) 80%, transparent);
}

/* —— Blobs —— */
.blob {
  pointer-events: none;
  position: absolute;
  border-radius: 9999px;
  background: rgb(255 255 255 / 0.1);
  filter: blur(1px);
}

.blob-sm {
  width: 12rem;
  height: 12rem;
}

.blob-md {
  width: 14rem;
  height: 14rem;
}

.blob-lg {
  width: 16rem;
  height: 16rem;
}

.blob-xl {
  width: 24rem;
  height: 24rem;
}

.blob-2xl {
  width: 28rem;
  height: 28rem;
}

/* —— Hero —— */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--gradient-hero);
}

.hero-grid {
  position: relative;
  display: grid;
  max-width: 72rem;
  width: 100%;
  margin-inline: auto;
  align-items: center;
  gap: 3.5rem;
  padding: 4rem 1.5rem 6rem;
  box-sizing: border-box;
  min-width: 0;
}

.hero-grid > * {
  min-width: 0;
  max-width: 100%;
}

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    padding-top: 6rem;
  }
}

.hero h1 {
  margin-top: 1.25rem;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.02;
  color: #fff;
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 3.75rem;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 4.5rem;
  }
}

.hero-lede {
  margin-top: 1.5rem;
  max-width: 28rem;
  font-size: 1.25rem;
  line-height: 1.625;
  color: rgb(255 255 255 / 0.8);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero-note {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: rgb(255 255 255 / 0.6);
}

.hero-visual {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-top: 2.5rem;
  margin-bottom: 4rem;
  /* Glow + desktop float overhangs must not widen the mobile column. */
  overflow-x: clip;
}

@media (min-width: 768px) {
  .hero-visual {
    margin-top: 2.5rem;
    margin-bottom: 4rem;
    padding: 4rem 2.5rem 3.5rem;
    overflow-x: visible;
  }
}

.hero-product {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.hero-glow {
  position: absolute;
  inset: -0.75rem;
  z-index: -1;
  border-radius: 3rem;
  background: rgb(255 255 255 / 0.1);
  box-shadow: 0 0 90px -20px rgb(255 255 255 / 0.25);
}

@media (min-width: 768px) {
  .hero-glow {
    inset: -2rem;
  }
}

.hero-product-frame {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;
  border-radius: 1.75rem;
  border: 1px solid rgb(255 255 255 / 0.25);
  background: var(--card);
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.35);
}

.hero-product-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid color-mix(in oklab, var(--border) 70%, transparent);
  background: var(--background);
  padding: 0.75rem 1rem;
}

.hero-dot {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 9999px;
}

.hero-dot-red {
  background: color-mix(in oklab, oklch(0.55 0.2 25) 50%, transparent);
}

.hero-dot-teal {
  background: color-mix(in oklab, var(--primary) 40%, transparent);
}

.hero-dot-muted {
  background: color-mix(in oklab, var(--muted-foreground) 30%, transparent);
}

.hero-product-brand {
  margin-left: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--foreground);
}

.hero-product-cart {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-left: auto;
  border-radius: 9999px;
  background: var(--secondary);
  padding: 0.25rem 0.625rem;
  font-size: 10px;
  font-weight: 700;
  color: var(--primary);
}

.hero-product-cart svg {
  width: 0.75rem;
  height: 0.75rem;
}

.hero-product-body {
  padding: 1rem;
}

@media (min-width: 640px) {
  .hero-product-body {
    padding: 1.25rem;
  }
}

.hero-product-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  min-width: 0;
}

.hero-product-head > div {
  min-width: 0;
}

.hero-product-kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.hero-product-head h3 {
  margin-top: 0.25rem;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--foreground);
}

@media (min-width: 640px) {
  .hero-product-head h3 {
    font-size: 1.5rem;
  }
}

.hero-product-saved {
  flex-shrink: 0;
  border-radius: 9999px;
  background: var(--secondary);
  padding: 0.375rem 0.75rem;
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}

.hero-recipe-list {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
}

.hero-recipe {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--background);
  padding: 0.5rem;
}

@media (min-width: 640px) {
  .hero-recipe {
    gap: 0.75rem;
  }
}

.hero-recipe-thumb {
  position: relative;
  flex-shrink: 0;
}

.hero-recipe-thumb img {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  object-fit: cover;
}

.hero-recipe-check {
  position: absolute;
  top: -0.25rem;
  right: -0.25rem;
  display: flex;
  width: 1.25rem;
  height: 1.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: var(--primary);
  color: var(--primary-foreground);
}

.hero-recipe-check svg {
  width: 0.75rem;
  height: 0.75rem;
}

.hero-recipe-copy {
  min-width: 0;
  flex: 1;
}

.hero-recipe-copy h4 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--foreground);
}

.hero-recipe-meta {
  margin-top: 0.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.hero-recipe-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.hero-recipe-meta svg {
  width: 0.75rem;
  height: 0.75rem;
}

.hero-recipe-action {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.25rem;
  border-radius: 0.5rem;
  padding: 0.375rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  transition: color 0.5s, background-color 0.5s;
}

@media (min-width: 640px) {
  .hero-recipe-action {
    gap: 0.375rem;
    padding: 0.5rem 0.75rem;
  }
}

.hero-recipe-action svg {
  width: 0.875rem;
  height: 0.875rem;
}

.hero-recipe-action.is-add {
  background: var(--primary);
  color: var(--primary-foreground);
}

.hero-recipe-action.is-done {
  background: var(--secondary);
  color: var(--secondary-foreground);
}

.hero-recipe-heart {
  flex-shrink: 0;
  color: color-mix(in oklab, var(--muted-foreground) 40%, transparent);
}

.hero-recipe-heart.is-on {
  color: var(--primary);
}

.hero-recipe-heart.is-on svg {
  fill: currentColor;
}

.hero-recipe-heart svg {
  width: 1rem;
  height: 1rem;
}

.hero-float {
  position: relative;
  z-index: 20;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  margin-top: 1rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 0.875rem;
  box-shadow: var(--shadow-soft);
}

@media (min-width: 768px) {
  .hero-float {
    position: absolute;
    width: 15rem;
    max-width: none;
    margin-top: 0;
  }

  .hero-float-kitchen {
    top: -6rem;
    left: -4rem;
  }

  .hero-float-cart {
    right: -2.5rem;
    bottom: -3.5rem;
  }
}

.float-delay {
  animation: float 6s ease-in-out 0.8s infinite;
}

.float-delay-2 {
  animation: float 6s ease-in-out 1.6s infinite;
}

.hero-float-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-float-head p {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.hero-float-head > svg {
  width: 0.875rem;
  height: 0.875rem;
  color: var(--primary);
}

.hero-float-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border-radius: 9999px;
  background: var(--primary);
  padding: 0.125rem 0.5rem;
  font-size: 10px;
  font-weight: 700;
  color: var(--primary-foreground);
}

.hero-float-badge svg {
  width: 0.625rem;
  height: 0.625rem;
}

.hero-float-rows {
  margin-top: 0.625rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hero-float-row {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  transition: opacity 0.5s;
}

.hero-float-row.is-pending {
  opacity: 0.4;
}

.hero-float-row.is-added {
  opacity: 1;
}

.hero-ing {
  display: flex;
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 0.5rem;
  background: color-mix(in oklab, var(--secondary) 60%, transparent);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--primary);
  line-height: 1;
}

.hero-ing-img {
  display: block;
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  object-fit: contain;
  border-radius: 0.5rem;
  background: color-mix(in oklab, var(--secondary) 60%, transparent);
}

.hero-float-name {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--foreground);
}

.hero-float-status {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border-radius: 9999px;
  padding: 0.125rem 0.5rem;
  font-size: 10px;
  font-weight: 700;
  transition: color 0.5s, background-color 0.5s;
}

.hero-float-status svg {
  width: 0.625rem;
  height: 0.625rem;
}

.hero-float-status.is-checking {
  background: var(--muted);
  color: var(--muted-foreground);
}

.hero-float-status.is-have {
  background: var(--secondary);
  color: var(--primary);
}

.hero-float-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 10px;
  font-weight: 700;
  color: var(--muted-foreground);
}

.hero-float-mark.is-ok {
  color: var(--primary);
}

.hero-float-mark svg {
  width: 0.75rem;
  height: 0.75rem;
}

.hero-float-skip {
  margin-top: 0.75rem;
  border-radius: 9999px;
  background: color-mix(in oklab, var(--primary) 10%, transparent);
  padding: 0.375rem 0.75rem;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--primary);
  opacity: 0;
  transition: opacity 0.5s;
}

.hero-float-skip.is-on {
  opacity: 1;
}

.hero-shot {
  position: relative;
  z-index: 10;
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1.5rem;
  border: 1px solid rgb(255 255 255 / 0.2);
  background: rgb(255 255 255 / 0.05);
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.35);
  animation: float 6s ease-in-out infinite;
}

.cart-card {
  position: relative;
  border-radius: 2rem;
  border: 1px solid rgb(255 255 255 / 0.2);
  background: rgb(255 255 255 / 0.95);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
  animation: float 6s ease-in-out infinite;
}

.cart-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.cart-card-head h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
}

.pill {
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
}

.pill-secondary {
  background: var(--secondary);
  color: var(--secondary-foreground);
  font-size: 11px;
}

.pill-accent {
  background: color-mix(in oklab, var(--accent) 25%, transparent);
  color: var(--accent-foreground);
  font-size: 10px;
  letter-spacing: 0.05em;
}

.cart-list {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.cart-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
}

.check {
  display: flex;
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: var(--primary);
  color: var(--primary-foreground);
}

.check svg,
.eyebrow svg,
.btn svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.check svg {
  width: 0.75rem;
  height: 0.75rem;
  stroke-width: 3;
}

.eyebrow svg {
  width: 0.875rem;
  height: 0.875rem;
}

.check.muted {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted-foreground);
  font-size: 0.75rem;
}

.strike {
  color: var(--muted-foreground);
  text-decoration: line-through;
}

.cart-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.cart-foot strong {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
}

.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  border-radius: 9999px;
  border: 1px solid rgb(255 255 255 / 0.3);
  background: rgb(255 255 255 / 0.9);
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--foreground);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-soft);
}

.float-chip.top-right {
  top: 2rem;
  right: -0.5rem;
  animation: float 6s ease-in-out 0.8s infinite;
}

.float-chip.bottom-left {
  bottom: 6rem;
  left: -1.25rem;
  animation: float 6s ease-in-out 1.6s infinite;
}

.dot {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  margin-right: 0.375rem;
  border-radius: 9999px;
}

.dot-green {
  background: var(--green);
}

.dot-primary {
  background: var(--primary);
}

/* —— Sections —— */
.section {
  position: relative;
  overflow: hidden;
  padding-block: 6rem;
}

.section-pad {
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.section-center {
  text-align: center;
}

.section h2 {
  margin-top: 1rem;
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.25;
}

@media (min-width: 768px) {
  .section h2 {
    font-size: 3rem;
  }
}

.problem-wrap {
  display: flex;
  max-width: 64rem;
  margin-inline: auto;
  flex-direction: column;
  align-items: center;
  padding-inline: 1.5rem;
}

.problem-card {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 64rem;
  border-radius: 3rem;
  border: 1px solid color-mix(in oklab, var(--primary) 20%, transparent);
  background: var(--secondary);
  padding: 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

@media (min-width: 768px) {
  .problem-card {
    border-radius: 3.5rem;
    padding: 4rem;
  }
}

.problem-card p {
  margin-inline: auto;
  margin-top: 1.25rem;
  max-width: 42rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--muted-foreground);
}

@media (min-width: 768px) {
  .problem-card p {
    font-size: 1rem;
  }
}

.problem-card .emph {
  margin-top: 1rem;
  font-weight: 600;
  color: var(--foreground);
}

.how {
  background: var(--gradient-how);
  overflow-x: clip;
  padding-bottom: 1.5rem;
  padding-top: 6rem;
}

.how-intro {
  position: relative;
  max-width: 56rem;
  margin-inline: auto;
  padding-inline: 1.5rem;
  text-align: center;
}

.how-intro h2 {
  margin-top: 1rem;
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
}

@media (min-width: 768px) {
  .how-intro h2 {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .how-intro h2 {
    font-size: 3.75rem;
  }
}

.how-intro p {
  margin-inline: auto;
  margin-top: 1.25rem;
  max-width: 42rem;
  font-size: 1.125rem;
  color: rgb(255 255 255 / 0.8);
}

@media (min-width: 768px) {
  .how-intro p {
    font-size: 1.25rem;
  }
}

.how-steps {
  position: relative;
  display: flex;
  max-width: 72rem;
  margin: 4rem auto 0;
  flex-direction: column;
  gap: 1.25rem;
  padding-inline: 1.5rem;
}

.how-step {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 1.5rem;
  border-radius: 2.5rem;
  border: 1px solid rgb(255 255 255 / 0.1);
  background: rgb(255 255 255 / 0.95);
  padding: 2rem;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
}

@media (min-width: 768px) {
  .how-step {
    gap: 2.5rem;
    padding: 3rem;
  }
}

.how-step.stacked {
  flex-direction: column;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .how-step.stacked {
    flex-direction: row;
    align-items: center;
  }
}

.how-num {
  flex-shrink: 0;
  font-size: 3rem;
  font-weight: 800;
  color: color-mix(in oklab, var(--primary) 80%, transparent);
  letter-spacing: -0.05em;
  font-family: var(--font-display);
}

@media (min-width: 768px) {
  .how-num {
    font-size: 4.5rem;
  }
}

.how-step h3 {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--foreground);
}

@media (min-width: 768px) {
  .how-step h3 {
    font-size: 1.875rem;
  }
}

.how-step p {
  margin-top: 0.5rem;
  max-width: 42rem;
  font-size: 1rem;
  line-height: 1.625;
  color: var(--muted-foreground);
}

@media (min-width: 768px) {
  .how-step p {
    font-size: 1.125rem;
  }
}

.how-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-top: 0.75rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--foreground);
}

@media (min-width: 768px) {
  .how-checks {
    font-size: 1.125rem;
  }
}

.how-checks li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* —— Why —— */
.why-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 3.5rem;
}

@media (min-width: 768px) {
  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.why-card {
  border-radius: calc(var(--radius) + 12px);
  border: 1px solid var(--border);
  background: #fff;
  padding: 1.75rem;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
}

.why-icon {
  display: flex;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: calc(var(--radius) + 8px);
  background: color-mix(in oklab, var(--primary) 10%, transparent);
  color: var(--primary);
}

.why-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.why-card h3 {
  margin-top: 1.25rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
}

.why-card p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--muted-foreground);
}

/* —— Learn / kitchen memory —— */
.learn {
  position: relative;
  overflow: hidden;
  background: color-mix(in oklab, var(--secondary) 50%, transparent);
  padding-block: 6rem;
}

.learn .blob-primary {
  background: color-mix(in oklab, var(--primary) 10%, transparent);
}

.memory-orb {
  pointer-events: none;
  position: absolute;
  border-radius: 9999px;
  filter: blur(48px);
}

.memory-orb-a {
  top: 3rem;
  right: -6rem;
  width: 20rem;
  height: 20rem;
  background: color-mix(in oklab, var(--primary) 10%, transparent);
}

.memory-orb-b {
  left: -6rem;
  bottom: 0;
  width: 18rem;
  height: 18rem;
  background: color-mix(in oklab, var(--accent) 10%, transparent);
}

.learn-inner {
  position: relative;
  max-width: 48rem;
  margin-inline: auto;
  padding-inline: 1.5rem;
  text-align: center;
}

.learn-inner p {
  margin-inline: auto;
  margin-top: 1rem;
  max-width: 28rem;
  font-size: 1.125rem;
  color: var(--secondary-foreground);
}

/* —— Homepage FAQ —— */
.faq {
  background: var(--background);
}

.faq-list {
  max-width: 42rem;
  margin: 2.5rem auto 0;
}

.faq-list h3 {
  margin-top: 1.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
}

.faq-list h3:first-child {
  margin-top: 0;
}

.faq-list p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--muted-foreground);
}

@media (min-width: 768px) {
  .faq-list h3 {
    font-size: 1.5rem;
  }

  .faq-list p {
    font-size: 1rem;
  }
}

/* —— Final CTA —— */
.final {
  background: var(--secondary);
  padding-block: 6rem;
}

.final-inner {
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.final-card {
  position: relative;
  overflow: hidden;
  border-radius: 2.5rem;
  padding: 2.5rem;
  text-align: center;
  background: var(--gradient-ocean);
}

@media (min-width: 768px) {
  .final-card {
    padding: 4rem;
  }
}

.final-card-body {
  position: relative;
  z-index: 10;
}

.final-card h2 {
  margin-inline: auto;
  margin-top: 0;
  max-width: 36rem;
  font-size: 1.875rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--primary-foreground);
}

@media (min-width: 768px) {
  .final-card h2 {
    font-size: 2.25rem;
  }
}

.final-actions {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.final-note {
  margin-top: 1rem;
  margin-inline: auto;
  max-width: 36rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: color-mix(in oklab, var(--primary-foreground) 70%, transparent);
}

.final-orb {
  position: absolute;
  border-radius: 9999px;
  background: rgb(255 255 255 / 0.1);
}

.final-orb.a {
  top: -5rem;
  left: -5rem;
  width: 16rem;
  height: 16rem;
}

.final-orb.b {
  right: -6rem;
  bottom: -6rem;
  width: 20rem;
  height: 20rem;
}

/* —— Footer —— */
.site-footer {
  border-top: 1px solid rgb(255 255 255 / 0.1);
  background: var(--ink);
}

.site-footer-inner {
  display: flex;
  flex-wrap: wrap;
  max-width: 72rem;
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 2rem 1.5rem;
  font-size: 0.875rem;
  color: rgb(255 255 255 / 0.7);
}

.site-footer-brand {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #fff;
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.site-footer-links a {
  color: inherit;
  text-decoration: none;
}

.site-footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cart-card,
  .hero-shot,
  .float-chip,
  .float-delay,
  .float-delay-2,
  .btn {
    animation: none;
    transition: none;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.early-access-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: stretch;
  margin-top: 1.25rem;
  max-width: 36rem;
}

/* loveable-extension-style-definitions/ inputs: page-bg fill, 14px radius, 1.5px border, 15px Figtree */
.early-access-form input[type="email"] {
  flex: 1 1 14rem;
  min-width: 0;
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 0.875rem 1.15rem;
  min-height: 3.25rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.2;
  background: #fff;
  color: var(--ink);
  outline: none;
}

.early-access-form input[type="email"]::placeholder {
  color: var(--muted-foreground);
  opacity: 1;
}

.early-access-form input[type="email"]:focus-visible {
  border-color: color-mix(in oklab, var(--accent) 65%, var(--border));
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 18%, transparent);
}

.early-access-form .btn {
  border: 0;
  cursor: pointer;
  font-family: var(--font-sans);
  min-height: 3.25rem;
  align-self: stretch;
}

.early-access-status {
  flex: 1 1 100%;
  margin: 0;
  font-size: 0.95rem;
  min-height: 1.25em;
}

.early-access-status.is-ok {
  color: var(--accent);
}

.hero .early-access-status.is-ok {
  color: color-mix(in oklab, var(--accent) 80%, #fff);
}

.early-access-status.is-error {
  color: #ffb4b4;
}

.early-access-form.on-dark .early-access-status.is-ok {
  color: #d7fff0;
}

.hidden {
  display: none !important;
}

/* —— Merge flow (how it works) —— */
.merge-wrap {
  position: relative;
  width: 100%;
  max-width: 56rem;
  margin: 2rem auto 0;
  padding-inline: 1rem;
}

@media (min-width: 768px) {
  .merge-wrap {
    margin-top: 3.5rem;
    padding-inline: 1.5rem;
  }
}

.merge-card {
  overflow: hidden;
  border-radius: 1.5rem;
  background: var(--card);
  box-shadow: 0 40px 80px -30px rgba(4, 20, 40, 0.55);
}

@media (min-width: 768px) {
  .merge-card {
    border-radius: 2rem;
  }
}

.merge-tabs {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.375rem;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(to right, color-mix(in oklab, var(--secondary) 60%, transparent), transparent);
  padding: 0.625rem 0.75rem;
}

@media (min-width: 768px) {
  .merge-tabs {
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
  }
}

.merge-tab {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.5rem;
  border: 0;
  border-radius: 9999px;
  background: transparent;
  padding: 0.375rem 0.5rem;
  font: inherit;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  cursor: pointer;
  transition: color 0.3s, background-color 0.3s;
}

@media (min-width: 768px) {
  .merge-tab {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
  }
}

.merge-tab:hover {
  color: var(--foreground);
}

.merge-tab.is-on {
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.08);
}

.merge-tab-num {
  display: flex;
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: var(--muted);
  color: var(--muted-foreground);
  font-size: 10px;
  transition: background-color 0.3s, color 0.3s;
}

.merge-tab.is-on .merge-tab-num {
  background: rgb(255 255 255 / 0.2);
  color: var(--primary-foreground);
}

.merge-tab-label {
  display: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (min-width: 640px) {
  .merge-tab-label {
    display: inline;
  }
}

.merge-tab.is-on .merge-tab-label {
  display: inline;
}

.merge-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.merge-nav-btn {
  display: flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 9999px;
  background: transparent;
  color: var(--muted-foreground);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.merge-nav-btn:hover {
  background: var(--secondary);
  color: var(--primary);
}

.merge-nav-btn svg {
  width: 1rem;
  height: 1rem;
}

.merge-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: color-mix(in oklab, var(--primary) 20%, transparent);
}

.merge-progress-bar {
  height: 100%;
  width: 33.333%;
  background: var(--primary);
  transition: width 0.3s ease-out;
}

.merge-viewport {
  overflow: hidden;
}

.merge-track {
  display: flex;
  align-items: flex-start;
  width: 300%;
  transform: translateX(0);
  transition: transform 0.7s ease-out;
}

.merge-slide {
  width: 33.333%;
  padding: 1rem;
}

@media (min-width: 768px) {
  .merge-slide {
    padding: 2rem;
  }
}

.merge-eyebrow {
  color: var(--muted-foreground);
  font-size: 0.75rem;
}

.merge-split,
.merge-magic-grid,
.merge-shop-grid {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

@media (min-width: 768px) {
  .merge-split {
    margin-top: 1rem;
    grid-template-columns: 1fr auto 1fr;
    align-items: stretch;
  }

  .merge-magic-grid {
    margin-top: 2rem;
    grid-template-columns: 0.85fr auto 1.3fr;
    align-items: start;
    text-align: left;
  }

  .merge-shop-grid {
    margin-top: 2rem;
    grid-template-columns: 1fr auto 1fr;
    align-items: stretch;
    text-align: left;
  }
}

.merge-panel {
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--background);
  padding: 1rem;
}

@media (min-width: 768px) {
  .merge-panel {
    padding: 1.25rem;
  }
}

.merge-stat {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.merge-stat h4 {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--foreground);
}

.merge-stat h4.is-primary {
  color: var(--primary);
}

@media (min-width: 768px) {
  .merge-stat h4 {
    font-size: 1.875rem;
  }
}

.merge-stat span {
  font-size: 1rem;
  font-weight: 700;
  color: var(--muted-foreground);
}

@media (min-width: 768px) {
  .merge-stat span {
    font-size: 1.125rem;
  }
}

.merge-panel > p {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

@media (min-width: 768px) {
  .merge-panel > p {
    font-size: 1rem;
  }
}

.merge-recipes {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

@media (min-width: 768px) {
  .merge-recipes {
    margin-top: 1rem;
  }
}

.merge-recipe {
  display: none;
  align-items: center;
  gap: 0.75rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 0.625rem;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.04);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s, transform 0.5s;
  transition-delay: var(--d, 0ms);
}

.merge-recipe.is-mobile {
  display: flex;
}

@media (min-width: 768px) {
  .merge-recipe.is-desktop {
    display: flex;
  }
}

.merge-wrap[data-step="0"].is-ready .merge-recipe {
  opacity: 1;
  transform: translateY(0);
}

.merge-recipe img {
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
  border-radius: 0.75rem;
  object-fit: cover;
}

@media (min-width: 768px) {
  .merge-recipe img {
    width: 3.5rem;
    height: 3.5rem;
  }
}

.merge-recipe strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--foreground);
}

@media (min-width: 768px) {
  .merge-recipe strong {
    font-size: 1rem;
  }
}

.merge-recipe span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted-foreground);
}

.merge-more {
  margin-top: 0.75rem !important;
  text-align: center;
  font-size: 0.875rem !important;
  font-weight: 700 !important;
  color: var(--muted-foreground) !important;
}

@media (min-width: 768px) {
  .merge-more {
    margin-top: 1rem !important;
    font-size: 1rem !important;
  }
}

.merge-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
}

.merge-arrow span {
  display: flex;
  width: 2.25rem;
  height: 2.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-glow);
}

@media (min-width: 768px) {
  .merge-arrow span {
    width: 2.75rem;
    height: 2.75rem;
  }

  .merge-arrow-mid {
    padding-top: 4rem;
  }
}

.merge-arrow svg {
  width: 1rem;
  height: 1rem;
  transform: rotate(90deg);
}

@media (min-width: 768px) {
  .merge-arrow svg {
    width: 1.25rem;
    height: 1.25rem;
    transform: none;
  }
}

.merge-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-top: 0.75rem;
}

@media (min-width: 768px) {
  .merge-chips {
    gap: 0.5rem;
    margin-top: 1rem;
  }
}

.merge-chip {
  display: none;
  align-items: center;
  gap: 0.375rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 0.25rem 0.625rem 0.25rem 0.25rem;
  font-size: 11px;
  font-weight: 600;
  color: var(--foreground);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.04);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.5s, transform 0.5s;
  transition-delay: var(--d, 0ms);
}

.merge-chip:nth-child(-n+6) {
  display: inline-flex;
}

@media (min-width: 640px) {
  .merge-chip.is-sm {
    display: inline-flex;
  }
}

.merge-wrap[data-step="0"].is-ready .merge-chip {
  opacity: 1;
  transform: translateY(0);
}

.merge-chip i {
  display: flex;
  width: 1.25rem;
  height: 1.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: color-mix(in oklab, var(--secondary) 70%, transparent);
  font-family: var(--font-display);
  font-style: normal;
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--primary);
}

.merge-chip img {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
  object-fit: contain;
  border-radius: 9999px;
  background: color-mix(in oklab, var(--secondary) 70%, transparent);
}

@media (min-width: 768px) {
  .merge-chip {
    gap: 0.5rem;
    padding: 0.375rem 0.875rem 0.375rem 0.375rem;
    font-size: 0.75rem;
  }

  .merge-chip i {
    width: 1.75rem;
    height: 1.75rem;
    font-size: 0.6875rem;
  }

  .merge-chip img {
    width: 1.75rem;
    height: 1.75rem;
  }
}

.merge-chip-more {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  background: var(--secondary);
  padding: 0.25rem 0.625rem;
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
}

@media (min-width: 768px) {
  .merge-chip-more {
    padding: 0.375rem 0.875rem;
    font-size: 0.75rem;
  }
}

.merge-foot {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--foreground);
}

@media (min-width: 768px) {
  .merge-foot {
    margin-top: 1.5rem;
    font-size: 1rem;
  }
}

.merge-foot span {
  color: var(--primary);
}

.merge-center {
  text-align: center;
}

.merge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background: var(--secondary);
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
}

@media (min-width: 768px) {
  .merge-pill {
    padding: 0.5rem 1rem;
  }
}

.merge-pill svg {
  width: 0.875rem;
  height: 0.875rem;
}

.merge-center > h4 {
  margin: 0.75rem auto 0;
  max-width: 36rem;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--foreground);
}

@media (min-width: 768px) {
  .merge-center > h4 {
    margin-top: 1rem;
    font-size: 1.875rem;
  }
}

.merge-dupes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-top: 0.5rem;
}

@media (min-width: 768px) {
  .merge-dupes {
    margin-top: 0.75rem;
  }
}

.merge-dupes span {
  display: none;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 0.125rem 0.5rem;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted-foreground);
}

.merge-dupes span:nth-child(-n+6) {
  display: inline;
}

@media (min-width: 640px) {
  .merge-dupes span.is-sm {
    display: inline;
  }
}

@media (min-width: 768px) {
  .merge-dupes span {
    padding: 0.25rem 0.625rem;
    font-size: 0.75rem;
  }
}

.merge-clean {
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--background);
}

.merge-clean-banner {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin: 0.625rem;
  border-radius: 1rem;
  border: 1px solid color-mix(in oklab, var(--primary) 30%, transparent);
  background: color-mix(in oklab, var(--primary) 10%, transparent);
  padding: 0.75rem;
  transition: border-color 0.5s, background-color 0.5s;
}

@media (min-width: 768px) {
  .merge-clean-banner {
    margin: 0.75rem;
    gap: 0.75rem;
    padding: 1rem;
  }
}

.merge-clean-banner.is-done {
  border-color: color-mix(in oklab, var(--green) 35%, transparent);
  background: color-mix(in oklab, var(--green) 12%, transparent);
}

.merge-clean-icon {
  display: flex;
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: color-mix(in oklab, var(--primary) 20%, transparent);
  color: var(--primary);
  transition: background-color 0.5s, color 0.5s;
}

@media (min-width: 768px) {
  .merge-clean-icon {
    width: 2.5rem;
    height: 2.5rem;
  }
}

.merge-clean-banner.is-done .merge-clean-icon {
  background: color-mix(in oklab, var(--green) 20%, transparent);
  color: oklch(0.45 0.14 150);
}

.merge-clean-icon svg {
  width: 1rem;
  height: 1rem;
}

@media (min-width: 768px) {
  .merge-clean-icon svg {
    width: 1.25rem;
    height: 1.25rem;
  }
}

.merge-clean-icon .is-spin {
  animation: merge-spin 0.9s linear infinite;
}

@keyframes merge-spin {
  to {
    transform: rotate(360deg);
  }
}

.merge-clean-title {
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--foreground);
}

@media (min-width: 768px) {
  .merge-clean-title {
    font-size: 1rem;
  }
}

.merge-clean-sub {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

@media (min-width: 768px) {
  .merge-clean-sub {
    font-size: 0.875rem;
  }
}

.merge-clean-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0 0.75rem 0.75rem;
}

@media (min-width: 768px) {
  .merge-clean-list {
    padding: 0 1rem 1rem;
  }
}

.merge-clean-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 0.375rem 0.5rem;
  transition: opacity 0.5s, border-color 0.5s, background-color 0.5s;
}

@media (min-width: 768px) {
  .merge-clean-row {
    padding: 0.5rem 0.75rem;
  }
}

.merge-clean-row > span:last-of-type,
.merge-clean-row > span:nth-child(2) {
  flex: 1;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--foreground);
  text-align: left;
}

@media (min-width: 768px) {
  .merge-clean-row > span:last-of-type,
  .merge-clean-row > span:nth-child(2) {
    font-size: 0.875rem;
  }
}

.merge-clean-row .hero-ing {
  width: 1.75rem;
  height: 1.75rem;
  font-size: 0.625rem;
}

.merge-clean-row .hero-ing-img {
  width: 1.75rem;
  height: 1.75rem;
}

@media (min-width: 768px) {
  .merge-clean-row .hero-ing {
    width: 2rem;
    height: 2rem;
  }

  .merge-clean-row .hero-ing-img {
    width: 2rem;
    height: 2rem;
  }
}

.merge-clean-row em {
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  color: var(--primary);
  opacity: 0;
  transition: opacity 0.4s;
}

.merge-wrap[data-step="1"].is-ready .merge-clean-row.is-skip {
  opacity: 0.45;
  border-color: transparent;
  background: var(--muted);
}

.merge-wrap[data-step="1"].is-ready .merge-clean-row.is-skip > span:nth-child(2) {
  text-decoration: line-through;
  color: var(--muted-foreground);
}

.merge-wrap[data-step="1"].is-ready .merge-clean-row.is-skip em {
  opacity: 1;
}

.merge-aisles {
  max-height: 13rem;
  margin-top: 0.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-right: 0.25rem;
}

@media (min-width: 768px) {
  .merge-aisles {
    max-height: 15rem;
  }
}

.merge-aisle {
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 0.5rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s, transform 0.5s;
  transition-delay: var(--d, 0ms);
}

.merge-wrap[data-step="2"].is-ready .merge-aisle {
  opacity: 1;
  transform: translateY(0);
}

.merge-aisle > p {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
}

.merge-aisle > div {
  margin-top: 0.375rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.merge-aisle span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
}

@media (min-width: 768px) {
  .merge-aisle span {
    font-size: 1rem;
  }
}

.merge-aisle i {
  display: flex;
  width: 1.25rem;
  height: 1.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: color-mix(in oklab, var(--secondary) 70%, transparent);
  font-family: var(--font-display);
  font-style: normal;
  font-size: 0.5625rem;
  font-weight: 700;
  color: var(--primary);
}

.merge-aisle img {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
  object-fit: contain;
  border-radius: 9999px;
  background: color-mix(in oklab, var(--secondary) 70%, transparent);
}

@media (min-width: 768px) {
  .merge-aisle i {
    width: 1.5rem;
    height: 1.5rem;
  }

  .merge-aisle img {
    width: 1.5rem;
    height: 1.5rem;
  }
}

.merge-cart-rows {
  max-height: 13rem;
  margin-top: 0.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  padding-right: 0.25rem;
}

@media (min-width: 768px) {
  .merge-cart-rows {
    max-height: 15rem;
  }
}

.merge-cart-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 0.5rem;
  opacity: 0;
  transform: translateX(10px);
  transition: opacity 0.5s, transform 0.5s;
  transition-delay: var(--d, 0ms);
}

@media (min-width: 768px) {
  .merge-cart-row {
    gap: 0.75rem;
    padding: 0.625rem;
  }
}

.merge-wrap[data-step="2"].is-ready .merge-cart-row {
  opacity: 1;
  transform: translateX(0);
}

.merge-cart-row > i {
  display: flex;
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  background: color-mix(in oklab, var(--secondary) 70%, transparent);
  font-family: var(--font-display);
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
}

.merge-cart-row > img {
  display: block;
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  object-fit: contain;
  border-radius: 0.5rem;
  background: color-mix(in oklab, var(--secondary) 70%, transparent);
}

@media (min-width: 768px) {
  .merge-cart-row > i {
    width: 2.5rem;
    height: 2.5rem;
  }

  .merge-cart-row > img {
    width: 2.5rem;
    height: 2.5rem;
  }
}

.merge-cart-row > div {
  min-width: 0;
  flex: 1;
}

.merge-cart-row strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--foreground);
}

@media (min-width: 768px) {
  .merge-cart-row strong {
    font-size: 1rem;
  }
}

.merge-cart-row span {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.merge-cart-row > svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  color: var(--green);
}

@media (min-width: 768px) {
  .merge-cart-row > svg {
    width: 1.25rem;
    height: 1.25rem;
  }
}

.merge-cart-ready {
  margin-top: 0.5rem;
  border-radius: 0.75rem;
  background: color-mix(in oklab, var(--primary) 10%, transparent);
  padding: 0.5rem;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
}

@media (min-width: 768px) {
  .merge-cart-ready {
    margin-top: 0.75rem;
    padding: 0.75rem;
    font-size: 1rem;
  }
}

.merge-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.merge-dot {
  width: 0.5rem;
  height: 0.5rem;
  border: 0;
  border-radius: 9999px;
  background: color-mix(in oklab, var(--primary) 30%, transparent);
  cursor: pointer;
  transition: width 0.5s, background-color 0.5s;
}

.merge-dot:hover {
  background: color-mix(in oklab, var(--primary) 50%, transparent);
}

.merge-dot.is-on {
  width: 2rem;
  background: var(--primary);
}

@media (prefers-reduced-motion: reduce) {
  .merge-track,
  .merge-recipe,
  .merge-chip,
  .merge-aisle,
  .merge-cart-row,
  .merge-clean-icon .is-spin {
    transition: none !important;
    animation: none !important;
  }
}

/* —— Recipe library scene —— */
.lib-scene {
  position: relative;
  overflow: hidden;
  background: var(--background);
  padding: 5rem 1rem;
}

@media (min-width: 768px) {
  .lib-scene {
    padding: 6rem 1.5rem;
  }
}

.lib-glow {
  pointer-events: none;
  position: absolute;
  border-radius: 9999px;
  opacity: 0.4;
  background: var(--gradient-warm);
  filter: blur(80px);
}

.lib-glow.a {
  left: -10rem;
  top: 2.5rem;
  width: 30rem;
  height: 30rem;
}

.lib-glow.b {
  right: -8rem;
  bottom: 0;
  width: 26rem;
  height: 26rem;
  filter: blur(90px);
}

.lib-inner {
  position: relative;
  max-width: 72rem;
  margin-inline: auto;
}

.lib-copy {
  max-width: 42rem;
  margin-inline: auto;
  text-align: center;
}

.lib-copy h2 {
  margin-top: 0.75rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--foreground);
}

@media (min-width: 640px) {
  .lib-copy h2 {
    font-size: 2.25rem;
  }
}

@media (min-width: 768px) {
  .lib-copy h2 {
    margin-top: 1rem;
    font-size: 3rem;
  }
}

.lib-copy p {
  margin: 0.5rem auto 0;
  max-width: 32rem;
  font-size: 1rem;
  color: var(--muted-foreground);
}

@media (min-width: 640px) {
  .lib-copy p {
    font-size: 1.125rem;
  }
}

@media (min-width: 768px) {
  .lib-copy p {
    margin-top: 0.75rem;
    font-size: 1.25rem;
  }
}

.lib-stage {
  position: relative;
  width: 100%;
  max-width: 48rem;
  height: 22rem;
  margin: 2rem auto 0;
}

@media (min-width: 640px) {
  .lib-stage {
    margin-top: 3rem;
    height: 26rem;
  }
}

@media (min-width: 768px) {
  .lib-stage {
    height: 30rem;
  }
}

.lib-stage-glow {
  pointer-events: none;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 28rem;
  height: 28rem;
  border-radius: 9999px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, color-mix(in oklab, var(--primary) 18%, transparent) 0%, transparent 65%);
}

.lib-float {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 10;
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  transition: opacity 0.7s, transform 0.7s;
}

.lib-float.is-absorbing {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.7);
  z-index: 5;
}

.lib-float.is-gone {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.55);
}

.lib-float-card {
  width: 8rem;
  overflow: hidden;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.06);
  transform: scale(0.72);
  transform-origin: center;
}

@media (min-width: 640px) {
  .lib-float-card {
    width: 9rem;
    transform: none;
  }
}

.lib-float-bar {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  border-bottom: 1px solid var(--border);
  background: color-mix(in oklab, var(--secondary) 60%, transparent);
  padding: 0.25rem 0.5rem;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.lib-float-bar svg {
  width: 0.75rem;
  height: 0.75rem;
  flex-shrink: 0;
}

.lib-float-img {
  display: block;
  width: 100%;
  height: 3rem;
  object-fit: cover;
}

.lib-float-img.is-tall {
  height: 4rem;
}

.lib-float-card > p {
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--foreground);
}

.lib-float-chat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.375rem 0.5rem;
}

.lib-float-chat > p {
  width: fit-content;
  border-radius: 0.75rem;
  border-bottom-left-radius: 0.375rem;
  background: var(--secondary);
  padding: 0.25rem 0.5rem;
  font-size: 9px;
  line-height: 1.35;
  color: var(--foreground);
}

.lib-float-chat img {
  display: block;
  width: 100%;
  height: 2.5rem;
  border-radius: 0.5rem;
  object-fit: cover;
}

.lib-float-notes {
  padding: 0.375rem 0.5rem;
}

.lib-float-notes-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--foreground);
}

.lib-float-notes > p:last-child {
  margin-top: 0.25rem;
  font-size: 9px;
  line-height: 1.5;
  color: var(--muted-foreground);
}

.lib-hub {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 20;
  width: 16rem;
  transform: translate(-50%, -50%);
}

@media (min-width: 640px) {
  .lib-hub {
    width: 20rem;
  }
}

@media (min-width: 768px) {
  .lib-hub {
    width: 24rem;
  }
}

.lib-hub-card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.06);
}

@media (min-width: 640px) {
  .lib-hub-card {
    border-radius: 1.75rem;
  }
}

.lib-hub-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border);
  background: color-mix(in oklab, var(--secondary) 50%, transparent);
  padding: 0.5rem 0.75rem;
}

@media (min-width: 640px) {
  .lib-hub-bar {
    padding: 0.75rem 1rem;
  }
}

.lib-hub-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.lib-hub-icon {
  display: flex;
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  background: var(--primary);
  color: var(--primary-foreground);
}

.lib-hub-icon svg {
  width: 0.875rem;
  height: 0.875rem;
}

.lib-hub-brand p {
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--foreground);
}

.lib-hub-count {
  border-radius: 9999px;
  background: color-mix(in oklab, var(--primary) 12%, transparent);
  padding: 0.25rem 0.5rem;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--primary);
  white-space: nowrap;
}

.lib-hub-body {
  height: 14rem;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0.5rem;
}

@media (min-width: 640px) {
  .lib-hub-body {
    height: 16rem;
    padding: 0.75rem;
  }
}

.lib-hub-list {
  display: flex;
  flex-direction: column;
}

.lib-hub-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--background);
  padding: 0.5rem;
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.lib-hub-row.is-on {
  opacity: 1;
  transform: scale(1);
}

.lib-hub-row img {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  border-radius: 0.5rem;
  object-fit: cover;
}

@media (min-width: 640px) {
  .lib-hub-row img {
    width: 3rem;
    height: 3rem;
  }
}

.lib-hub-row > div {
  min-width: 0;
  flex: 1;
}

.lib-hub-row strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--foreground);
}

.lib-hub-row span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.lib-hub-row svg {
  width: 0.875rem;
  height: 0.875rem;
  flex-shrink: 0;
  margin-left: auto;
  color: var(--muted-foreground);
}

@media (prefers-reduced-motion: reduce) {
  .lib-float,
  .lib-hub-row {
    transition: none !important;
  }
}

.memory-grid {
  position: relative;
  display: grid;
  max-width: 72rem;
  margin: 0 auto;
  gap: 3.5rem;
  padding-inline: 1.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .memory-grid {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
}

.memory-copy .eyebrow {
  justify-content: flex-start;
}

.memory-copy h2 {
  margin-top: 1rem;
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--foreground);
}

@media (min-width: 768px) {
  .memory-copy h2 {
    font-size: 3rem;
  }
}

.memory-copy > p {
  margin-top: 1.25rem;
  max-width: 32rem;
  font-size: 1.125rem;
  line-height: 1.625;
  color: var(--muted-foreground);
}

@media (min-width: 768px) {
  .memory-copy > p {
    font-size: 1.25rem;
  }
}

.memory-punch {
  margin-top: 2rem !important;
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  color: var(--foreground) !important;
  line-height: 1.35 !important;
}

@media (min-width: 768px) {
  .memory-punch {
    font-size: 1.5rem !important;
  }
}

.memory-visual {
  position: relative;
}

.memory-icons {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .memory-icons {
    gap: 1.25rem;
  }
}

.memory-icon {
  position: relative;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s, transform 0.7s;
  transition-delay: var(--d, 0ms);
}

[data-kitchen-memory].is-icons .memory-icon {
  opacity: 1;
  transform: translateY(0);
}

/* Soft pale-blue squircle — lovable bg-secondary/60 + size-20/24 */
.memory-icon-tile {
  display: flex;
  width: 5rem;
  height: 5rem;
  align-items: center;
  justify-content: center;
  border-radius: 1.5rem;
  background: color-mix(in oklab, var(--secondary) 60%, transparent);
}

@media (min-width: 640px) {
  .memory-icon-tile {
    width: 6rem;
    height: 6rem;
  }
}

.memory-icon-tile img {
  display: block;
  width: 4rem;
  height: 4rem;
  object-fit: contain;
}

@media (min-width: 640px) {
  .memory-icon-tile img {
    width: 5rem;
    height: 5rem;
  }
}

.memory-icon-check {
  position: absolute;
  top: -0.25rem;
  right: -0.25rem;
  display: flex;
  width: 1.5rem;
  height: 1.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.5s, transform 0.5s;
  z-index: 2;
}

.memory-icon-check.is-checked {
  opacity: 1;
  transform: scale(1);
}

.memory-icon-check svg {
  width: 0.875rem;
  height: 0.875rem;
}

.memory-card {
  width: 100%;
  max-width: 24rem;
  margin-inline: auto;
  border-radius: 1.5rem;
  background: #fff;
  padding: 1.25rem;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.7s, transform 0.7s;
}

.memory-card-remember {
  position: relative;
  z-index: 10;
  margin-top: 1.5rem;
  border: 1px solid color-mix(in oklab, var(--primary) 20%, transparent);
}

[data-kitchen-memory].is-remember .memory-card-remember {
  opacity: 1;
  transform: translateY(0);
}

.memory-card-list {
  border: 1px solid var(--border);
}

[data-kitchen-memory].is-list .memory-card-list {
  opacity: 1;
  transform: translateY(0);
}

.memory-card-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.memory-card-icon {
  display: flex;
  width: 1.5rem;
  height: 1.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  background: var(--primary);
  color: var(--primary-foreground);
}

.memory-card-icon svg {
  width: 0.875rem;
  height: 0.875rem;
}

.memory-card-head > span:last-child {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
}

.memory-remember-list {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.memory-remember-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  opacity: 0.25;
  transform: translateX(-6px);
  transition: opacity 0.5s, transform 0.5s;
}

.memory-remember-list li.is-checked {
  opacity: 1;
  transform: translateX(0);
}

.memory-remember-list svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
  color: var(--primary);
}

.memory-remember-list strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
}

.memory-remember-list em {
  display: block;
  font-size: 0.75rem;
  font-style: normal;
  color: var(--muted-foreground);
}

.memory-connector {
  position: relative;
  width: 1px;
  height: 2rem;
  margin: 0 auto;
  overflow: hidden;
  background: var(--border);
}

.memory-connector span {
  position: absolute;
  inset: 0;
  background: var(--primary);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.7s;
}

[data-kitchen-memory].is-list .memory-connector span {
  transform: scaleY(1);
}

.memory-list-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.memory-card-list ul {
  margin-top: 0.75rem;
}

.memory-card-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  overflow: hidden;
  max-height: 3rem;
  opacity: 1;
  padding-block: 0.5rem;
  box-sizing: border-box;
  transition: max-height 0.5s, opacity 0.5s, padding 0.5s;
}

.memory-card-list li.is-gone {
  max-height: 0;
  opacity: 0;
  padding-block: 0;
  pointer-events: none;
}

.memory-card-list li > img {
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
  object-fit: contain;
  transition: opacity 0.5s;
}

.memory-card-list li.is-struck > img {
  opacity: 0.4;
}

.memory-card-list li > span {
  flex: 1;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
  transition: color 0.5s;
}

.memory-card-list li.is-struck > span {
  color: var(--muted-foreground);
  text-decoration: line-through;
}

.memory-card-list li > em {
  margin-left: auto;
  border-radius: 9999px;
  background: color-mix(in oklab, var(--primary) 10%, transparent);
  padding: 0.125rem 0.5rem;
  font-family: var(--font-mono);
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  opacity: 0;
  transition: opacity 0.5s;
}

.memory-card-list li.is-struck > em {
  opacity: 1;
}

.memory-skip-banner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  border-radius: 1rem;
  background: color-mix(in oklab, var(--primary) 10%, transparent);
  padding: 0.5rem 0.75rem;
  opacity: 0;
  transition: opacity 0.5s;
}

.memory-skip-banner.is-on {
  opacity: 1;
}

.memory-skip-banner svg {
  width: 1rem;
  height: 1rem;
  color: var(--primary);
}

.memory-skip-banner span {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
}

@media (prefers-reduced-motion: reduce) {
  .memory-icon,
  .memory-card,
  .memory-remember-list li,
  .memory-connector span,
  .memory-card-list li,
  .memory-icon-check,
  .memory-skip-banner {
    transition: none !important;
  }
}

/* —— Homepage login modal (ocean glass, image reference) —— */
.login-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(12, 35, 64, 0.55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.login-modal[hidden] {
  display: none !important;
}

.login-modal-card {
  position: relative;
  width: min(92vw, 28rem);
  max-height: min(92vh, 52rem);
  overflow: auto;
  border-radius: 3rem;
  padding: 2.5rem 1.75rem 2rem;
  color: #fff;
  text-align: center;
  background: linear-gradient(165deg, #0c2340 0%, #1a4a6e 48%, #2d8a9e 100%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 28px 80px -20px rgba(12, 35, 64, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.login-modal-close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.login-modal-close:hover,
.login-modal-close:focus-visible {
  background: rgba(255, 255, 255, 0.28);
  outline: none;
}

.login-modal-icon {
  display: grid;
  width: 4.25rem;
  height: 4.25rem;
  margin: 0.25rem auto 1.25rem;
  place-items: center;
  border-radius: 9999px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  background: rgba(12, 35, 64, 0.4);
  color: #fff;
}

.login-modal-icon svg {
  width: 1.75rem;
  height: 1.75rem;
}

.login-modal-eyebrow {
  margin: 0 0 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.login-modal-card h2 {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
}

.login-modal-lede {
  margin: 0.75rem auto 1.5rem;
  max-width: 22rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}

.login-modal-form {
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 0.35rem;
}

.login-modal-form label {
  margin-top: 0.55rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.login-modal-form .optional {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
}

.login-modal-form input[type="email"],
.login-modal-form input[type="password"],
.login-modal-form input[type="text"] {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  padding: 0.8rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  caret-color: #ffffff;
  outline: none;
  color-scheme: dark;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.login-modal-form input::placeholder {
  color: rgba(255, 255, 255, 0.4);
  -webkit-text-fill-color: rgba(255, 255, 255, 0.4);
}

.login-modal-form input:focus,
.login-modal-form input:focus-visible {
  border-color: #5cbdb9;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
}

.login-modal-form input:-webkit-autofill,
.login-modal-form input:-webkit-autofill:hover,
.login-modal-form input:-webkit-autofill:focus {
  -webkit-text-fill-color: #ffffff;
  caret-color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 0 1000px rgba(255, 255, 255, 0.1) inset;
  transition: background-color 9999s ease-out 0s;
}

.login-modal-signin-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0.75rem 0 0.35rem;
}

.login-modal-remember {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.75rem 0 0.35rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
}

.login-modal-signin-row .login-modal-remember {
  margin: 0;
}

.login-modal-forgot {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  color: #5cbdb9;
  cursor: pointer;
}

.login-modal-forgot:hover,
.login-modal-forgot:focus-visible {
  text-decoration: underline;
  outline: none;
}

.login-modal-remember input {
  width: 1rem;
  height: 1rem;
  accent-color: #5cbdb9;
}

.login-modal-status {
  min-height: 1.2em;
  margin: 0.4rem 0 0.15rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.72);
}

.login-modal-status.error {
  color: #ffb4a8;
  font-weight: 600;
}

.login-modal-card .btn {
  width: 100%;
  margin-top: 0.65rem;
  border: 0;
  cursor: pointer;
  font-family: var(--font-sans);
}

.login-modal-card .btn-cta {
  background: #fff;
  color: #0c2340;
}

.login-modal-card .btn-cta:hover {
  background: rgb(255 255 255 / 0.92);
}

.login-modal-card .btn-ghost {
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  background: transparent;
  color: #fff;
}

.login-modal-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0.85rem 0 0.15rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.login-modal-divider::before,
.login-modal-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.22);
}

.login-modal-switch {
  margin: 1.15rem 0 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}

.login-modal-switch button {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  font-weight: 700;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.login-modal[data-mode="signin"] .login-switch-to-signin,
.login-modal[data-mode="signup"] .login-switch-to-signup {
  display: none;
}

.login-modal-reset {
  display: none;
}

.login-modal[data-panel="verify"] .login-modal-auth,
.login-modal[data-panel="auth"] .login-modal-verify,
.login-modal[data-panel="reset"] .login-modal-auth,
.login-modal[data-panel="reset"] .login-modal-verify {
  display: none;
}

.login-modal[data-panel="reset"] .login-modal-reset {
  display: flex;
}

.login-modal-verify .verify-code-row {
  display: flex;
  gap: 8px;
  justify-content: space-between;
  margin: 1rem 0;
}

.login-modal-verify input.verify-code-input {
  width: 2.45rem;
  height: 2.9rem;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  caret-color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  color-scheme: dark;
}

.login-modal-verify input.verify-code-input:focus,
.login-modal-verify input.verify-code-input:focus-visible {
  outline: 2px solid rgba(92, 189, 185, 0.7);
  border-color: #5cbdb9;
  background: rgba(255, 255, 255, 0.15);
}
