/* Glint /qr — Meadow print-scan destination */

:root {
  --ink: #1f2421;
  --muted: #5a6663;
  --faint: #8a9491;
  --paper: #faf7f2;
  --paper-2: #f0ebe3;
  --surface: #ffffff;
  --teal: #1f6b6b;
  --teal-deep: #164f4f;
  --teal-soft: #d0e6e6;
  --mist: #dcebe3;
  --gold: #e9b84b;
  --soft-gold: #f8ebc7;
  --line: #d8d3cc;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 70% 8%, var(--soft-gold) 0%, transparent 55%),
    radial-gradient(ellipse 70% 45% at 10% 20%, var(--mist) 0%, transparent 50%),
    var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--teal);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
}
.skip:focus { left: 1rem; top: 1rem; }

/* Decorative meadow layer */
.meadow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.decor {
  position: absolute;
  user-select: none;
  -webkit-user-drag: none;
}
/* Botanical PNGs are small (~64–220px). Keep display size near-native. */
.decor.sun {
  top: 5%;
  right: 8%;
  width: 3.25rem;
  height: auto;
  opacity: 0.88;
  animation: drift 12s var(--ease) infinite alternate;
}
.decor.glow {
  top: 0;
  right: 2%;
  width: 7.5rem;
  height: auto;
  opacity: 0.32;
  mix-blend-mode: multiply;
}
.decor.leaf-l {
  top: 32%;
  left: 0.5rem;
  width: 3.5rem;
  height: auto;
  opacity: 0.5;
  transform: rotate(-18deg);
  animation: sway 9s var(--ease) infinite alternate;
}
.decor.leaf-r {
  top: 48%;
  right: 0.35rem;
  width: 3.65rem;
  height: auto;
  opacity: 0.42;
  transform: rotate(22deg) scaleX(-1);
  animation: sway 11s var(--ease) infinite alternate-reverse;
}
.decor.hills {
  left: -2rem;
  right: -2rem;
  bottom: 0;
  height: 5.25rem;
  /* Fill band so tile seams / transparent PNG edges never show paper white */
  background-image: url("assets/hills.png");
  background-repeat: repeat-x;
  background-position: left bottom;
  background-size: 32.625rem 4.85rem; /* ~native 218×83 */
  opacity: 0.72;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 6%,
    #000 94%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 6%,
    #000 94%,
    transparent 100%
  );
}

@keyframes drift {
  from { transform: translateY(0); }
  to { transform: translateY(10px); }
}
@keyframes sway {
  from { transform: rotate(-18deg) translateY(0); }
  to { transform: rotate(-12deg) translateY(6px); }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.top,
.stage,
.quiet,
.foot {
  position: relative;
  z-index: 1;
}

.top {
  padding: 1.15rem 1.25rem 0.25rem;
  display: flex;
  justify-content: center;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--ink);
  animation: rise 0.7s var(--ease) both;
}
.brand-icon {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 1.15rem;
  box-shadow: 0 10px 28px rgba(31, 107, 107, 0.22);
  background: var(--mist);
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.brand-bar {
  width: 2.75rem;
  height: 0.35rem;
  border-radius: 999px;
  background: var(--teal);
}
.brand-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--gold);
}
.brand-leaf {
  width: 1.35rem;
  height: 1.35rem;
  opacity: 0.75;
}
.brand-name {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 9vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.stage {
  max-width: 34rem;
  margin: 0 auto;
  padding: 1rem clamp(1.25rem, 5vw, 2rem) 2.5rem;
  text-align: center;
}

.eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  animation: rise 0.7s var(--ease) 0.08s both;
}

.title {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 6.5vw, 2.65rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.03em;
  animation: rise 0.75s var(--ease) 0.14s both;
}
.title em {
  font-style: italic;
  color: var(--teal-deep);
  font-weight: 600;
}

.tagline {
  margin: 0 auto 1rem;
  max-width: 28rem;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 3.5vw, 1.35rem);
  font-weight: 500;
  line-height: 1.35;
  color: var(--teal-deep);
  animation: rise 0.75s var(--ease) 0.16s both;
}

.lede {
  margin: 0 auto 1.5rem;
  max-width: 28rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 3.4vw, 1.15rem);
  animation: rise 0.75s var(--ease) 0.2s both;
}
.lede strong {
  color: var(--ink);
  font-weight: 600;
}

.hero-art {
  margin: 0 auto 1.75rem;
  max-width: min(100%, 22rem);
  animation: rise 0.85s var(--ease) 0.26s both;
}
.hero-art img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1.5rem;
  background: var(--mist);
}

