/* ======================================================================
   MEAL — SINGLE SOURCE CSS (FULL FILE) — Ultra Apple / Ultra fluide
   - One motion system: fast, crisp, minimal blur
   - No perpetual “float” by default (optional ultra-slow)
   - Chips (hero) + bento cards: calmer surfaces, softer contrast
   - GPU hints where it matters
   ====================================================================== */

/* =========================
   TOKENS
   ========================= */
:root{
  /* Palette */
  --bg-body: #fbfbfd;
  --bg-secondary: #f5f5f7;

  --text-main: #1d1d1f;
  --text-secondary: rgba(29,29,31,0.58);
  --text-tertiary: rgba(29,29,31,0.44);

  --hairline: rgba(0,0,0,0.08);
  --hairline-2: rgba(0,0,0,0.06);

  /* Accent */
  --accent: #2997ff;

  /* Gradient text */
  --meal-grad: linear-gradient(
    95deg,
    #5DA9F6 0%,
    #4A94F2 10%,
    #3CB8E6 18%,
    #3FD0C0 24%,
    #6ED9A4 33%,
    #9FDF7A 38%,
    #D4E46B 42%,
    #FFE07A 65%,
    #FFC96A 75%,
    #FFA95A 85%,
    #FF8F4E 100%
  );

  /* Layout */
  --container-max: 1080px;
  --nav-max: 980px;
  --gutter: clamp(20px, 4vw, 44px);

  /* 8pt grid */
  --s0: 4px;
  --s1: 8px;
  --s2: 12px;
  --s3: 16px;
  --s4: 24px;
  --s5: 32px;
  --s6: 40px;
  --s7: 56px;
  --s8: 72px;
  --s9: 96px;

  /* Radius */
  --r-lg: 32px;
  --r-md: 20px;
  --r-sm: 14px;
  --r-pill: 999px;

  /* Shadows (soft, Apple-like) */
  --shadow-1: 0 1px 0 rgba(0,0,0,0.03);
  --shadow-2: 0 10px 30px rgba(0,0,0,0.05);
  --shadow-3: 0 18px 70px rgba(0,0,0,0.08);

  /* Motion */
  --ease-out-quart: cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* =========================
   RESET
   ========================= */
*{ margin:0; padding:0; box-sizing:border-box; }
html{ -webkit-text-size-adjust: 100%; }
body{
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg-body);
  color: var(--text-main);
  color-scheme: light;
  overflow-x: hidden;
  width: 100%;
  line-height: 1.42;
  overscroll-behavior-y: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img{ max-width:100%; display:block; }
a{ color: inherit; }
button, input{ font: inherit; }

::selection{ background: rgba(41,151,255,0.18); }

/* =========================
   UTILS
   ========================= */
.hidden{ display:none !important; }

.content-wrapper{
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  position: relative;
  z-index: 1;
}

.centered{
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
}

.centered-vertical{
  position:relative;
  z-index:2;
  display:flex;
  flex-direction:column;
  align-items:center;
}

.text-meal-black{ color:#111; }

/* GPU hints (smooth) */
.iphone-17,
.bento-card,
.btn-primary,
.btn-small,
.hero-pill{
  will-change: transform;
  transform: translateZ(0);
}

/* =========================
   GRADIENT TEXT
   ========================= */
.meal-gradient,
.gradient-organise{
  background-image: var(--meal-grad);
  background-size: 130%;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
}

/* =========================
   REVEAL (fast, crisp)
   ========================= */
.reveal{
  opacity:0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease-out-quart), transform 0.6s var(--ease-out-quart);
}
.reveal.active{
  opacity:1;
  transform: translateY(0);
}
.reveal.delay-1{ transition-delay:0.08s; }
.reveal.delay-2{ transition-delay:0.16s; }
.reveal.delay-3{ transition-delay:0.24s; }
.reveal.delay-4{ transition-delay:0.32s; }

@media (prefers-reduced-motion: reduce){
  .reveal{ transition:none; opacity:1; transform:none; }
}

/* =========================
   TEASER VIEW
   ========================= */
#teaser-view{
  height: 100vh;
  height: 100svh;
  width: 100%;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  background:
    radial-gradient(900px 520px at 50% 30%, rgba(41,151,255,0.08), rgba(41,151,255,0) 60%),
    var(--bg-body);
  padding: 0 20px;
  overflow:hidden;
  position:relative;
}

