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

:root {
  --bg-1: #f5f7f6;
  --bg-2: #eef5f7;
  --ink: #24404a;
  --muted: #5b7480;
  --line: rgba(65, 105, 120, 0.14);
  --white-glass: rgba(255,255,255,0.68);
  --white-strong: rgba(255,255,255,0.82);
  --shadow-soft: 0 14px 40px rgba(55, 91, 106, 0.10);
  --shadow-card: 0 10px 24px rgba(55, 91, 106, 0.10);
  --accent: #6aa6b4;
  --accent-2: #88c8b6;
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --topbar-h: 78px;
  --bottom-h: 78px;
}

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

body {
  margin: 0;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(132, 194, 181, 0.20), transparent 34%),
    radial-gradient(circle at top right, rgba(106, 166, 180, 0.22), transparent 30%),
    linear-gradient(180deg, var(--bg-2), var(--bg-1));
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 18px;
  backdrop-filter: blur(16px);
  background: rgba(248, 251, 252, 0.76);
  border-bottom: 1px solid var(--line);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-logo {
  width: 66px;
  height: 66px;
  object-fit: contain;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255,255,255,0.92), rgba(255,255,255,0.64));
  padding: 6px;
  box-shadow: var(--shadow-card);
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-text strong {
  font-size: 0.98rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-text span {
  color: var(--muted);
  font-size: 0.78rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topnav {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav-link, .bottom-link {
  text-decoration: none;
  color: var(--muted);
}

.nav-link {
  padding: 10px 14px;
  border-radius: 999px;
  transition: 180ms ease;
  font-size: 0.92rem;
}

.nav-link.active, .nav-link:hover {
  color: var(--ink);
  background: rgba(255,255,255,0.8);
  box-shadow: inset 0 0 0 1px var(--line);
}

.app-shell {
  padding: 18px 18px calc(var(--bottom-h) + 24px);
}

.screen {
  min-height: calc(100vh - var(--topbar-h) - 24px);
  padding: 16px 0 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-card,
.about-card,
.section-screen {
  border-radius: var(--radius-xl);
}

.hero-card,
.about-card {
  background: linear-gradient(180deg, var(--white-strong), rgba(255,255,255,0.62));
  border: 1px solid rgba(255,255,255,0.54);
  box-shadow: var(--shadow-soft);
}

.hero-card {
  padding: 20px;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 22px;
  align-items: center;
}

.eyebrow,
.section-kicker,
.drawer-tier {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5d8795;
  font-size: 0.78rem;
  font-weight: 700;
}

h1, h2, h3, h4, p { margin-top: 0; }

h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  margin-bottom: 16px;
}

h2 {
  font-size: clamp(1.6rem, 2.7vw, 2.5rem);
  line-height: 1.1;
  margin-bottom: 10px;
}

.lede, .section-head p, .about-card p, .drawer-content p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.subbrand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 14px 0 14px;
  padding: 10px 12px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.72), rgba(255,255,255,0.52));
  box-shadow: inset 0 0 0 1px rgba(65, 105, 120, 0.10);
  width: fit-content;
  max-width: 100%;
}

.subbrand-logo {
  width: 92px;
  height: 92px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 8px 16px rgba(55, 91, 106, 0.12));
}

.subbrand-text {
  display: flex;
  flex-direction: column;
}

.subbrand-text strong {
  font-size: 1.02rem;
}

.subbrand-text span {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.35;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  text-decoration: none;
  font-weight: 700;
  box-shadow: var(--shadow-card);
}

.pill-btn.secondary {
  background: rgba(255,255,255,0.78);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}

.hero-visual-wrap {
  padding: 10px;
  background: linear-gradient(180deg, rgba(255,255,255,0.76), rgba(255,255,255,0.44));
  border-radius: 22px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.50);
}

.hero-image {
  width: 100%;
  display: block;
  border-radius: 18px;
  box-shadow: var(--shadow-card);
}

.section-screen {
  background: linear-gradient(180deg, rgba(255,255,255,0.66), rgba(255,255,255,0.48));
  border: 1px solid rgba(255,255,255,0.54);
  box-shadow: var(--shadow-soft);
  padding: 22px;
}

