/* Finisher Wall — marketing site
   Brand-aligned with the iOS app:
   - Background #0B0D10 / Surface #141820 / Card #1A1F28
   - Primary  #FF6B35   Secondary #FFB800   Text #E8ECF0
   - Wordmark: Archivo Black • Display: Space Grotesk • Body: Inter
*/

:root {
  --bg: #0B0D10;
  --bg-2: #1B1210;
  --surface: #141820;
  --card: #1A1F28;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  --text: #E8ECF0;
  --text-muted: rgba(232, 236, 240, 0.72);
  --text-dim: rgba(232, 236, 240, 0.52);

  --primary: #FF6B35;
  --primary-glow: rgba(255, 107, 53, 0.28);
  --secondary: #FFB800;

  --radius-s: 8px;
  --radius-m: 12px;
  --radius-l: 16px;
  --radius-xl: 24px;

  --max-w: 1120px;
  --content-w: 760px;

  --shadow-soft: 0 20px 60px rgba(0, 0, 0, 0.45);
  --shadow-primary: 0 18px 40px var(--primary-glow);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

a {
  color: var(--text);
  text-decoration: none;
  transition: color 160ms ease;
}
a:hover { color: var(--primary); }

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

/* ---------- Layout ---------- */

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 96px 0;
}

@media (max-width: 720px) {
  section { padding: 72px 0; }
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 13, 16, 0.78);
  backdrop-filter: saturate(140%) blur(18px);
  -webkit-backdrop-filter: saturate(140%) blur(18px);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand__emblem {
  width: 36px;
  height: 36px;
  border-radius: 22%;
  box-shadow: var(--shadow-primary);
}

.brand__wordmark {
  font-family: 'Archivo Black', sans-serif;
  font-size: 14px;
  letter-spacing: 0.22em;
  color: var(--text);
  text-transform: uppercase;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

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

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

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--radius-m);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease,
    background 160ms ease, border-color 160ms ease, color 160ms ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-primary);
}
.btn-primary:hover {
  transform: translateY(-1px);
  background: #ff7c4a;
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-appstore {
  background: #fff;
  color: #0B0D10;
  padding: 12px 20px;
}
.btn-appstore:hover {
  background: #fff;
  color: #0B0D10;
  transform: translateY(-1px);
  box-shadow: 0 14px 40px rgba(255, 255, 255, 0.18);
}

.btn-appstore svg {
  width: 22px;
  height: 22px;
}

.btn-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 120px 0 96px;
  background:
    radial-gradient(60% 60% at 50% 0%, rgba(255, 107, 53, 0.18) 0%, rgba(255, 107, 53, 0) 60%),
    linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 60%);
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--secondary);
  text-transform: uppercase;
  background: rgba(255, 184, 0, 0.08);
  border: 1px solid rgba(255, 184, 0, 0.22);
  border-radius: 999px;
}

.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(36px, 5.4vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  font-weight: 800;
  margin: 20px 0 16px;
}

.hero h1 .accent { color: var(--primary); }

.hero p.lead {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 0 32px;
}

.hero__cta { margin-top: 8px; }

.hero__hint {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-dim);
}

.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__emblem {
  width: 280px;
  height: 280px;
  border-radius: 22%;
  box-shadow:
    0 30px 90px rgba(255, 107, 53, 0.35),
    0 10px 30px rgba(0, 0, 0, 0.5);
  transform: rotate(-4deg);
}

.hero__halo {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.22) 0%, rgba(255, 107, 53, 0) 65%);
  z-index: 0;
  pointer-events: none;
}

@media (max-width: 900px) {
  .hero { padding: 80px 0 56px; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .btn-row { justify-content: center; }
  .hero__emblem { width: 220px; height: 220px; }
  .hero__halo { width: 320px; height: 320px; }
  .hero__eyebrow { margin: 0 auto; }
}

/* ---------- Sections ---------- */

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.section-sub {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 640px;
  margin: 0 0 48px;
}

.section-head--center {
  text-align: center;
}
.section-head--center .section-sub {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Feature grid ---------- */

.features {
  background: linear-gradient(180deg, var(--bg) 0%, var(--surface) 100%);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .feature-grid { grid-template-columns: 1fr; }
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: 28px;
  transition: transform 200ms ease, border-color 200ms ease;
}

.feature-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 107, 53, 0.4);
}

.feature-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-m);
  background: rgba(255, 107, 53, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--primary);
}

.feature-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}

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

/* ---------- CTA banner ---------- */

.cta-banner {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-banner h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 640px;
}

/* ---------- Legal pages ---------- */

.page-hero {
  padding: 96px 0 32px;
  background:
    radial-gradient(50% 60% at 50% 0%, rgba(255, 107, 53, 0.10) 0%, rgba(255, 107, 53, 0) 60%),
    var(--bg);
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(32px, 4.5vw, 48px);
  letter-spacing: -0.025em;
  font-weight: 800;
  margin: 0 0 12px;
}

.page-hero .updated {
  color: var(--text-dim);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.legal {
  padding: 56px 0 96px;
}

.legal h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 40px 0 12px;
}

.legal h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 700;
  margin: 24px 0 8px;
}

.legal p,
.legal li {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.65;
}

.legal ul {
  padding-left: 22px;
}

.legal a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 40px 0;
}

/* ---------- Steps (delete account) ---------- */

.steps {
  display: grid;
  gap: 16px;
  counter-reset: step;
  margin: 24px 0 8px;
  padding: 0;
  list-style: none;
}

.steps li {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: 20px 22px 20px 64px;
  position: relative;
  color: var(--text);
  font-size: 15.5px;
  line-height: 1.55;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 18px;
  left: 18px;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(255, 107, 53, 0.14);
  color: var(--primary);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.callout {
  background: rgba(255, 184, 0, 0.06);
  border: 1px solid rgba(255, 184, 0, 0.22);
  border-radius: var(--radius-l);
  padding: 20px 22px;
  margin: 28px 0 0;
  color: var(--text);
}
.callout strong { color: var(--secondary); }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  background: #08090C;
  padding: 40px 0 56px;
  color: var(--text-dim);
  font-size: 14px;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer .brand__wordmark { font-size: 12px; }

.footer-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-dim);
  font-size: 14px;
}
.footer-links a:hover { color: var(--text); }

/* ---------- Utilities ---------- */

.spacer-s { height: 16px; }
.spacer-m { height: 32px; }
.text-center { text-align: center; }
