/* =========================================================
   Drawsy — Landing Page
   Light theme — warm cream/paper. Brand font: Fredoka (headings).
   Primary accent: #FF9216 (Figma: Color/Basic/Bright Orange).
   ========================================================= */

:root {
  /* Brand colors — from Figma Design System */
  --bg-base:    #FFF7EE;    /* Orange Blush/50 — warm cream paper */
  --bg-surface: #FFFCF8;    /* Near-white warm */
  --bg-card:    #FFFFFF;    /* Pure white cards */
  --bg-card-2:  #FFF4E6;    /* Tinted cream */
  --line:       #FFE0BB;    /* Warm border — Orange Blush/200 mix */
  --line-strong:#FFCF98;    /* Orange Blush/300 */

  --text:       #3D2200;    /* Deep warm brown */
  --text-strong:#140B00;    /* Near-black warm (Figma Color/UI/Black) */
  --text-muted: #8B5E3C;    /* Warm brown muted */
  --text-dim:   #C4956A;    /* Light warm */

  --orange:       #FFAF54;  /* Primary button (Figma Orange Blush/500) */
  --orange-strong:#FFA742;  /* Hover state */
  --orange-light: #FFC87A;  /* Lighter accent */
  --orange-pale:  #FFF0DC;  /* Very pale orange for backgrounds */
  --green:  #0AB33B;
  --red:    #EF4444;

  /* Typography */
  --font-h: 'Fredoka', system-ui, -apple-system, sans-serif;  /* Playful brand heading */
  --font-b: 'Inter',  system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;

  /* Layout */
  --container:  1280px;
  --gutter:     24px;
  --radius:     18px;
  --radius-pill:999px;
  --header-h:   78px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-b);
  background: var(--bg-base);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.5;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* =========================================================
   Paper grain texture — subtle noise overlay for the paper feel
   ========================================================= */
.paper-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.042;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='320' height='320' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 320px 320px;
  background-repeat: repeat;
}

/* =========================================================
   Background ambient glow — very gentle warm orange washes
   that breathe softly, like sunlight on paper
   ========================================================= */
.bg-glow { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.bg-glow > div {
  position: absolute;
  border-radius: 50%;
  filter: blur(180px);
  will-change: transform, opacity;
}
.bg-glow__a {
  width: 900px; height: 900px;
  left: 50%; top: 30%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 146, 22, 0.10), transparent 65%);
  animation: glow-drift-a 28s ease-in-out infinite, glow-pulse-a 14s ease-in-out infinite;
}
.bg-glow__b {
  width: 700px; height: 700px;
  right: -100px; top: 5%;
  background: radial-gradient(circle, rgba(255, 200, 100, 0.08), transparent 65%);
  animation: glow-drift-b 34s ease-in-out infinite, glow-pulse-b 18s ease-in-out infinite;
}
.bg-glow__c {
  width: 800px; height: 800px;
  left: -120px; bottom: -120px;
  background: radial-gradient(circle, rgba(255, 175, 84, 0.07), transparent 65%);
  animation: glow-drift-c 30s ease-in-out infinite, glow-pulse-c 16s ease-in-out infinite;
}
@keyframes glow-drift-a {
  0%, 100% { translate: 0 0; }
  33%      { translate: 80px -60px; }
  66%      { translate: -60px 50px; }
}
@keyframes glow-drift-b {
  0%, 100% { translate: 0 0; }
  50%      { translate: -100px 80px; }
}
@keyframes glow-drift-c {
  0%, 100% { translate: 0 0; }
  40%      { translate: 70px -50px; }
  75%      { translate: -50px -80px; }
}
@keyframes glow-pulse-a { 0%, 100% { opacity: 1; }    50% { opacity: 0.65; } }
@keyframes glow-pulse-b { 0%, 100% { opacity: 0.80; } 50% { opacity: 1;    } }
@keyframes glow-pulse-c { 0%, 100% { opacity: 0.90; } 50% { opacity: 0.60; } }

