/* FeelingFlexi marketing site
   Cosmos-inspired showcase. Inter, warm clay light, dark liquid glass.
   Light canvas #F7F5F2 · Dark #0B0B0F */

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../assets/fonts/inter-latin.woff2") format("woff2");
}

:root,
[data-theme="light"] {
  color-scheme: light;
  --bg: #F7F5F2;
  --fg: #0B0B0F;
  --muted: #8A8680;
  --quiet: #5C5752;
  --muted2: #A39E96;
  --line: rgba(11, 11, 15, 0.12);
  --pill-bg: #0B0B0F;
  --pill-fg: #F7F5F2;
  --card-shadow: 0 18px 50px rgba(11, 11, 15, 0.10), 0 4px 14px rgba(11, 11, 15, 0.06);
  --card-edge: rgba(255, 255, 255, 0.55);
  --edge-fade: rgba(247, 245, 242, 0.94);
  --panel: #e6e1d9;
  --panel-2: #ddd6cc;
  --shot-bg: #e8e4de;
  --hover: rgba(11, 11, 15, 0.045);
  --glass: rgba(247, 245, 242, 0.82);
  --chip: rgba(247, 245, 242, 0.88);
  --dialog-backdrop: rgba(11, 11, 15, 0.38);
  --shot-shadow: 0 12px 32px rgba(11, 11, 15, 0.14);
  --blur-opacity: 0.55;
  --blur-more-opacity: 0.38;
  --dim-opacity: 0.7;
  --tag-bg: #C4A484;
  --tag-fg: #0B0B0F;
  --hero-sub: #6B6760;
  --hero-glow: radial-gradient(ellipse 55% 50% at 78% 48%, rgba(196, 164, 132, 0.18), transparent 70%);
  --wordmark-opacity: 0.92;
  --mood-edge: rgba(255, 255, 255, 0.7);
  --mood-shadow: 0 22px 60px rgba(11, 11, 15, 0.12), 0 6px 18px rgba(11, 11, 15, 0.06);
  --mood-1: linear-gradient(160deg, #efe8df 0%, #e4d9cc 100%);
  --mood-2: linear-gradient(160deg, #e8e4de 0%, #d9d2c8 100%);
  --mood-3: linear-gradient(160deg, #f2ebe3 0%, #e6ddd2 100%);
  --deck-places: linear-gradient(165deg, #E8DFD4 0%, #D4C4B0 48%, #C4A484 100%);
  --deck-events: linear-gradient(165deg, #D9E0D6 0%, #B8C4B0 45%, #6B7F6A 100%);
  --deck-edge: rgba(255, 255, 255, 0.72);
  --deck-shadow: 0 24px 64px rgba(11, 11, 15, 0.12), 0 8px 20px rgba(11, 11, 15, 0.06);
  --montage-bg: rgba(255, 255, 255, 0.72);
  --montage-edge: rgba(255, 255, 255, 0.9);
  --deck-tag-bg: rgba(247, 245, 242, 0.94);
  --deck-tag-fg: #0B0B0F;
  --deck-accent: #C4A484;
  --deck-link: rgba(11, 11, 15, 0.55);
  --phone-bezel: #1a1a20;
  --phone-shine: rgba(255, 255, 255, 0.35);
  --fan-edge: rgba(255, 255, 255, 0.55);
  --band: linear-gradient(145deg, #EDE4D8 0%, #D9CBB8 42%, #C4A484 100%);
  --band-edge: rgba(255, 255, 255, 0.55);
  --band-shadow: 0 28px 70px rgba(11, 11, 15, 0.12), 0 10px 24px rgba(11, 11, 15, 0.06);
  --qr-frame: #FFFFFF;
  --qr-shadow: 0 12px 32px rgba(11, 11, 15, 0.12);
  /* Home-page orbit backdrop. --orbit-size is the outer-ring radius.
     --orbit-icon-scale multiplies glyph size only (1 = previous size).
     --orbit-speed scales motion (1 = previous speed). */
  --orbit-opacity: 0.06;
  --orbit-size: 72vw;
  --orbit-icon-scale: 0.525;
  --orbit-speed: 0.5;
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0B0B0F;
  --fg: #F7F5F2;
  --muted: #8B8790;
  --quiet: #C8C2B8;
  --muted2: #6A6670;
  --line: rgba(247, 245, 242, 0.16);
  --pill-bg: #F7F5F2;
  --pill-fg: #0B0B0F;
  --card-shadow: 0 18px 50px rgba(0, 0, 0, 0.45), 0 4px 14px rgba(0, 0, 0, 0.28);
  --card-edge: rgba(247, 245, 242, 0.14);
  --edge-fade: rgba(11, 11, 15, 0.94);
  --panel: #16161c;
  --panel-2: #121218;
  --shot-bg: #14141a;
  --hover: rgba(247, 245, 242, 0.06);
  --glass: rgba(11, 11, 15, 0.78);
  --chip: rgba(11, 11, 15, 0.78);
  --dialog-backdrop: rgba(0, 0, 0, 0.62);
  --shot-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  --blur-opacity: 0.5;
  --blur-more-opacity: 0.32;
  --dim-opacity: 0.65;
  --tag-bg: #D4B896;
  --tag-fg: #0B0B0F;
  --hero-sub: #9A968E;
  --hero-glow: radial-gradient(ellipse 55% 50% at 78% 48%, rgba(212, 184, 150, 0.12), transparent 70%),
    radial-gradient(ellipse 40% 45% at 20% 30%, rgba(80, 70, 110, 0.18), transparent 65%);
  --wordmark-opacity: 0.95;
  --mood-edge: rgba(247, 245, 242, 0.12);
  --mood-shadow: 0 22px 60px rgba(0, 0, 0, 0.5), 0 6px 18px rgba(0, 0, 0, 0.35);
  --mood-1: linear-gradient(165deg, rgba(36, 32, 28, 0.95) 0%, rgba(22, 20, 18, 0.98) 100%);
  --mood-2: linear-gradient(165deg, rgba(28, 28, 36, 0.95) 0%, rgba(16, 16, 22, 0.98) 100%);
  --mood-3: linear-gradient(165deg, rgba(32, 28, 36, 0.95) 0%, rgba(18, 16, 22, 0.98) 100%);
  --deck-places: linear-gradient(165deg, rgba(58, 48, 40, 0.98) 0%, rgba(36, 28, 22, 0.98) 55%, rgba(28, 22, 18, 1) 100%);
  --deck-events: linear-gradient(165deg, rgba(36, 44, 40, 0.98) 0%, rgba(22, 32, 36, 0.98) 50%, rgba(18, 22, 28, 1) 100%);
  --deck-edge: rgba(247, 245, 242, 0.12);
  --deck-shadow: 0 28px 70px rgba(0, 0, 0, 0.55), 0 10px 24px rgba(0, 0, 0, 0.35);
  --montage-bg: rgba(22, 22, 28, 0.78);
  --montage-edge: rgba(247, 245, 242, 0.10);
  --deck-tag-bg: rgba(247, 245, 242, 0.92);
  --deck-tag-fg: #0B0B0F;
  --deck-accent: #D4B896;
  --deck-link: rgba(247, 245, 242, 0.55);
  --phone-bezel: #0e0e12;
  --phone-shine: rgba(247, 245, 242, 0.12);
  --fan-edge: rgba(247, 245, 242, 0.18);
  --band: linear-gradient(145deg, rgba(48, 42, 36, 0.98) 0%, rgba(32, 28, 26, 0.98) 45%, rgba(24, 28, 34, 1) 100%);
  --band-edge: rgba(247, 245, 242, 0.12);
  --band-shadow: 0 28px 70px rgba(0, 0, 0, 0.55), 0 10px 24px rgba(0, 0, 0, 0.35);
  --qr-frame: #F7F5F2;
  --qr-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  background: var(--bg);
  overflow-x: clip;
}

body {
  font-family: Inter, system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--fg);
  font-weight: 400;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100vh;
  /* Keeps the orbit (z-index -1) above the canvas and below the page. */
  isolation: isolate;
}

img { max-width: 100%; }

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

button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 80;
  background: var(--pill-bg);
  color: var(--pill-fg);
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
}

.skip:focus { top: 12px; }

[data-theme="light"] .for-dark { display: none !important; }
[data-theme="dark"] .for-light { display: none !important; }

/* Nav */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: max(18px, env(safe-area-inset-top)) max(36px, env(safe-area-inset-right)) 18px max(36px, env(safe-area-inset-left));
  background: linear-gradient(to bottom, var(--bg) 62%, transparent);
}

.nav.is-scrolled {
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  box-shadow: inset 0 -1px 0 var(--line);
}

.nav-left, .nav-right {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-right { gap: 10px; }

.logo-link {
  position: relative;
  display: flex;
  align-items: center;
  flex: none;
}

.logo {
  height: 28px;
  width: auto;
  display: block;
  opacity: 0.92;
}

.logo-draw {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: none;
  pointer-events: none;
  overflow: visible;
  color: #000;
}

.logo-link.is-drawn .logo-draw { display: block; }
.logo-link.is-drawn .logo { visibility: hidden; }

[data-theme="dark"] .logo { filter: invert(1); }
[data-theme="dark"] .logo-draw { color: rgb(250, 250, 252); }

.nav-links { display: flex; gap: 22px; }

.nav-links a {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--fg); }

.nav-burger {
  display: none;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 1.25px var(--line);
}

.nav-burger:hover { background: var(--hover); }

.theme-toggle {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--fg);
  box-shadow: inset 0 0 0 1.25px var(--line);
  flex: none;
}

.theme-toggle:hover { background: var(--hover); }

.theme-toggle svg { width: 16px; height: 16px; display: block; }

.nav-app {
  height: 36px;
  padding: 0 14px;
  flex: none;
}

.icon-sun { display: none; }

[data-theme="dark"] .icon-moon { display: none; }
[data-theme="dark"] .icon-sun { display: block; }

.site-menu[hidden] { display: none !important; }

.site-menu { display: none; }

/* Pills */

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: transform 0.15s ease, opacity 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.pill:hover { transform: translateY(-1px); }
.pill:active { transform: scale(0.98); }

.pill-solid { background: var(--pill-bg); color: var(--pill-fg); }
.pill-solid:hover { opacity: 0.92; }

.pill-outline {
  background: transparent;
  color: var(--fg);
  box-shadow: inset 0 0 0 1.25px var(--line);
}

.pill-outline:hover { background: var(--hover); }

.pill-lg { height: 48px; padding: 0 28px; font-size: 15px; }
.pill-xl { height: 56px; padding: 0 36px; font-size: 16px; }

/* Hero */

.page-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  min-height: 620px;
  padding: 148px 24px 72px;
}

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  overflow: hidden;
  min-height: 100svh;
  min-height: 100dvh;
  /* Top padding clears the fixed header. The nav grows with the safe area; the wordmark has to as well. */
  padding: calc(100px + env(safe-area-inset-top, 0px)) 0 36px;
  /* Glow only. Body already paints --bg; an opaque fill here would cover the orbit. */
  background: var(--hero-glow);
}