.section-head {
  max-width: 820px;
  margin-bottom: 22px;
}

.section-lockup {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}

.section-logo {
  object-fit: contain;
  display: block;
}

.songbridge-section-logo {
  width: 96px;
  height: 96px;
  filter: drop-shadow(0 8px 16px rgba(55, 91, 106, 0.12));
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.product-card {
  border: 0;
  text-align: left;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.70));
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.product-card:hover,
.product-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(55, 91, 106, 0.14);
  outline: none;
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  margin-bottom: 14px;
  font-size: 1.25rem;
  background: linear-gradient(145deg, rgba(106,166,180,0.18), rgba(136,200,182,0.20));
}

.card-title {
  display: block;
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ink);
}

.card-sub {
  color: var(--muted);
  line-height: 1.45;
}

.about-card {
  padding: 26px;
}

.about-top {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 22px;
  align-items: center;
}

.conditions-model {
  width: 100%;
  max-width: 320px;
  display: block;
  margin-left: auto;
  border-radius: 20px;
  background: rgba(255,255,255,0.66);
  box-shadow: var(--shadow-card);
}

.quote-block {
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(106,166,180,0.10), rgba(231,181,118,0.12));
  color: var(--ink);
  font-weight: 600;
  line-height: 1.55;
}

.bottom-nav {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 35;
  height: var(--bottom-h);
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px;
  border-radius: 24px;
  background: rgba(248, 251, 252, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 34px rgba(55, 91, 106, 0.16);
  border: 1px solid rgba(255,255,255,0.6);
}

.bottom-link {
  flex: 1;
  min-width: 0;
  border-radius: 16px;
  display: grid;
  place-items: center;
  gap: 2px;
  padding: 8px 4px;
  font-size: 1.15rem;
}

.bottom-link small {
  font-size: 0.69rem;
}

.bottom-link.active {
  background: rgba(255,255,255,0.84);
  color: var(--ink);
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(36, 64, 74, 0.28);
  z-index: 48;
}

.drawer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  min-height: 42vh;
  max-height: 82vh;
  border-radius: 26px 26px 0 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(248,251,252,0.96));
  box-shadow: 0 -10px 40px rgba(36,64,74,0.22);
  transform: translateY(104%);
  transition: transform 220ms ease;
  padding: 18px 18px 28px;
}

.drawer.open {
  transform: translateY(0);
}

.drawer[aria-hidden="false"]::before {
  content: "";
  width: 44px;
  height: 5px;
  border-radius: 999px;
  background: rgba(91,116,128,0.28);
  display: block;
  margin: 0 auto 14px;
}

.drawer-close {
  position: absolute;
  right: 14px;
  top: 12px;
  border: 0;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(255,255,255,0.88);
  box-shadow: var(--shadow-card);
  cursor: pointer;
}

.drawer-content {
  padding-top: 24px;
  max-width: 760px;
  margin: 0 auto;
}

.drawer-audience {
  font-weight: 600;
  color: var(--ink);
}

.drawer-section {
  margin-top: 20px;
}

.drawer-section h4 {
  margin-bottom: 8px;
}

@media (max-width: 960px) {
  .hero-card {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: 1fr 1fr;
  }

  .topnav {
    display: none;
  }

  .bottom-nav {
    display: flex;
  }

  .about-top {
    grid-template-columns: 1fr;
  }

  .conditions-model {
    margin: 6px auto 0;
    max-width: 360px;
  }
}

