/* built 2026-07-30T23:43:54.410Z */
:root {
  --teal: #22bac2;
  --teal-deep: #0f7f86;
  --teal-soft: #8fd9dc;
  --ink: #102226;
  --ink-soft: #3a5559;
  --paper: #f3fafb;
  --paper-2: #e7f5f6;
  --white: #ffffff;
  --shadow: 0 28px 70px rgba(16, 34, 38, 0.18);
  --radius-pill: 999px;
  --font-display: "Syne", "Avenir Next", "Segoe UI", sans-serif;
  --font-body: "Figtree", "Avenir Next", "Segoe UI", sans-serif;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 700px at 80% -10%, rgba(34, 186, 194, 0.28), transparent 55%),
    radial-gradient(900px 600px at -10% 20%, rgba(143, 217, 220, 0.45), transparent 50%),
    linear-gradient(180deg, var(--paper) 0%, var(--white) 48%, var(--paper-2) 100%);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 22px clamp(20px, 4vw, 48px);
}

.nav-links {
  display: flex;
  gap: 22px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-soft);
}

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

.hero {
  min-height: 100svh;
  display: grid;
  align-items: end;
  position: relative;
  overflow: hidden;
  padding:
    calc(88px + env(safe-area-inset-top))
    clamp(20px, 4vw, 48px)
    clamp(28px, 5vw, 56px);
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(243, 250, 251, 0.2) 0%, rgba(243, 250, 251, 0.05) 35%, rgba(16, 34, 38, 0.45) 100%),
    radial-gradient(80% 55% at 50% 18%, rgba(255, 255, 255, 0.35), transparent 70%);
  z-index: 1;
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.strip {
  position: absolute;
  left: 50%;
  top: 42%;
  width: min(140vw, 1600px);
  height: min(52vh, 420px);
  transform: translate(-50%, -52%) rotate(-8deg);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.6vw, 22px);
  animation: drift 18s ease-in-out infinite alternate;
}

@keyframes drift {
  from { transform: translate(-52%, -52%) rotate(-9deg); }
  to { transform: translate(-48%, -50%) rotate(-6deg); }
}

.card {
  --sky: #9ed4e8;
  --mid: #5fa8c4;
  --land: #2d6a6e;
  --accent: #f2d59a;
  width: clamp(96px, 14vw, 172px);
  aspect-ratio: 1;
  border-radius: 16px;
  background: var(--sky);
  box-shadow:
    0 18px 40px rgba(16, 34, 38, 0.22),
    0 2px 0 rgba(255, 255, 255, 0.35) inset;
  border: 1px solid rgba(255, 255, 255, 0.55);
  transform: rotate(var(--tilt, 0deg)) translateY(var(--y, 0px));
  position: relative;
  overflow: hidden;
  animation: float 5.5s ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}

.card-sky {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 80% at 50% 120%, var(--mid) 0%, transparent 55%),
    linear-gradient(180deg, var(--sky) 0%, color-mix(in srgb, var(--sky) 70%, var(--mid)) 100%);
}

.card-sun {
  position: absolute;
  top: 18%;
  right: 20%;
  width: 22%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 24px color-mix(in srgb, var(--accent) 70%, transparent);
  opacity: 0.92;
}

.card-mid {
  position: absolute;
  left: -18%;
  right: -18%;
  bottom: 28%;
  height: 42%;
  border-radius: 50% 50% 0 0;
  background: var(--mid);
  transform: rotate(-8deg);
  opacity: 0.85;
}

.card-land {
  position: absolute;
  left: -24%;
  right: -10%;
  bottom: -18%;
  height: 48%;
  border-radius: 48% 52% 0 0;
  background:
    linear-gradient(165deg, color-mix(in srgb, var(--land) 80%, white) 0%, var(--land) 55%);
  transform: rotate(7deg);
}

.card-grain {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  pointer-events: none;
}