.hero-wordmark {
  font-size: clamp(34px, 11.5vw, 140px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.86;
  text-align: center;
  text-transform: uppercase;
  color: var(--fg);
  opacity: var(--wordmark-opacity);
  padding: 10px 16px 0;
  user-select: none;
  white-space: nowrap;
}

.hero-body {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding: 18px 56px 48px;
}

.hero-copy { max-width: 520px; min-width: 0; }

.hero-copy h1 {
  font-size: clamp(30px, 7.6vw, 64px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin-bottom: 18px;
  text-wrap: balance;
}

.hero-copy p {
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 400;
  line-height: 1.45;
  color: var(--hero-sub);
  max-width: 420px;
  margin-bottom: 32px;
}

.hero-copy .hero-ctas {
  justify-content: flex-start;
  align-items: center;
  /* Cap the row to the viewport so the pills wrap when the wordmark is wider. */
  max-width: calc(100vw - 32px);
}

.hero-cta {
  height: 52px;
  padding: 0 28px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  flex: 0 0 auto;
}

.hero-stack-wrap {
  position: relative;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-stack {
  position: relative;
  width: 340px;
  height: 480px;
}

.hero-card {
  position: absolute;
  width: 280px;
  height: 400px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--card-edge);
  background: var(--shot-bg);
  transform-origin: center bottom;
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(11, 11, 15, 0.35) 100%);
  opacity: 0.55;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

[data-theme="light"] .hero-card::after {
  background: linear-gradient(180deg, transparent 60%, rgba(11, 11, 15, 0.22) 100%);
  opacity: 0.45;
}

[data-theme="dark"] .hero-card {
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55), 0 10px 24px rgba(0, 0, 0, 0.35);
}

[data-theme="light"] .hero-card {
  box-shadow: 0 28px 60px rgba(11, 11, 15, 0.14), 0 8px 20px rgba(11, 11, 15, 0.08);
}

.hero-card-front {
  left: 0;
  top: 40px;
  z-index: 3;
  transform: rotate(-4deg);
}

.hero-card-mid {
  left: 52px;
  top: 20px;
  z-index: 2;
  transform: rotate(1deg);
}

.hero-card-back {
  left: 104px;
  top: 0;
  z-index: 1;
  transform: rotate(6deg);
}

.hero-tag {
  position: absolute;
  top: 18px;
  right: 14px;
  z-index: 4;
  background: var(--tag-bg);
  color: var(--tag-fg);
  border-radius: 999px;
  padding: 14px 9px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  box-shadow: 0 6px 16px rgba(11, 11, 15, 0.18);
  white-space: nowrap;
  line-height: 1.1;
}

.cloud {
  position: absolute;
  inset: -40px -60px -80px;
  pointer-events: none;
  z-index: 0;
}

.page-hero .cloud { inset: -20px -40px -40px; }

.cloud::before, .cloud::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.cloud::before {
  background:
    radial-gradient(ellipse 52% 46% at 50% 48%, transparent 18%, var(--edge-fade) 76%),
    linear-gradient(to bottom, var(--bg) 0%, transparent 16%, transparent 74%, var(--bg) 100%);
}

.cloud::after {
  background: linear-gradient(to right, var(--bg) 0%, transparent 16%, transparent 84%, var(--bg) 100%);
}

.float {
  position: absolute;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  background: var(--shot-bg);
}

.float::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px var(--card-edge);
  pointer-events: none;
  z-index: 1;
}

