/* Sweto website. Colours mirror the app's dark theme tokens. */
@font-face {
  font-family: "Barlow Condensed";
  src: url("fonts/BarlowCondensed-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("fonts/BarlowCondensed-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}

:root {
  --bg: #08080b;
  --surface: #141419;
  --raised: #1e1e26;
  --border: #24242e;
  --text: #f5f5f7;
  --muted: #9a9aa8;
  --accent: #c6ff3d;
  --on-accent: #0b0b0f;
  --radius: 22px;
  --max: 1120px;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(8, 8, 11, 0.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand img { width: 36px; height: 36px; }
.brand span { font-family: var(--display); font-weight: 700; font-size: 26px; }
.site-nav { display: flex; gap: 22px; }
.site-nav a { color: var(--muted); font-size: 15px; font-weight: 500; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); text-decoration: none; }

/* Type */
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.02; margin: 0; }
h1 { font-size: clamp(48px, 9vw, 88px); letter-spacing: -0.5px; }
h2 { font-size: clamp(36px, 6vw, 56px); }
h3 { font-size: 26px; font-weight: 600; }
.lead { color: var(--muted); font-size: clamp(18px, 2.4vw, 21px); max-width: 34ch; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 1.4px;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
.accent { color: var(--accent); }

/* Hero */
.hero { padding: 72px 0 56px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.hero .lead { margin: 22px 0 30px; }
.store-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.store-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text); font-weight: 600; font-size: 15px;
}
.store-badge small { display: block; color: var(--muted); font-weight: 500; font-size: 12px; }
.pill {
  display: inline-block; padding: 6px 12px; border-radius: 999px;
  background: rgba(198, 255, 61, 0.12); color: var(--accent);
  font-size: 13px; font-weight: 600;
}
.hero-shot { position: relative; justify-self: center; }
.hero-shot::before {
  content: ""; position: absolute; inset: -12% -20%;
  background: radial-gradient(closest-side, rgba(198, 255, 61, 0.22), transparent);
  z-index: -1;
}

/* Phone frame around screenshots */
.phone {
  width: min(320px, 78vw);
  border-radius: 44px; padding: 10px;
  background: #1a1a20;
  border: 1px solid #2c2c36;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}
.phone img { border-radius: 34px; width: 100%; height: auto; }

/* Trust strip */
.trust { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust ul {
  list-style: none; margin: 0; padding: 18px 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px;
  color: var(--muted); font-size: 15px; font-weight: 500;
}
.trust li::before { content: "●"; color: var(--accent); margin-right: 10px; font-size: 10px; vertical-align: 2px; }

/* Feature rows */
.section { padding: 88px 0; }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature + .feature { margin-top: 110px; }
.feature.flip .feature-text { order: 2; }
.feature-text p { color: var(--muted); max-width: 44ch; margin: 18px 0 0; }
.feature-text ul { margin: 18px 0 0; padding: 0; list-style: none; color: var(--muted); }
.feature-text li { padding-left: 28px; position: relative; margin: 8px 0; }
.feature-text li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 14px; height: 8px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.feature .phone { justify-self: center; }

/* Grid of smaller features */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
}
.card h3 { font-size: 22px; margin-bottom: 8px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card .icon {
  width: 40px; height: 40px; border-radius: 12px; margin-bottom: 16px;
  display: grid; place-items: center;
  background: rgba(198, 255, 61, 0.14); color: var(--accent);
}
.card .icon svg { width: 22px; height: 22px; }

/* Privacy band */
.privacy-band {
  background: linear-gradient(180deg, rgba(198, 255, 61, 0.08), transparent);
  border: 1px solid var(--border); border-radius: 32px;
  padding: 56px; text-align: center;
}
.privacy-band .lead { margin: 18px auto 0; max-width: 52ch; }

/* CTA */
.cta { text-align: center; }
.cta .lead { margin: 18px auto 30px; }
.cta .store-row { justify-content: center; }

/* Documents (privacy, support) */
.doc { padding: 64px 0 96px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(44px, 8vw, 64px); }
.doc .updated { color: var(--muted); margin: 10px 0 40px; }
.doc h2 { font-size: 30px; margin: 44px 0 12px; }
.doc p, .doc li { color: #d6d6de; }
.doc ul { padding-left: 22px; }
.doc .summary {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 24px; margin: 0 0 12px;
}
.doc .summary p { margin: 0; }
details {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 18px 22px; margin: 12px 0;
}
summary { cursor: pointer; font-weight: 600; font-size: 17px; }
details p { margin: 12px 0 0; color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 36px 0 48px; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; justify-content: space-between; }
.site-footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--text); }

/* Small screens */
@media (max-width: 860px) {
  .hero { padding-top: 40px; }
  .hero .wrap, .feature { grid-template-columns: 1fr; gap: 36px; }
  .hero .wrap { text-align: left; }
  .feature.flip .feature-text { order: 0; }
  .feature + .feature { margin-top: 72px; }
  .grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .privacy-band { padding: 36px 22px; }
  .site-nav { gap: 16px; }
  .site-nav .hide-sm { display: none; }
}

/* Anchored sections clear the sticky header. */
section[id] { scroll-margin-top: 80px; }