@media (max-width: 640px) {
  .app-shell {
    padding: 12px 12px calc(var(--bottom-h) + 18px);
  }

  .topbar {
    padding: 10px 12px;
  }

  .brand-logo {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .brand-text strong {
    font-size: 0.9rem;
  }

  .brand-text span {
    font-size: 0.72rem;
  }

  .screen {
    min-height: auto;
    padding: 10px 0 18px;
  }

  .hero-card,
  .section-screen,
  .about-card {
    padding: 16px;
    border-radius: 24px;
  }

  .subbrand-lockup {
    gap: 10px;
    padding: 8px 10px;
  }

  .subbrand-logo {
    width: 72px;
    height: 72px;
  }

  .subbrand-text strong {
    font-size: 0.95rem;
  }

  .subbrand-text span {
    font-size: 0.8rem;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .section-lockup {
    align-items: flex-start;
  }

  .songbridge-section-logo {
    width: 78px;
    height: 78px;
  }

  .product-card {
    min-height: 142px;
  }
}


/* Apple-style splash */
#splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 38%, rgba(255,255,255,0.96), rgba(255,255,255,0.72) 28%, rgba(238,245,247,0.96) 58%, rgba(245,247,246,1) 100%),
    linear-gradient(180deg, #eef5f7, #f5f7f6);
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

#splash::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 42%, rgba(106, 166, 180, 0.10), transparent 18%),
    radial-gradient(circle at 50% 38%, rgba(136, 200, 182, 0.10), transparent 26%);
  pointer-events: none;
}

#splash.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.splash-inner {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 24px;
  transform: translateY(0) scale(1);
  opacity: 1;
  transition:
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

#splash.is-hidden .splash-inner {
  transform: translateY(-8px) scale(1.015);
  opacity: 0;
}

.splash-logo-wrap {
  width: 124px;
  height: 124px;
  border-radius: 31px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(255,255,255,0.94), rgba(255,255,255,0.68));
  box-shadow:
    0 24px 50px rgba(55, 91, 106, 0.12),
    inset 0 0 0 1px rgba(255,255,255,0.72);
  transform: scale(0.94);
  opacity: 0;
  animation:
    splash-pop 1.05s cubic-bezier(0.22, 1, 0.36, 1) 0.08s forwards,
    splash-float 4.2s ease-in-out 1.2s infinite;
}

.splash-logo {
  width: 92px;
  height: 92px;
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(55, 91, 106, 0.10));
}

.splash-wordmark {
  font-size: clamp(1.7rem, 2.4vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #496b8d;
  opacity: 0;
  transform: translateY(10px);
  animation: splash-rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.28s forwards;
}

.splash-sub {
  font-size: 0.98rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(91, 116, 128, 0.88);
  opacity: 0;
  transform: translateY(10px);
  animation: splash-rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.42s forwards;
}

@keyframes splash-pop {
  0% {
    opacity: 0;
    transform: scale(0.86);
    filter: blur(8px);
  }
  60% {
    opacity: 1;
    transform: scale(1.03);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}

@keyframes splash-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes splash-float {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-3px) scale(1.005);
  }
}

@media (prefers-reduced-motion: reduce) {
  .splash-logo-wrap,
  .splash-wordmark,
  .splash-sub,
  #splash,
  .splash-inner {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
  }
}

@media (max-width: 640px) {
  .splash-logo-wrap {
    width: 110px;
    height: 110px;
    border-radius: 28px;
  }

  .splash-logo {
    width: 82px;
    height: 82px;
  }

  .splash-wordmark {
    font-size: 1.55rem;
  }

  .splash-sub {
    font-size: 0.86rem;
  }
}
.start-here-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(22, 33, 43, 0.38);
  z-index: 1000;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}

.start-here-modal.open {
  display: flex;
}

.start-here-content {
  position: relative;
  background: #ffffff;
  width: 100%;
  max-width: 720px;
  max-height: 88vh;
  overflow-y: auto;
  padding: 18px 22px 28px;
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.16);
  transform: translateY(36px);
  opacity: 0;
  filter: blur(10px);
  transition:
    transform 0.34s ease,
    opacity 0.34s ease,
    filter 0.34s ease;
  -webkit-overflow-scrolling: touch;
}

.start-here-modal.open .start-here-content {
  transform: translateY(0);
  opacity: 1;
  filter: blur(0);
}

.start-here-content button {
  border: 0;
}

.start-here-content h2 {
  margin-top: 0;
  margin-bottom: 10px;
}

.start-here-content p {
  line-height: 1.6;
}

