/* =========================================================
   Yumly AI marketing site
   Editorial black & white with single coral accent
   ========================================================= */

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

:root {
  /* Mono palette */
  --ink: #0A0A0A;
  --ink-2: #1A1A1A;
  --text: #111111;
  --text-2: #4B4B4B;
  --text-3: #7A7A7A;
  --line: #E8E8E8;
  --line-2: #DADADA;
  --paper: #FFFFFF;
  --paper-2: #FAFAF8;
  --paper-3: #F4F2EE;

  /* Accent — matches the app icon coral */
  --accent: #FF8A5B;
  --accent-2: #F25C3D;
  --accent-soft: rgba(255, 138, 91, 0.10);
  --accent-soft-2: rgba(255, 138, 91, 0.18);

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(10,10,10,0.04), 0 1px 3px rgba(10,10,10,0.06);
  --shadow-md: 0 6px 24px rgba(10,10,10,0.06);
  --shadow-lg: 0 20px 50px rgba(10,10,10,0.10);
  --shadow-xl: 0 30px 80px rgba(10,10,10,0.15);
  --radius: 14px;
  --radius-lg: 22px;
  --t: 0.32s cubic-bezier(0.22, 1, 0.36, 1);

  /* Typography */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-serif: "Fraunces", "Iowan Old Style", "Apple Garamond", Georgia, "Times New Roman", serif;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-feature-settings: "ss01", "cv11";
}

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

a {
  color: var(--ink);
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  inset-inline-start: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 2000;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  inset-inline-start: 0;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

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

/* =========================================================
   Section conventions
   ========================================================= */

section { padding: 120px 0; position: relative; }

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-3);
  margin-bottom: 18px;
}

.section-label::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 1px;
  background: var(--text-3);
  vertical-align: middle;
  margin-right: 10px;
  position: relative;
  top: -2px;
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 18px;
}

.section-subtitle {
  font-size: 1.075rem;
  color: var(--text-2);
  max-width: 640px;
  line-height: 1.65;
}

.section-subtitle.center { margin-left: auto; margin-right: auto; }

/* =========================================================
   Nav
   ========================================================= */
nav.top {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t), background var(--t);
}

nav.top.scrolled {
  border-bottom-color: var(--line);
  background: rgba(255,255,255,0.92);
}

.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.nav-logo img {
  width: 28px; height: 28px;
  border-radius: 7px;
}

.nav-logo .wordmark {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.nav-logo .wordmark-ai {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  background: var(--ink);
  color: #fff;
  padding: 2px 7px;
  border-radius: 999px;
  margin-left: 2px;
  vertical-align: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--text-2);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color var(--t);
}

.nav-links a:hover { color: var(--ink); }

.nav-cta {
  background: var(--ink);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.88rem;
  transition: background var(--t), transform var(--t);
}

.nav-cta:hover {
  background: var(--accent-2);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
  transition: var(--t);
}

/* Language switcher */
.lang-switcher { position: relative; }

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-2);
  cursor: pointer;
  transition: all var(--t);
}

.lang-toggle:hover { border-color: var(--ink); color: var(--ink); }

.lang-toggle svg {
  width: 14px; height: 14px;
  transition: transform var(--t);
}

.lang-switcher.open .lang-toggle svg:last-child { transform: rotate(180deg); }

.lang-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 6px;
  z-index: 1100;
}

.lang-switcher.open .lang-menu { display: block; }

.lang-menu a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  transition: background var(--t);
}

.lang-menu a:hover { background: var(--paper-2); }
.lang-menu a.current { background: var(--accent-soft); color: var(--accent-2); font-weight: 600; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  padding: 168px 0 108px;
  background: linear-gradient(180deg, #FFFFFF 0%, #FAFAF7 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -260px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 65%);
  pointer-events: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 72px;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-soft);
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 26px;
  letter-spacing: 0.02em;
}

.hero-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 4px rgba(255,138,91,0.20);
}

.hero h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 24px;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent-2);
  font-weight: 500;
}

