@font-face {
  font-family: "Manrope";
  src: url("assets/manrope-variable.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant";
  src: url("assets/cormorant-garamond-variable.ttf") format("truetype");
  font-weight: 300 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #102f2a;
  --ink-soft: #31534b;
  --forest: #174f42;
  --forest-deep: #0a2a25;
  --paper: #f3ecd9;
  --paper-bright: #fffaf0;
  --sage: #8ba08c;
  --gold: #bd8b3c;
  --gold-light: #e2c27f;
  --coral: #a75b56;
  --lavender: #596687;
  --line: rgba(16, 47, 42, 0.16);
  --shadow: 0 28px 80px rgba(7, 31, 27, 0.18);
  --radius: 24px;
  --content: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", system-ui, sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  pointer-events: none;
  opacity: 0.34;
  background-image: radial-gradient(circle at 20% 10%, rgba(255,255,255,.7), transparent 32%),
                    repeating-linear-gradient(35deg, transparent 0 8px, rgba(25,66,54,.016) 8px 9px);
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 16px;
  color: white;
  background: var(--forest-deep);
  border-radius: 10px;
  transform: translateY(-150%);
}

.skip-link:focus { transform: none; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  height: 78px;
  padding: 0 max(24px, calc((100vw - var(--content)) / 2));
  color: rgba(255,255,255,.88);
  transition: background .35s ease, box-shadow .35s ease, color .35s ease;
}

.site-header.scrolled {
  color: var(--ink);
  background: rgba(246, 240, 222, .9);
  box-shadow: 0 8px 30px rgba(12, 41, 34, .1);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand img { border-radius: 12px; box-shadow: 0 6px 18px rgba(0,0,0,.2); }

nav { display: flex; align-items: center; gap: 30px; }
nav a { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; }
nav a:hover, nav a:focus-visible { color: var(--gold-light); }
.scrolled nav a:hover, .scrolled nav a:focus-visible { color: var(--coral); }

.language-toggle {
  justify-self: end;
  width: 46px;
  height: 34px;
  color: inherit;
  font: 700 .75rem "Manrope", sans-serif;
  letter-spacing: .08em;
  background: rgba(255,255,255,.1);
  border: 1px solid currentColor;
  border-radius: 999px;
  cursor: pointer;
}

.language-toggle:hover, .language-toggle:focus-visible { background: rgba(255,255,255,.2); }
.scrolled .language-toggle { background: rgba(16,47,42,.04); }

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  color: #f6efd9;
  background: var(--forest-deep);
}

.hero-backdrop {
  position: absolute;
  inset: -4%;
  z-index: -3;
  background-image: linear-gradient(180deg, rgba(4,25,23,.28), rgba(3,24,21,.63)), url("assets/garden-hero.jpg");
  background-position: center;
  background-size: cover;
  filter: saturate(.72) contrast(1.06);
  transform: scale(1.04);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background: radial-gradient(circle at 50% 52%, rgba(246,234,193,.19), transparent 32%),
              linear-gradient(90deg, rgba(1,20,18,.42), transparent 25% 75%, rgba(1,20,18,.42));
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  z-index: -1;
  content: "";
  background: linear-gradient(transparent, var(--paper));
}

.hero-orb {
  position: absolute;
  z-index: -1;
  width: 340px;
  aspect-ratio: 1;
  border: 1px solid rgba(218,184,110,.24);
  border-radius: 50%;
}

.orb-one { top: 16%; left: -210px; }
.orb-two { right: -190px; bottom: 18%; width: 280px; }

.hero-content {
  display: flex;
  align-items: center;
  flex-direction: column;
  max-width: 850px;
  padding: 110px 24px 160px;
  text-align: center;
}

.hero-mark { width: 112px; height: 168px; object-fit: contain; margin-bottom: 8px; filter: drop-shadow(0 8px 26px rgba(0,0,0,.28)); }
.eyebrow { margin: 0 0 18px; color: var(--gold); font-size: .72rem; font-weight: 750; letter-spacing: .24em; text-transform: uppercase; }
.hero .eyebrow { color: var(--gold-light); }

h1, h2, h3 { font-family: "Cormorant", Georgia, serif; font-weight: 500; line-height: 1.05; }
h1 { margin: 0; font-size: clamp(4.7rem, 11vw, 8.5rem); letter-spacing: -.035em; }
.hero-subtitle { margin: -4px 0 26px; color: var(--gold-light); font-family: "Cormorant", serif; font-size: clamp(1.6rem, 3vw, 2.25rem); letter-spacing: .18em; text-transform: uppercase; }
.hero-copy { max-width: 680px; margin: 0; color: rgba(255,255,255,.78); font-size: clamp(1rem, 2vw, 1.2rem); }

.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 36px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  font-size: .82rem;
  font-weight: 750;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-primary { color: white; background: var(--forest); box-shadow: 0 12px 28px rgba(7,40,34,.22); }
.button-primary:hover, .button-primary:focus-visible { background: #216556; box-shadow: 0 15px 36px rgba(7,40,34,.3); }
.button-ghost { color: white; border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.06); }
.button-ghost:hover, .button-ghost:focus-visible { background: rgba(255,255,255,.14); }

.availability { display: flex; align-items: center; gap: 9px; margin: 25px 0 0; color: rgba(255,255,255,.6); font-size: .76rem; }
.status-dot { width: 7px; height: 7px; background: #8ac69c; border-radius: 50%; box-shadow: 0 0 0 5px rgba(138,198,156,.1); }
.scroll-cue { position: absolute; bottom: 52px; width: 30px; height: 48px; border: 1px solid rgba(255,255,255,.38); border-radius: 999px; }
.scroll-cue span { position: absolute; top: 10px; left: 50%; width: 4px; height: 8px; background: var(--gold-light); border-radius: 2px; transform: translateX(-50%); animation: scrollCue 1.8s ease-in-out infinite; }

@keyframes scrollCue { 0%, 100% { opacity: .35; transform: translate(-50%, 0); } 50% { opacity: 1; transform: translate(-50%, 15px); } }

.section { max-width: var(--content); margin: 0 auto; padding: 120px 28px; }
.section-heading { max-width: 820px; margin: 0 auto 70px; text-align: center; }
h2 { margin: 0 0 24px; font-size: clamp(2.7rem, 6vw, 5rem); letter-spacing: -.025em; }
.section-heading > p:last-child { max-width: 700px; margin: 0 auto; color: var(--ink-soft); font-size: 1.02rem; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card { position: relative; min-height: 280px; padding: 42px 34px; overflow: hidden; background: rgba(255,250,240,.64); border: 1px solid rgba(103,90,59,.14); border-radius: var(--radius); box-shadow: 0 18px 50px rgba(40,55,44,.06); }
.feature-card::after { position: absolute; right: -42px; bottom: -42px; width: 135px; height: 135px; content: ""; border: 1px solid rgba(189,139,60,.2); border-radius: 50%; }
.feature-number { color: var(--gold); font-size: .74rem; font-weight: 800; letter-spacing: .18em; }
.feature-card h3 { margin: 48px 0 16px; font-size: 2rem; }
.feature-card p { margin: 0; color: var(--ink-soft); font-size: .92rem; }

.showcase { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 70px; padding-top: 70px; }
.showcase-copy > p:not(.eyebrow) { color: var(--ink-soft); }
.botanical-list { display: grid; gap: 13px; margin: 30px 0 0; padding: 0; list-style: none; }
.botanical-list li { position: relative; padding-left: 28px; color: var(--ink-soft); font-size: .9rem; }
.botanical-list li::before { position: absolute; top: .6em; left: 3px; width: 9px; height: 14px; content: ""; background: var(--forest); border-radius: 100% 0 100% 0; transform: rotate(-35deg); }
.phone-gallery { position: relative; min-height: 760px; }
.phone { position: absolute; width: min(310px, 55%); margin: 0; overflow: hidden; background: var(--paper-bright); border: 8px solid rgba(255,251,240,.92); border-radius: 34px; box-shadow: var(--shadow); }
.phone img { width: 100%; aspect-ratio: 621/1344; object-fit: cover; }
.phone-back { top: 20px; left: 5%; transform: rotate(-5deg); }
.phone-front { right: 4%; bottom: 0; transform: rotate(4deg); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); color: var(--paper); background: var(--forest-deep); }
.stat { display: flex; align-items: center; flex-direction: column; justify-content: center; min-height: 235px; text-align: center; border-right: 1px solid rgba(255,255,255,.1); }
.stat:last-child { border: 0; }
.stat strong { color: var(--gold-light); font-family: "Cormorant", serif; font-size: clamp(3.4rem, 7vw, 5.7rem); font-weight: 400; line-height: 1; }
.stat span { margin-top: 12px; color: rgba(255,255,255,.58); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }

.modes { max-width: 1280px; }
.mode-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mode-card { position: relative; min-height: 410px; padding: 44px 38px; overflow: hidden; color: white; border-radius: var(--radius); box-shadow: var(--shadow); }
.mode-card::before { position: absolute; inset: 0; z-index: -1; content: ""; opacity: .85; background-position: center; background-size: cover; }
.mode-card::after { position: absolute; inset: 0; z-index: -1; content: ""; background: linear-gradient(180deg, rgba(4,25,21,.08), rgba(4,25,21,.88)); }
.campaign::before { background-image: url("assets/garden-hero.jpg"); }
.daily::before { background-image: url("assets/game-home.jpg"); background-position: center 15%; }
.endless::before { background-image: url("assets/game-puzzle.jpg"); background-position: center 30%; }
.mode-kicker { margin: 0; color: var(--gold-light); font-size: .68rem; font-weight: 800; letter-spacing: .2em; }
.mode-card h3 { margin: 205px 0 16px; font-size: 2.7rem; }
.mode-card p:last-child { margin: 0; color: rgba(255,255,255,.72); font-size: .88rem; }

.fairness { max-width: 1280px; padding-top: 50px; }
.fairness-panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; padding: 70px; color: var(--paper); background: var(--forest-deep); border-radius: 34px; box-shadow: var(--shadow); }
.fairness-panel h2 { margin: 0; font-size: clamp(2.8rem, 5vw, 4.7rem); }
.fairness-copy { display: grid; gap: 22px; align-content: center; }
.fairness-copy p { margin: 0; color: rgba(255,255,255,.67); }
.fairness-copy strong { color: var(--gold-light); }

.release { display: grid; grid-template-columns: 230px 1fr; align-items: center; gap: 65px; }
.release > img { width: 210px; border-radius: 48px; box-shadow: var(--shadow); }
.release-copy h2 { max-width: 760px; }
.release-copy > p:not(.eyebrow) { max-width: 680px; color: var(--ink-soft); }
.text-link { display: inline-block; margin-top: 16px; color: var(--forest); font-weight: 800; text-decoration-color: var(--gold); text-underline-offset: 5px; }

.privacy { max-width: none; padding-right: max(28px, calc((100vw - var(--content)) / 2)); padding-left: max(28px, calc((100vw - var(--content)) / 2)); background: rgba(231,224,203,.8); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.privacy-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.privacy-card { padding: 34px; background: rgba(255,250,240,.67); border: 1px solid var(--line); border-radius: 18px; }
.privacy-card h3 { margin: 0 0 12px; font-size: 1.7rem; }
.privacy-card p { margin: 0; color: var(--ink-soft); font-size: .88rem; }
.privacy-footer { max-width: 820px; margin: 36px auto 0; color: var(--ink-soft); text-align: center; font-size: .84rem; }
.privacy-footer a { color: var(--forest); font-weight: 750; }

.support { padding-top: 80px; padding-bottom: 80px; }
.support-panel { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 50px; padding: 58px 64px; background: var(--paper-bright); border: 1px solid var(--line); border-radius: var(--radius); }
.support-panel h2 { margin-bottom: 12px; font-size: clamp(2.3rem, 4vw, 3.7rem); }
.support-panel p:not(.eyebrow) { max-width: 680px; margin: 0; color: var(--ink-soft); }

footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; min-height: 130px; padding: 30px max(28px, calc((100vw - var(--content)) / 2)); color: rgba(255,255,255,.58); background: #071f1c; font-size: .75rem; }
.footer-brand { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.82); font-weight: 700; }
.footer-brand img { border-radius: 10px; }
footer > p { text-align: center; }
.footer-links { display: flex; justify-content: flex-end; gap: 20px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover, .footer-links a:focus-visible { color: var(--gold-light); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: none; }

:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 4px; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; padding: 0 20px; }
  .site-header nav { display: none; }
  .showcase { grid-template-columns: 1fr; }
  .showcase-copy { max-width: 720px; margin: 0 auto; text-align: center; }
  .botanical-list { width: max-content; max-width: 100%; margin-right: auto; margin-left: auto; text-align: left; }
  .phone-gallery { width: min(680px, 100%); min-height: 700px; margin: 0 auto; }
  .mode-grid { grid-template-columns: 1fr; }
  .mode-card { min-height: 330px; }
  .mode-card h3 { margin-top: 140px; }
  .fairness-panel { grid-template-columns: 1fr; gap: 30px; padding: 50px; }
  .release { grid-template-columns: 170px 1fr; gap: 40px; }
  .release > img { width: 170px; }
}

@media (max-width: 680px) {
  .section { padding: 88px 20px; }
  .hero-content { padding-top: 92px; }
  .hero-mark { width: 86px; height: 129px; }
  .hero-actions { width: 100%; }
  .hero-actions .button { width: 100%; max-width: 340px; }
  .scroll-cue { display: none; }
  .feature-grid, .privacy-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 220px; }
  .feature-card h3 { margin-top: 28px; }
  .phone-gallery { min-height: 570px; }
  .phone { width: 58%; border-width: 5px; border-radius: 24px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { min-height: 175px; border-bottom: 1px solid rgba(255,255,255,.1); }
  .stat:nth-child(2) { border-right: 0; }
  .fairness-panel { padding: 38px 26px; border-radius: 22px; }
  .release { grid-template-columns: 1fr; text-align: center; }
  .release > img { width: 150px; margin: 0 auto; }
  .release-copy > p:not(.eyebrow) { margin-right: auto; margin-left: auto; }
  .support-panel { grid-template-columns: 1fr; gap: 28px; padding: 38px 28px; text-align: center; }
  .support-panel .button { width: 100%; }
  footer { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer-links { justify-content: center; }
  footer > p { margin: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
