/* Tandem landing — glass dark, aligned with app UI */

:root {
  --canvas: #252934;
  --glass: rgba(65, 70, 84, 0.78);
  --glass-border: rgba(255, 255, 255, 0.18);
  --text: #f5f5f7;
  --muted: #c6cad5;
  --coral: #f472b6;
  --teal: #2dd4bf;
  --orange: #fb923c;
  --blue: #60a5fa;
  --radius: 1.75rem;
  --radius-sm: 1.125rem;
  --max: 72rem;
  --nav-h: 4.25rem;
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --script: "Caveat", cursive;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
  background: var(--canvas);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 50% 40% at 10% 0%, rgba(45, 212, 191, 0.18), transparent 55%),
    radial-gradient(ellipse 45% 40% at 95% 20%, rgba(244, 114, 182, 0.16), transparent 50%),
    radial-gradient(ellipse 50% 45% at 20% 100%, rgba(96, 165, 250, 0.14), transparent 55%),
    radial-gradient(ellipse 40% 35% at 90% 95%, rgba(251, 146, 60, 0.12), transparent 50%),
    linear-gradient(160deg, #252934 0%, #303340 50%, #293640 100%);
}

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

a {
  color: var(--coral);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.script {
  font-family: var(--script);
  font-weight: 600;
  font-size: 1.35em;
  color: var(--coral);
}

/* Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(43, 48, 61, 0.88);
  border-bottom: 1px solid var(--glass-border);
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--nav-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.2rem;
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
  color: var(--text);
}

.brand-logo {
  width: 3rem;
  height: 3rem;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
  /* Display logo asset 1:1 — no filters, radius, or color shifts */
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: flex-end;
}

.nav-links a {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 0.35rem 0.2rem;
}

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

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

/* Layout */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

main .wrap {
  text-align: center;
}

.hero {
  position: relative;
  min-height: 0;
  display: grid;
  align-items: start;
  padding: 4.5rem 0 1.75rem;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 40rem;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.hero--app {
  padding-top: 2.75rem;
}

.hero-logo {
  width: min(18rem, 78vw);
  height: auto;
  margin: 0 auto 1.35rem;
  display: block;
  /* Display logo asset 1:1 — no filters, radius, or shadows */
}

.hero-kicker {
  margin: 0 auto 1.35rem;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin: 0 auto 2rem;
}

.store-badges--compact {
  margin: 0;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 3.1rem;
  padding: 0.55rem 1rem 0.55rem 0.75rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(8, 8, 12, 0.92);
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.1;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.store-badge:hover {
  text-decoration: none;
  color: #fff;
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(18, 18, 24, 0.96);
}

.store-badge small {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  opacity: 0.82;
}

.store-badge-icon {
  width: 1.65rem;
  height: 1.65rem;
  flex-shrink: 0;
}

.store-badge-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.store-badge--google .store-badge-icon {
  color: var(--teal);
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 800;
  text-align: center;
}

.hero-icon {
  display: inline-flex;
  vertical-align: -0.08em;
  margin-right: 0.28rem;
  width: 0.78em;
  height: 0.78em;
  filter: drop-shadow(0 0 16px rgba(244, 114, 182, 0.5));
}

.hero-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hero p {
  margin: 0 auto;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: var(--muted);
  max-width: 34rem;
  text-align: center;
}

.hero-cta {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--coral);
  color: #1a0612;
}

.btn-primary:hover {
  color: #1a0612;
  background: #fb8ec4;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border-color: var(--glass-border);
}

.btn-ghost:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.28);
}

/* Floating action bar */
.fab-bar {
  position: fixed;
  left: 50%;
  bottom: 1.15rem;
  z-index: 60;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  max-width: calc(100vw - 1.5rem);
  transform: translateX(-50%);
}