main { position: relative; z-index: 1; }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-family: var(--font-b);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  white-space: nowrap;
  border: 0;
  transition: transform .15s ease, box-shadow .25s ease, background-color .2s ease, color .2s ease;
  text-align: center;
}
.btn--orange {
  background: var(--orange);
  color: var(--text-strong);
  box-shadow: 0 8px 28px rgba(255, 175, 84, 0.35);
}
.btn--orange:hover {
  background: var(--orange-strong);
  transform: translateY(-1px);
  box-shadow: 0 12px 36px rgba(255, 167, 66, 0.42);
}
.btn--lg { padding: 16px 32px; font-size: 16px; }

/* =========================================================
   Navigation (sticky)
   ========================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 14px 0;
  background: #FFFFFF;
  box-shadow:
    0 1px 0 rgba(255, 210, 160, 0.55),
    0 4px 12px rgba(255, 200, 140, 0.10),
    0 12px 36px rgba(200, 140, 80, 0.07),
    0 24px 56px rgba(180, 110, 50, 0.04);
}
.nav__inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-h);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0;
  color: var(--text-strong);
}
.nav__brand img {
  width: 36px; height: 36px;
  border-radius: 9px;
  object-fit: cover;
}
.nav__links {
  display: flex; align-items: center; gap: 36px;
}
.nav__links a {
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  position: relative;
  padding: 6px 2px;
  transition: color .15s ease;
}
.nav__links a:hover { color: var(--orange); }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--orange);
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .2s ease;
}
.nav__links a:hover::after { transform: scaleX(1); }

.nav__cta { padding: 10px 22px; font-size: 14px; }

/* Burger button */
.nav__burger {
  position: relative; display: none;
  width: 36px; height: 36px;
  background: transparent; border: 0; padding: 0;
  color: var(--text); cursor: pointer;
}
.nav__burger-bar {
  position: absolute; left: 7px; right: 7px;
  height: 2px; background: currentColor; border-radius: 2px;
  transform-origin: center;
  transition: transform .3s ease, top .3s ease, opacity .2s ease;
}
.nav__burger-bar:nth-child(1) { top: 11px; }
.nav__burger-bar:nth-child(2) { top: 17px; }
.nav__burger-bar:nth-child(3) { top: 23px; }
.nav.is-open .nav__burger-bar:nth-child(1) { top: 17px; transform: rotate(45deg); }
.nav.is-open .nav__burger-bar:nth-child(2) { opacity: 0; transform: scaleX(0.4); }
.nav.is-open .nav__burger-bar:nth-child(3) { top: 17px; transform: rotate(-45deg); }

.nav__inner { position: relative; z-index: 2; }

/* Mobile menu */
.nav__mobile {
  position: fixed; top: 0; left: 0; right: 0;
  background: #FFFFFF;
  padding: calc(var(--header-h) + 32px) var(--gutter) 56px;
  display: flex; flex-direction: column; align-items: center; gap: 32px;
  z-index: 1;
  transform: translateY(-100%);
  transition: transform .35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s .35s;
  pointer-events: none; visibility: hidden;
  box-shadow: 0 8px 32px rgba(140, 80, 20, 0.06);
}
.nav.is-open .nav__mobile {
  transform: translateY(0); pointer-events: auto; visibility: visible;
  transition: transform .35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s 0s;
}
.nav__mobile a {
  font-family: var(--font-h);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: 0;
  color: var(--text-strong);
}
.nav__mobile a:hover { color: var(--orange); }
.nav__mobile a.btn--orange {
  margin-top: 8px; padding: 14px 32px; font-size: 16px; color: var(--text-strong);
  font-family: var(--font-b);
}

/* =========================================================
   Section utilities
   ========================================================= */