.float img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.float.wide img { object-position: center; }

.float.blur { filter: blur(1.2px) saturate(0.95); opacity: var(--blur-opacity); }
.float.blur-more { filter: blur(3px) saturate(0.9); opacity: var(--blur-more-opacity); }
.float.dim { opacity: var(--dim-opacity); }

.hero-inner { position: relative; z-index: 3; max-width: 760px; }

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 22px;
}

.page-hero h1 {
  font-size: clamp(40px, 5.6vw, 64px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}

.lede {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
  max-width: 480px;
  margin: -6px auto 0;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.chevron {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: var(--muted2);
  opacity: 0.75;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chevron svg { width: 22px; height: 22px; }

/* Mood categories */

.moods {
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px 40px 28px;
  text-align: center;
}

.moods h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 400;
  letter-spacing: -0.028em;
  line-height: 1.15;
  margin-bottom: 40px;
}

.mood-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  text-align: left;
}

.mood-card {
  position: relative;
  border-radius: 28px;
  padding: 28px 26px 30px;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  background: var(--mood-1);
  box-shadow: var(--mood-shadow);
  border: 1px solid var(--mood-edge);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mood-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.18), transparent 42%, transparent 58%, rgba(0, 0, 0, 0.08));
  pointer-events: none;
}

.mood-card:hover { transform: translateY(-4px); }