.ghost-background-wrapper{
  position:absolute;
  top:50%;
  left:50%;
  transform: translate(-50%, -50%);
  width:100%;
  height:100%;
  z-index:0;
  pointer-events:none;
  overflow:hidden;
  display:flex;
  justify-content:center;
  align-items:center;
}

.phones-cluster.ghost-mode{
  opacity:0.07;
  filter: blur(34px) grayscale(100%);
  transform: scale(1.55);
}

.hero-title.hero-title--teaser{ margin-bottom: var(--s3); }

.hero-subtitle{
  font-size: 24px;
  font-weight: 430;
  color: var(--text-secondary);
  margin: 10px 0 38px 0;
  text-align:center;
  line-height: 1.26;
  max-width: 640px;
}

.micro-copy{
  margin-top: var(--s4);
  font-size: 13px;
  color: var(--text-tertiary);
}

.waitlist-feedback{
  margin-top: 12px;
  min-height: 18px;
  text-align: center;
}
.waitlist-feedback.is-success{ color: #1f7a45; }
.waitlist-feedback.is-error{ color: #bb2d3b; }

.waitlist-hp{
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* Apple pill (waitlist) */
.apple-pill-form{
  position:relative;
  display:flex;
  align-items:center;
  width:100%;
  max-width: 390px;
  height: 56px;
  margin-top: 36px;
  background: rgba(255,255,255,0.72);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-1), 0 8px 24px rgba(0,0,0,0.04);
  transition: transform 0.35s var(--ease-out-quart), box-shadow 0.35s var(--ease-out-quart), background 0.35s;
}
.apple-pill-form:focus-within{
  background: rgba(255,255,255,0.92);
  box-shadow: var(--shadow-1), 0 14px 40px rgba(0,0,0,0.10);
  border-color: rgba(0,0,0,0.14);
  transform: translateY(-1px);
}
.apple-pill-form input{
  flex:1;
  width:100%;
  height:100%;
  border:none;
  background:transparent;
  padding: 0 18px 0 22px;
  font-size: 16.5px;
  color: var(--text-main);
  outline:none;
  border-radius: var(--r-pill);
  font-weight: 430;
}
.apple-pill-form input::placeholder{
  color: rgba(29,29,31,0.42);
  font-weight: 420;
}
.apple-pill-form button{
  display:flex;
  align-items:center;
  justify-content:center;
  width:44px;
  height:44px;
  border-radius:50%;
  border:none;
  background: rgba(17,17,17,0.92);
  color:#fff;
  margin-right:6px;
  cursor:pointer;
  transition: transform 0.35s var(--ease-out-quart), background 0.2s;
}
.apple-pill-form button:hover{ transform: scale(1.06); background:#000; }
.apple-pill-form button:active{ transform: scale(0.96); }

/* =========================
   NAV
   ========================= */
nav{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  z-index:999;
  background: rgba(251, 251, 253, 0.72);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  border-bottom: 1px solid var(--hairline);
  display:flex;
  align-items:center;
  justify-content:center;
  padding-top: env(safe-area-inset-top);
  height: calc(54px + env(safe-area-inset-top));
}
.nav-content{
  width:100%;
  max-width: var(--nav-max);
  padding: 0 var(--gutter);
  display:flex;
  justify-content: space-between;
  align-items:center;
  height:100%;
  position:relative;
  gap: var(--s4);
}
.logo{
  font-weight: 590;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--text-main);
}
.nav-links{
  display:flex;
  gap: 22px;
  position:absolute;
  left:50%;
  transform: translateX(-50%);
}
.nav-links a{
  text-decoration:none;
  color: rgba(29,29,31,0.86);
  font-size: 13px;
  font-weight: 520;
  opacity: 0.72;
  transition: opacity 0.2s, transform 0.2s;
}
.nav-links a:hover{ opacity:1; transform: translateY(-0.5px); }

.btn-small{
  background: rgba(17,17,17,0.92);
  color: #fff;
  padding: 7px 14px;
  border-radius: 99px;
  font-size: 12px;
  text-decoration:none;
  font-weight: 600;
  box-shadow: var(--shadow-1);
  transition: transform 0.3s var(--ease-out-quart), box-shadow 0.3s var(--ease-out-quart), background 0.2s;
}
.btn-small:hover{
  transform: translateY(-1px);
  box-shadow: var(--shadow-1), 0 12px 26px rgba(0,0,0,0.10);
  background: #000;
}

/* =========================
   HERO
   ========================= */
.hero-section{
  padding-top: calc(var(--s9) + var(--s6) + env(safe-area-inset-top));
  padding-bottom: var(--s8);
  background:
    radial-gradient(1000px 520px at 50% 22%, rgba(41,151,255,0.10), rgba(41,151,255,0) 60%),
    radial-gradient(900px 500px at 50% 95%, rgba(0,0,0,0.04), rgba(0,0,0,0) 58%),
    var(--bg-body);
  overflow: visible;
}

h1.hero-title{
  font-size: clamp(58px, 10vw, 92px);
  font-weight: 740;
  letter-spacing: -0.045em;
  line-height: 0.98;
  margin: 0 0 var(--s4) 0;
}

p.hero-desc{
  font-size: clamp(21px, 3vw, 28px);
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto var(--s6);
  font-weight: 430;
  letter-spacing: -0.012em;
}

/* --- HERO: spec chips (Apple-like) --- */
.hero-pills{
  margin: calc(var(--s6) * -1) auto var(--s4);
  max-width: 820px;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 0;
}

.hero-pill{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--hairline-2);
  background: linear-gradient(180deg, rgba(255,255,255,0.78), rgba(255,255,255,0.66));
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  box-shadow: var(--shadow-1), 0 10px 26px rgba(0,0,0,0.035);
  color: rgba(29,29,31,0.76);
  font-size: 13px;
  line-height: 1;
  letter-spacing: -0.01em;
  font-weight: 560;
  user-select: none;
  transition: transform 420ms var(--ease-out-quart), box-shadow 420ms var(--ease-out-quart), border-color 420ms var(--ease-out-quart), background 420ms var(--ease-out-quart);
}

.hero-pill:hover{
  transform: translateY(-1px);
  border-color: rgba(0,0,0,0.10);
  box-shadow: var(--shadow-1), 0 18px 52px rgba(0,0,0,0.07);
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.76));
}

