/* Actum website — "Night eggplant" + Liquid Glass.
   Colors from the Actum design system v7 (eggplant & lavender). */

@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/Inter-Regular.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/Inter-Medium.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/Inter-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/Inter-Bold.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 800; font-style: normal; font-display: swap; src: url("fonts/Inter-ExtraBold.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/JetBrainsMono-Regular.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/JetBrainsMono-Medium.woff2") format("woff2"); }

:root {
  --bg: #150d1c;
  --bg-mid: #1d1228;
  --eggplant: #251733;
  --eggplant-raised: #322142;
  --text: #f6f2fa;
  --text-body: #d8cce3;
  --text-muted: #bba9cc;
  --lavender: #c3b0ff;
  --lavender-soft: #e9e2ff;
  --on-lavender: #251733;
  --paper: #ffffff;
  --paper-ground: #f5f3f8;
  --ink: #251733;
  --ink-muted: #66587a;
  --line-paper: #e8e3ee;
  --ok-soft: #ddf5ec;
  --on-ok-soft: #0b6b4f;
  --defect-soft: #fde6e0;
  --on-defect-soft: #a3301a;
  --glass-fill: rgba(255, 255, 255, 0.07);
  --glass-border: rgba(233, 226, 255, 0.16);
  --sans: "Inter", -apple-system, system-ui, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sans);
  color: var(--text);
  background:
    radial-gradient(900px 600px at 78% 4%, rgba(195, 176, 255, 0.28), rgba(195, 176, 255, 0) 70%),
    radial-gradient(700px 520px at 6% 30%, rgba(124, 82, 170, 0.30), rgba(124, 82, 170, 0) 70%),
    radial-gradient(800px 600px at 92% 60%, rgba(195, 176, 255, 0.16), rgba(195, 176, 255, 0) 70%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-mid) 45%, var(--bg) 100%);
  background-color: var(--bg);
  overflow-x: hidden;
}

a { color: var(--lavender-soft); }
a:hover { color: #ffffff; }
:focus-visible { outline: 2px solid var(--lavender); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -9999px; top: 8px; padding: 10px 14px; border-radius: 10px; background: var(--lavender); color: var(--on-lavender); font-weight: 700; z-index: 10; }
.skip:focus { left: 16px; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.mono { font-family: var(--mono); }

/* Liquid Glass */
.glass {
  position: relative;
  background: var(--glass-fill);
  -webkit-backdrop-filter: blur(28px) saturate(170%);
  backdrop-filter: blur(28px) saturate(170%);
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), inset 0 -1px 0 rgba(0, 0, 0, 0.25), 0 24px 60px rgba(0, 0, 0, 0.35);
}
.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, 0) 70%, rgba(195, 176, 255, 0.10) 100%);
  z-index: 0;
}
/* Content sits above the glass highlight. */
.glass > * { position: relative; z-index: 1; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: rgba(50, 33, 66, 0.92); }
}

