/* Squish — "Private Glass Utility" web brand. Matches the app's DesignSystem tokens. */

:root {
  --accent: #635BFF;
  --accent-deep: #4B42E8;
  --accent-soft: #EFEEFF;
  --good: #20A464;
  --bg: #F6F7FB;
  --surface: #FFFFFF;
  --text: #101014;
  --text-2: #62616F;
  --text-3: #9B9AA7;
  --border: #E8E7EF;
  --shadow: 0 14px 40px rgba(16, 16, 20, 0.06);
  --radius: 24px;
  --radius-sm: 14px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --accent: #9A92FF;
    --accent-deep: #7C73FF;
    --accent-soft: #242044;
    --good: #3FCB82;
    --bg: #09090D;
    --surface: #17171E;
    --text: #F6F6FA;
    --text-2: #B0AFBC;
    --text-3: #777684;
    --border: #30303A;
    --shadow: none;
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 940px; margin: 0 auto; padding: 0 20px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: var(--text); }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav-links { display: flex; gap: 22px; font-weight: 600; font-size: 15px; }
.nav-links a { color: var(--text-2); }

/* Hero */
.hero { text-align: center; padding: 72px 0 40px; }
.hero h1 { font-size: clamp(34px, 6vw, 56px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; }
.hero p.sub { font-size: clamp(17px, 2.4vw, 21px); color: var(--text-2); max-width: 620px; margin: 18px auto 0; }

.pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--accent-soft); color: var(--accent);
  font-weight: 700; font-size: 13px; padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
}

.cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff; font-weight: 700; font-size: 17px;
  padding: 15px 28px; border-radius: 16px; margin-top: 28px;
  box-shadow: 0 12px 30px color-mix(in srgb, var(--accent) 32%, transparent);
}
.cta:hover { text-decoration: none; transform: translateY(-1px); }
.cta small { font-weight: 600; opacity: .8; }
.cta-note { display: block; color: var(--text-3); font-size: 14px; margin-top: 12px; }

/* Shrink visual */
.shrink { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 40px 0 8px; }
.chip {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  border-radius: var(--radius-sm); font-weight: 800; font-size: 14px;
}
.chip .ico { font-size: 22px; }
.chip.big { width: 92px; height: 92px; justify-content: center; background: var(--surface); border: 1px solid var(--border); color: var(--text-3); box-shadow: var(--shadow); }
.chip.small { width: 74px; height: 74px; justify-content: center; background: linear-gradient(135deg, var(--accent), var(--accent-deep)); color: #fff; }
.shrink .arrow { color: var(--accent); font-size: 26px; font-weight: 800; }

/* Cards / sections */
section { padding: 44px 0; }
h2 { font-size: clamp(24px, 4vw, 32px); font-weight: 800; letter-spacing: -0.01em; text-align: center; }
.section-sub { text-align: center; color: var(--text-2); max-width: 560px; margin: 12px auto 0; }

.grid { display: grid; gap: 16px; margin-top: 32px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 720px) { .grid.cols-3, .grid.cols-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow);
}
.card h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.card p { color: var(--text-2); font-size: 15px; }
.card .ico { font-size: 24px; margin-bottom: 12px; display: block; }
.step-num { display:inline-flex; align-items:center; justify-content:center; width:30px; height:30px; border-radius:999px; background:var(--accent-soft); color:var(--accent); font-weight:800; margin-bottom:12px; }

/* Privacy hero band */
.manifesto {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff; border-radius: var(--radius); padding: 40px; text-align: center;
}
.manifesto h2 { color: #fff; }
.manifesto p { color: rgba(255,255,255,.9); max-width: 560px; margin: 12px auto 0; }
.promises { list-style: none; display: grid; gap: 10px; max-width: 460px; margin: 26px auto 0; text-align: left; }
.promises li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.promises li::before { content: "✓"; color: #fff; background: rgba(255,255,255,.18); width: 26px; height: 26px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; flex: none; }

/* Pricing */
.price-card { text-align: center; max-width: 420px; margin: 32px auto 0; }
.price-card .big { font-size: 44px; font-weight: 800; }
.price-card .vs { color: var(--text-3); text-decoration: line-through; font-weight: 700; }

/* Legal / doc pages */
.doc { padding: 48px 0; max-width: 760px; }
.doc h1 { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; }
.doc .updated { color: var(--text-3); font-size: 14px; margin-top: 8px; }
.doc h2 { text-align: left; font-size: 21px; margin-top: 34px; }
.doc h3 { font-size: 17px; margin-top: 22px; }
.doc p, .doc li { color: var(--text-2); font-size: 16px; margin-top: 12px; }
.doc ul { margin-left: 22px; }
.doc .lead { font-size: 18px; color: var(--text); }
.doc strong { color: var(--text); }

/* Footer */
footer { border-top: 1px solid var(--border); padding: 36px 0; margin-top: 40px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
footer .links { display: flex; gap: 20px; font-weight: 600; font-size: 15px; }
footer .links a { color: var(--text-2); }
footer .copy { color: var(--text-3); font-size: 14px; }