.hero-note{
  margin: 10px auto 0;
  max-width: 680px;
  width: 100%;
  text-align: center;
  font-size: 12px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: rgba(29,29,31,0.46);
  font-weight: 430;
}

.hero-asterisk{
  font-size: 12px;
  vertical-align: text-top;
  margin-left: 2px;
}

/* CTA */
.cta-container{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 12px;
  margin-top: 10px;
}

.btn-primary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background: rgba(17,17,17,0.94);
  color:#fff;
  padding: 18px 36px;
  border-radius: 999px;
  text-decoration:none;
  font-weight: 560;
  font-size: 17px;
  letter-spacing: -0.01em;
  box-shadow: var(--shadow-1), 0 16px 38px rgba(0,0,0,0.10);
  transition: transform 0.35s var(--ease-out-quart), box-shadow 0.35s var(--ease-out-quart), background 0.2s;
}
.btn-primary:hover{
  transform: translateY(-1px);
  box-shadow: var(--shadow-1), 0 22px 60px rgba(0,0,0,0.14);
  background: #000;
}
.btn-primary:active{ transform: translateY(0px) scale(0.99); }

/* Pricing */
.pricing-subtitle{
  text-align:center;
  line-height: 1.55;
}
.pricing-subtitle .pricing-line{ display:block; }
.pricing-subtitle .pricing-strong{
  color: rgba(29,29,31,0.78);
  font-size: 13px;
  font-weight: 600;
}
.pricing-subtitle .pricing-muted{
  color: rgba(29,29,31,0.40);
  font-size: 12px;
  font-weight: 430;
  margin-top: 2px;
}

