/* PrepStock Landing — premium light pantry aesthetic */

:root {
  --primary: #1E3A2F;
  --secondary: #6B8E23;
  --cream: #F2E9D6;
  --beige: #D9A66B;
  --mint: #9BAA9C;
  --white: #FFFFFF;
  --bg: #FAFAF7;
  --bg-soft: #F7F3EA;
  --text: #1E3A2F;
  --text-muted: #5A6B62;
  --radius: 28px;
  --radius-sm: 18px;
  --shadow: 0 18px 50px rgba(30, 58, 47, 0.08);
  --shadow-soft: 0 10px 30px rgba(30, 58, 47, 0.06);
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1160px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button,
input,
textarea {
  font: inherit;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.container.narrow {
  width: min(100% - 2.5rem, 720px);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  background: var(--primary);
  color: var(--white);
  padding: 0.75rem 1rem;
  border-radius: 999px;
}

.skip-link:focus {
  top: 1rem;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(30, 58, 47, 0.06), var(--shadow-soft);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
}

.brand-text span:first-child {
  color: var(--primary);
}

.brand-text span:last-child {
  color: var(--secondary);
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.4rem;
}

.site-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.4rem 0;
  position: relative;
  transition: color 0.25s var(--ease);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--secondary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--primary);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  border-radius: 12px;
  cursor: pointer;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--primary);
  border-radius: 2px;
  transition: 0.3s var(--ease);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}

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

.btn:focus-visible {
  outline: 3px solid rgba(107, 142, 35, 0.45);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(30, 58, 47, 0.22);
}

.btn-primary:hover {
  background: #274a3c;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(30, 58, 47, 0.14);
  color: var(--primary);
}

.btn-ghost:hover {
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

/* Sections */
.section {
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
}

.section-heading {
  max-width: 680px;
  margin-bottom: clamp(2.5rem, 5vw, 3.75rem);
}

.section-heading.light,
.section-heading.light h2,
.section-heading.light .section-sub,
.eyebrow.light {
  color: var(--cream);
}

.section-heading.light .eyebrow {
  color: var(--mint);
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--secondary);
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin: 0;
}

h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.1rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.85rem, 3.6vw, 2.75rem);
}

h3 {
  font-size: 1.05rem;
  font-weight: 600;
}

.lead,
.section-sub {
  margin: 1rem 0 0;
  color: var(--text-muted);
  font-size: 1.05rem;
  font-weight: 400;
  max-width: 36rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  padding: calc(var(--header-h) + 2rem) 0 4rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  background:
    radial-gradient(ellipse 60% 50% at 85% 20%, rgba(107, 142, 35, 0.12), transparent 60%),
    radial-gradient(ellipse 50% 45% at 10% 80%, rgba(217, 166, 107, 0.12), transparent 55%),
    linear-gradient(180deg, #F7F3EA 0%, #FAFAF7 55%, #FFFFFF 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.55;
}

.glow-a {
  width: 320px;
  height: 320px;
  background: rgba(155, 170, 156, 0.35);
  top: 12%;
  right: 8%;
}

.glow-b {
  width: 260px;
  height: 260px;
  background: rgba(242, 233, 214, 0.8);
  bottom: 10%;
  left: 5%;
}

.leaf {
  position: absolute;
  width: 48px;
  height: 72px;
  background: linear-gradient(140deg, rgba(107, 142, 35, 0.35), rgba(30, 58, 47, 0.18));
  border-radius: 80% 0 80% 0;
  opacity: 0.35;
}

.leaf-1 {
  top: 18%;
  left: 6%;
  transform: rotate(-25deg);
}

.leaf-2 {
  bottom: 22%;
  right: 42%;
  width: 36px;
  height: 54px;
  transform: rotate(40deg);
  opacity: 0.22;
}

.leaf-3 {
  top: 55%;
  right: 6%;
  transform: rotate(15deg);
  opacity: 0.2;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.hero-perks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1.25rem;
  margin-top: 2.25rem;
}

.hero-perks li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--primary);
}