.hero .lede {
  font-size: 1.18rem;
  color: var(--text-2);
  max-width: 540px;
  margin-bottom: 36px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-2);
}

.hero-trust-item svg {
  width: 18px; height: 18px;
  color: var(--accent-2);
}

/* Phone showcase in hero */
.hero-visual {
  position: relative;
  height: 600px;
}

.phone-frame {
  position: absolute;
  background: #0A0A0A;
  border-radius: 46px;
  padding: 10px;
  box-shadow: var(--shadow-xl), 0 0 0 1.5px #1f1f1f inset;
  overflow: hidden;
  transition: transform var(--t);
}

.phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 36px;
  display: block;
}

.phone-frame.primary {
  width: 290px;
  height: 590px;
  top: 0;
  right: 40px;
  z-index: 2;
}

.phone-frame.secondary {
  width: 230px;
  height: 470px;
  bottom: 14px;
  left: 0;
  z-index: 1;
  transform: rotate(-6deg);
  opacity: 0.95;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 12px;
  font-size: 0.98rem;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all var(--t);
  line-height: 1.1;
}

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

.btn-primary:hover {
  background: var(--accent-2);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(242,92,61,0.30);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line-2);
}

.btn-secondary:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.btn svg { width: 18px; height: 18px; }

/* App Store badge */
.app-store-badge {
  display: inline-block;
  line-height: 0;
  transition: transform var(--t), box-shadow var(--t);
  border-radius: 12px;
}

.app-store-badge:hover { transform: translateY(-2px); }
.app-store-badge img { height: 54px; width: auto; border-radius: 12px; }

/* =========================================================
   Marquee / quick stats
   ========================================================= */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  background: var(--paper-2);
}

.marquee-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 64px;
  flex-wrap: wrap;
  color: var(--text-2);
  font-size: 0.95rem;
  font-weight: 500;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.marquee-item .num {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.marquee-divider {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--line-2);
}

/* =========================================================
   Pitch
   ========================================================= */
.pitch {
  background: var(--paper);
  padding: 120px 0;
  text-align: center;
}

.pitch .container { max-width: 920px; }

.pitch p {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  line-height: 1.4;
  color: var(--ink);
  letter-spacing: -0.012em;
}

.pitch p em {
  font-style: italic;
  color: var(--accent-2);
}

/* =========================================================
   Features
   ========================================================= */
.features {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
}

.features-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 64px;
}

.features-head .section-subtitle { margin: 0; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.feature-card {
  background: var(--paper);
  padding: 36px 32px 38px;
  position: relative;
  transition: background var(--t);
}

.feature-card:hover { background: var(--paper-2); }

.feature-icon {
  width: 44px; height: 44px;
  border-radius: 11px;
  background: var(--paper-3);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

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

.feature-card.accent .feature-icon {
  background: var(--accent-soft);
  color: var(--accent-2);
}

.feature-card h3 {
  font-family: var(--font-sans);
  font-size: 1.06rem;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.feature-card p {
  font-size: 0.93rem;
  color: var(--text-2);
  line-height: 1.6;
}

/* Wide card spans two cells so the grid stays balanced (3-col and 2-col) */
.feature-card.wide { grid-column: span 2; }

.pill {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 0.10em;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  vertical-align: 3px;
  margin-left: 6px;
}

.pill-free {
  background: #E9F5EC;
  color: #1F7A37;
}

.pill-pro {
  background: var(--accent-soft);
  color: var(--accent-2);
}

/* =========================================================
   How it works
   ========================================================= */
.how {
  background: var(--paper);
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 72px;
  align-items: start;
}

.how-step {
  text-align: left;
}

.how-step-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 3.4rem;
  font-weight: 400;
  color: var(--accent-2);
  line-height: 1;
  margin-bottom: 18px;
  display: block;
}

.how-step h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  color: var(--ink);
}

.how-step p {
  font-size: 0.98rem;
  color: var(--text-2);
  line-height: 1.65;
  max-width: 320px;
  margin-bottom: 24px;
}

.how-step-image {
  background: var(--paper-3);
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.how-step-image img {
  width: 100%;
  max-width: 240px;
  margin: 0 auto;
  display: block;
  border-radius: 22px;
  box-shadow: var(--shadow-md);
}

/* =========================================================
   Kitchen companion (Shopping list + Cooking Mode)
   ========================================================= */
.kitchen {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
}

.kitchen-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 64px;
}

.kitchen-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px 40px 0;
  overflow: hidden;
}

