/* Approved garden design. Base style.css continues to own the legal/support pages. */
.landing-page {
  --bg: #fffdf4;
  --bg-subtle: #f0f5e9;
  --text: #173b2b;
  --text-secondary: #526553;
  --text-tertiary: #657762;
  --border: #dbe3d3;
  --card-bg: #fffef9;
  --nav-bg: rgba(255, 253, 244, .96);
  --emerald: #386e28;
  --section-gap: clamp(72px, 8vw, 112px);
  font-weight: 400;
  overflow-x: clip;
}
[data-theme="dark"] .landing-page {
  --bg: #17261e;
  --bg-subtle: #20352a;
  --text: #fff9eb;
  --text-secondary: #c3d1bf;
  --text-tertiary: #abbda4;
  --border: #3c5140;
  --card-bg: #203328;
  --nav-bg: rgba(23, 38, 30, .96);
  --emerald: #b3e59d;
  --emerald-light: #b3e59d;
}
.landing-page :focus-visible { outline: 3px solid var(--emerald); outline-offset: 5px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 16px; transform: translateY(-160%); padding: 12px 20px; background: var(--bg); color: var(--text); z-index: 200; border: 1px solid var(--border); border-radius: 8px; }
.skip-link:focus { transform: none; }
.landing-page .nav { padding: 19px 32px; }
.landing-page .nav-inner { max-width: 1248px; }
.landing-page .nav-logo { flex-shrink: 0; display: block; }
.landing-page .nav-logo img { width: 250px; height: auto; border-radius: 0; }
.brand-dark { display: none !important; }
[data-theme="dark"] .brand-light { display: none !important; }
[data-theme="dark"] .brand-dark { display: block !important; }
.landing-page .nav-actions { gap: 20px; }
.landing-page .theme-toggle { width: 44px; height: 44px; color: var(--text); border: 1px solid var(--border); }
.theme-toggle img { width: 20px; height: 20px; }
[data-theme="dark"] .theme-toggle img,
[data-theme="dark"] .language-menu summary img { filter: invert(1); }
.language-menu { position: relative; }
.language-menu summary { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--border); border-radius: 24px; list-style: none; font-weight: 500; font-size: 14px; cursor: pointer; }
.language-menu summary::-webkit-details-marker { display: none; }
.language-menu .lang-switch { position: absolute; right: 0; top: calc(100% + 10px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 8px; min-width: 192px; background: var(--bg); border-radius: 16px; box-shadow: var(--card-shadow); }
.language-menu .lang-switch a { min-width: 52px; min-height: 44px; justify-content: center; font-size: 14px; }
.landing-page .nav-actions .app-store-badge-link img { height: 40px !important; }
.landing-page .nav.scrolled { padding-top: 7px; padding-bottom: 7px; }
.landing-page .nav.scrolled .nav-logo img { width: 200px; }

/* The illustration is separate from editable copy, controls and native app UI. */
.landing-page .hero { display: block; padding: 0; min-height: 900px; text-align: left; position: relative; isolation: isolate; overflow: clip; }
.hero-backdrop { position: absolute; inset: 0; z-index: -1; background: url('../assets/hero/garden-light.webp') center / cover no-repeat; }
[data-theme="dark"] .hero-backdrop { background-image: url('../assets/hero/garden-dark.webp'); }
.hero-inner { max-width: 1440px; min-height: 900px; margin: auto; position: relative; }
.hero-copy { position: relative; width: 43%; max-width: 530px; padding-top: 197px; margin-left: max(48px, calc((100% - 1248px) / 2)); z-index: 2; }
.hero-eyebrow { color: var(--emerald); text-transform: uppercase; letter-spacing: .085em; font-size: 16px; font-weight: 600; line-height: 1.5; margin-bottom: 25px; }
.landing-page .hero h1 { font-size: 88px; line-height: .97; letter-spacing: -.05em; margin: 0 0 28px; animation: none; }
.landing-page .hero h1 span { color: #528323; }
[data-theme="dark"] .landing-page .hero h1 span { color: #b3e59d; }
.landing-page .hero-sub { font-size: 23px; line-height: 1.4; max-width: 440px; margin: 0 0 14px; letter-spacing: 0; animation: none; }
.hero-detail { font-size: 17px; line-height: 1.5; max-width: 400px; margin-bottom: 28px; color: var(--text-secondary); }
.landing-page .hero-cta-group { display: flex; flex-direction: row; align-items: center; justify-content: flex-start; flex-wrap: wrap; gap: 16px 22px; margin: 0; animation: none; }
.hero-free-link { font-size: 16px; font-weight: 500; min-height: 44px; display: inline-flex; align-items: center; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--border); }
.hero-free-link:hover { text-decoration-color: currentColor; }
.hero-availability { font-size: 13px; line-height: 1.6; color: var(--text-secondary); margin-top: 12px; }
.hero-availability span { white-space: nowrap; }
.hero-scene { position: absolute; top: 162px; left: 47.5%; width: 300px; }
.hero-mobile-backdrop { display: none; }
.landing-page .hero-phone { width: 100%; position: relative; animation: none; }
/* Apple original: 1350×2760; native opening: x72/y69, 1206×2622. */
.landing-page .hero-phone .phone-frame { display: block; position: relative; width: 100%; aspect-ratio: 1350 / 2760; background: none; border: 0; border-radius: 0; box-shadow: none; overflow: visible; }
.landing-page .hero-carousel { position: absolute; left: 5.3333333333%; top: 2.5%; width: 89.3333333333%; height: 95%; mask-image: url('../assets/devices/iphone-17-pro-display-mask.png'); mask-size: 100% 100%; mask-repeat: no-repeat; }
.landing-page .hero-slide { transition: none; opacity: 1; }
.hero-slide[hidden] { display: none; }
.landing-page .device-bezel { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.hero-screen-caption { width: fit-content; max-width: 100%; font-size: 14px; font-weight: 500; line-height: 1.4; text-align: center; margin: 10px auto 0; padding: 2px 10px; min-height: 20px; border-radius: 6px; color: var(--text); background: var(--bg); }
.landing-page .hero-carousel-dots { margin-top: 7px; gap: 4px; }
.landing-page .carousel-dot { width: 44px; min-width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border); color: var(--text); background: var(--bg); font-size: 15px; font-weight: 500; transform: none; }
.landing-page .carousel-dot.active { color: var(--bg); background: var(--text); border-color: var(--text); transform: none; }
html:not([lang="de"]):not([lang="ja"]) .landing-page .hero h1 { font-size: clamp(62px, 5.6vw, 80px); line-height: 1.02; }
html[lang="ja"] .landing-page .hero h1 { font-size: clamp(42px, 4vw, 58px); line-height: 1.35; letter-spacing: 0; overflow-wrap: normal; }
html[lang="ja"] .hero-eyebrow { letter-spacing: .035em; }

/* The complete existing page follows the new first screen. */
.landing-page .highlights { padding: 28px 24px; border-bottom: 1px solid var(--border); background: var(--bg); }
.landing-page .highlights-row { align-items: center; gap: 16px; }
.health-badge { display: inline-flex; padding: 10px; }
.health-badge img { width: auto; height: 40px; max-width: none; opacity: 1; filter: none; box-shadow: none; }
.landing-page .pill { background: transparent; border: 0; font-size: 15px; }
.landing-page .container { max-width: 1140px; }
.landing-page .features-grid { gap: 20px; margin-top: 48px; }
.landing-page .feature-card { border-radius: 20px; padding: 32px; }
.landing-page .feature-card h3 { font-weight: 600; }
.landing-page #pricing { background: var(--bg-subtle); }
.landing-page .workflow-steps { gap: 36px; }
.landing-page .faq-list { max-width: 760px; margin-top: 44px; }
.landing-page .faq-question { list-style: none; gap: 24px; }
.landing-page .faq-question::-webkit-details-marker { display: none; }
.landing-page details.faq-item .faq-answer { max-height: none; overflow: visible; transition: none; }
.landing-page details.faq-item[open] .faq-icon { transform: rotate(45deg); }
.landing-page .faq-answer-inner { font-size: 16px; }
.landing-page .cta-banner { background: var(--bg-subtle); }
.footer-trademarks { max-width: 1100px; margin: 22px auto 0; text-align: center; font-size: 11px; line-height: 1.6; color: var(--text-tertiary); }
/* Content remains readable when JS or IntersectionObserver is unavailable. */
.landing-page .reveal, .landing-page .reveal-stagger > * { opacity: 1; transform: none; }

@media (min-width: 901px) and (max-width: 1199px) {
  .hero-copy { width: 41%; margin-left: 40px; padding-top: 180px; }
  .landing-page .hero h1 { font-size: 72px; }
  .landing-page .hero-sub { font-size: 20px; }
  .hero-scene { left: 49%; width: 260px; top: 195px; }
  .landing-page .hero, .hero-inner { min-height: 850px; }
}
@media (max-width: 900px) {
  .landing-page .nav, .landing-page .nav.scrolled { padding: 10px 20px; }
  .landing-page .nav-logo img, .landing-page .nav.scrolled .nav-logo img { width: 180px; }
  .landing-page .nav-actions { gap: 8px; }
  .landing-page .nav-actions .app-store-badge-link { display: none; }
  .language-menu summary { padding: 7px 10px; }
  .landing-page .hero, .hero-inner { min-height: 0; }
  .hero-backdrop { display: none; }
  .hero-copy { margin: 0 24px; width: auto; max-width: 590px; padding-top: 110px; }
  .hero-eyebrow { font-size: 12px; margin-bottom: 15px; }
  .landing-page .hero h1, html:not([lang="de"]):not([lang="ja"]) .landing-page .hero h1 { font-size: 52px; line-height: 1.04; margin-bottom: 20px; letter-spacing: -.04em; }
  html[lang="de"] .landing-page .hero h1 br:nth-of-type(2) { display: none; }
  html[lang="de"] .landing-page .hero h1 span:before { content: ' '; }
  html[lang="ja"] .landing-page .hero h1 { font-size: 38px; line-height: 1.4; }
  .landing-page .hero-sub { font-size: 18px; line-height: 1.4; margin-bottom: 10px; max-width: 490px; }
  .hero-detail { font-size: 14px; max-width: 455px; line-height: 1.45; margin-bottom: 16px; }
  .landing-page .hero-cta-group { gap: 10px 18px; }
  .landing-page .hero-cta-group img { height: 46px !important; }
  .hero-free-link { font-size: 14px; }
  .hero-availability { font-size: 12px; margin-top: 9px; }
  .hero-scene { position: relative; left: auto; top: auto; width: 100%; margin-top: 16px; padding: 0 24px 16px; min-height: 480px; isolation: isolate; }
  .hero-mobile-backdrop { display: block; position: absolute; inset: -80px 0 0; z-index: -1; background: url('../assets/hero/garden-light.webp') right bottom / auto 580px no-repeat; mask-image: linear-gradient(to bottom, transparent, #000 100px); }
  [data-theme="dark"] .hero-mobile-backdrop { background-image: url('../assets/hero/garden-dark.webp'); }
  .landing-page .hero-phone { width: 196px; }
  .hero-screen-caption { font-size: 12px; }
  .landing-page .hero-carousel-dots { width: max-content; gap: 3px; }
  .landing-page .carousel-dot { width: 44px; height: 44px; }
  .landing-page .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .landing-page .nav, .landing-page .nav.scrolled { padding-left: 18px; padding-right: 18px; }
  .landing-page .nav-logo img, .landing-page .nav.scrolled .nav-logo img { width: 154px; }
  .landing-page .hero h1, html:not([lang="de"]):not([lang="ja"]) .landing-page .hero h1 { font-size: 44px; }
  html[lang="ja"] .landing-page .hero h1 { font-size: 32px; }
  .hero-copy { margin: 0 22px; padding-top: 92px; }
  .landing-page .hero-sub { font-size: 17px; }
  .hero-detail { font-size: 13px; }
  .hero-availability span { display: inline; }
  .hero-scene { padding-left: 16px; padding-bottom: 8px; min-height: 400px; }
  .hero-mobile-backdrop { right: -75px; background-size: 770px 481px; }
  .landing-page .hero-phone { width: 154px; }
  .landing-page .hero-carousel-dots { width: max-content; gap: 4px; }
  .landing-page .features-grid { grid-template-columns: 1fr; }
  .landing-page .highlights-row { gap: 8px 12px; }
  .landing-page .pill { font-size: 13px; padding: 8px; }
  .landing-page .feature-card { padding: 28px; }
}
@media (prefers-reduced-motion: no-preference) {
  .landing-page .nav-logo { animation: brand-arrive .5s ease-out both; }
  @keyframes brand-arrive { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
}