.section-title {
  font-family: var(--font-h);
  font-weight: 600;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  text-align: center;
  margin: 0 0 48px;
  color: var(--text-strong);
}
section { padding: 80px 0; position: relative; }
section > * { position: relative; z-index: 1; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  min-height: 100vh;
  padding: calc(var(--header-h) + 70px) var(--gutter) 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.hero__eyebrow {
  font-size: 14px;
  font-weight: 600;
  color: var(--orange);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.hero__content {
  max-width: 860px;
  text-align: center;
  position: relative;
  z-index: 2;
}
/* Subtle graph-paper grid behind the hero text — hints at drawing/sketching */
.hero__content::before {
  content: "";
  position: absolute;
  inset: -56px -80px;
  background-image:
    linear-gradient(rgba(180, 110, 40, 0.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(180, 110, 40, 0.065) 1px, transparent 1px);
  background-size: 30px 30px;
  border-radius: 36px;
  z-index: -1;
  pointer-events: none;
  /* soft vignette fade at edges so grid dissolves into background */
  -webkit-mask-image: radial-gradient(ellipse 90% 85% at 50% 50%, black 40%, transparent 100%);
          mask-image: radial-gradient(ellipse 90% 85% at 50% 50%, black 40%, transparent 100%);
}
.hero__title {
  font-family: var(--font-h);
  font-weight: 600;
  font-size: clamp(48px, 8vw, 96px);
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin: 0 0 22px;
  color: var(--text-strong);
}
.hero__sub {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 38px;
  line-height: 1.6;
}
.hero__stores {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px;
  margin-bottom: 28px;
}
.store-badge { transition: transform .2s ease, opacity .2s ease; }
.store-badge:hover { transform: translateY(-2px) scale(1.02); opacity: 0.9; }

.hero__rating {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}
.hero__stars { color: var(--orange); font-size: 15px; letter-spacing: 1px; }

/* Hero visual: lifestyle scene + floating art */
.hero__visual {
  position: relative;
  margin-top: 56px;
  width: 100%;
  max-width: 960px;
  pointer-events: none;
}
.hero__scene {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 900px;
  height: auto;
  display: block;
  border-radius: 24px;
  box-shadow:
    0 40px 80px rgba(140, 80, 20, 0.18),
    0 0 0 1px rgba(255, 146, 22, 0.08);
}

/* Floating art images — z-index above the scene, two per side */
.float {
  position: absolute;
  display: block;
  pointer-events: none;
  animation: float-y 8s ease-in-out infinite;
  z-index: 2;
}
.float img {
  display: block;
  width: 100%;
  height: auto;
  filter:
    drop-shadow(0 14px 28px rgba(140, 80, 20, 0.22))
    drop-shadow(0 0 12px rgba(255, 146, 22, 0.10));
  animation: float-rot 18s ease-in-out infinite;
  border-radius: 18px;
  background: #FFFFFF;
}
/* Left side — top & bottom */
.float--1 { top: 4%;   left: -7%;  width: 158px; }
.float--1 img { transform: rotate(-7deg); animation-delay: 0s; }

.float--3 { bottom: 8%; left: -5%; width: 112px; animation-delay: -4s; }
.float--3 img { transform: rotate(-16deg); animation-delay: -6s; }

/* Right side — top & bottom */
.float--2 { top: 2%;   right: -6%; width: 130px; animation-delay: -2s; }
.float--2 img { transform: rotate(12deg); animation-delay: -3s; }

.float--4 { bottom: 6%; right: -5%; width: 148px; animation-delay: -1.5s; }
.float--4 img { transform: rotate(9deg); animation-delay: -9s; }

@keyframes float-y {
  0%, 100% { transform: translateY(var(--py, 0px)); }
  50%      { transform: translateY(calc(var(--py, 0px) - 14px)); }
}
@keyframes float-rot {
  0%, 100% { rotate: 0deg; }
  50%      { rotate: 5deg; }
}

/* =========================================================
   FEATURES — 6-column grid of App Store screenshots
   ========================================================= */
.features__heading { padding: 0 var(--gutter); }
.features__track {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  padding: 0 var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
}
.feat-card {
  position: relative;
  border-radius: 20px;
  padding: 10px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  box-shadow: 0 4px 18px rgba(140, 80, 20, 0.07);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  overflow: hidden;
  transition: transform .35s ease, border-color .25s ease, box-shadow .25s ease;
}
.feat-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 146, 22, 0.45);
  box-shadow: 0 12px 36px rgba(140, 80, 20, 0.14);
}
.feat-card__media {
  width: 100%;
  aspect-ratio: 9 / 19.5;
  border-radius: 12px;
  overflow: hidden;
}
.feat-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* =========================================================
   HOW IT WORKS
   ========================================================= */
.how { text-align: center; }
.how__steps {
  list-style: none;
  padding: 0; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 16px;
  max-width: var(--container);
}
.how-step {
  position: relative;
  width: 160px;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.how-step__num {
  position: absolute; top: -14px;
  width: 28px; height: 28px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-b); font-weight: 700; font-size: 13px;
  background: var(--orange);
  color: var(--text-strong);
  box-shadow: 0 6px 18px rgba(255, 175, 84, 0.40);
}
.how-step__icon {
  width: 84px; height: 84px; border-radius: 22px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--line);
  color: var(--text-strong);
  box-shadow: 0 6px 22px rgba(140, 80, 20, 0.10), inset 0 1px 0 rgba(255, 146, 22, 0.08);
}
.how-step__icon svg { width: 34px; height: 34px; display: block; }
.how-step p {
  font-size: 14px; font-weight: 600;
  margin: 0; color: var(--text); line-height: 1.3;
}
.how__arrow {
  width: 40px; height: 14px;
  color: var(--orange-light);
  flex-shrink: 0;
}

