/* SaltySwimTimes marketing shell — teal seed matches Flutter (0xFF14B8A6) */
:root {
  --bg: #09090b;
  --bg-elevated: #18181b;
  --bg-card: #27272a;
  --border: #3f3f46;
  --text: #e4e4e7;
  --text-muted: #a1a1aa;
  --text-faint: #71717a;
  --teal: #14b8a6;
  --teal-dim: #0d9488;
  --teal-soft: rgba(20, 184, 166, 0.12);
  --orange: #fb923c;
  --radius: 1rem;
  --radius-lg: 1.5rem;
  --max: 68rem;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body.mkt {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
}

a {
  color: var(--teal);
  text-decoration: none;
}
a:hover {
  color: #2dd4bf;
}

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

/* Nav */
.mkt-nav {
  border-bottom: 1px solid #27272a;
  background: rgba(9, 9, 11, 0.9);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 50;
}

.mkt-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  gap: 1rem;
}

.mkt-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}
.mkt-brand:hover {
  color: #fff;
}

.mkt-brand-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 0.55rem;
  background: var(--teal-soft);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
}

.mkt-nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.mkt-nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}
.mkt-nav-links a:hover {
  color: #fff;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.35rem;
  border-radius: 0.9rem;
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  text-decoration: none;
}

.btn-primary {
  background: #fff;
  color: #09090b;
}
.btn-primary:hover {
  background: #e4e4e7;
  color: #09090b;
}

.btn-teal {
  background: var(--teal);
  color: #042f2e;
}
.btn-teal:hover {
  background: #2dd4bf;
  color: #042f2e;
}

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover {
  background: var(--bg-elevated);
  color: #fff;
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.875rem;
  border-radius: 0.7rem;
}

/* Hero */
.mkt-hero {
  padding: 3.5rem 0 3rem;
  text-align: center;
}

.mkt-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-soft);
  border: 1px solid rgba(20, 184, 166, 0.25);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.mkt-hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 1rem;
}

.mkt-hero .lead {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  color: var(--text-muted);
  max-width: 36rem;
  margin: 0 auto 1.75rem;
}

.mkt-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.mkt-cta-note {
  font-size: 0.85rem;
  color: var(--text-faint);
}

/* Sections */
.mkt-section {
  padding: 2.75rem 0;
  border-top: 1px solid #27272a;
}

.mkt-section h2 {
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
  text-align: center;
}

.mkt-section .section-sub {
  text-align: center;
  color: var(--text-muted);
  max-width: 32rem;
  margin: 0 auto 2rem;
}

/* Role cards */
.mkt-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}

.mkt-card {
  background: var(--bg-elevated);
  border: 1px solid #27272a;
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.25rem;
  transition: border-color 0.15s;
}
.mkt-card:hover {
  border-color: rgba(20, 184, 166, 0.4);
}

.mkt-card .icon {
  font-size: 1.6rem;
  margin-bottom: 0.65rem;
}

.mkt-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 650;
}

.mkt-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* Feature rows */
.mkt-feature {
  display: grid;
  gap: 1.25rem;
  align-items: center;
  margin-bottom: 1.5rem;
  background: var(--bg-elevated);
  border: 1px solid #27272a;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

@media (min-width: 720px) {
  .mkt-feature {
    grid-template-columns: 1fr 1.2fr;
  }
  .mkt-feature.reverse {
    grid-template-columns: 1.2fr 1fr;
  }
  .mkt-feature.reverse .mkt-feature-copy {
    order: 2;
  }
  .mkt-feature.reverse .mkt-feature-visual {
    order: 1;
  }
}

.mkt-feature h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
}

.mkt-feature p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.mkt-feature-visual {
  min-height: 8rem;
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--teal-soft), #18181b 55%, #27272a);
  border: 1px solid rgba(20, 184, 166, 0.2);
  display: grid;
  place-items: center;
  color: var(--teal);
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
  padding: 1rem;
}

.mkt-pill {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--teal);
  margin-bottom: 0.4rem;
}

/* Download / install panel */
.mkt-install {
  background: linear-gradient(180deg, #0f766e22, transparent);
  border: 1px solid rgba(20, 184, 166, 0.25);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
}

.mkt-install h2 {
  margin-top: 0;
}

.mkt-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin: 1.25rem 0 0.75rem;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #000;
  border: 1px solid var(--border);
  color: #fff;
  padding: 0.65rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.85rem;
  min-width: 10.5rem;
}
.store-badge:hover {
  border-color: var(--teal);
  color: #fff;
}
.store-badge small {
  display: block;
  font-size: 0.65rem;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.store-badge strong {
  font-size: 1rem;
  font-weight: 650;
}
.store-badge.disabled {
  opacity: 0.55;
  pointer-events: none;
}

.mkt-coming {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--bg-card);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Footer */
.mkt-footer {
  border-top: 1px solid #27272a;
  padding: 2rem 0 2.5rem;
  margin-top: 1rem;
  color: var(--text-faint);
  font-size: 0.85rem;
}

.mkt-footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

.mkt-footer a {
  color: var(--text-muted);
}
.mkt-footer a:hover {
  color: var(--teal);
}

.mkt-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

/* Page header (features/download) */
.mkt-page-header {
  padding: 2.5rem 0 1.5rem;
  text-align: center;
}
.mkt-page-header h1 {
  margin: 0 0 0.5rem;
  font-size: 2rem;
  letter-spacing: -0.02em;
}
.mkt-page-header p {
  margin: 0 auto;
  max-width: 30rem;
  color: var(--text-muted);
}

/* Platform tip on download page */
.mkt-platform-tip {
  margin: 1rem auto 0;
  max-width: 28rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  background: var(--teal-soft);
  border: 1px solid rgba(20, 184, 166, 0.25);
  color: var(--text);
  font-size: 0.9rem;
}