/* =========================
   PHONES CLUSTER (no perpetual motion by default)
   ========================= */
.phones-cluster-wrapper{
  margin-top: var(--s8);
  height: 860px;
  width:100%;
  position:relative;
  display:flex;
  justify-content:center;
  perspective: 3000px;
}

.phones-cluster{
  position:relative;
  width: 310px;
  height: 665px;
  animation: none;
}

/* Optional ultra-slow “breath” (very subtle) */
@media (prefers-reduced-motion: no-preference){
  .phones-cluster{
    animation: floatingCluster 18s ease-in-out infinite;
  }
}
@keyframes floatingCluster{
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(-10px); }
}

.iphone-17{
  width:100%;
  height:100%;
  background: #e2e2e2;
  border-radius: 60px;
  position:absolute;
  top:0;
  overflow:hidden;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.85),
    inset 0 0 0 3px rgba(209,209,214,0.95),
    inset 0 0 0 6px rgba(0,0,0,0.10),
    0 32px 70px -18px rgba(0,0,0,0.30);
  transition: transform 1.15s var(--ease-out-quart), filter 1.15s var(--ease-out-quart);
}

.screen-white{
  position:absolute;
  top:6px; left:6px; right:6px; bottom:6px;
  background-color:#000;
  border-radius: 54px;
  overflow:hidden;
  background-repeat:no-repeat;
  background-size: 100% 100%;
  background-position: center top;
  box-shadow: inset 0 0 22px rgba(0,0,0,0.45);
}

.screen-catalog{ background-image: url("IMG_3304.PNG"); }
.screen-menu{ background-image: url("IMG_3305.PNG"); }
.screen-list{ background-image: url("IMG_3306.PNG"); }

.screen-white::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(125deg, rgba(255,255,255,0) 30%, rgba(255,255,255,0.42) 50%, rgba(255,255,255,0) 70%);
  opacity: 0.22;
  pointer-events:none;
  z-index:20;
}

.iphone-17::after{
  content:"";
  position:absolute;
  top:18px;
  left:50%;
  transform: translateX(-50%);
  width:96px;
  height:28px;
  background:#000;
  border-radius:20px;
  z-index:30;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.16);
}

/* positions */
.iphone-17.left{
  z-index:1;
  transform: translateX(-175px) translateY(65px) rotate(-15deg) scale(0.85);
  filter: blur(1px) brightness(0.96);
}
.iphone-17.right{
  z-index:1;
  transform: translateX(175px) translateY(65px) rotate(15deg) scale(0.85);
  filter: blur(1px) brightness(0.96);
}
.iphone-17.center{
  z-index:10;
  transform: translateY(0) scale(1);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.85),
    inset 0 0 0 3px rgba(209,209,214,0.95),
    0 56px 120px -28px rgba(0,0,0,0.50);
}

.phones-cluster:hover .iphone-17.left{
  transform: translateX(-220px) translateY(65px) rotate(-20deg) scale(0.88);
  filter: blur(0px);
}
.phones-cluster:hover .iphone-17.right{
  transform: translateX(220px) translateY(65px) rotate(20deg) scale(0.88);
  filter: blur(0px);
}
.phones-cluster:hover .iphone-17.center{
  transform: translateY(-18px) scale(1.03);
}

/* =========================
   FEATURES (Bento)
   ========================= */
