/* WAP landing site. Dark, product-led design. Everything is local (strict
 * CSP: default-src 'self') -- system fonts, CSS-drawn product visuals, no
 * images, no inline styles. */

:root {
  --bg: #07090f;
  --bg-2: #0b0e16;
  --panel: #10141e;
  --panel-2: #151a26;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #eef1f7;
  --text-2: #a7afc0;
  --text-3: #6b7486;
  --brand: #3b8bff;
  --brand-2: #7c5cff;
  --cyan: #2fd4ff;
  --prod: #22c55e;
  --comm: #3b8bff;
  --neutral: #a78bfa;
  --idle: #334155;
  --warn: #f5a524;
  --bad: #f2555a;
  --radius: 18px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

p {
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 8px;
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  z-index: 200;
  background: var(--text);
  color: var(--bg);
  padding: 8px 14px;
  border-radius: 8px;
}

.skip-link:focus {
  left: 10px;
}

.grad {
  background: linear-gradient(100deg, #8fc2ff 0%, var(--brand) 35%, var(--brand-2) 70%, #c084fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.dim {
  color: var(--text-3);
}

.muted {
  color: var(--text-3);
  font-size: 0.75rem;
  margin-left: 8px;
}

/* --------------------------------------------------------------- reveal */

/* Only hidden once landing.js is running (it adds .js), so nothing stays
 * invisible if the script never loads. */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .float,
  .live i,
  .pill-dot,
  .rec {
    animation: none !important;
  }
}

/* ---------------------------------------------------------------- brand */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(140deg, var(--cyan), var(--brand) 45%, var(--brand-2));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(59, 139, 255, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.brand-mark span {
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.04em;
}

.brand-mark.sm {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  box-shadow: none;
}

.brand-mark.sm span {
  font-size: 0.65rem;
}

.brand-word {
  font-weight: 750;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

/* ------------------------------------------------------------------ nav */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 9, 15, 0.6);
  backdrop-filter: blur(16px) saturate(170%);
  -webkit-backdrop-filter: blur(16px) saturate(170%);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links {
  display: flex;
  gap: 26px;
}

.nav-links a,
.nav-signin {
  color: var(--text-2);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-signin:hover {
  color: var(--text);
}

.nav-cta {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }
}

/* -------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 24px;
  border-radius: 12px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s, border-color 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, #4a95ff, #2f6fe8);
  box-shadow: 0 10px 30px -8px rgba(59, 139, 255, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-primary:hover {
  box-shadow: 0 14px 36px -8px rgba(59, 139, 255, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-glass {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line-2);
}

.btn-glass:hover,
.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

.btn-ghost {
  color: var(--text);
  background: transparent;
  border-color: var(--line-2);
}

.btn-light {
  color: #0b0e16;
  background: #f4f6fb;
}

.btn-light:hover {
  background: #fff;
}

.btn-sm {
  height: 36px;
  padding: 0 14px;
  font-size: 0.85rem;
  border-radius: 10px;
}

.btn-block {
  width: 100%;
}

.btn[disabled] {
  opacity: 0.6;
  cursor: progress;
  transform: none;
}

/* ----------------------------------------------------------------- hero */

.hero {
  position: relative;
  padding: 96px 0 40px;
  overflow: hidden;
  isolation: isolate;
}

.hero-glow {
  position: absolute;
  inset: -20% -10% auto;
  height: 900px;
  z-index: -1;
  background: radial-gradient(600px 340px at 50% 30%, rgba(59, 139, 255, 0.35), transparent 70%),
    radial-gradient(500px 300px at 30% 55%, rgba(124, 92, 255, 0.22), transparent 70%),
    radial-gradient(420px 260px at 72% 60%, rgba(47, 212, 255, 0.16), transparent 70%);
  filter: blur(10px);
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 20%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 20%, #000 30%, transparent 75%);
  opacity: 0.6;
}

.hero-copy {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pill-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-2);
  font-size: 0.82rem;
  text-decoration: none;
  margin-bottom: 28px;
  transition: border-color 0.2s;
}

.pill-link:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--text);
}

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--prod);
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