.cta {
  margin-bottom: 1.5rem;
  animation: rise 0.8s var(--ease) 0.32s both;
}

.cta-hint {
  margin: 0.85rem auto 0;
  max-width: 22rem;
  font-size: 0.88rem;
  line-height: 1.4;
  color: var(--ink-muted, #5c6b6b);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 22rem);
  margin-top: 0.85rem;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: transparent;
  color: var(--teal-deep);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease, transform 0.15s var(--ease);
}
.btn-secondary:hover {
  border-color: var(--teal);
  color: var(--teal);
  transform: translateY(-1px);
}

.pilot-note {
  margin: 1rem auto 0;
  max-width: 24rem;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--muted);
}
.pilot-note strong {
  color: var(--ink);
  font-weight: 600;
}

.btn-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  width: min(100%, 22rem);
  min-height: 4.5rem;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  background: var(--teal);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 14px 36px rgba(31, 107, 107, 0.28);
  transition: transform 0.18s var(--ease), background 0.18s ease, box-shadow 0.18s ease;
}
.btn-play:hover {
  background: var(--teal-deep);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(31, 107, 107, 0.34);
}
.btn-play:active { transform: translateY(0); }
.play-icon {
  width: 1.65rem;
  height: 1.65rem;
  flex-shrink: 0;
}
.btn-play-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  line-height: 1.15;
}
.btn-kicker {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.85;
}
.btn-main {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
}

.ios-note {
  margin: 1rem auto 0;
  max-width: 24rem;
  padding: 0.85rem 1rem;
  background: var(--soft-gold);
  border-radius: 0.85rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.ios-note a {
  color: var(--teal-deep);
  font-weight: 600;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem 1.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.92rem;
  color: var(--faint);
  animation: rise 0.8s var(--ease) 0.38s both;
}
.trust li::before {
  content: "";
  display: inline-block;
  width: 0.4rem;
  height: 0.4rem;
  margin-right: 0.4rem;
  border-radius: 50%;
  background: var(--gold);
  vertical-align: 0.12em;
}

.quiet {
  margin: 0 auto 2.5rem;
  padding: 1.75rem clamp(1.25rem, 4vw, 1.75rem) 1.5rem;
  max-width: min(34rem, calc(100% - 2.5rem));
  background: color-mix(in srgb, var(--mist) 72%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--teal-soft) 80%, var(--line));
  border-radius: 1.35rem;
  text-align: center;
}
.quiet-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
}
.quiet-deco {
  display: block;
  width: min(100%, 12rem);
  height: auto;
  margin: 0 auto 1rem;
  opacity: 0.95;
}
.quiet h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.quiet-list {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  text-align: left;
  color: var(--muted);
  display: grid;
  gap: 0.65rem;
}
.quiet-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0.85rem;
  border-radius: 0.9rem;
  background: color-mix(in srgb, var(--surface) 88%, var(--mist));
  border: 1px solid color-mix(in srgb, var(--teal-soft) 55%, transparent);
}
.quiet-icon-wrap {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 0.6rem;
  background: linear-gradient(160deg, var(--mist), var(--teal-soft));
}
.quiet-icon {
  width: 1.15rem;
  height: 1.15rem;
  object-fit: contain;
}
.quiet-list strong { color: var(--ink); font-weight: 600; }

.text-link {
  color: var(--teal);
  font-weight: 600;
  text-decoration: none;
}
.text-link:hover { text-decoration: underline; }

.foot {
  padding: 1.5rem 1.25rem 2.5rem;
  text-align: center;
  color: var(--faint);
  font-size: 0.88rem;
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--mist) 40%, transparent));
}
.foot-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 0.75rem;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
}
.foot-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 14px rgba(31, 107, 107, 0.18);
}
.foot p { margin: 0 0 0.5rem; }
.foot-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
}
.foot a {
  color: var(--teal);
  text-decoration: none;
}
.foot a:hover { text-decoration: underline; }
.foot-brand:hover { text-decoration: none; }

@media (min-width: 720px) {
  .stage { padding-top: 1.5rem; }
  .hero-art { max-width: 24rem; }
  .decor.leaf-l { left: 6%; }
  .decor.leaf-r { right: 7%; }
  .decor.sun { width: 3.75rem; }
  .decor.hills { height: 5.75rem; background-size: 44rem 4.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .decor.sun,
  .decor.leaf-l,
  .decor.leaf-r,
  .brand,
  .eyebrow,
  .title,
  .lede,
  .hero-art,
  .cta,
  .trust {
    animation: none;
  }
  .btn-play { transition: none; }
}