.kitchen-card h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 10px;
}

.kitchen-card h3 .pill { vertical-align: 5px; }

.kitchen-card > p {
  font-size: 0.98rem;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 20px;
}

.kitchen-card > p em {
  font-style: italic;
  color: var(--accent-2);
}

.kitchen-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}

.kitchen-points li {
  display: flex;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-2);
  line-height: 1.55;
}

.kitchen-points li svg {
  flex-shrink: 0;
  width: 18px; height: 18px;
  color: var(--accent-2);
  margin-top: 2px;
}

/* Phone screenshot peeking from the card bottom */
.kitchen-shot {
  margin-top: auto;
  align-self: center;
  width: min(68%, 270px);
  max-height: 350px;
  overflow: hidden;
  background: #0A0A0A;
  border-radius: 34px 34px 0 0;
  padding: 9px 9px 0;
  box-shadow: var(--shadow-lg), 0 0 0 1.5px #1f1f1f inset;
}

.kitchen-shot img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 26px 26px 0 0;
}

/* =========================================================
   AI spotlight
   ========================================================= */
.ai-spotlight {
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.ai-spotlight .section-label { color: var(--accent-2); }
.ai-spotlight .section-label::before { background: var(--accent-2); }

.ai-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 56px;
}

.ai-card {
  background: var(--paper);
  padding: 34px 32px 36px;
  transition: background var(--t);
}

.ai-card:hover { background: var(--paper-2); }

.ai-card .feature-icon {
  background: var(--accent-soft);
  color: var(--accent-2);
}