.hero h1 {
  font-size: clamp(2.6rem, 1.2rem + 5.6vw, 5.4rem);
  letter-spacing: -0.045em;
  font-weight: 700;
}

.hero-sub {
  margin-top: 22px;
  font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.3rem);
  color: var(--text-2);
  max-width: 34em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}

.hero-proof {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  color: var(--text-3);
  font-size: 0.85rem;
}

.hero-proof li::before {
  content: "✓";
  color: var(--prod);
  margin-right: 7px;
}

@media (max-width: 520px) {
  .hero {
    padding-top: 64px;
  }

  /* Let the headline wrap naturally on phones. */
  .hero h1 br {
    display: none;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

/* --------------------------------------------------------------- window */

.stage {
  position: relative;
  margin-top: 72px;
  perspective: 2000px;
}

.window {
  border-radius: 20px;
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, rgba(21, 26, 38, 0.92), rgba(12, 15, 23, 0.96));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.03), 0 40px 120px -30px rgba(59, 139, 255, 0.45),
    0 30px 60px -30px rgba(0, 0, 0, 0.9);
  overflow: hidden;
  transform: rotateX(8deg);
  transform-origin: 50% 0;
  transition: transform 1.2s var(--ease);
}

.stage.in .window {
  transform: rotateX(0);
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 42px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.dots {
  display: flex;
  gap: 7px;
}

.dots i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #2a3040;
}

.url {
  flex: 1;
  max-width: 340px;
  margin: 0 auto;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-3);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  padding: 4px 10px;
}

.app {
  display: grid;
  grid-template-columns: 190px 1fr;
  min-height: 420px;
}

.app-side {
  border-right: 1px solid var(--line);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.side-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 4px 8px 14px;
}

.side-item {
  font-size: 0.8rem;
  color: var(--text-3);
  padding: 7px 10px;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
}

.side-item.on {
  color: var(--text);
  background: rgba(59, 139, 255, 0.14);
}

.side-item b {
  font-size: 0.68rem;
  background: var(--bad);
  color: #fff;
  border-radius: 999px;
  padding: 0 6px;
}

.app-main {
  padding: 18px 20px 20px;
  min-width: 0;
}

.app-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--prod);
  border: 1px solid rgba(34, 197, 94, 0.3);
  background: rgba(34, 197, 94, 0.08);
  padding: 3px 9px;
  border-radius: 999px;
}

.live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--prod);
  animation: pulse 2.4s infinite;
}

.kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.kpi {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.kpi span {
  font-size: 0.7rem;
  color: var(--text-3);
}

.kpi b {
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.kpi em {
  font-style: normal;
  font-size: 0.68rem;
  color: var(--text-3);
}

.kpi em.up {
  color: var(--prod);
}

.table {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.tr {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 1.6fr;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
}

.tr.th {
  border-top: 0;
  color: var(--text-3);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(255, 255, 255, 0.02);
}

.who {
  display: flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.av {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  font-size: 0.6rem;
  font-weight: 700;
  color: #fff;
}

.c1 { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.c2 { background: linear-gradient(135deg, #f97316, #c2410c); }
.c3 { background: linear-gradient(135deg, #14b8a6, #0f766e); }
.c4 { background: linear-gradient(135deg, #ec4899, #be185d); }
.c5 { background: linear-gradient(135deg, #eab308, #a16207); }

.st {
  justify-self: start;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}

.st-on { color: #4ade80; background: rgba(34, 197, 94, 0.12); }
.st-wfh { color: #67e8f9; background: rgba(47, 212, 255, 0.12); }
.st-meet { color: #93c5fd; background: rgba(59, 139, 255, 0.14); }
.st-break { color: #fcd34d; background: rgba(245, 165, 36, 0.14); }
.st-idle { color: #cbd5e1; background: rgba(148, 163, 184, 0.14); }

.day {
  display: flex;
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  gap: 2px;
}

.day i {
  border-radius: 2px;
}

.s-p { background: var(--prod); }
.s-c { background: var(--comm); }
.s-n { background: var(--neutral); }
.s-i { background: var(--idle); }
.s-x { background: var(--bad); }

/* width utilities (no inline styles under CSP) */
.w6 { width: 6%; } .w8 { width: 8%; } .w10 { width: 10%; } .w12 { width: 12%; } .w14 { width: 14%; }
.w16 { width: 16%; } .w18 { width: 18%; } .w20 { width: 20%; } .w30 { width: 30%; } .w34 { width: 34%; }
.w40 { width: 40%; } .w48 { width: 48%; } .w52 { width: 52%; } .w58 { width: 58%; } .w64 { width: 64%; }
.w70 { width: 70%; } .w78 { width: 78%; } .w82 { width: 82%; }
.h40 { height: 40%; } .h52 { height: 52%; } .h60 { height: 60%; } .h68 { height: 68%; }
.h74 { height: 74%; } .h82 { height: 82%; } .h88 { height: 88%; }

/* floating cards */
.float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 14px;
  background: rgba(21, 26, 38, 0.82);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.7);
  font-size: 0.78rem;
  animation: bob 6s ease-in-out infinite;
}

.float b {
  display: block;
  font-size: 0.8rem;
}

.float span {
  color: var(--text-3);
}

.f-alert {
  top: 46%;
  left: -14px;
}

.f-checkin {
  top: -26px;
  right: -18px;
  animation-delay: -2s;
}

.f-ring {
  bottom: -22px;
  right: 8%;
  animation-delay: -4s;
}

.f-icon {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8rem;
}

.f-icon.warn { background: rgba(245, 165, 36, 0.16); color: var(--warn); }
.f-icon.ok { background: rgba(34, 197, 94, 0.16); color: var(--prod); }

.ring {
  width: 38px;
  height: 38px;
  transform: rotate(-90deg);
}

.ring circle {
  fill: none;
  stroke-width: 5;
}

.ring-bg { stroke: rgba(255, 255, 255, 0.08); }
.ring-fg {
  stroke: var(--prod);
  stroke-linecap: round;
  stroke-dasharray: 100.5;
  stroke-dashoffset: 22;
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 900px) {
  .app {
    grid-template-columns: 1fr;
  }

  .app-side {
    display: none;
  }

  .kpis {
    grid-template-columns: repeat(2, 1fr);
  }

  .f-alert {
    left: 10px;
    top: auto;
    bottom: -26px;
  }

  .f-checkin {
    right: 10px;
    top: -20px;
  }

  .f-ring {
    display: none;
  }
}

@media (max-width: 520px) {
  .stage {
    margin-top: 56px;
  }

  .tr {
    grid-template-columns: 1fr auto;
  }

  .tr .day,
  .tr.th span:last-child {
    display: none;
  }

  .float {
    font-size: 0.72rem;
  }
}

/* ---------------------------------------------------------------- proof */

.proof {
  padding: 88px 0 24px;
}

.proof-inner {
  text-align: center;
}

.proof-lead {
  color: var(--text-3);
  font-size: 0.9rem;
}

.proof-lead b {
  color: var(--text);
}

.stats {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
}

.stats div {
  padding: 26px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stats div + div {
  border-left: 1px solid var(--line);
}

.stats b {
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem);
  letter-spacing: -0.04em;
  font-weight: 700;
}

.stats span {
  color: var(--text-3);
  font-size: 0.85rem;
}

@media (max-width: 680px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats div:nth-child(3) {
    border-left: 0;
  }

  .stats div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}

/* ------------------------------------------------------------- sections */

.section {
  padding: 120px 0;
  position: relative;
}

.section-alt {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.sec-head {
  max-width: 760px;
  margin-bottom: 56px;
}

.sec-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 16px;
}

.sec-head h2 {
  font-size: clamp(2rem, 1.2rem + 3vw, 3.4rem);
  letter-spacing: -0.04em;
}

@media (max-width: 720px) {
  .section {
    padding: 84px 0;
  }

  .sec-head {
    margin-bottom: 40px;
  }
}

/* ---------------------------------------------------------------- bento */

.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.tile {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: radial-gradient(120% 100% at 0% 0%, rgba(59, 139, 255, 0.07), transparent 50%),
    linear-gradient(180deg, var(--panel), #0c1019);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  overflow: hidden;
  min-width: 0;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}

.tile:hover {
  border-color: var(--line-2);
  transform: translateY(-2px);
}

.t-wide {
  grid-column: span 2;
}

.tile h3 {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.tile p {
  color: var(--text-2);
  font-size: 0.92rem;
  margin-top: 6px;
}

.viz {
  margin-top: auto;
  font-size: 0.78rem;
}

@media (max-width: 960px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .bento {
    grid-template-columns: 1fr;
  }

  .t-wide {
    grid-column: auto;
  }
}

/* status tile */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.chip {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
}

.chip.on { color: #4ade80; background: rgba(34, 197, 94, 0.12); }
.chip.meet { color: #93c5fd; background: rgba(59, 139, 255, 0.14); }
.chip.brk { color: #fcd34d; background: rgba(245, 165, 36, 0.14); }
.chip.idle { color: #cbd5e1; background: rgba(148, 163, 184, 0.14); }

.heat {
  display: grid;
  grid-template-columns: repeat(14, 1fr);
  gap: 6px;
}

.heat i {
  aspect-ratio: 1;
  border-radius: 6px;
  background: rgba(34, 197, 94, 0.75);
}

.heat i.m { background: rgba(59, 139, 255, 0.85); }
.heat i.b { background: rgba(245, 165, 36, 0.8); }
.heat i.d { background: rgba(148, 163, 184, 0.3); }

@media (max-width: 640px) {
  .heat {
    grid-template-columns: repeat(10, 1fr);
  }

  .heat i:nth-child(n + 31) {
    display: none;
  }
}

/* apps tile */
.app-row {
  display: grid;
  grid-template-columns: 22px 64px 1fr 48px;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  color: var(--text-2);
}

.app-ic {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
  color: #fff;
}

.ic1 { background: #a259ff; }
.ic2 { background: #0e7fd8; }
.ic3 { background: #4a154b; }
.ic4 { background: #e62117; }

.bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
  display: flex;
}

.bar i {
  border-radius: 999px;
}

.app-row em {
  font-style: normal;
  color: var(--text-3);
  text-align: right;
}

/* donut tile */
.viz-donut {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: center;
  gap: 18px;
  position: relative;
}

.donut {
  width: 120px;
  height: 120px;
  transform: rotate(-90deg);
}

.donut circle {
  fill: none;
  stroke-width: 12;
}

.d-bg { stroke: rgba(255, 255, 255, 0.06); }
.d-seg { stroke-dasharray: 276.5; stroke-linecap: butt; }
.d1 { stroke: var(--prod); stroke-dashoffset: 88; }
.d2 { stroke: var(--comm); stroke-dasharray: 52 276.5; stroke-dashoffset: -190; }
.d3 { stroke: var(--neutral); stroke-dasharray: 20 276.5; stroke-dashoffset: -244; }

.donut-label {
  position: absolute;
  left: 0;
  width: 120px;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.donut-label b {
  font-size: 1.7rem;
  letter-spacing: -0.04em;
}

.donut-label span {
  color: var(--text-3);
  font-size: 0.7rem;
}

.legend {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--text-2);
}

.legend i {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 3px;
  margin-right: 8px;
}

/* check-in tile */
.viz-checkin {
  position: relative;
}

.map {
  height: 120px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(transparent 49%, rgba(255, 255, 255, 0.05) 50%, transparent 51%),
    linear-gradient(90deg, transparent 49%, rgba(255, 255, 255, 0.05) 50%, transparent 51%),
    linear-gradient(35deg, transparent 47%, rgba(255, 255, 255, 0.06) 48%, transparent 52%),
    radial-gradient(circle at 50% 50%, rgba(59, 139, 255, 0.12), transparent 70%), #0c111b;
  background-size: 40px 40px, 40px 40px, 100% 100%, 100% 100%, auto;
  position: relative;
  overflow: hidden;
}

.radius {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 90px;
  height: 90px;
  margin: -45px 0 0 -45px;
  border-radius: 50%;
  border: 1px dashed rgba(59, 139, 255, 0.6);
  background: rgba(59, 139, 255, 0.1);
}

.pin {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 5px rgba(59, 139, 255, 0.25);
  z-index: 1;
}

.ci-card {
  position: absolute;
  right: 10px;
  bottom: -10px;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(21, 26, 38, 0.92);
  border: 1px solid var(--line-2);
  display: flex;
  flex-direction: column;
  font-size: 0.72rem;
}

.ci-card span {
  color: var(--prod);
}

/* alerts tile */
.al {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  margin-top: 8px;
  color: var(--text-2);
}

.al em {
  margin-left: auto;
  font-style: normal;
  color: var(--text-3);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: none;
}

.dot.warn { background: var(--warn); box-shadow: 0 0 10px var(--warn); }
.dot.info { background: var(--brand); box-shadow: 0 0 10px var(--brand); }
.dot.ok { background: var(--prod); box-shadow: 0 0 10px var(--prod); }

/* projects tile */
.timer {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(242, 85, 90, 0.3);
  background: rgba(242, 85, 90, 0.06);
  margin-bottom: 14px;
}

.timer b {
  margin-left: auto;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.rec {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bad);
  animation: blink 1.4s infinite;
}

@keyframes blink {
  50% {
    opacity: 0.25;
  }
}

.pbars div {
  display: grid;
  grid-template-columns: 56px 1fr 40px;
  align-items: center;
  gap: 10px;
  padding: 5px 0;
  color: var(--text-2);
}

.pbars i {
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
}

.pbars em {
  font-style: normal;
  text-align: right;
  color: var(--text-3);
}

/* leave tile */
.viz-cal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: center;
}

.cal {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}

.cal-h {
  text-align: center;
  color: var(--text-3);
  font-size: 0.65rem;
}

.cal i {
  aspect-ratio: 1.3;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.04);
  font-style: normal;
  font-size: 0.68rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
}

.cal i.off { background: rgba(255, 255, 255, 0.015); }
.cal i.lv { background: rgba(124, 92, 255, 0.35); color: #fff; }
.cal i.hol { background: rgba(245, 165, 36, 0.3); color: #fff; }
.cal i.half { background: linear-gradient(135deg, rgba(124, 92, 255, 0.4) 50%, rgba(255, 255, 255, 0.04) 50%); color: #fff; }

.approve {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.02);
}

.ap-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.ap-row div {
  display: flex;
  flex-direction: column;
}

.ap-row span {
  color: var(--text-3);
}

.ap-steps {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.ap-steps span {
  flex: 1;
  text-align: center;
  padding: 6px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.72rem;
}

.ap-steps .done { color: #4ade80; background: rgba(34, 197, 94, 0.12); }
.ap-steps .now { color: #fcd34d; background: rgba(245, 165, 36, 0.12); border: 1px dashed rgba(245, 165, 36, 0.4); }

@media (max-width: 640px) {
  .viz-cal {
    grid-template-columns: 1fr;
  }
}

/* chart tile */
.viz-chart {
  position: relative;
}

.cols {
  height: 120px;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}

.cols i {
  flex: 1;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--cyan), var(--brand) 60%, rgba(59, 139, 255, 0.4));
}

.csv {
  position: absolute;
  top: -6px;
  right: 0;
  font-size: 0.72rem;
  padding: 4px 9px;
  border-radius: 8px;
  border: 1px solid var(--line-2);
  background: var(--panel-2);
  color: var(--text-2);
}

/* games tile */
.viz-games {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: center;
}

.g2048 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  padding: 6px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
}

.g2048 i {
  aspect-ratio: 1;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  font-style: normal;
  font-weight: 800;
  font-size: 0.72rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.g2048 .v2 { background: #2a3550; }
.g2048 .v4 { background: #33406a; }
.g2048 .v8 { background: #3b5bd6; }
.g2048 .v16 { background: #4b6cf0; }
.g2048 .v32 { background: #6b5cff; }
.g2048 .v64 { background: #8b5cf6; }
.g2048 .v128 { background: linear-gradient(135deg, #2fd4ff, #7c5cff); font-size: 0.62rem; }

.race {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.race div {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.race div:first-child {
  border-color: rgba(245, 165, 36, 0.4);
}

.race b {
  margin-left: auto;
  font-variant-numeric: tabular-nums;
}

.race span {
  color: var(--text-3);
  font-size: 0.7rem;
  text-align: center;
}

/* devices tile */
.dev {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  margin-top: 8px;
  color: var(--text-2);
  white-space: nowrap;
  overflow: hidden;
}

.os {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
  font-size: 0.8rem;
}

.dev em {
  margin-left: auto;
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 600;
}

.dev em.ok { color: #4ade80; }
.dev em.upd { color: #93c5fd; }

.mini-features {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.mini-features span {
  font-size: 0.82rem;
  color: var(--text-2);
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

/* ---------------------------------------------------------------- steps */

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  counter-reset: none;
}

.steps li {
  position: relative;
  padding: 28px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel), transparent);
}

.step-n {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 0.1em;
  margin-bottom: 22px;
}

.steps h3 {
  font-size: 1.2rem;
}

.steps p {
  color: var(--text-2);
  margin-top: 8px;
  font-size: 0.95rem;
}

.cmd {
  margin-top: 16px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #05070b;
  border: 1px solid var(--line);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  color: var(--text-2);
  line-height: 1.7;
}

.cmd .ok {
  color: var(--prod);
}

@media (max-width: 820px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------------------------------------- roles */

.roles {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.role-tabs,
.form-tabs {
  display: inline-flex;
  padding: 4px;
  gap: 4px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.role-tabs button,
.form-tabs button {
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-2);
  background: transparent;
  border: 0;
  border-radius: 10px;
  padding: 9px 18px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.role-tabs button[aria-selected="true"],
.form-tabs button[aria-selected="true"] {
  color: var(--text);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.role-panel {
  margin-top: 40px;
}

.role-line {
  font-size: clamp(1.4rem, 1rem + 1.6vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.ticks {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ticks li {
  position: relative;
  padding-left: 28px;
  color: var(--text-2);
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.14) no-repeat center / 10px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.2 4.8 9 10 3' fill='none' stroke='%2322c55e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.role-panel .ticks {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
}

@media (max-width: 520px) {
  .role-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .role-panel .ticks {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
}

/* -------------------------------------------------------------- privacy */

.privacy {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 16px;
  align-items: stretch;
}

.pv-card {
  position: relative;
  border-radius: 22px;
  border: 1px solid var(--line-2);
  padding: 30px;
  overflow: hidden;
  background: radial-gradient(90% 70% at 0% 0%, rgba(47, 212, 255, 0.1), transparent 60%),
    radial-gradient(70% 60% at 100% 100%, rgba(124, 92, 255, 0.1), transparent 60%), linear-gradient(180deg, var(--panel), #0b0e16);
}

.pv-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.pv-agent {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
}

.pv-agent i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--prod);
  animation: pulse 2.4s infinite;
}

.pv-pill {
  font-size: 0.75rem;
  font-weight: 600;
  color: #67e8f9;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(47, 212, 255, 0.3);
  background: rgba(47, 212, 255, 0.08);
}

.pv-day {
  margin: 26px 0 30px;
}

.pv-track {
  display: flex;
  height: 14px;
  gap: 3px;
}

.pv-on {
  flex: 6;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--cyan), var(--brand) 55%, var(--brand-2));
  box-shadow: 0 0 24px rgba(59, 139, 255, 0.45);
}

.pv-off {
  border-radius: 4px;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 5px, transparent 5px 10px);
}

.pv-l {
  flex: 2.2;
  border-radius: 999px 4px 4px 999px;
}

.pv-r {
  flex: 1.8;
  border-radius: 4px 999px 999px 4px;
}

.pv-marks {
  display: flex;
  justify-content: space-between;
  margin: 10px 17% 0 22%;
  font-size: 0.72rem;
  color: var(--text-3);
}

.pv-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.pv-h {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.pv-h.sees {
  color: #4ade80;
}

.pv-h.never {
  color: #ff8a8e;
}

.pv-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pv-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.98rem;
}

.pv-list.no li {
  color: var(--text-2);
}

.ico {
  flex: none;
  width: 24px;
  height: 24px;
  padding: 4px;
  border-radius: 8px;
  fill: none;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.yes .ico {
  stroke: #4ade80;
  background: rgba(34, 197, 94, 0.14);
}

.no .ico {
  stroke: #ff8a8e;
  background: rgba(242, 85, 90, 0.12);
}

.pv-side {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-rows: repeat(4, 1fr);
  gap: 12px;
}

.pv-side li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel), #0b0e16);
  transition: border-color 0.3s, transform 0.3s var(--ease);
}

.pv-side li:hover {
  border-color: var(--line-2);
  transform: translateX(3px);
}

.pv-side div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pv-side b {
  font-size: 1rem;
}

.pv-side div span {
  color: var(--text-2);
  font-size: 0.88rem;
}

.pv-ic {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(140deg, rgba(47, 212, 255, 0.16), rgba(124, 92, 255, 0.16));
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.pv-ic svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #bfe6ff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 920px) {
  .privacy {
    grid-template-columns: 1fr;
  }

  .pv-side {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
  }
}

@media (max-width: 560px) {
  .pv-card {
    padding: 22px 18px;
  }

  .pv-cols,
  .pv-side {
    grid-template-columns: 1fr;
  }

  .pv-marks {
    margin-left: 0;
    margin-right: 0;
  }
}

/* -------------------------------------------------------------- pricing */

.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 400px));
  justify-content: center;
  gap: 18px;
}

.plan {
  position: relative;
  padding: 32px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel), #0b0e16);
  display: flex;
  flex-direction: column;
}

.plan-hl {
  border-color: rgba(59, 139, 255, 0.5);
  background: radial-gradient(120% 80% at 50% 0%, rgba(59, 139, 255, 0.18), transparent 60%),
    linear-gradient(180deg, var(--panel), #0b0e16);
  box-shadow: 0 30px 80px -30px rgba(59, 139, 255, 0.5);
}

.plan-tag {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  color: #bcd8ff;
  background: rgba(59, 139, 255, 0.18);
}

.plan h3 {
  font-size: 1.05rem;
  color: var(--text-2);
}

.plan-price {
  margin: 14px 0 24px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.plan-price b {
  font-size: 2.6rem;
  letter-spacing: -0.04em;
  font-weight: 700;
}

.plan-price span {
  color: var(--text-3);
}

.plan .ticks {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
  flex: 1;
}

@media (max-width: 720px) {
  .plans {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------------ cta */

.cta-section {
  overflow: hidden;
  isolation: isolate;
  border-top: 1px solid var(--line);
}

.cta-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(600px 400px at 20% 40%, rgba(59, 139, 255, 0.2), transparent 70%),
    radial-gradient(500px 360px at 85% 70%, rgba(124, 92, 255, 0.16), transparent 70%);
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.cta-copy h2 {
  font-size: clamp(2.1rem, 1.3rem + 3vw, 3.5rem);
  letter-spacing: -0.04em;
}

.cta-copy .ticks {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cta-contact {
  margin-top: 30px;
  color: var(--text-3);
  font-size: 0.92rem;
}

.cta-contact a {
  color: var(--text);
}

.form-shell {
  padding: 28px;
  border-radius: 24px;
  border: 1px solid var(--line-2);
  background: rgba(16, 20, 30, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 40px 100px -40px rgba(0, 0, 0, 0.9);
  scroll-margin-top: 90px;
}

.form-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  margin-bottom: 22px;
}

.field {
  margin-bottom: 14px;
  min-width: 0;
}

.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 7px;
}

.opt {
  font-weight: 400;
  color: var(--text-3);
}

input,
select,
textarea {
  width: 100%;
  font: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-2);
  border-radius: 11px;
  padding: 11px 13px;
  min-height: 46px;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

input::placeholder,
textarea::placeholder {
  color: var(--text-3);
}

select option {
  background: var(--panel);
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: rgba(59, 139, 255, 0.06);
  box-shadow: 0 0 0 4px rgba(59, 139, 255, 0.18);
}

input[aria-invalid="true"],
select[aria-invalid="true"] {
  border-color: var(--bad);
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 1.3em;
  margin: 12px 0 0;
  font-size: 0.9rem;
}

.form-status.ok {
  color: #4ade80;
  font-weight: 600;
}

.form-status.err {
  color: #ff8a8e;
}

.legal-note {
  margin-top: 10px;
  font-size: 0.78rem;
  color: var(--text-3);
}

@media (max-width: 920px) {
  .cta-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 520px) {
  .form-shell {
    padding: 20px 16px;
  }

  .grid2 {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* ------------------------------------------------------------------ faq */

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 0;
  font-weight: 600;
  font-size: 1.05rem;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-size: 1.4rem;
  line-height: 1;
  color: var(--text-3);
  transition: transform 0.25s var(--ease);
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  color: var(--text-2);
  padding: 0 0 22px;
  max-width: 62ch;
}

/* --------------------------------------------------------------- footer */

.footer {
  border-top: 1px solid var(--line);
  padding: 72px 0 32px;
  background: var(--bg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.1fr 1.4fr;
  gap: 40px;
}

.footer h4 {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 16px;
}

.footer-grid > div > a {
  display: block;
  color: var(--text-2);
  text-decoration: none;
  font-size: 0.92rem;
  padding: 4px 0;
  overflow-wrap: anywhere;
}

.footer-grid > div > a:hover {
  color: var(--text);
}

.f-brand p {
  color: var(--text-3);
  font-size: 0.9rem;
  margin-top: 16px;
  max-width: 28ch;
}

.f-brand p a {
  color: var(--text-2);
}

.social {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.social a {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-2);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.social a:hover {
  border-color: var(--line-2);
  color: var(--text);
}

address {
  font-style: normal;
  color: var(--text-2);
  font-size: 0.9rem;
  margin-bottom: 14px;
}

address b {
  display: block;
  color: var(--text);
  font-size: 0.85rem;
  margin-bottom: 2px;
}

.footer-bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--text-3);
  font-size: 0.85rem;
}

.footer-bottom a {
  color: var(--text-3);
  text-decoration: none;
  margin-left: 18px;
}

.footer-bottom a:hover {
  color: var(--text);
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom a {
    margin: 0 18px 0 0;
  }
}

/* ---------------------------------------------------------- legal pages */

.legal {
  max-width: 760px;
  padding-top: 72px;
  padding-bottom: 96px;
}

.legal h1 {
  font-size: clamp(2.2rem, 1.4rem + 3vw, 3.2rem);
  letter-spacing: -0.04em;
  margin-bottom: 10px;
}

.legal h2 {
  font-size: 1.25rem;
  margin: 2.4em 0 0.7em;
}

.legal p,
.legal li {
  color: var(--text-2);
  line-height: 1.7;
}

.legal p + p {
  margin-top: 1em;
}

.legal ul {
  padding-left: 1.2em;
}

.legal li {
  margin-bottom: 8px;
}

.legal a {
  color: #8fc2ff;
}

.legal strong {
  color: var(--text);
}

.updated {
  color: var(--text-3);
}

.draft-notice {
  border: 1px solid rgba(245, 165, 36, 0.4);
  background: rgba(245, 165, 36, 0.08);
  color: #fcd34d;
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 32px;
  font-size: 0.9rem;
}