.mood-food { background: var(--mood-1); }
.mood-nightlife { background: var(--mood-2); }
.mood-music { background: var(--mood-3); }

.mood-label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--muted);
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.mood-card h3 {
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin-bottom: 8px;
  max-width: 11ch;
  position: relative;
  z-index: 1;
}

.mood-icon {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 0 10px;
  position: relative;
  z-index: 1;
}

.mood-icon svg {
  width: min(168px, 70%);
  height: auto;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.28));
}

[data-theme="light"] .mood-icon svg {
  filter: drop-shadow(0 16px 24px rgba(11, 11, 15, 0.18));
}

.mood-desc {
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
  max-width: 22ch;
  margin-top: auto;
  position: relative;
  z-index: 1;
}

/* Sections */

.feature-stack { padding: 12px 0 8px; }

.feature {
  padding: 88px 48px;
  max-width: 980px;
  margin: 0 auto;
}

.feature.centered { text-align: center; }

.feature h2, .block h2, .cta-band h2 {
  font-size: clamp(30px, 3.8vw, 44px);
  font-weight: 400;
  letter-spacing: -0.028em;
  line-height: 1.15;
  margin-bottom: 36px;
}

.step {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 14px;
}

.feature .body, .block .body {
  margin-top: 28px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
  max-width: 440px;
}

.feature.centered .body { margin-left: auto; margin-right: auto; }

.demo-panel {
  width: min(920px, 100%);
  margin: 0 auto;
  border-radius: 28px;
  overflow: hidden;
  background: var(--panel);
  box-shadow: var(--card-shadow);
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 28px 32px;
  position: relative;
}

.demo-panel.alt { background: var(--panel-2); }

.shot {
  height: 92%;
  width: auto;
  aspect-ratio: 448 / 897;
  max-width: 32%;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shot-shadow);
  flex: 0 0 auto;
  background: var(--shot-bg);
}

.shot img, .phone-frame img, .wide-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.chip {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--chip);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  color: var(--fg);
  box-shadow: inset 0 0 0 1px var(--line);
  white-space: nowrap;
}

.phone-frame {
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  background: var(--shot-bg);
  position: relative;
}

.phone-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px var(--card-edge);
  pointer-events: none;
}

.phone-solo {
  width: min(280px, 72%);
  aspect-ratio: 448 / 897;
  margin: 0 auto;
}

/* Two phones in #liked: Events left, Places right. Each keeps the solo size. */
.phone-duo {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 32px;
}