.ai-card h3 {
  font-family: var(--font-sans);
  font-size: 1.08rem;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.ai-card p {
  font-size: 0.94rem;
  color: var(--text-2);
  line-height: 1.6;
}

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

/* =========================================================
   Pricing
   ========================================================= */
.pricing {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 64px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.price-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  position: relative;
}

.price-card.featured {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.price-card.featured .price-feat svg { color: var(--accent); }
.price-card.featured h3 { color: #fff; }
.price-card.featured .price-amount { color: #fff; }
.price-card.featured .price-period { color: rgba(255,255,255,0.6); }
.price-card.featured .price-sub { color: rgba(255,255,255,0.75); }
.price-card.featured .price-feat { color: rgba(255,255,255,0.88); }

.price-tag {
  position: absolute;
  top: 18px; right: 18px;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
}

.price-card h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  color: var(--ink);
}

.price-sub {
  font-size: 0.9rem;
  color: var(--text-2);
  margin-bottom: 22px;
}

.price-amount-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 4px;
}

.price-amount {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1;
}

.price-period {
  font-size: 0.95rem;
  color: var(--text-3);
}

.price-amount-alt {
  font-size: 0.85rem;
  color: var(--text-3);
  margin-bottom: 24px;
}

.price-plans {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 6px;
}

.price-plan {
  font-size: 0.86rem;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.85);
  white-space: nowrap;
}

.price-plan strong { color: #fff; font-weight: 700; }

.price-plan-best {
  background: var(--accent-soft-2);
  border-color: rgba(255,255,255,0.28);
}

.price-save {
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-left: 4px;
}

.price-features {
  list-style: none;
  margin: 24px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.price-feat {
  display: flex;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.5;
}

.price-feat svg {
  flex-shrink: 0;
  width: 18px; height: 18px;
  color: var(--accent-2);
  margin-top: 2px;
}

.price-card .btn { width: 100%; justify-content: center; }

.price-card.featured .btn-primary { background: var(--accent); color: var(--ink); }
.price-card.featured .btn-primary:hover { background: #fff; }

.pricing-note {
  text-align: center;
  margin-top: 32px;
  font-size: 0.88rem;
  color: var(--text-3);
}

/* =========================================================
   iPad section
   ========================================================= */
.ipad-section {
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  position: relative;
}

.ipad-section::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(255,138,91,0.10) 0%, transparent 60%);
  pointer-events: none;
}

.ipad-section .section-label { color: var(--accent); }
.ipad-section .section-label::before { background: var(--accent); }
.ipad-section .section-title { color: #fff; }
.ipad-section .section-subtitle { color: rgba(255,255,255,0.7); }

.ipad-section .container {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.ipad-features {
  list-style: none;
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ipad-features li {
  display: flex;
  gap: 12px;
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
}

.ipad-features li svg {
  flex-shrink: 0;
  width: 22px; height: 22px;
  color: var(--accent);
}

.ipad-mockup {
  position: relative;
  aspect-ratio: 2064 / 2752;
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
  background: #1A1A1A;
  border-radius: 28px;
  padding: 12px;
  box-shadow: var(--shadow-xl);
}

.ipad-mockup img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

/* =========================================================
   Privacy
   ========================================================= */
.privacy {
  background: var(--paper);
}

.privacy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-top: 48px;
}

.privacy-visual {
  position: sticky;
  top: 100px;
}

.privacy-card {
  background: var(--paper-3);
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  text-align: center;
  border: 1px solid var(--line);
}

.privacy-shield {
  width: 84px; height: 84px;
  margin: 0 auto 18px;
  background: var(--ink);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.privacy-shield svg { width: 38px; height: 38px; }

.privacy-card h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.6rem;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.privacy-card p {
  font-size: 0.95rem;
  color: var(--text-2);
  line-height: 1.6;
}

.privacy-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.privacy-list li {
  border-left: 2px solid var(--line);
  padding: 4px 0 4px 22px;
}

.privacy-list li.on-device {
  border-left-color: var(--accent-2);
}

.privacy-list h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.privacy-list p {
  font-size: 0.95rem;
  color: var(--text-2);
  line-height: 1.6;
}

.privacy-list .tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 8px;
  vertical-align: 2px;
}

.tag-onDevice { background: #E9F5EC; color: #1F7A37; }
.tag-network { background: var(--accent-soft); color: var(--accent-2); }

/* =========================================================
   Help Center
   ========================================================= */
.help {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 56px;
}

.help-article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--t), box-shadow var(--t);
}

.help-article[open] {
  border-color: var(--ink);
  box-shadow: var(--shadow-md);
}

.help-article > summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
  transition: background var(--t);
}

.help-article > summary::-webkit-details-marker { display: none; }
.help-article > summary:hover { background: var(--paper-2); }

.help-article-title {
  display: flex;
  align-items: center;
  gap: 14px;
}

.help-article-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--accent-2);
  width: 28px;
}

.help-chevron {
  width: 18px; height: 18px;
  color: var(--text-3);
  flex-shrink: 0;
  transition: transform var(--t);
}

.help-article[open] .help-chevron {
  transform: rotate(180deg);
  color: var(--ink);
}

.help-body {
  padding: 0 26px 26px 68px;
  color: var(--text-2);
  font-size: 0.95rem;
  line-height: 1.7;
}

.help-body p + p { margin-top: 12px; }
.help-body ul { padding-left: 18px; margin: 8px 0 4px; }
.help-body ul li { margin-bottom: 4px; }
.help-body strong { color: var(--ink); }

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

.faq-list {
  max-width: 820px;
  margin: 56px auto 0;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 26px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 1.08rem;
  font-weight: 500;
  color: var(--ink);
  transition: color var(--t);
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent-2); }

.faq-chevron {
  flex-shrink: 0;
  width: 22px; height: 22px;
  color: var(--text-3);
  transition: transform var(--t);
}