.apple-features{
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(900px 260px at 50% 0%, rgba(41,151,255,0.10), rgba(41,151,255,0) 60%),
    linear-gradient(180deg, #f5f5f7 0%, #f5f5f7 55%, #fbfbfd 100%);
  padding: var(--s9) 0;
  border-top: 1px solid rgba(0,0,0,0.04);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.features-head{
  text-align:center;
  max-width: 820px;
  margin: 0 auto clamp(56px, 6vw, 80px);
}

.kicker{
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(29,29,31,0.45);
  margin-bottom: var(--s3);
}

.features-title{
  font-size: clamp(48px, 6vw, 80px);
  line-height: 1.02;
  font-weight: 760;
  letter-spacing: -0.04em;
  margin: 0 0 var(--s4) 0;
  color: var(--text-main);
}

.features-intro{
  font-size: 20px;
  font-weight: 460;
  line-height: 1.45;
  color: rgba(29,29,31,0.55);
}

/* Grid */
.bento-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

/* Card base */
.bento-card{
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  border: 1px solid rgba(0,0,0,0.06);
  background: rgba(255,255,255,0.80);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  box-shadow: var(--shadow-1), 0 14px 46px rgba(0,0,0,0.06);
  display:flex;
  flex-direction: column;
  min-height: 560px;
  transition: transform 520ms var(--ease-out-quart), box-shadow 520ms var(--ease-out-quart), border-color 520ms var(--ease-out-quart), background 520ms var(--ease-out-quart);
}

.bento-card::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius: inherit;
  pointer-events:none;
  background: linear-gradient(180deg, rgba(255,255,255,0.82) 0%, rgba(255,255,255,0.00) 44%);
  opacity: 0.55;
}

.bento-card::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius: inherit;
  pointer-events:none;
  background: radial-gradient(1200px 480px at 50% 120%, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.00) 55%);
  opacity: 0.24;
}

.bento-card:hover{
  transform: translateY(-4px) scale(1.007);
  border-color: rgba(0,0,0,0.10);
  box-shadow: var(--shadow-1), 0 22px 74px rgba(0,0,0,0.10);
}

/* Text blocks */
.card-text,
.card-text-top{
  padding: clamp(28px, 3.4vw, 52px);
  z-index: 2;
  position: relative;
}

.card-title{
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.06;
  font-weight: 760;
  letter-spacing: -0.03em;
  margin: 0 0 14px 0;
  color: var(--text-main);
}

.card-title-small{
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.08;
  font-weight: 740;
  letter-spacing: -0.03em;
  margin: 0 0 12px 0;
  color: var(--text-main);
}

.card-desc,
.card-desc-small{
  line-height: 1.55;
  letter-spacing: -0.012em;
  color: rgba(29,29,31,0.56);
  font-weight: 460;
  max-width: 560px;
}
.card-desc{ font-size: 18px; }
.card-desc-small{ font-size: 16px; }

.icon-label{
  display:inline-block;
  font-size: 12px;
  font-weight: 720;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color:#fff;
  background:#000;
  padding: 6px 12px;
  border-radius: 99px;
  margin-bottom: 16px;
}

/* Media tile */
.card-media{
  position: relative;
  flex: 1;
  display:flex;
  justify-content:center;
  align-items:center;
  padding: 0 clamp(18px, 2.2vw, 28px) clamp(18px, 2.2vw, 28px);
}

.card-media::before{
  content:"";
  position:absolute;
  inset: 0 clamp(18px, 2.2vw, 28px) clamp(18px, 2.2vw, 28px);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(245,245,247,1) 0%, rgba(245,245,247,0.86) 100%);
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.82), inset 0 0 0 1px rgba(255,255,255,0.34);
  z-index: 0;
}

.card-media img{
  position: relative;
  z-index: 1;
  width: min(560px, 86%);
  max-height: 460px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.16)) saturate(0.99) contrast(0.99);
  transform: translateY(10px);
  transition: transform 520ms var(--ease-out-quart), filter 520ms var(--ease-out-quart);
}