.phone-duo .phone-solo {
  margin: 0;
  flex: 0 0 auto;
}

.wide-shot {
  width: min(860px, 100%);
  margin: 0 auto;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  background: var(--shot-bg);
  aspect-ratio: 1024 / 594;
  position: relative;
}

.wide-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px var(--card-edge);
  pointer-events: none;
}

.wide-shot img { object-position: center top; }

section.block {
  position: relative;
  padding: 80px 48px 120px;
  max-width: 1100px;
  margin: 0 auto;
}

.asym {
  display: grid;
  grid-template-columns: 1fr minmax(220px, 280px) 1fr;
  gap: 36px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.asym .headline {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.18;
  text-align: right;
  margin: 0;
}

.asym .phone { width: 100%; aspect-ratio: 448 / 897; }

.asym .caption {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  max-width: 260px;
}

/* Facts */

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 980px;
  margin: 0 auto;
  padding: 12px 48px 24px;
}

.fact {
  padding: 8px 8px 0;
}

.fact h3 {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.fact p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.pair {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 28px;
}

.pair figure { margin: 0; width: min(240px, 42vw); }

.pair .phone-frame { width: 100%; aspect-ratio: 448 / 897; }

.pair figcaption {
  margin-top: 14px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

/* Places | Events */

.decks {
  max-width: 1120px;
  margin: 0 auto;
  padding: 36px 40px 12px;
}

.deck-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.deck-card {
  position: relative;
  border-radius: 36px;
  padding: 22px 22px 36px;
  display: flex;
  flex-direction: column;
  min-height: 640px;
  overflow: hidden;
  box-shadow: var(--deck-shadow);
  border: 1px solid var(--deck-edge);
}

.deck-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.22), transparent 40%, transparent 60%, rgba(0, 0, 0, 0.10));
  pointer-events: none;
  z-index: 0;
}

.deck-places { background: var(--deck-places); }
.deck-events { background: var(--deck-events); }

.deck-montage {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-height: 360px;
  border-radius: 28px;
  background: var(--montage-bg);
  border: 1px solid var(--montage-edge);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
  margin-bottom: 28px;
}

.deck-stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.deck-phone {
  position: relative;
  width: 168px;
  height: 340px;
  border-radius: 28px;
  background: var(--phone-bezel);
  box-shadow:
    0 28px 48px rgba(0, 0, 0, 0.28),
    0 0 0 2px rgba(255, 255, 255, 0.08),
    inset 0 0 0 1.5px var(--phone-shine);
  overflow: hidden;
  z-index: 4;
  flex: none;
}

.deck-phone img,
.deck-fan img,
.deck-life img,
.app-phone img {
  position: absolute;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.deck-phone img,
.app-phone img {
  inset: 6px;
  width: calc(100% - 12px);
  height: calc(100% - 12px);
  max-width: none;
  border-radius: 22px;
}

.deck-fan {
  position: absolute;
  width: 108px;
  height: 148px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
  border: 2px solid var(--fan-edge);
  background: var(--phone-bezel);
  z-index: 2;
}

.deck-fan img,
.deck-life img {
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
}

.deck-places .deck-fan-1 { left: 8%; top: 18%; transform: rotate(-14deg); }
.deck-places .deck-fan-2 { left: 14%; bottom: 12%; transform: rotate(-8deg); }
.deck-places .deck-fan-3 { right: 8%; top: 16%; transform: rotate(12deg); }
.deck-places .deck-fan-4 { right: 12%; bottom: 14%; transform: rotate(9deg); }

.deck-stage-events {
  justify-content: flex-start;
  padding: 28px 24px;
}

.deck-life {
  position: relative;
  width: 200px;
  height: 220px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
  border: 2px solid var(--fan-edge);
  flex: none;
  z-index: 2;
}

.deck-life img { object-position: center 20%; }

.deck-phone-side {
  position: absolute;
  right: 28px;
  top: 50%;
  transform: translateY(-50%) rotate(4deg);
  width: 156px;
  height: 316px;
}

.deck-tag {
  position: absolute;
  z-index: 5;
  background: var(--deck-tag-bg);
  color: var(--deck-tag-fg);
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
  white-space: nowrap;
  line-height: 1;
}

.deck-tag-accent {
  background: var(--deck-accent);
  color: #0B0B0F;
}

.deck-tag-gigs { left: 18%; top: 14%; }
.deck-tag-tonight { left: 28%; top: 42%; }
.deck-tag-near { left: 22%; bottom: 18%; }

.deck-mark {
  position: absolute;
  left: 42%;
  bottom: 28%;
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--deck-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
}

.deck-mark svg { width: 26px; height: 26px; display: block; }

.deck-copy {
  position: relative;
  z-index: 1;
  padding: 0 10px 4px;
  text-align: left;
}

.deck-copy h3 {
  font-size: clamp(28px, 2.8vw, 36px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 12px;
}

.deck-copy p {
  font-size: 15px;
  line-height: 1.45;
  color: var(--fg);
  opacity: 0.88;
  max-width: 34ch;
  margin-bottom: 22px;
}

.deck-link {
  display: inline-block;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--deck-link);
}

.deck-link:hover { opacity: 0.8; }

/* Download band */

.getapp {
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px 40px 28px;
  scroll-margin-top: 84px;
}

.getapp-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  border-radius: 40px;
  padding: 48px 36px 48px 56px;
  background: var(--band);
  border: 1px solid var(--band-edge);
  box-shadow: var(--band-shadow);
  overflow: hidden;
  min-height: 420px;
}