.faq-item[open] .faq-chevron {
  transform: rotate(45deg);
  color: var(--accent-2);
}

.faq-body {
  padding: 0 0 28px;
  max-width: 700px;
  color: var(--text-2);
  font-size: 0.98rem;
  line-height: 1.7;
}

.faq-body p + p { margin-top: 12px; }
.faq-body strong { color: var(--ink); }

/* =========================================================
   CTA
   ========================================================= */
.cta {
  background: var(--paper-3);
  padding: 100px 0;
  text-align: center;
  border-top: 1px solid var(--line);
}

.cta .container { max-width: 720px; }

.cta h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--ink);
}

.cta p {
  font-size: 1.08rem;
  color: var(--text-2);
  margin-bottom: 36px;
  line-height: 1.6;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* =========================================================
   Footer
   ========================================================= */
footer {
  background: var(--ink);
  color: rgba(255,255,255,0.6);
  padding: 64px 24px 28px;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand-block .footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-brand-block .footer-logo img {
  width: 32px; height: 32px;
  border-radius: 8px;
}

.footer-brand-block .footer-logo span {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: #fff;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.footer-brand-block p {
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 340px;
  color: rgba(255,255,255,0.55);
}

.footer-col h4 {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  font-weight: 600;
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  transition: color var(--t);
}

.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  max-width: 1180px;
  margin: 0 auto;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}

/* =========================================================
   Reveal animations
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-d1 { transition-delay: 0.06s; }
.reveal-d2 { transition-delay: 0.12s; }
.reveal-d3 { transition-delay: 0.18s; }
.reveal-d4 { transition-delay: 0.24s; }
.reveal-d5 { transition-delay: 0.30s; }

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

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { height: 540px; max-width: 480px; margin: 0 auto; }
  .features-head { grid-template-columns: 1fr; gap: 20px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .how-steps { grid-template-columns: 1fr 1fr; gap: 40px; }
  .ipad-section .container { grid-template-columns: 1fr; gap: 56px; }
  .privacy-grid { grid-template-columns: 1fr; gap: 48px; }
  .privacy-visual { position: static; }
  .help-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  section { padding: 80px 0; }
  .pitch { padding: 88px 0; }

  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 24px;
    gap: 14px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }

  .nav-links.open { display: flex; }

  .nav-toggle { display: block; }
  .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

  .lang-switcher {
    width: 100%;
    border-top: 1px solid var(--line);
    padding-top: 14px;
    margin-top: 4px;
  }

  .lang-toggle { width: 100%; justify-content: center; }
  .lang-menu { position: static; box-shadow: none; margin-top: 8px; }

  .hero { padding: 132px 0 80px; }
  .hero-visual { height: 480px; max-width: 380px; }
  .phone-frame.primary { width: 250px; height: 510px; right: 20px; }
  .phone-frame.secondary { width: 200px; height: 410px; }

  .marquee-inner { gap: 28px; font-size: 0.88rem; }
  .marquee-divider { display: none; }

  .features-grid { grid-template-columns: 1fr; }
  .feature-card.wide { grid-column: auto; }

  .how-steps { grid-template-columns: 1fr; gap: 48px; }
  .how-step-image img { max-width: 220px; }

  .kitchen-grid { grid-template-columns: 1fr; gap: 18px; }
  .kitchen-card { padding: 36px 28px 0; }

  .pricing-grid { grid-template-columns: 1fr; gap: 18px; }

  .help-body { padding-left: 26px; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-visual { height: 420px; max-width: 320px; }
  .phone-frame.primary { width: 210px; height: 430px; right: 0; }
  .phone-frame.secondary { width: 165px; height: 340px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn, .hero-actions .app-store-badge { width: 100%; justify-content: center; }
  .hero-actions .app-store-badge img { width: 100%; height: auto; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn, .cta-actions .app-store-badge { width: 100%; justify-content: center; }
  .cta-actions .app-store-badge img { width: 100%; height: auto; }
}