/* =========================================================
   ART GALLERY
   ========================================================= */
.gallery {
  padding: 80px var(--gutter);
  text-align: center;
}
.gallery__sub {
  margin: -24px auto 48px;
  font-size: 17px; line-height: 1.6;
  color: var(--text-muted);
  max-width: 640px;
  text-align: center;
}
/* Marquee container */
.gallery__marquee {
  position: relative;
  overflow: hidden;
  padding: 12px 0 20px;
  margin: 0 calc(-1 * var(--gutter));
}
/* Fade edges */
.gallery__marquee::before,
.gallery__marquee::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 220px;
  z-index: 2;
  pointer-events: none;
}
.gallery__marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-base) 20%, transparent 100%);
}
.gallery__marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-base) 20%, transparent 100%);
}
/* Scrolling track */
.gallery__track {
  display: flex;
  gap: 16px;
  width: max-content;
  padding: 8px var(--gutter);
  animation: gallery-marquee 50s linear infinite;
}
.gallery__track:hover { animation-play-state: paused; }
@keyframes gallery-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
/* Cards in marquee */
.gallery__marquee .art-card {
  width: 158px;
  flex: 0 0 158px;
}

.art-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px 12px 20px;
  text-align: center;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  box-shadow: 0 4px 14px rgba(140, 80, 20, 0.07);
}
.art-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 146, 22, 0.40);
  box-shadow: 0 10px 28px rgba(140, 80, 20, 0.12);
}
.art-card__img {
  width: 90px; height: 90px;
  display: block; margin: 0 auto 12px;
  object-fit: contain;
}
.art-card h3 {
  font-family: var(--font-h);
  font-weight: 600; font-size: 14px;
  margin: 0 0 4px; color: var(--text-strong);
}
.art-card span {
  font-size: 11px; color: var(--text-muted);
  display: block; margin-bottom: 9px;
}
.art-card__badge {
  display: inline-block;
  font-size: 10px; font-weight: 700; font-family: var(--font-b);
  padding: 3px 9px; border-radius: 999px; letter-spacing: 0.02em;
}
.art-card__badge--easy   { background: #DCFCE7; color: #166534; }
.art-card__badge--medium { background: #FEF3C7; color: #92400E; }
.art-card__badge--hard   { background: #FEE2E2; color: #991B1B; }

.gallery__cta { margin-top: 52px; }

/* =========================================================
   FAQ
   ========================================================= */
.faq { padding: 80px var(--gutter); }
.faq__list {
  max-width: 820px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 12px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 18px; overflow: hidden;
  transition: border-color .2s ease;
}
.faq-item[open] { border-color: rgba(255, 146, 22, 0.40); }
.faq-item summary {
  list-style: none; cursor: pointer;
  padding: 22px 26px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--font-b); font-weight: 600; font-size: 16px;
  color: var(--text-strong);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__icon {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--bg-base); border: 1px solid var(--line);
  position: relative; flex-shrink: 0;
  transition: transform .25s ease, background-color .2s ease;
}
.faq-item__icon::before,
.faq-item__icon::after {
  content: ""; position: absolute; background: var(--text-muted);
  left: 50%; top: 50%; transform: translate(-50%, -50%);
}
.faq-item__icon::before { width: 12px; height: 2px; }
.faq-item__icon::after  { width: 2px; height: 12px; transition: opacity .2s ease; }
.faq-item[open] .faq-item__icon { background: var(--orange); border-color: var(--orange); transform: rotate(180deg); }
.faq-item[open] .faq-item__icon::before,
.faq-item[open] .faq-item__icon::after { background: #FFFFFF; }
.faq-item[open] .faq-item__icon::after  { opacity: 0; }
.faq-item__body {
  padding: 0 26px 22px;
  color: var(--text-muted); font-size: 15px; line-height: 1.65;
}
.faq-item__body p { margin: 0; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact { padding: 80px var(--gutter); }
.contact__sub {
  text-align: center; font-size: 17px;
  color: var(--text-muted); max-width: 540px;
  margin: -32px auto 52px; line-height: 1.6;
}
.contact__form {
  max-width: 760px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 26px; padding: 36px;
  box-shadow: 0 8px 32px rgba(140, 80, 20, 0.08);
}
.contact__form-full { grid-column: 1 / -1; }
.contact__form label {
  display: flex; flex-direction: column; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--text);
}
.contact__form sup { color: var(--orange); }
.contact__form input,
.contact__form textarea {
  width: 100%; box-sizing: border-box;
  background: var(--bg-base);
  border: 1px solid var(--line); border-radius: 14px;
  padding: 13px 16px; color: var(--text-strong);
  font: 400 15px/1.4 var(--font-b);
  outline: none; resize: vertical;
  transition: border-color .2s ease, background-color .2s ease;
}
.contact__form input::placeholder,
.contact__form textarea::placeholder { color: var(--text-dim); }
.contact__form input:not(:placeholder-shown),
.contact__form textarea:not(:placeholder-shown) {
  background: var(--bg-card); border-color: var(--line-strong);
}
.contact__form input:focus,
.contact__form textarea:focus { border-color: var(--orange); background: var(--bg-card); }

/* Autofill override */
.contact__form input:-webkit-autofill,
.contact__form input:-webkit-autofill:hover {
  -webkit-box-shadow: 0 0 0 1000px var(--bg-card-2) inset;
  -webkit-text-fill-color: var(--text-strong);
  border-color: var(--line-strong);
  transition: background-color 5000s ease-in-out 0s;
}
.contact__form input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px var(--bg-card-2) inset;
  -webkit-text-fill-color: var(--text-strong);
  border-color: var(--orange);
  transition: background-color 5000s ease-in-out 0s;
}

/* Validation — only highlight when user has typed something invalid */
.contact__form input:not(:placeholder-shown):invalid,
.contact__form textarea:not(:placeholder-shown):invalid {
  border-color: var(--red); background: rgba(239, 68, 68, 0.04);
}
.contact__form button { grid-column: 1 / -1; justify-self: center; }
.contact__form-msg {
  grid-column: 1 / -1; display: none;
  padding: 14px 20px; border-radius: 14px;
  border: 1px solid var(--line); background: var(--bg-base);
  font-size: 14px; line-height: 1.5; text-align: center; color: var(--text-muted);
}
.contact__form-msg:not(:empty) { display: block; }
.contact__form-msg--success {
  background: rgba(10, 179, 59, 0.06); border-color: rgba(10, 179, 59, 0.28); color: #0AB33B;
}
.contact__form-msg--error {
  background: rgba(239, 68, 68, 0.06); border-color: rgba(239, 68, 68, 0.28); color: #EF4444;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  padding: 72px var(--gutter);
  background: linear-gradient(to bottom, transparent, rgba(255, 146, 22, 0.03));
  border-top: 1px solid var(--line);
}
.footer__inner {
  max-width: 1024px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 52px;
}
.footer__stores {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; flex-wrap: wrap;
}
.footer__stores a { display: inline-flex; transition: opacity .15s ease, transform .15s ease; }
.footer__stores a:hover { opacity: 0.85; transform: translateY(-1px); }
.footer__stores img { display: block; }

.footer__links {
  display: flex; align-items: center; justify-content: center;
  gap: 48px; flex-wrap: wrap;
}
.footer__links a {
  font-family: var(--font-h); font-weight: 500; font-size: 16px;
  color: var(--text-strong); transition: color .15s ease;
}
.footer__links a:hover { color: var(--orange); }

.footer__top {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--line);
  color: var(--text-strong);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(140, 80, 20, 0.10);
  transition: background-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.footer__top:hover { transform: scale(1.07); }
.footer__top svg { width: 24px; height: 24px; display: block; }

.footer__divider { width: 100%; height: 1px; border: 0; background: var(--line); margin: 0; }

.footer__legal {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.footer__legal-row {
  display: flex; align-items: center; justify-content: center; gap: 24px;
}
.footer__legal-row a {
  font-size: 15px; color: var(--text-muted);
  transition: color .15s ease;
}
.footer__legal-row a:hover { color: var(--orange); }
.footer__legal-sep { width: 1px; height: 14px; background: var(--line); display: inline-block; }
.footer__copy { font-size: 14px; color: var(--text-dim); margin: 0; }

/* =========================================================
   Reveal animations
   ========================================================= */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .75s ease, transform .75s ease;
}
.reveal.is-in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* =========================================================
   QR DOWNLOAD MODAL
   ========================================================= */
.qr-modal {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 20px; pointer-events: none; visibility: hidden;
}
.qr-modal.is-open { pointer-events: auto; visibility: visible; }
.qr-modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(64, 38, 8, 0.48);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; transition: opacity .25s ease;
}
.qr-modal.is-open .qr-modal__backdrop { opacity: 1; }
.qr-modal__card {
  position: relative; z-index: 1;
  background: var(--bg-base);
  border: 1px solid var(--line); border-radius: 28px;
  padding: 52px 44px 44px; max-width: 460px; width: 100%;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 22px;
  box-shadow: 0 32px 80px rgba(140, 80, 20, 0.22), 0 0 0 1px rgba(255, 146, 22, 0.06);
  transform: scale(0.88) translateY(24px); opacity: 0;
  transition: transform .32s cubic-bezier(0.34, 1.56, 0.64, 1), opacity .22s ease;
}
.qr-modal.is-open .qr-modal__card { transform: scale(1) translateY(0); opacity: 1; }
.qr-modal__close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--bg-base); border: 1px solid var(--line);
  color: var(--text-muted);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background-color .15s ease, color .15s ease;
}
.qr-modal__close:hover { background: var(--orange-pale); color: var(--orange); }
.qr-modal__close svg { width: 18px; height: 18px; display: block; }
.qr-modal__title {
  font-family: var(--font-h); font-weight: 600;
  font-size: clamp(24px, 4vw, 32px); line-height: 1.15;
  color: var(--text-strong); margin: 0;
}
.qr-modal__sub {
  font-size: 14px; color: var(--text-muted); margin: 0; line-height: 1.5; max-width: 280px;
}
.qr-modal__qr-wrap {
  position: relative; display: inline-flex;
  align-items: center; justify-content: center;
  background: #ffffff; border-radius: 18px; padding: 18px;
  box-shadow: 0 4px 16px rgba(140, 80, 20, 0.12);
}
.qr-modal__qr canvas, .qr-modal__qr img { display: block; border-radius: 4px; }
.qr-modal__qr:empty {
  width: 220px; height: 220px; border-radius: 4px;
  background: linear-gradient(90deg, #f5ede4 25%, #fdf6ee 50%, #f5ede4 75%);
  background-size: 200% 100%;
  animation: qr-shimmer 1.2s infinite;
}
@keyframes qr-shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.qr-modal__icon {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 52px; height: 52px; border-radius: 12px;
  background: #ffffff; padding: 4px;
  box-sizing: content-box; pointer-events: none;
}
.qr-modal__stores {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; flex-wrap: wrap; margin-top: 2px;
}
.qr-modal__stores a { display: inline-flex; transition: opacity .15s ease, transform .15s ease; }
.qr-modal__stores a:hover { opacity: 0.85; transform: translateY(-1px); }

/* =========================================================
   RESPONSIVE — Tablet (≤ 1100px)
   ========================================================= */
@media (max-width: 1100px) {
  :root { --header-h: 70px; }

  .nav__links { display: none; }
  .nav__cta   { display: none; }
  .nav__burger { display: inline-flex; }

  /* Features — 3 per row on tablet */
  .features__track { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }

  /* Gallery — narrow fade edges on tablet */
  .gallery__marquee::before,
  .gallery__marquee::after { width: 100px; }

  /* How it works — keep 4 horizontal, just shrink */
  .how__steps { gap: 8px; flex-wrap: nowrap; }
  .how-step   { width: auto; max-width: 130px; flex: 1 1 0; }
  .how-step__icon { width: 70px; height: 70px; }
  .how__arrow { width: 28px; }

  /* Hero floats — tablet scale */
  .float--1 { width: 124px; left: -3%; }
  .float--2 { width: 104px; right: -3%; }
  .float--3 { width: 90px;  left: -2%; }
  .float--4 { width: 116px; right: -2%; }

  section { padding: 70px 0; }
  .gallery, .faq, .contact { padding-left: 24px; padding-right: 24px; }
}

/* =========================================================
   RESPONSIVE — Mobile (≤ 640px)
   ========================================================= */
@media (max-width: 640px) {
  :root { --gutter: 16px; --header-h: 66px; }

  .nav__brand span { display: none; }

  .hero { padding-top: calc(var(--header-h) + 28px); padding-bottom: 34px; }
  .hero__sub { font-size: 15px; margin-bottom: 20px; }
  .hero__rating {
    flex-direction: column;
    gap: 4px;
    text-align: center;
    position: relative;
    z-index: 10;
    align-self: center;
    background: rgba(255, 247, 238, 0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 999px;
    padding: 10px 24px 12px;
    border: 1px solid rgba(255, 210, 160, 0.45);
  }
  .hero__stars { font-size: 20px; letter-spacing: 3px; }
  .hero__rating-text { font-size: 13px; }
  .hero__visual {
    margin-top: 32px;
    width: calc(100% + var(--gutter) * 2);
    margin-left: calc(var(--gutter) * -1);
    margin-right: calc(var(--gutter) * -1);
    max-width: none;
  }
  .hero__scene { border-radius: 0; }
  /* Hero floats — mobile scale */
  .float--1 { width: 90px;  left: -1%; }
  .float--2 { width: 76px;  right: -1%; }
  .float--3 { width: 68px;  left: 0; }
  .float--4 { width: 82px;  right: 0; }

  section { padding: 34px 0; }
  .gallery, .faq, .contact { padding-top: 34px; padding-bottom: 34px; }
  .section-title { margin-bottom: 20px; }
  /* Reset negative margins on subtitles so gap from title matches Hero */
  .gallery__sub  { margin-top: 0; margin-bottom: 24px; }
  .contact__sub  { margin-top: 0; margin-bottom: 28px; }

  /* Features — 2 per row on mobile, scroll */
  .features__track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px; max-width: 400px;
    margin: 0 auto;
  }

  /* How it works — vertical */
  .how__steps { flex-direction: column; flex-wrap: nowrap; gap: 0; }
  /* margin-bottom is larger to compensate for the badge's -14px overflow above next step */
  .how__arrow  { transform: rotate(90deg); width: 22px; margin: 20px 0 34px; }
  .how-step    { width: 200px; max-width: 200px; flex: 0 0 auto; }
  .how-step__icon { width: 84px; height: 84px; }

  /* Gallery — mobile: horizontal scroll, no animation */
  .gallery__marquee { overflow-x: auto; overflow-y: visible; margin: 0 calc(-1 * var(--gutter)); scrollbar-width: none; -ms-overflow-style: none; }
  .gallery__marquee::-webkit-scrollbar { display: none; }
  .gallery__marquee::before,
  .gallery__marquee::after { display: none; }
  .gallery__track { animation: none; padding: 8px var(--gutter); }
  .gallery__track .art-card[aria-hidden="true"] { display: none; }
  .gallery__marquee .art-card { width: 140px; flex: 0 0 140px; }
  .art-card__img  { width: 80px; height: 80px; }

  /* Dim glow on mobile */
  .bg-glow { opacity: 0.5; }
  .bg-glow > div { filter: blur(120px); }

  .faq-item summary { padding: 18px 20px; font-size: 15px; }
  .faq-item__body   { padding: 0 20px 18px; font-size: 14px; }

  .contact__form    { grid-template-columns: 1fr; padding: 24px; }

  .footer { padding: 56px var(--gutter); }
  .footer__inner { gap: 40px; }
  .footer__links { gap: 18px; flex-direction: column; }
  .footer__top   { width: 60px; height: 60px; }

  .qr-modal__card { padding: 44px 24px 32px; gap: 18px; }
  .qr-modal__qr-wrap { padding: 14px; }
  .qr-modal__qr:empty { width: 190px; height: 190px; }
}