.getapp-band::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.22), transparent 42%, transparent 58%, rgba(0, 0, 0, 0.10));
  pointer-events: none;
}

.getapp-copy {
  position: relative;
  z-index: 1;
  max-width: 380px;
}

.getapp-copy h2 {
  font-size: clamp(36px, 4.2vw, 52px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-bottom: 14px;
}

.getapp-copy p {
  font-size: 16px;
  line-height: 1.45;
  color: var(--fg);
  opacity: 0.85;
  margin-bottom: 28px;
  max-width: 28ch;
}

.qr-frame {
  display: inline-block;
  background: var(--qr-frame);
  border-radius: 18px;
  padding: 14px;
  box-shadow: var(--qr-shadow);
  line-height: 0;
}

.qr-frame img {
  display: block;
  width: 148px;
  height: 148px;
  max-width: none;
  border-radius: 6px;
}

.getapp-phones {
  position: relative;
  z-index: 1;
  height: 390px;
  min-width: 0;
}

.app-phone {
  position: absolute;
  border-radius: 32px;
  background: var(--phone-bezel);
  box-shadow:
    0 32px 56px rgba(0, 0, 0, 0.32),
    0 0 0 2px rgba(255, 255, 255, 0.08),
    inset 0 0 0 1.5px var(--phone-shine);
  overflow: hidden;
}

.app-phone img { border-radius: 26px; }

.app-phone-profile {
  left: 2%;
  bottom: -18px;
  z-index: 1;
  width: 168px;
  height: 344px;
  transform: rotate(-11deg);
}

.app-phone-swipe {
  left: 30%;
  bottom: -8px;
  z-index: 3;
  width: 200px;
  height: 410px;
  transform: rotate(-2deg);
}

.app-phone-liked {
  right: 2%;
  bottom: -6px;
  z-index: 2;
  width: 168px;
  height: 344px;
  transform: rotate(10deg);
}

.cta-band {
  text-align: center;
  padding: 40px 24px 100px;
}

.cta-band h2 { margin-bottom: 28px; }

/* Footer */

.foot {
  position: relative;
  z-index: 4;
  padding: 12px 36px 32px;
}

.foot-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  margin: 0 auto;
  padding: 4px 16px 0;
  font-size: 13px;
  color: var(--quiet);
  text-align: center;
}

.foot-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 6px;
  color: var(--quiet);
}

.foot-links a:hover,
.foot-links a[aria-current="page"] { color: var(--fg); }

.wordmark {
  font-size: clamp(42px, 13.2vw, 168px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.86;
  text-align: center;
  width: 100%;
  color: var(--fg);
  padding: 8px 10px 18px;
  user-select: none;
  white-space: nowrap;
}

/* Prose */

.prose {
  max-width: 640px;
  margin: 0 auto;
  padding: 148px 24px 96px;
}

.prose h1 {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 8px;
}

.prose .eyebrow { margin-bottom: 16px; }

.prose h2 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-top: 36px;
}

.prose p, .prose li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  margin-top: 14px;
}

.prose ul { padding-left: 18px; }

.prose a { color: var(--fg); box-shadow: inset 0 -1px 0 var(--line); }

/* Responsive */

@media (max-width: 1000px) {
  .hero-body {
    grid-template-columns: minmax(0, 1fr);
    padding: 12px 24px 36px;
    gap: 8px;
  }
  .hero-copy { text-align: center; margin: 0 auto; max-width: none; }
  .hero-copy p { margin-left: auto; margin-right: auto; }
  .hero-copy .hero-ctas { justify-content: center; }
  /* Wider fan than desktop so each card and its label read on a phone.
     Scale tracks the viewport so the rotated corners stay inside it. */
  .hero-stack-wrap { height: clamp(320px, 88vw, 450px); }
  .hero-stack { transform: translateX(calc(-2.2vw - 16px)) scale(min(0.78, (100vw - 40px) / 680px)); }
  .hero-card-front { left: 0; top: 46px; transform: rotate(-9deg); }
  .hero-card-mid { left: 96px; top: 18px; transform: rotate(2deg); }
  .hero-card-back { left: 188px; top: -4px; transform: rotate(12deg); }
}