.feedback-fab {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.7rem 1.15rem 0.7rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  background: rgba(26, 26, 34, 0.88);
  backdrop-filter: blur(16px);
  color: var(--text);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(244, 114, 182, 0.12);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.feedback-fab:hover {
  text-decoration: none;
  color: var(--text);
  transform: translateY(-2px);
  border-color: rgba(244, 114, 182, 0.45);
  background: rgba(36, 28, 40, 0.94);
}

.feedback-fab--play {
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(45, 212, 191, 0.14);
}

.feedback-fab--play .feedback-fab-icon {
  color: var(--teal);
  filter: drop-shadow(0 0 10px rgba(45, 212, 191, 0.4));
}

.feedback-fab--play:hover {
  border-color: rgba(45, 212, 191, 0.45);
}

.feedback-fab-icon {
  width: 1.35rem;
  height: 1.35rem;
  flex-shrink: 0;
  color: var(--coral);
  filter: drop-shadow(0 0 10px rgba(244, 114, 182, 0.4));
}

.feedback-fab-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.section {
  padding: 3.5rem 0;
}

.section + .section {
  padding-top: 0;
}

.section h2 {
  margin: 0 auto 1rem;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  letter-spacing: -0.03em;
  font-weight: 800;
  text-align: center;
}

.section .lede {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 40rem;
  margin: 0 auto 1.75rem;
  text-align: center;
}

.prose {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  color: var(--muted);
  font-size: 1.05rem;
  text-align: center;
}

.prose h1,
.prose h2 {
  text-align: center;
}

.prose p {
  margin: 0 auto 1.15rem;
  text-align: center;
}

.prose p:last-child {
  margin-bottom: 0;
}

/* Fi Bassar feature — photo fully visible, text below */
.fibassar {
  margin: 1rem 0 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background: rgba(20, 20, 28, 0.72);
}

.fibassar-photo {
  background: #0e0e14;
  line-height: 0;
  padding: 1.25rem 1.25rem 0;
}

.fibassar-photo img {
  width: 100%;
  max-width: 36rem;
  height: auto;
  max-height: 14rem;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  margin: 0 auto;
  border-radius: 0.85rem;
}

.fibassar-body {
  padding: 1.75rem 1.5rem 1.75rem;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .fibassar-body {
    grid-template-columns: auto 1fr;
    align-items: start;
    padding: 2rem 2.25rem 2.25rem;
    gap: 1.75rem;
  }
}

.fibassar-logo {
  width: 5.5rem;
  height: 5.5rem;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 1.1rem;
  padding: 0.55rem;
}

.fibassar-copy h3 {
  margin: 0 0 0.5rem;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  text-align: center;
}

.fibassar-copy > p {
  margin: 0 auto 1rem;
  color: rgba(245, 245, 247, 0.82);
  max-width: 40rem;
  text-align: center;
}

.fibassar-points {
  margin: 0 auto 1.15rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
  max-width: 40rem;
  text-align: center;
}

.fibassar-points li {
  position: relative;
  padding-left: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.fibassar-points li::before {
  display: none;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.meta-row a {
  color: var(--teal);
  font-weight: 700;
}

/* Simple content blocks — not interaction cards */
.story-block {
  padding: 2rem 0 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.story-block:first-of-type {
  border-top: none;
  padding-top: 0;
}

.story-block h2 {
  text-align: center;
}

.kicker {
  display: inline-block;
  margin-bottom: 0.65rem;
  color: var(--teal);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-grid {
  display: grid;
  gap: 2rem;
  text-align: center;
}

@media (min-width: 800px) {
  .contact-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
  }
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  justify-items: center;
}

.contact-list li {
  display: grid;
  gap: 0.2rem;
  text-align: center;
}

.contact-list strong {
  color: var(--text);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-list span,
.contact-list a {
  color: var(--muted);
  font-size: 1.05rem;
}

.legal h1 {
  margin: 0 0 1.5rem;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: -0.03em;
  text-align: center;
}

.legal h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.2rem;
  text-align: center;
}

.legal p,
.legal li {
  color: var(--muted);
  text-align: center;
}

.legal ul {
  padding-left: 0;
  list-style-position: inside;
}

/* Footer */
.site-footer {
  margin-top: 3rem;
  border-top: 1px solid var(--glass-border);
  background: rgba(54, 59, 73, 0.65);
  backdrop-filter: blur(12px);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.25rem 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: start;
}

.footer-col {
  margin-left: auto;
  text-align: left;
}

.footer-brand {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.footer-copy {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 24rem;
}

.footer-stores {
  margin-top: 1.25rem;
}

.footer-stores-label {
  margin: 0 0 0.65rem;
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-col h4 {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.footer-col a {
  color: var(--muted);
  font-weight: 600;
}

.footer-col a:hover {
  color: var(--coral);
}

.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem 1.5rem;
  color: var(--muted);
  font-size: 0.85rem;
}

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  .hero-inner {
    animation: rise 0.7s ease-out both;
  }

  .fibassar {
    animation: rise 0.8s 0.12s ease-out both;
  }

  @keyframes rise {
    from {
      opacity: 0;
      transform: translateY(14px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--glass-border);
  color: var(--text);
  border-radius: 0.75rem;
  padding: 0.45rem 0.7rem;
  font-weight: 700;
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    padding-bottom: 0.75rem;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav {
    flex-wrap: wrap;
  }
}