.start-here-content > button:first-of-type {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #f2f4f7;
  color: #2d4656;
  font-size: 18px;
  cursor: pointer;
}

@media (min-width: 721px) {
  .start-here-modal {
    padding: 24px;
  }

  .start-here-content {
    border-radius: 28px;
    max-width: 640px;
    margin-bottom: 0;
  }
}
.featured-entry-card {
  background: rgba(255,255,255,0.95);
  padding: 20px;
  border-radius: 20px;
  margin-bottom: 20px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.featured-entry-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.featured-entry-card p {
  margin-bottom: 10px;
}
button:active {
  transform: scale(0.98);
}

#voiceModal .start-here-content {
  background: #fffdf8;
}

.start-here-content {
  will-change: transform;
}

.start-here-content.is-dragging {
  transition: none !important;
}
.sheet-handle {
  width: 44px;
  height: 5px;
  border-radius: 999px;
  background: #d7dbe0;
  margin: 0 auto 16px auto;
}
.section-screen h3 {
  margin-bottom: 8px;
  color: #5d8795;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}
.needs-bar {
  margin: 18px 0 26px;
  padding: 16px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.82), rgba(255,255,255,0.62));
  box-shadow: 0 10px 22px rgba(55, 91, 106, 0.08);
}

.needs-label {
  margin: 0 0 12px 0;
  font-weight: 700;
  color: #5d8795;
  letter-spacing: 0.02em;
}

.needs-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.needs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.9);
  color: #24404a;
  text-decoration: none;
  font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(65, 105, 120, 0.12);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.needs-btn:hover,
.needs-btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(55, 91, 106, 0.10);
  outline: none;
}
.start-somewhere-wrap {
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.start-somewhere-btn {
  border: 0;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #6aa6b4, #88c8b6);
  color: white;
  font-weight: 700;
  font-size: 0.98rem;
  box-shadow: 0 10px 22px rgba(55, 91, 106, 0.14);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.start-somewhere-btn:hover,
.start-somewhere-btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(55, 91, 106, 0.16);
  outline: none;
}

.start-somewhere-sub {
  margin: 0;
  color: #5b7480;
  font-size: 0.92rem;
}
.needs-btn:active {
  transform: scale(0.96);
}
html {
  scroll-behavior: smooth;
}
.start-somewhere-btn {
  transition: transform 0.18s ease, opacity 0.18s ease, box-shadow 0.18s ease;
}

.start-somewhere-btn.is-pressed {
  transform: scale(0.96);
  opacity: 0.85;
  box-shadow: 0 6px 12px rgba(55, 91, 106, 0.12);
}
.start-somewhere-btn {
  transition: 
    transform 0.18s ease, 
    opacity 0.18s ease, 
    box-shadow 0.18s ease;
}

/* NEW: text fade */
.start-somewhere-btn.is-fading {
  opacity: 0.6;
}
.start-somewhere-btn {
  position: relative;
  overflow: hidden;
}

/* shimmer layer */
.start-somewhere-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.35) 50%,
    rgba(255,255,255,0) 100%
  );
  transform: skewX(-20deg);
}

/* trigger shimmer */
.start-somewhere-btn.is-shimmering::after {
  animation: shimmerSweep 600ms ease;
}

@keyframes shimmerSweep {
  0% {
    left: -120%;
  }
  100% {
    left: 140%;
  }
}
.song-section {
  margin-bottom: 28px;
}

.song-section + .song-section {
  margin-top: 8px;
}
.flow-divider {
  height: 20px;
  background: linear-gradient (to bottom,transparent,rgba(120,140,150,0.05),transparent);
  margin: 8px 0 16px;
  border-radius: 12px;
}
.regulation h3 { color: #6f8f9a; }
.joy h3 { color: #d4a94f; }
.voice h3 { color: #c89b5a; }
.identity h3 { color: #6aa3a8; }
.agency h3 { color: #7aa86f; }
.flow-line {
  font-size: 14px;
  color: #7a8a92;
  text-align: center;
  margin: 12px 0;
}