.bento-card:hover .card-media img{
  transform: translateY(4px);
}

/* Variants */
.card-large{
  grid-column: 1 / -1;
  align-items:center;
  text-align:center;
  min-height: 620px;
}
.card-large .card-text{ padding-bottom: 24px; }
.card-large .card-media img{
  width: min(720px, 76%);
  transform: translateY(18px);
}
.bento-card.card-large:hover .card-media img{
  transform: translateY(10px);
}

.card-half{
  min-height: 600px;
}
.card-half .card-media img{
  width: min(520px, 88%);
  transform: translateY(12px);
}

.card-full{
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  min-height: 520px;
  background: radial-gradient(1200px 700px at 25% 10%, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.00) 55%), #000;
  border-color: rgba(255,255,255,0.10);
}

.card-full::before{ opacity: 0.30; }
.card-full::after{ opacity: 0.18; }

.card-full .card-text{ padding: clamp(32px, 4vw, 56px); }
.card-full .card-title,
.card-full .card-desc{ color:#fff; }
.card-full .card-desc{ color:#a1a1a6; }

.card-full .icon-label{
  background: rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.92);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.card-full .card-media{
  justify-content:flex-end;
  align-items:center;
  padding: 0 clamp(24px, 4vw, 56px) 0 0;
}

.card-full .card-media::before{
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.10);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.10);
}

.card-full .card-media img{
  width:auto;
  height: min(480px, 90%);
  max-height: 520px;
  transform: rotate(-4deg) translateY(0);
  filter: drop-shadow(0 40px 90px rgba(0,0,0,0.55)) saturate(0.99) contrast(0.99);
}

.bento-card.card-full:hover .card-media img{
  transform: rotate(-3deg) translateY(-4px);
}

/* =========================
   FOOTER
   ========================= */
footer{
  padding: var(--s8) var(--gutter);
  text-align:center;
  color: rgba(0,0,0,0.45);
  font-size: 12px;
}
.footer-links{
  margin-top: var(--s2);
  display:flex;
  gap: var(--s4);
  justify-content:center;
}
.footer-links a{
  text-decoration:none;
  color: rgba(0,0,0,0.55);
}
.footer-links a:hover{ color: rgba(0,0,0,0.85); }

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 900px){
  .nav-links{ display:none; }
}

@media (max-width: 768px){
  h1.hero-title{ font-size: 52px; }

  .hero-section{
    padding-top: calc(var(--s8) + env(safe-area-inset-top));
    padding-bottom: var(--s7);
  }

  .hero-pills{
    max-width: 520px;
    gap: 8px;
    margin: calc(var(--s5) * -1) auto var(--s4);
  }
  .hero-pill{
    padding: 9px 12px;
    font-size: 13px;
  }
  .hero-note{ max-width: 520px; }

  .phones-cluster-wrapper{
    height: 520px;
    margin-top: var(--s6);
  }
  .phones-cluster{
    transform: scale(0.65);
    transform-origin: top center;
    margin-top: -30px;
  }
  .iphone-17.left{
    transform: translateX(-120px) translateY(40px) rotate(-8deg) scale(0.9);
  }
  .iphone-17.right{
    transform: translateX(120px) translateY(40px) rotate(8deg) scale(0.9);
  }

  .apple-features{ padding: var(--s8) 0; }

  .bento-grid{ grid-template-columns: 1fr; }
  .bento-card{ min-height: 540px; }

  .card-text,
  .card-text-top{ padding: 32px; }

  .card-media{ align-items: flex-end; }
  .card-media img{
    width: min(420px, 90%);
    transform: translateY(14px);
  }

  .card-full{
    flex-direction: column;
    text-align:center;
    min-height: 620px;
  }
  .card-full .card-media{
    padding: 0 0 24px 0;
    justify-content:center;
  }
  .card-full .card-media img{
    width: min(360px, 78%);
    height:auto;
    transform: translateY(12px);
  }
}
