/* ─────────────────────────────────────────────────────────────────────────
   usum.io brand theme — straight from the usum Design System (usum-design):
   dark-first, warm near-black surfaces (never pure #000), hairline borders, a
   single calm violet accent (#8C6FF0). Inter + JetBrains Mono, sharp corners.
   ───────────────────────────────────────────────────────────────────────── */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@500&display=swap");

:root {
  --accent: #8c6ff0; /* --brand (iris-500) */
  --accent-600: #7457d8; /* pressed */
  --accent-400: #9d86f3; /* hover */
  --bg: #131316; /* warm near-black */
  --card: #1b1b1f; /* --surface */
  --raised: #222227; /* --surface-raised */
  --border: rgba(255, 255, 255, 0.08); /* hairline */
  --border-strong: rgba(255, 255, 255, 0.13);
  --text: #ececee; /* soft white, not pure */
  --muted: #a6a6ad;
  --radius: 12px; /* cards 12, panels 16 — sharp & technical */
  --max: 1080px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas,
    monospace;
}

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

html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }

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

/* Nav */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; }
.brand .logo {
  width: 28px; height: 28px; border-radius: 7px;
  background: var(--accent);
  display: grid; place-items: center; color: #fff; font-weight: 800;
}
.brand .logo svg { width: 17px; height: 17px; }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a { color: var(--muted); font-size: 14px; }
.nav-links a:hover { color: var(--text); }

/* Buttons — sharp, flat, no pills (design system) */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 9px; font-weight: 600; font-size: 15px;
  cursor: pointer; border: 1px solid transparent; transition: background .15s, opacity .15s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-400); }
.btn-primary:active { background: var(--accent-600); }
.btn-ghost { background: var(--raised); color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--border-strong); }

/* Hero */
.hero { text-align: center; padding: 80px 0 64px; }
.pill {
  display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--accent);
  background: rgba(140,111,240,.1); border: 1px solid rgba(140,111,240,.25);
  padding: 5px 14px; border-radius: 9px; margin-bottom: 24px;
}
.hero h1 { font-size: 52px; line-height: 1.1; letter-spacing: -1px; margin-bottom: 20px; }
.hero h1 .grad { color: var(--accent); }
.hero p { font-size: 19px; color: var(--muted); max-width: 620px; margin: 0 auto 32px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Mock panel */
.mock {
  margin: 56px auto 0; max-width: 380px; text-align: left;
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.5);
}
.mock-bar { display: flex; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--border); background: var(--card); }
.mock-tab { width: 30px; height: 30px; border-radius: 8px; background: var(--raised); display: grid; place-items: center; font-size: 14px; }
.mock-tab.on { background: var(--accent); color: #fff; }
.mock-body { padding: 18px; }
.mock-line { height: 11px; border-radius: 6px; background: var(--raised); margin-bottom: 12px; }
.mock-line.short { width: 55%; }
.mock-line.accent { background: rgba(140,111,240,.4); width: 40%; }

/* Sections */
section { padding: 64px 0; }
.section-title { text-align: center; font-size: 34px; margin-bottom: 12px; letter-spacing: -.5px; }
.section-sub { text-align: center; color: var(--muted); margin-bottom: 48px; }

/* Features */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feature {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px;
}
.feature .ico {
  width: 42px; height: 42px; border-radius: 9px; background: var(--raised);
  display: grid; place-items: center; color: var(--accent); margin-bottom: 16px;
}
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 15px; }

/* Pricing */
.prices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 720px; margin: 0 auto; }
.price {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; text-align: center;
}
.price.featured { border-color: var(--accent); position: relative; }
.price.featured::after {
  content: "Best value"; position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; font-size: 12px; font-weight: 600;
  padding: 3px 12px; border-radius: 6px;
}
.price h3 { font-size: 16px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.save-badge {
  display: inline-block; margin-left: 8px; vertical-align: middle;
  background: rgba(140,111,240,0.15); color: var(--accent);
  font-size: 11px; font-weight: 700; letter-spacing: 0.5px;
  padding: 2px 8px; border-radius: 6px;
}
.price .amount { font-size: 40px; font-weight: 800; }
.price .amount span { font-size: 16px; color: var(--muted); font-weight: 400; }
.price ul { list-style: none; margin: 20px 0; text-align: left; }
.price li { color: var(--muted); padding: 7px 0; padding-left: 26px; position: relative; font-size: 15px; }
.price li::before { content: "✓"; color: var(--accent); position: absolute; left: 0; font-weight: 700; }

/* Footer */
footer { border-top: 1px solid var(--border); padding: 40px 0; color: var(--muted); font-size: 14px; }
.foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--text); }

@media (max-width: 720px) {
  .hero h1 { font-size: 38px; }
  .grid, .prices { grid-template-columns: 1fr; }
  .nav-links a:not(.btn) { display: none; }
}

/* Legal pages */
.legal { max-width: 760px; padding: 56px 24px; margin: 0 auto; }
.legal h1 { font-size: 34px; margin-bottom: 6px; }
.legal h2 { font-size: 22px; margin: 32px 0 10px; }
.legal p, .legal li { color: var(--muted); margin-bottom: 10px; }
.legal ul { padding-left: 22px; }
.legal .updated { color: var(--accent); font-size: 14px; margin-bottom: 24px; }
.legal a { color: var(--accent); }
