/* Ekvity – ekvity.se. No external fonts, scripts or trackers. */

:root {
  --canvas: #07070b;
  --card: #16161e;
  --card-raised: #1e1e28;
  --line: rgba(255, 255, 255, 0.08);
  --text: #ffffff;
  --text-2: rgba(255, 255, 255, 0.64);
  --text-3: rgba(255, 255, 255, 0.42);
  --accent: #8c7fff;
  --hero-start: #4535e0;
  --hero-end: #150d52;
  --positive: #3ddc84;
  --negative: #ff6b6b;
  --radius: 24px;
  --radius-s: 14px;
  --max: 1120px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

.num { font-variant-numeric: tabular-nums; }
.rounded { font-family: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, sans-serif; }

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(7, 7, 11, 0.72);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid var(--line);
}
.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); font-weight: 700; font-size: 19px; }
.brand:hover { text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav { display: flex; gap: 22px; font-size: 15px; }
.nav a { color: var(--text-2); }
.nav a:hover { color: var(--text); text-decoration: none; }

/* Hero */
.hero { padding: 72px 0 48px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.eyebrow { color: var(--accent); font-weight: 600; font-size: 15px; letter-spacing: 0.02em; margin: 0 0 14px; }
h1 {
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
  font-weight: 800;
}
.lead { font-size: 20px; color: var(--text-2); max-width: 34em; margin: 0 0 32px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.button {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 22px; border-radius: 999px;
  font-weight: 600; font-size: 16px;
  background: var(--accent); color: #0b0820;
}
.button:hover { text-decoration: none; filter: brightness(1.08); }
.button.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.soon { color: var(--text-3); font-size: 14px; margin-top: 14px; }

/* Phone mockup, drawn in CSS with made-up numbers */
.phone {
  justify-self: center;
  width: 300px; max-width: 100%;
  aspect-ratio: 9 / 19;
  border-radius: 48px;
  padding: 12px;
  background: linear-gradient(160deg, #2a2a36, #0d0d12);
  box-shadow: 0 40px 120px rgba(69, 53, 224, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.screen {
  height: 100%; border-radius: 38px; overflow: hidden;
  background: var(--canvas);
  padding: 46px 14px 14px;
  display: flex; flex-direction: column; gap: 10px;
  position: relative;
}
.screen::before {
  content: ""; position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 26px; border-radius: 20px; background: #000;
}
.screen .title { font-size: 24px; font-weight: 800; margin: 0 4px 2px; }
.mini-hero {
  border-radius: 20px; padding: 16px;
  background: linear-gradient(135deg, var(--hero-start), var(--hero-end));
}
.mini-hero .label { font-size: 11px; color: rgba(255, 255, 255, 0.75); }
.mini-hero .value { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; margin: 2px 0 8px; }
.pill {
  display: inline-block; font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.18);
}
.mini-card { background: var(--card); border-radius: 18px; padding: 12px 14px; }
.mini-card h4 { margin: 0 0 8px; font-size: 11px; color: var(--text-2); font-weight: 600; }
.row { display: flex; justify-content: space-between; font-size: 12px; padding: 3px 0; }
.row .pos { color: var(--positive); font-weight: 600; }
.row .neg { color: var(--negative); font-weight: 600; }
.bars { display: grid; gap: 6px; }
.bar { height: 14px; border-radius: 6px; display: flex; overflow: hidden; }
.bar span { display: block; height: 100%; }

/* Sections */
section { padding: 72px 0; }
.section-title { font-size: clamp(30px, 4vw, 44px); letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 14px; font-weight: 800; }
.section-lead { color: var(--text-2); font-size: 19px; max-width: 38em; margin: 0 0 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--card); border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
.card h3 { margin: 12px 0 8px; font-size: 21px; }
.card p { margin: 0; color: var(--text-2); }
.icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(140, 127, 255, 0.16); color: var(--accent); font-size: 22px; font-weight: 700;
}

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { background: var(--card); border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step);
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent); color: #0b0820; font-weight: 800; margin-bottom: 14px;
}
.step h3 { margin: 0 0 8px; font-size: 20px; }
.step p { margin: 0; color: var(--text-2); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.deal { background: var(--card); border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
.deal .row { font-size: 17px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.deal .row:last-child { border-bottom: 0; font-weight: 700; }

.privacy { background: linear-gradient(135deg, var(--hero-start), var(--hero-end)); border-radius: 32px; padding: 56px 48px; }
.privacy .section-lead { color: rgba(255, 255, 255, 0.8); }
.checks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 32px; font-size: 18px; }
.checks li::before { content: "✓"; color: var(--positive); font-weight: 800; margin-right: 10px; }

.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.plan { background: var(--card); border-radius: var(--radius); padding: 32px; border: 1px solid var(--line); }
.plan.plus { border-color: var(--accent); }
.plan h3 { margin: 0 0 4px; font-size: 24px; }
.price { color: var(--text-2); margin: 0 0 18px; }
.plan ul { margin: 0; padding-left: 20px; color: var(--text-2); }
.plan li { margin: 6px 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 56px; color: var(--text-3); font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; justify-content: space-between; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer a { color: var(--text-2); }

/* Text pages: terms, privacy, support */
.doc { max-width: 760px; margin: 0 auto; padding: 56px 20px 80px; }
.doc h1 { font-size: clamp(34px, 5vw, 48px); }
.doc h2 { font-size: 22px; margin: 40px 0 8px; }
.doc p, .doc li { color: var(--text-2); }
.doc strong { color: var(--text); }
.doc .updated { color: var(--text-3); font-size: 15px; }
.note { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 16px 20px; }
details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 16px 20px; margin: 10px 0; }
summary { cursor: pointer; font-weight: 600; color: var(--text); }
details p { margin: 10px 0 0; }

@media (max-width: 860px) {
  .hero { padding-top: 40px; }
  .hero .wrap, .split { grid-template-columns: 1fr; }
  .grid-3, .steps, .plans, .checks { grid-template-columns: 1fr; }
  .nav { gap: 16px; }
  .nav .hide-s { display: none; }
  section { padding: 56px 0; }
  .privacy { padding: 40px 24px; border-radius: 24px; }
}
