/* SOS101 marketing — Lift-style layout, warm light theme */
:root {
  --red: #c0392b;
  --red-dark: #922b21;
  --red-light: #fadbd8;
  --bg: #fdf8f7;
  --surface: #ffffff;
  --text: #1c1917;
  --text-secondary: #57534e;
  --muted: #78716c;
  --border: #e7e5e4;
  --safe: #16a34a;
  --max: 720px;
  --max-wide: 1080px;
  --font: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

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

a {
  color: var(--red);
}

.page-home {
  padding-bottom: 5.5rem;
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  background: rgba(253, 248, 247, 0.95);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
}

.logo {
  font-weight: 800;
  color: var(--red);
  text-decoration: none;
  letter-spacing: 0.08em;
  font-size: 1.15rem;
}

.logo:hover {
  color: var(--red-dark);
  text-decoration: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
}

.site-nav a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--red);
}

main {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 2rem 1.25rem 3.5rem;
}

.kicker {
  margin: 0 0 0.5rem;
  color: var(--red);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.hero--split {
  display: grid;
  gap: 2rem;
  align-items: start;
  padding: 0.5rem 0 1rem;
}

.hero-copy h1 {
  font-size: clamp(1.85rem, 5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 0.85rem;
  text-wrap: balance;
}

.tagline {
  margin: 0;
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.58;
  max-width: 36rem;
}

.proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1.1rem 0 0;
}

.proof-row span {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  border-radius: 999px;
  padding: 0.32rem 0.72rem;
  font-size: 0.78rem;
  font-weight: 600;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.15rem;
}

.hero-cta {
  margin-top: 1.25rem;
}

.store-badge {
  display: inline-flex;
  text-decoration: none;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.15s, opacity 0.15s;
}

.store-badge:hover {
  transform: translateY(-1px);
  opacity: 0.95;
  text-decoration: none;
}

.store-badge img {
  display: block;
  width: 168px;
  height: auto;
  max-height: 50px;
}

.store-badge--soon {
  opacity: 0.72;
  cursor: help;
}

.store-hint {
  margin: 0.65rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 28rem;
}

.hero-showcase {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.phone-frame {
  width: min(100%, 300px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 12px;
  box-shadow:
    0 0 0 1px rgba(192, 57, 43, 0.08),
    0 24px 64px rgba(28, 25, 23, 0.12);
}

.alert-card {
  background: var(--bg);
  border: 2px solid var(--red);
  border-radius: 16px;
  padding: 14px;
}

.alert-badge {
  margin: 0 0 6px;
  color: var(--red);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.alert-landmark {
  margin: 0 0 4px;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.2;
}

.alert-house {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.alert-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}

.alert-photo {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  background: var(--border);
}

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

.alert-photo figcaption {
  position: absolute;
  left: 6px;
  bottom: 5px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
}

.alert-meta {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.alert-btn {
  background: var(--safe);
  color: #fff;
  text-align: center;
  font-weight: 800;
  font-size: 14px;
  padding: 10px 12px;
  border-radius: 10px;
}

.mock-caption {
  margin: 0.85rem 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  max-width: 26rem;
}

.steps {
  margin-top: 2.75rem;
}

.steps h2,
.features h2 {
  text-align: center;
  margin: 0 0 1.2rem;
  font-size: clamp(1.3rem, 3vw, 1.55rem);
  letter-spacing: -0.02em;
}

.steps-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.steps-grid li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.15rem 1.2rem;
}

.steps-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
}

.steps-grid h3 {
  margin: 0.65rem 0 0.35rem;
  font-size: 1.02rem;
}

.steps-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.features {
  margin-top: 2.75rem;
}

.feature-grid {
  display: grid;
  gap: 0.9rem;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.15rem 1.2rem;
}

.feature-card--duty {
  border-color: #f5c6c2;
  background: #fffafa;
}

.feature-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.02rem;
  color: var(--red-dark);
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.disclaimer {
  margin-top: 2.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.2rem 1.25rem;
}

.disclaimer h2 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
}

.disclaimer p {
  margin: 0;
  color: var(--text-secondary);
}

.btn-store {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.6rem 1.1rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.92rem;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}

.btn-store:hover {
  border-color: var(--red);
  text-decoration: none;
}

.btn-store.primary {
  background: var(--red);
  color: #fff;
  border-color: transparent;
}

.btn-store.primary:hover {
  background: var(--red-dark);
}

.header-cta {
  margin-left: 0.25rem;
}

.cta-strip {
  margin-top: 2.25rem;
  padding: 1.2rem 1.25rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  text-align: center;
}

.cta-strip p {
  margin: 0 0 0.75rem;
  font-weight: 700;
}

.cta-strip .store-row {
  justify-content: center;
  margin-top: 0;
}

.sticky-download {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: flex;
  gap: 0.55rem;
  padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(253, 248, 247, 0.94);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.sticky-download a {
  flex: 1;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 1.25rem;
  font-size: 0.9rem;
}

.site-footer--home {
  max-width: var(--max-wide);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-col h3 {
  margin: 0 0 0.65rem;
  font-size: 1rem;
}

.footer-col a {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
}

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

.footer-store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.footer-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

/* Inner pages (privacy, terms) */
body:not(.page-home) main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px;
}

body:not(.page-home) .site-header,
body:not(.page-home) footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px;
}

body:not(.page-home) footer {
  border-top: 1px solid var(--border);
  font-size: 14px;
}

.prose h1 {
  margin-bottom: 8px;
}

.prose p,
.prose li {
  color: var(--text);
}

.prose ul {
  padding-left: 1.25rem;
}

.muted {
  color: var(--muted);
}

@media (min-width: 760px) {
  .steps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .hero--split {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.5rem;
    align-items: center;
  }

  .sticky-download {
    display: none;
  }

  .page-home {
    padding-bottom: 0;
  }
}

@media (max-width: 639px) {
  main {
    padding-top: 1.25rem;
  }

  .site-nav {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
  }

  .site-nav a {
    white-space: nowrap;
    flex: 0 0 auto;
  }

  .header-cta {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .store-badge img {
    width: 152px;
  }
}