/* Navigation */
.nav-outer { padding-top: 24px; }
.nav { border-radius: 20px; padding: 10px 12px 10px 18px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #ffffff; }
.brand span { font-size: 17px; font-weight: 800; letter-spacing: 0.4px; }
.nav-links { display: flex; gap: 22px; margin-left: 12px; font-size: 15px; font-weight: 500; }
.nav-links a { text-decoration: none; color: var(--text-body); }
.nav-links a:hover { color: #ffffff; }
.spacer { flex: 1; }
.lang { display: flex; align-items: center; gap: 2px; padding: 3px; border-radius: 12px; background: rgba(255, 255, 255, 0.06); font-size: 13px; font-weight: 700; }
.lang a, .lang span { padding: 8px 10px; border-radius: 9px; text-decoration: none; color: var(--text-muted); }
.lang [aria-current] { background: rgba(233, 226, 255, 0.16); color: #ffffff; }
.pill { margin: 0; padding: 11px 16px; border-radius: 12px; background: var(--lavender); color: var(--on-lavender); font-size: 15px; font-weight: 700; }

/* Hero */
.hero { padding-top: 72px; padding-bottom: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.hero-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.eyebrow { align-self: flex-start; margin: 0; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--lavender-soft); }
h1 { margin: 0; font-size: 76px; line-height: 1; font-weight: 800; letter-spacing: -3px; }
.lead { margin: 0; max-width: 520px; font-size: 20px; line-height: 30px; color: var(--text-body); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; }
.store { margin: 0; display: flex; align-items: center; gap: 12px; padding: 14px 22px 14px 18px; border-radius: 14px; background: var(--lavender); color: var(--on-lavender); }
.store small { display: block; font-size: 12px; font-weight: 600; line-height: 14px; }
.store strong { display: block; font-size: 18px; font-weight: 800; line-height: 22px; }
.ghost { display: inline-flex; align-items: center; min-height: 64px; box-sizing: border-box; padding: 16px 20px; border-radius: 14px; font-size: 16px; font-weight: 600; text-decoration: none; color: #ffffff; }
.facts { margin: 0; font-size: 14px; color: var(--text-muted); }

.stage { flex: 1 1 420px; min-width: 0; display: flex; justify-content: center; position: relative; padding: 24px 0; }
.glow { position: absolute; width: 420px; height: 420px; max-width: 100%; border-radius: 50%; top: 60px; background: radial-gradient(closest-side, rgba(195, 176, 255, 0.45), rgba(195, 176, 255, 0)); }
.phone { position: relative; width: 316px; padding: 10px; border-radius: 52px; }
.screen { width: 296px; height: 620px; border-radius: 43px; overflow: hidden; background: var(--paper-ground); display: flex; flex-direction: column; color: var(--ink); }
.app-head { background: var(--eggplant); color: #ffffff; padding: 44px 16px 16px; display: flex; flex-direction: column; gap: 12px; }
.app-mark { font-size: 12px; font-weight: 800; letter-spacing: 0.5px; line-height: 12px; }
.app-sub { font-size: 11px; color: var(--text-muted); }
.app-title { margin-top: 4px; font-size: 25px; line-height: 27px; font-weight: 800; letter-spacing: -0.9px; }
.tiles { display: flex; gap: 8px; }
.tile { flex: 1; border-radius: 10px; background: var(--eggplant-raised); padding: 9px 10px; }
.tile b { display: block; font-size: 20px; font-weight: 800; }
.tile b.accent { color: var(--lavender); }
.tile span { display: block; font-size: 10px; line-height: 13px; color: var(--text-muted); }
.app-btn { height: 40px; border-radius: 10px; background: var(--lavender); color: var(--on-lavender); font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.app-body { flex: 1; padding: 14px 12px; display: flex; flex-direction: column; gap: 8px; }
.app-section { font-size: 14px; font-weight: 700; padding: 0 2px; }
.app-card { background: var(--paper); border-radius: 10px; padding: 10px; display: flex; align-items: center; gap: 9px; box-shadow: 0 1px 2px rgba(37, 23, 51, 0.06), 0 4px 12px rgba(37, 23, 51, 0.05); }
.thumb { width: 38px; height: 38px; border-radius: 8px; flex: none; }
.thumb.a { background: linear-gradient(160deg, #e4e1da, #a9b1b6); }
.thumb.b { background: linear-gradient(160deg, #d9cfc1, #b9a68f); }
.app-card .t { flex: 1; min-width: 0; }
.app-card .t b { display: block; font-size: 12px; font-weight: 600; }
.app-card .t span { display: block; font-size: 10px; color: var(--ink-muted); }
.app-card .t span.mono { font-size: 9.5px; }
.badge { font-size: 9.5px; font-weight: 600; padding: 3px 6px; border-radius: 5px; white-space: nowrap; }
.badge.ok { color: var(--on-ok-soft); background: var(--ok-soft); }
.badge.neutral { color: var(--ink-muted); background: #eeeaf3; }
.tabbar { background: #efebf4; display: flex; justify-content: space-around; padding: 8px 4px 18px; font-size: 9.5px; color: #5a4a68; }
.tabbar div { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.tabbar i { display: block; width: 44px; height: 22px; border-radius: 11px; }
.tabbar .on { color: var(--ink); font-weight: 700; }
.tabbar .on i { background: var(--lavender-soft); }

.chip { position: absolute; border-radius: 16px; background: rgba(37, 23, 51, 0.72); }
.chip-saved { left: -8px; top: 150px; padding: 12px 14px; display: flex; align-items: center; gap: 10px; }
.chip-saved .check { width: 24px; height: 24px; border-radius: 7px; background: var(--lavender); display: flex; align-items: center; justify-content: center; }
.chip-saved b { display: block; font-size: 13px; font-weight: 600; }
.chip-saved span { display: block; font-size: 12px; color: var(--text-body); }
.chip-code { right: -4px; bottom: 90px; padding: 14px 16px; }
.chip-code small { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.6px; color: var(--text-muted); }
.chip-code b { display: block; font-family: var(--mono); font-size: 24px; font-weight: 500; letter-spacing: 1px; margin-top: 2px; }

/* Sections */
section.block { padding-top: 72px; padding-bottom: 72px; }
h2 { margin: 0 0 12px; font-size: 48px; line-height: 52px; font-weight: 800; letter-spacing: -1.6px; }
.section-lead { margin: 0 0 36px; max-width: 640px; font-size: 18px; line-height: 28px; color: var(--text-body); }
.cards { display: flex; flex-wrap: wrap; gap: 16px; }
.card { flex: 1 1 300px; min-width: 0; border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.card h3 { margin: 0; font-size: 20px; font-weight: 700; }
.card p { margin: 0; font-size: 16px; line-height: 24px; color: var(--text-body); }
.step { flex-basis: 320px; border-radius: 24px; padding: 26px; gap: 14px; }
.step h3 { font-size: 22px; }
.num { width: 40px; height: 40px; border-radius: 12px; background: var(--lavender); color: var(--on-lavender); font-size: 18px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.tag { font-size: 13px; font-weight: 600; padding: 5px 9px; border-radius: 7px; }
.tag.ok { color: var(--on-ok-soft); background: var(--ok-soft); }
.tag.bad { color: var(--on-defect-soft); background: var(--defect-soft); }
.code-big { font-family: var(--mono); font-size: 20px; letter-spacing: 1px; margin-top: 4px; }

/* Evidence: the report under the lens */
.evidence { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.paper-col { flex: 1 1 520px; min-width: 0; display: flex; justify-content: center; }
.paper-wrap { position: relative; width: 100%; max-width: 540px; }
.paper { background: var(--paper); color: var(--ink); border-radius: 14px; padding: 34px 34px 30px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45); transform: rotate(-1.5deg); }
.paper .mark { font-size: 12px; font-weight: 800; letter-spacing: 0.6px; color: var(--ink-muted); }
.paper .title { margin-top: 8px; font-size: 26px; line-height: 30px; font-weight: 800; letter-spacing: -0.8px; }
.paper .addr { font-size: 14px; color: var(--ink-muted); }
.paper .cap { margin-top: 18px; font-size: 11px; font-weight: 600; letter-spacing: 0.6px; color: var(--ink-muted); }
.paper .code { font-family: var(--mono); font-size: 28px; font-weight: 500; letter-spacing: 1px; }
.paper hr { border: 0; height: 1px; background: var(--line-paper); margin: 18px 0; }
.paper .room { font-size: 17px; font-weight: 700; }
.shots { display: flex; gap: 10px; margin-top: 14px; }
.shots > div { flex: 1; min-width: 0; }
.shot { height: 118px; border-radius: 6px; }
.shot.a { background: linear-gradient(160deg, #e4e1da, #a9b1b6); }
.shot.b { background: linear-gradient(160deg, #d7d2ca, #9c958c); }
.shot-meta { font-family: var(--mono); font-size: 10px; line-height: 14px; color: var(--ink-muted); margin-top: 5px; }
.item { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 10px; }
.item b { display: block; font-size: 14px; font-weight: 600; }
.item span { display: block; font-size: 12px; color: var(--ink-muted); }
.item .tag { font-size: 11px; padding: 4px 8px; border-radius: 6px; }
.lens {
  position: absolute; right: -18px; bottom: -28px; width: 188px; height: 188px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-family: var(--mono); color: var(--ink); font-size: 17px; line-height: 24px; font-weight: 500;
  background: rgba(255, 255, 255, 0.10);
  -webkit-backdrop-filter: blur(2px) saturate(180%);
  backdrop-filter: blur(2px) saturate(180%);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  box-shadow: inset 0 2px 6px rgba(255, 255, 255, 0.6), inset 0 -6px 18px rgba(37, 23, 51, 0.25), 0 18px 40px rgba(21, 13, 28, 0.45);
}
.points { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; list-style: none; }
.point { border-radius: 20px; padding: 20px 22px; display: flex; gap: 16px; }
.point .n { font-family: var(--mono); font-size: 14px; font-weight: 500; color: var(--lavender); padding-top: 3px; }
.point h3 { margin: 0; font-size: 19px; font-weight: 700; }
.point p { margin: 6px 0 0; font-size: 15px; line-height: 23px; color: var(--text-body); }

/* FAQ */
.faq-wrap { max-width: 880px; }
.faq { border-radius: 24px; padding: 6px 26px; }
.faq details { padding: 20px 0; border-bottom: 1px solid rgba(233, 226, 255, 0.14); }
.faq details:last-child { border-bottom: 0; }
.faq summary { font-size: 18px; font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; color: var(--lavender); }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 8px 0 0; font-size: 16px; line-height: 25px; color: var(--text-body); }

/* Final call */
.final { border-radius: 32px; padding: 56px 32px; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center;
  background: radial-gradient(600px 260px at 50% 0%, rgba(195, 176, 255, 0.26), rgba(195, 176, 255, 0) 70%), rgba(255, 255, 255, 0.06); }
.final h2 { margin: 0; }
.final p { margin: 0; max-width: 520px; font-size: 18px; line-height: 28px; color: var(--text-body); }
.final .pill { color: var(--on-lavender); margin-top: 6px; padding: 14px 22px; border-radius: 14px; font-size: 17px; }

/* Footer */
footer { padding-top: 24px; padding-bottom: 40px; display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; font-size: 14px; color: var(--text-muted); border-top: 1px solid rgba(233, 226, 255, 0.12); }
footer .mark { font-weight: 800; letter-spacing: 0.4px; color: #ffffff; }
footer a { color: var(--text-body); }

/* Document pages (privacy, terms, support, licenses) */
.doc { max-width: 820px; margin: 48px auto 72px; border-radius: 28px; padding: 44px 48px; }
.doc h1 { font-size: 44px; letter-spacing: -1.6px; margin-bottom: 8px; }
.doc .updated { margin: 0 0 28px; color: var(--text-muted); font-size: 14px; }
.doc h2 { font-size: 24px; line-height: 30px; letter-spacing: -0.4px; margin: 34px 0 10px; }
.doc p, .doc li { font-size: 16px; line-height: 26px; color: var(--text-body); }
.doc ul { padding-left: 22px; }
.doc .note { border-radius: 14px; padding: 14px 16px; background: rgba(195, 176, 255, 0.12); border: 1px solid rgba(195, 176, 255, 0.3); color: var(--text); font-size: 15px; line-height: 23px; }
.doc pre { white-space: pre-wrap; font-family: var(--mono); font-size: 12px; line-height: 18px; color: var(--text-body); background: rgba(0, 0, 0, 0.25); border-radius: 12px; padding: 16px; max-height: 360px; overflow: auto; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 10px 8px; border-bottom: 1px solid rgba(233, 226, 255, 0.12); color: var(--text-body); vertical-align: top; }
.doc th { color: var(--text); font-weight: 600; }

/* Phone width */
@media (max-width: 760px) {
  .nav-links, .hide-sm { display: none !important; }
  .nav { gap: 10px; }
  .pill.nav-pill { font-size: 13px; padding: 9px 12px; }
  .hero { padding-top: 40px; gap: 32px; }
  h1 { font-size: 46px; letter-spacing: -1.6px; }
  h2 { font-size: 34px; line-height: 38px; letter-spacing: -1px; }
  .lead { font-size: 18px; line-height: 27px; }
  section.block { padding-top: 48px; padding-bottom: 48px; }
  .lens { right: -6px; bottom: -30px; width: 150px; height: 150px; font-size: 14px; line-height: 20px; }
  .paper { padding: 24px 22px; }
  .doc { margin: 24px 16px 48px; padding: 28px 22px; }
  .doc h1 { font-size: 34px; }
}
@media (max-width: 360px) {
  .phone { transform: scale(0.9); transform-origin: top center; }
}
