/*
  Go Cleanup marketing site — shared styles.
  Design tokens are pulled directly from the app's own design system
  (src/theme/colors.ts / src/theme/typography.ts) so the site reads as an
  extension of the product, not a separate brand. Corners are square
  throughout by request — every radius token below is 0.
*/

:root {
  --bg-top: #F3F8F4;
  --bg-bottom: #DFEEE5;
  --surface: #FFFFFF;
  --surface-alt: #EDF4EF;
  --border: #D7E6DC;
  --divider: #E1EDE6;
  --text: #14181A;
  --text-2: #525C58;
  --text-3: #6B7571;
  --primary: #3B82F6;
  --primary-dark: #2563EB;
  --success: #22C55E;
  --success-bg: rgba(34, 197, 94, .12);
  --success-eyebrow: #0E7A45;
  --warning: #F79009;
  --warning-bg: rgba(247, 144, 9, .12);
  --warning-eyebrow: #9A5A00;
  --photos: #2E7DF7;
  --videos: #9333EA;
  --audio: #14B8A6;
  --email: #EC4899;
  --screens: #F79009;
  --contacts: #3B82F6;
  --shadow-sm: 0 1px 2px rgba(11, 15, 20, .05);
  --shadow-md: 0 10px 30px -12px rgba(11, 15, 20, .18);
  /* Squared corners throughout — kept as tokens so a future direction
     change only touches this file. */
  --radius-lg: 0;
  --radius-md: 0;
  --radius-sm: 0;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg-top: #101915;
    --bg-bottom: #0A0F0C;
    --surface: #182019;
    --surface-alt: #1F2921;
    --border: #2A362D;
    --divider: #232E26;
    --text: #F1F6F2;
    --text-2: #9CA9A1;
    --text-3: #6E7C74;
    --success-eyebrow: #3DDC97;
    --warning-eyebrow: #FFB454;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow-md: 0 14px 34px -14px rgba(0, 0, 0, .55);
  }
}

:root[data-theme="dark"] {
  --bg-top: #101915;
  --bg-bottom: #0A0F0C;
  --surface: #182019;
  --surface-alt: #1F2921;
  --border: #2A362D;
  --divider: #232E26;
  --text: #F1F6F2;
  --text-2: #9CA9A1;
  --text-3: #6E7C74;
  --success-eyebrow: #3DDC97;
  --warning-eyebrow: #FFB454;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-md: 0 14px 34px -14px rgba(0, 0, 0, .55);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: linear-gradient(180deg, var(--bg-top), var(--bg-bottom) 60%) fixed;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  padding-inline: 20px;
}

.wrap { max-width: 1120px; margin: 0 auto; }

a { color: inherit; }
img { max-width: 100%; }

h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; font-weight: 700; }

.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before { content: ""; width: 16px; height: 2px; background: var(--primary); }
.eyebrow--on-dark { color: #fff; }
.eyebrow--on-dark::before { background: rgba(255, 255, 255, .7); }

.icon { width: 22px; height: 22px; flex-shrink: 0; }

/* ---------- nav (shared across all pages) ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 16px;
  background: linear-gradient(180deg, var(--bg-top) 70%, transparent);
}

.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; text-decoration: none; color: var(--text); }

.brand-mark {
  width: 34px; height: 34px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.brand-mark img { width: 100%; height: 100%; display: block; object-fit: cover; }

.nav-links { display: flex; gap: 28px; font-size: 14px; font-weight: 600; color: var(--text-2); list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--text); }
@media (max-width: 720px) { .nav-links { display: none; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; font-weight: 700; font-size: 14px;
  border: none; cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 20px -8px rgba(59, 130, 246, .55); }
.btn-primary:hover { background: var(--primary-dark); }

/* ---------- store badges (shared) ---------- */
.store-badges { display: flex; flex-wrap: wrap; gap: 12px; }
.store-badge {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  background: #14171A; color: #fff;
  border: 1px solid rgba(255, 255, 255, .08);
  padding: 9px 18px 9px 14px;
  text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
  box-shadow: var(--shadow-sm);
}
.store-badge:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.store-badge svg { width: 26px; height: 26px; flex-shrink: 0; }
.store-badge .lines { display: flex; flex-direction: column; line-height: 1.15; }
.store-badge .lines small { font-size: 10.5px; color: rgba(255, 255, 255, .72); font-weight: 500; }
.store-badge .lines strong { font-size: 16px; font-weight: 700; letter-spacing: -.01em; }

/* ---------- section shell (shared) ---------- */
section.block { padding-block: 56px; }
.block-head { max-width: 640px; margin-bottom: 34px; }
.block-head h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); margin-top: 12px; letter-spacing: -.015em; }
.block-head p { margin-top: 10px; color: var(--text-2); font-size: 15.5px; line-height: 1.6; }

/* ---------- footer (shared) ---------- */
footer { border-top: 1px solid var(--divider); padding-block: 26px; }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
footer .brand { font-size: 14px; }
footer .brand-mark { width: 26px; height: 26px; }
.footer-links { display: flex; gap: 18px; font-size: 12.5px; font-weight: 600; }
.footer-links a { text-decoration: none; color: var(--text-2); }
.footer-links a:hover { color: var(--text); }
.footer-meta { font-size: 12.5px; color: var(--text-3); text-align: right; }
.footer-meta a { color: var(--text-2); text-decoration: none; font-weight: 600; }
.footer-legal { margin-top: 14px; font-size: 11.5px; color: var(--text-3); }

/* ---------- legal documents (terms.html / privacy.html) ---------- */
.legal { padding-block: 24px 64px; max-width: 720px; }
.legal .doc-title { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); letter-spacing: -.015em; }
.legal .updated { margin-top: 6px; font-size: 12.5px; color: var(--text-3); }
.legal section { margin-top: 26px; }
.legal h2 { font-size: 16px; margin-bottom: 8px; }
.legal p { font-size: 14.5px; line-height: 1.65; color: var(--text-2); margin-bottom: 10px; }
.legal p:last-child { margin-bottom: 0; }