@media (max-width: 860px) {
  .nav {
    padding-top: max(14px, env(safe-area-inset-top));
    padding-right: max(16px, env(safe-area-inset-right));
    padding-bottom: 14px;
    padding-left: max(16px, env(safe-area-inset-left));
  }
  .nav-links { display: none; }
  .nav-burger { display: inline-flex; }
  .nav-left { gap: 0; }

  .site-menu:not([hidden]) {
    display: flex;
    flex-direction: column;
    position: fixed;
    z-index: 60;
    top: 64px;
    left: 12px;
    right: 12px;
    padding: 8px;
    border-radius: 18px;
    background: var(--glass);
    backdrop-filter: blur(18px) saturate(1.2);
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
    box-shadow: var(--card-shadow), inset 0 0 0 1px var(--line);
  }

  .site-menu a {
    text-align: left;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 15px;
    color: var(--fg);
  }

  .site-menu a:hover { background: var(--hover); }

  .feature, section.block { padding-left: 20px; padding-right: 20px; }
  .facts { grid-template-columns: 1fr; padding: 0 24px 12px; gap: 22px; }
  .foot { padding: 8px 20px 28px; }

  .moods { padding: 40px 20px 16px; }
  .mood-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
  .mood-card { min-height: 420px; }

  .decks { padding: 28px 20px 8px; }
  .deck-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .deck-card { min-height: 580px; }
  .deck-phone-side { right: 16px; width: 140px; height: 284px; }
  .deck-life { width: 160px; height: 180px; }

  .getapp { padding: 36px 20px 12px; }
  .getapp-band {
    grid-template-columns: 1fr;
    padding: 40px 28px 0;
    text-align: center;
    min-height: 0;
  }
  .getapp-copy { margin: 0 auto; }
  .getapp-copy p { margin-left: auto; margin-right: auto; }
  .getapp-phones { height: 340px; margin-top: 8px; }
  .app-phone-swipe {
    left: 50%;
    transform: translateX(-50%) rotate(-2deg);
  }
  .app-phone-profile { left: 4%; width: 140px; height: 286px; }
  .app-phone-liked { right: 4%; width: 140px; height: 286px; }
}

@media (max-width: 800px) {
  .asym {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 22px;
  }
  .asym .headline, .asym .caption { text-align: center; }
  .asym .phone { width: min(260px, 72vw); }
  .asym .caption { max-width: 340px; }
}

@media (max-width: 720px) {
  .phone-duo { gap: 14px; }
  .phone-duo .phone-solo { width: min(240px, 42vw); }

  .page-hero h1 { font-size: 40px; }
  .hero { padding-top: calc(86px + env(safe-area-inset-top, 0px)); }
  .hero-wordmark { letter-spacing: -0.05em; }
  .demo-panel {
    aspect-ratio: auto;
    height: auto;
    gap: 10px;
    padding: 18px 12px;
    overflow: hidden;
  }
  .shot {
    height: 230px;
    width: calc(230px * 448 / 897);
    max-width: none;
  }
  .pair { gap: 14px; }
  .wordmark { letter-spacing: -0.05em; }
  .pill-lg { height: 46px; padding: 0 22px; }
}