.card-gloss {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.28) 0%, transparent 42%),
    linear-gradient(180deg, transparent 55%, rgba(8, 24, 28, 0.22) 100%);
  pointer-events: none;
}

/* Per-scene composition tweaks */
.scene-city .card-mid {
  height: 28%;
  bottom: 34%;
  border-radius: 8px 8px 0 0;
  transform: none;
  left: 12%;
  right: 38%;
  opacity: 1;
  box-shadow:
    18px 8px 0 -2px color-mix(in srgb, var(--mid) 85%, black),
    36px 14px 0 -4px color-mix(in srgb, var(--land) 70%, var(--mid));
}

.scene-night .card-sun {
  width: 14%;
  top: 16%;
  right: 28%;
  box-shadow: 0 0 18px color-mix(in srgb, var(--accent) 50%, transparent);
}

.scene-street .card-mid {
  height: 22%;
  bottom: 40%;
  left: 8%;
  right: 45%;
  border-radius: 4px 4px 0 0;
  transform: none;
}

.scene-bloom .card-sun {
  width: 34%;
  top: auto;
  bottom: 36%;
  right: auto;
  left: 18%;
  opacity: 0.55;
  filter: blur(1px);
}

.scene-snow .card-land {
  background: linear-gradient(165deg, #eef4f8 0%, var(--land) 80%);
}

@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 34rem;
  color: var(--white);
  text-shadow: 0 10px 30px rgba(16, 34, 38, 0.35);
}

.brand {
  margin: 0 0 18px;
  line-height: 0;
}

/* Wordmark fills teal; invert to white for contrast on the dark hero wash. */
.brand-logo {
  width: min(220px, 48vw);
  height: auto;
  filter:
    brightness(0) invert(1)
    drop-shadow(0 10px 28px rgba(16, 34, 38, 0.28));
}

.headline {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.4vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 12px;
  max-width: 16ch;
}

.lede {
  margin: 0 0 28px;
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.88);
  max-width: 34ch;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 1rem;
  border: 0;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--white);
  color: var(--teal-deep);
  box-shadow: 0 14px 34px rgba(16, 34, 38, 0.22);
}

.button-primary:hover {
  box-shadow: 0 18px 40px rgba(16, 34, 38, 0.28);
}

.button-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(10px);
}

.section {
  padding: clamp(64px, 10vw, 120px) clamp(20px, 4vw, 48px);
}

.section-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.035em;
  margin: 0 0 12px;
  max-width: 14ch;
}

.section p.support {
  margin: 0 0 40px;
  color: var(--ink-soft);
  font-size: 1.08rem;
  max-width: 42ch;
}

.flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 36px);
}

.flow-item {
  padding-top: 8px;
  border-top: 2px solid rgba(34, 186, 194, 0.35);
}

.flow-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.flow-item p {
  margin: 0;
  color: var(--ink-soft);
}

.download {
  background:
    linear-gradient(135deg, rgba(34, 186, 194, 0.16), rgba(143, 217, 220, 0.08)),
    var(--white);
}

.download-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
}

.app-badge {
  width: min(220px, 70%);
  border-radius: 28%;
  box-shadow: var(--shadow);
}

.site-footer {
  padding: 28px clamp(20px, 4vw, 48px) 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.site-footer nav {
  display: flex;
  gap: 18px;
}

.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 120px clamp(20px, 4vw, 48px) 80px;
}

.legal h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  letter-spacing: -0.04em;
  margin: 0 0 12px;
}

.legal .meta {
  color: var(--ink-soft);
  margin-bottom: 36px;
}

.legal h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 32px 0 10px;
}

.legal p,
.legal li {
  color: var(--ink-soft);
}

.not-found {
  min-height: 100svh;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 40px 20px;
}

@media (max-width: 820px) {
  .flow,
  .download-panel {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .hero-copy {
    max-width: 100%;
  }

  .strip {
    top: 36%;
    height: 38vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  .strip,
  .card {
    animation: none;
  }
}