.perk-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(107, 142, 35, 0.14);
  color: var(--secondary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.perk-icon svg {
  width: 13px;
  height: 13px;
}

.hero-visual {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}

.phone {
  position: absolute;
  width: min(260px, 42vw);
}

.phone-back {
  right: 4%;
  top: 8%;
  transform: rotate(8deg);
  z-index: 1;
}

.phone-front {
  left: 8%;
  bottom: 0;
  transform: rotate(-6deg);
  z-index: 2;
  width: min(280px, 46vw);
}

.phone-frame {
  background: #111;
  border-radius: 36px;
  padding: 10px;
  box-shadow:
    0 30px 60px rgba(30, 58, 47, 0.18),
    0 8px 20px rgba(30, 58, 47, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

.phone-frame::before {
  content: "";
  display: block;
  width: 34%;
  height: 8px;
  margin: 0 auto 8px;
  border-radius: 999px;
  background: #2a2a2a;
}

.phone-frame img {
  width: 100%;
  border-radius: 26px;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  object-position: top;
}

.phone-frame picture {
  display: block;
}

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

.float-slow {
  animation: floatY 7.5s ease-in-out infinite reverse;
}

@keyframes floatY {
  0%,
  100% {
    transform: translateY(0) rotate(var(--r, -6deg));
  }
  50% {
    transform: translateY(-14px) rotate(var(--r, -6deg));
  }
}

.phone-front {
  --r: -6deg;
}

.phone-back {
  --r: 8deg;
}

/* About */
.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.about-art {
  display: grid;
  place-items: center;
}

.pantry-illustration {
  width: min(100%, 380px);
  height: auto;
  border-radius: 36px;
  filter: drop-shadow(0 24px 40px rgba(30, 58, 47, 0.18));
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.mini-card {
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.2rem;
  border: 1px solid rgba(30, 58, 47, 0.04);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}

.mini-card:hover {
  transform: translateY(-4px);
  background: var(--white);
  box-shadow: var(--shadow);
}

.mini-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(30, 58, 47, 0.08);
  color: var(--primary);
  display: grid;
  place-items: center;
  margin-bottom: 0.85rem;
}

.mini-icon svg {
  width: 22px;
  height: 22px;
}

.mini-card h3 {
  margin-bottom: 0.35rem;
}

.mini-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* Features */
.features {
  background:
    radial-gradient(ellipse 70% 50% at 20% 0%, rgba(107, 142, 35, 0.18), transparent 55%),
    var(--primary);
  color: var(--cream);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}

.feature-card {
  background: var(--white);
  color: var(--text);
  border-radius: var(--radius);
  padding: 1.6rem 1.35rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.feature-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.18);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(107, 142, 35, 0.16), rgba(30, 58, 47, 0.08));
  color: var(--primary);
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
}

.feature-card p {
  margin: 0.5rem 0 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* How */
.how {
  background: var(--bg-soft);
}

.timeline {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 0.75rem;
}

.timeline-step {
  flex: 1;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.6rem 1.3rem;
  box-shadow: var(--shadow-soft);
  text-align: left;
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--cream);
  font-weight: 700;
  margin-bottom: 1rem;
}

.timeline-step p {
  margin: 0.5rem 0 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.timeline-arrow {
  align-self: center;
  color: var(--mint);
  font-size: 1.4rem;
  font-weight: 300;
}

/* Stats */
.stats {
  background: var(--white);
  padding-block: clamp(3.5rem, 7vw, 5rem);
}

.stats-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0 0 2rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stat-value {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--primary);
}

.stat-label {
  margin: 0.4rem 0 0;
  color: var(--text-muted);
  font-weight: 500;
}

/* Screens / gallery */
.screens {
  background: linear-gradient(180deg, #FAFAF7, #F2E9D6 140%);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 320px));
  justify-content: center;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.gallery-item {
  margin: 0;
  text-align: center;
}

.gallery-phone {
  transition: transform 0.45s var(--ease);
  margin-inline: auto;
  width: min(280px, 100%);
}

.gallery-item:hover .gallery-phone {
  transform: scale(1.04);
}

.gallery-item figcaption {
  margin-top: 1rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* Download */
.download {
  background: var(--primary);
  color: var(--cream);
}

.download-block {
  text-align: center;
  padding: clamp(2.5rem, 6vw, 4rem);
  border-radius: calc(var(--radius) + 8px);
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(107, 142, 35, 0.25), transparent 60%),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(242, 233, 214, 0.12);
}

.download-block h2 {
  max-width: 18ch;
  margin-inline: auto;
}

.download-lead {
  color: var(--mint);
  margin: 1rem auto 2rem;
  max-width: 36ch;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.download-layout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 4vw, 2.75rem);
  margin-top: 0.25rem;
}

.qr-card {
  margin: 0;
  text-align: center;
}

.qr-card a {
  display: inline-block;
  padding: 0.85rem;
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.qr-card a:hover,
.qr-card a:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.qr-card img {
  width: 180px;
  height: 180px;
  border-radius: 12px;
}

.qr-card figcaption {
  margin-top: 0.85rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--mint);
}

.download-dev {
  margin: 1.75rem 0 0;
  font-size: 0.92rem;
  color: var(--mint);
}

.download-dev a {
  color: var(--cream);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.footer-meta {
  margin: 1rem 0 0 !important;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  align-items: center;
  font-size: 0.88rem !important;
}

.footer-meta a {
  color: var(--cream);
  font-weight: 500;
  opacity: 0.9;
}

.footer-meta a:hover,
.footer-meta a:focus-visible {
  opacity: 1;
}

.footer-bottom a {
  color: var(--cream);
  font-weight: 600;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 220px;
  padding: 0.9rem 1.25rem;
  border-radius: 18px;
  background: var(--white);
  color: var(--primary);
  text-align: left;
  border: 0;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.store-btn svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.store-btn small {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
}

.store-btn strong {
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.store-btn:hover:not(:disabled) {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.store-btn-soon {
  opacity: 0.72;
  cursor: not-allowed;
  background: rgba(255, 255, 255, 0.88);
}

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

.accordion-item {
  border-bottom: 1px solid rgba(30, 58, 47, 0.1);
}

.accordion-item h3 {
  margin: 0;
  font-size: 1rem;
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0.25rem;
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
  color: var(--primary);
  font-weight: 600;
}

.accordion-trigger:focus-visible {
  outline: 3px solid rgba(107, 142, 35, 0.4);
  outline-offset: 2px;
  border-radius: 8px;
}

.accordion-icon {
  width: 22px;
  height: 22px;
  position: relative;
  flex-shrink: 0;
}

.accordion-icon::before,
.accordion-icon::after {
  content: "";
  position: absolute;
  background: var(--primary);
  border-radius: 2px;
  transition: transform 0.3s var(--ease);
}

.accordion-icon::before {
  inset: 10px 3px auto;
  height: 2px;
}

.accordion-icon::after {
  inset: 3px 10px;
  width: 2px;
  height: 16px;
}

.accordion-trigger[aria-expanded="true"] .accordion-icon::after {
  transform: scaleY(0);
}

.accordion-panel {
  padding: 0 0.25rem 1.25rem;
}

.accordion-panel p {
  margin: 0;
  color: var(--text-muted);
  max-width: 58ch;
}

/* Contact */
.contact {
  background: var(--bg-soft);
}

.contact-form {
  display: grid;
  gap: 1.1rem;
  background: var(--white);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field label {
  font-size: 0.88rem;
  font-weight: 600;
}

.field input,
.field textarea {
  width: 100%;
  border: 1.5px solid rgba(30, 58, 47, 0.12);
  border-radius: 16px;
  padding: 0.95rem 1.05rem;
  background: #FBFBF8;
  color: var(--text);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px rgba(107, 142, 35, 0.15);
  background: var(--white);
}

.field textarea {
  resize: vertical;
  min-height: 140px;
}

.form-status {
  margin: 0;
  min-height: 1.4em;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--secondary);
}

.form-status.is-error {
  color: #B45309;
}

/* Footer */
.site-footer {
  background: var(--primary);
  color: var(--cream);
  padding: 3.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(242, 233, 214, 0.12);
}

.footer-brand .brand-text span:first-child {
  color: var(--white);
}

.footer-brand .brand-text span:last-child {
  color: var(--secondary);
}

.footer-brand p {
  margin: 1rem 0 0;
  color: var(--mint);
  max-width: 36ch;
  font-size: 0.95rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-content: start;
  justify-content: end;
}

.footer-nav a {
  color: var(--cream);
  font-size: 0.92rem;
  font-weight: 500;
  opacity: 0.85;
  transition: opacity 0.2s var(--ease);
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  opacity: 1;
}

.footer-bottom {
  padding-top: 1.25rem;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--mint);
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal.scale-in {
  transform: scale(0.96) translateY(16px);
}

.reveal.scale-in.is-visible {
  transform: none;
}

/* Responsive */
@media (max-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 480px;
    order: -1;
  }

  .phone-front {
    left: 12%;
  }

  .phone-back {
    right: 10%;
  }

  .timeline {
    flex-wrap: wrap;
  }

  .timeline-arrow {
    display: none;
  }

  .timeline-step {
    flex: 1 1 calc(50% - 0.75rem);
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 68px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 1rem auto;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 1rem;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s var(--ease);
  }

  .site-nav.is-open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }

  .site-nav a {
    display: block;
    padding: 0.85rem 0.75rem;
    border-radius: 12px;
  }

  .site-nav a:hover {
    background: var(--bg-soft);
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-h) + 1.25rem);
  }

  .hero-perks {
    grid-template-columns: 1fr;
  }

  .about-cards,
  .stats-grid,
  .gallery,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-nav {
    justify-content: start;
  }

  .timeline-step {
    flex: 1 1 100%;
  }

  .phone {
    width: min(200px, 46vw);
  }

  .phone-front {
    width: min(220px, 50vw);
  }

  .hero-visual {
    min-height: 380px;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 1.5rem, var(--max));
  }

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

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}

@media (min-width: 1600px) {
  :root {
    --max: 1280px;
  }

  .hero-visual {
    min-height: 640px;
  }

  .phone-front {
    width: 300px;
  }

  .phone-back {
    width: 280px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .float,
  .float-slow,
  .btn,
  .feature-card,
  .mini-card,
  .gallery-phone {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