@media (max-width: 420px) {
  .hero-body { padding-left: 16px; padding-right: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pill, .mood-card { transition: none; }
  .mood-card:hover { transform: none; }
}

/* Home-page onboarding orbit. js/orbit-bg.js builds the layer.
   The stage is the bottom-left quadrant of the 400×400 orbit (viewBox
   0 200 200 200), pinned so the orbit centre sits on the top-right
   corner. --orbit-size is the outer ring's radius (164 user units).
   Tweak the motif on :root: --orbit-opacity, --orbit-size,
   --orbit-icon-scale (glyph size, 0.525 = 52.5% of the original),
   and --orbit-speed (0.5 = half the original angular speed,
   with fade durations doubled). */

.orbit-bg {
  position: fixed;
  z-index: -1;
  top: 0;
  right: 0;
  width: calc(var(--orbit-size) * 200 / 164);
  height: calc(var(--orbit-size) * 200 / 164);
  color: var(--fg);
  opacity: var(--orbit-opacity);
  pointer-events: none;
  user-select: none;
  overflow: hidden;
}

.orbit-bg-stage { position: absolute; inset: 0; }

.orbit-bg-svg,
.orbit-bg-icons {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  overflow: hidden;
}

.orbit-ring {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.25;
  stroke-linecap: round;
}

.orbit-dust { fill: currentColor; }
.orbit-fill { fill: currentColor; }
.orbit-cut { fill: var(--bg); }
.orbit-mid { fill: currentColor; opacity: 0.5; }
.orbit-soft { fill: currentColor; opacity: 0.28; }
.orbit-line { fill: none; stroke: currentColor; }
.orbit-cutline {
  fill: none;
  stroke: var(--bg);
  stroke-linecap: round;
}
.orbit-knob { fill: var(--bg); stroke: currentColor; }

@media (max-width: 480px) {
  :root { --orbit-size: 78vw; }
}

@media (forced-colors: active), print {
  .orbit-bg { display: none; }
}

/* Mood cards as a fanned hand.
   Section: .moods ("Pick what you're in the mood for").
   No markup changes: the three .mood-card articles (DOM order: Food & drink,
   Nightlife, Live music) become left / centre (on top) / right.
   All three cards share one grid cell; each is rotated about its bottom
   centre (transform-origin: 50% 100%) and shifted sideways. */
.moods {
  --fan-w: clamp(136px, 45vw, 300px);
  --fan-h: clamp(250px, 76vw, 460px);
  --fan-x: min(15vw, 220px);
  --fan-r: 12deg;
  --fan-lift: 0px;
}

.mood-grid {
  display: grid;
  grid-template-columns: var(--fan-w);
  justify-content: center;
  gap: 0;
  max-width: none;
  margin: 0 auto;
  /* Room for the tilted corners: inner top corners rise, outer bottom corners drop. */
  padding: 30px 0 48px;
}

.mood-grid > .mood-card,
.mood-grid > .mood-card:hover {
  --i: 0;
  --lift: 0px;
  grid-area: 1 / 1;
  width: var(--fan-w);
  min-height: var(--fan-h);
  transform-origin: 50% 100%;
  transform:
    translateX(calc(var(--i) * var(--fan-x)))
    translateY(calc(var(--fan-lift) + var(--lift)))
    rotate(calc(var(--i) * var(--fan-r)));
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.45s ease;
}

.mood-grid > .mood-card:nth-child(1) { --i: -1; z-index: 1; }
.mood-grid > .mood-card:nth-child(2) { --i: 0;  z-index: 3; }
.mood-grid > .mood-card:nth-child(3) { --i: 1;  z-index: 2; }

/* Centre card casts a slightly deeper soft shadow onto the two behind it. */
.mood-grid > .mood-card:nth-child(2) {
  box-shadow: var(--mood-shadow), 0 10px 30px rgba(11, 11, 15, 0.10);
}
[data-theme="dark"] .mood-grid > .mood-card:nth-child(2) {
  box-shadow: var(--mood-shadow), 0 10px 30px rgba(0, 0, 0, 0.35);
}

/* Hover (pointer devices): the hand opens to +/-18deg with a slight lift.
   The offset is capped, with a 32px gutter, so the opened fan stays inside
   the viewport. At 1024 and 1440 the cap does not bind (18.4vw / 265px). */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .mood-grid:hover {
    --fan-r: 18deg;
    --fan-x: min(18.4vw, 265px, calc((100vw - var(--fan-w) * cos(18deg) - 2 * var(--fan-h) * sin(18deg) - 32px) / 2));
    --fan-lift: -10px;
  }
  .mood-grid > .mood-card:hover { --lift: -6px; }
}

/* Phones / small tablets: same fan, scaled with the viewport.
   At rest the fan is about 92% of the viewport, so it does not overflow. */
@media (max-width: 720px) {
  .moods { --fan-w: 31vw; --fan-h: 64vw; --fan-x: 17.7vw; }
  .mood-grid { padding: 22px 0 34px; max-width: none; }
  .mood-grid > .mood-card { padding: 14px 12px 14px; border-radius: 20px; }
  .mood-grid .mood-label { font-size: 11px; margin-bottom: 6px; }
  .mood-grid .mood-card h3 { font-size: clamp(18px, 4.9vw, 26px); margin-bottom: 4px; }
  .mood-grid .mood-icon { padding: 8px 0 6px; }
  .mood-grid .mood-icon svg { width: min(110px, 80%); }
  .mood-grid .mood-desc { font-size: 12px; line-height: 1.4; }
}

@media (prefers-reduced-motion: reduce) {
  .mood-grid > .mood-card,
  .mood-grid > .mood-card:hover { transition: none; }
}
