/* ===========================================================================
   Staq marketing site
   Dark, editorial product site. Dependency-free, accessible, fast.
   Display: Space Grotesk. Body: Inter. Accent: purple #8B5CF6 / #A78BFA.
   =========================================================================== */

:root {
  /* surfaces */
  --bg: #080809;
  --surface-1: #0e0e11;
  --surface-2: #15151a;
  --surface-3: #1c1c22;

  /* hairlines */
  --line: rgba(255, 255, 255, 0.07);
  --line-strong: rgba(255, 255, 255, 0.13);

  /* text */
  --text: #f4f4f6;
  --text-muted: #9a9aa6;
  --text-faint: #6a6a76;

  /* accent */
  --accent: #8b5cf6;
  --accent-2: #a78bfa;
  --accent-soft: rgba(139, 92, 246, 0.14);
  --accent-line: rgba(139, 92, 246, 0.32);
  --accent-glow: rgba(139, 92, 246, 0.4);

  /* status colors used inside the app mockup */
  --good: #34d399;
  --good-soft: rgba(52, 211, 153, 0.14);
  --warn: #fbbf24;
  --warn-soft: rgba(251, 191, 36, 0.14);

  /* radii on a consistent rhythm */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --maxw: 1160px;
  --gutter: clamp(20px, 5vw, 44px);

  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  --font-display: "Space Grotesk", var(--font-body);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-feature-settings: "cv11", "ss01";
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

a:hover {
  text-decoration: underline;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.06;
  letter-spacing: -0.025em;
  margin: 0 0 0.5em;
  font-weight: 600;
}

p {
  margin: 0 0 1em;
}

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

::selection {
  background: rgba(139, 92, 246, 0.35);
  color: #fff;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 var(--r-sm) 0;
  z-index: 200;
  font-weight: 600;
}

.skip-link:focus {
  left: 0;
}

/* ----------------------------------------------------------------- layout */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(64px, 10vw, 132px);
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--accent-line);
}

.section-head {
  max-width: 620px;
  margin-bottom: clamp(40px, 6vw, 68px);
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head.center .eyebrow {
  justify-content: center;
}

.section-head h2 {
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  margin-top: 18px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.08rem;
  margin-bottom: 0;
}

.balance {
  text-wrap: balance;
}

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.25s var(--ease),
    background 0.2s var(--ease), border-color 0.2s var(--ease);
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--text);
  color: #0a0a0c;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -16px rgba(255, 255, 255, 0.5);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 10px 32px -12px var(--accent-glow);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 46px -14px var(--accent-glow);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line-strong);
  color: var(--text);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 15px 28px;
  font-size: 1.04rem;
}

.btn .apple {
  width: 17px;
  height: 17px;
  margin-top: -2px;
}

/* ----------------------------------------------------------------- header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease),
    backdrop-filter 0.3s var(--ease);
}

.site-header.scrolled {
  background: rgba(8, 8, 9, 0.7);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom-color: var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.24rem;
  letter-spacing: -0.03em;
  color: var(--text);
}

.brand:hover {
  text-decoration: none;
}

.nav-mid {
  display: flex;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: inline-block;
  color: var(--text-muted);
  font-size: 0.94rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 999px;
  transition: color 0.18s var(--ease), background 0.18s var(--ease);
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  text-decoration: none;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-xs);
  width: 42px;
  height: 42px;
  cursor: pointer;
  color: var(--text);
  align-items: center;
  justify-content: center;
}

/* ------------------------------------------------------------------- hero */
.hero {
  position: relative;
  padding-top: clamp(48px, 8vw, 92px);
  padding-bottom: clamp(56px, 9vw, 110px);
  overflow: hidden;
}

/* faint dot grid, fades out toward the bottom. not a centered orb. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.05) 1px,
    transparent 1px
  );
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(
    120% 80% at 30% 0%,
    #000 0%,
    transparent 70%
  );
  mask-image: radial-gradient(120% 80% at 30% 0%, #000 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* one tasteful accent glow, deliberately offset to the upper right */
.hero::after {
  content: "";
  position: absolute;
  top: -180px;
  right: -120px;
  width: 620px;
  height: 620px;
  background: radial-gradient(
    closest-side,
    rgba(139, 92, 246, 0.22),
    rgba(139, 92, 246, 0)
  );
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}

.hero-copy {
  max-width: 580px;
}

.announce {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  padding: 6px 6px 6px 14px;
  border-radius: 999px;
  margin-bottom: 26px;
}

.announce .tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-2);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  padding: 3px 9px;
  border-radius: 999px;
}

.hero h1 {
  font-size: clamp(2.6rem, 6.2vw, 4.4rem);
  letter-spacing: -0.035em;
  margin-bottom: 0.32em;
}

.hero h1 .muted {
  color: var(--text-faint);
}

.hero-sub {
  font-size: clamp(1.06rem, 2vw, 1.22rem);
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 1.7em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero-note {
  margin: 22px 0 0;
  font-size: 0.84rem;
  color: var(--text-faint);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-note svg {
  flex: none;
  stroke: var(--text-faint);
}

/* ---------------------------------------------------------- phone mockup */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone {
  position: relative;
  width: min(308px, 82vw);
  aspect-ratio: 9 / 19.3;
  border-radius: 46px;
  padding: 11px;
  background: linear-gradient(160deg, #232329, #0a0a0d 60%);
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 90px -34px rgba(0, 0, 0, 0.95),
    0 0 0 1px rgba(0, 0, 0, 0.5), 0 0 80px -30px var(--accent-glow);
}

.phone::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 28px;
  background: #050506;
  border-radius: 999px;
  z-index: 5;
}

.screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 36px;
  background: var(--bg);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.screen::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 160px;
  background: radial-gradient(
    120% 100% at 50% 0%,
    rgba(139, 92, 246, 0.2),
    rgba(139, 92, 246, 0) 70%
  );
  pointer-events: none;
}

.screen-scroll {
  position: relative;
  flex: 1;
  overflow: hidden;
  padding: 52px 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.statusbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 26px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text);
  z-index: 4;
}

.statusbar .glyphs {
  display: flex;
  gap: 5px;
  align-items: center;
}

.statusbar .glyphs span {
  display: block;
  width: 16px;
  height: 9px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.55);
}

.scr-greeting {
  font-size: 0.72rem;
  color: var(--text-faint);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.scr-h {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 2px 0 6px;
}

/* next dose summary card */
.scr-next {
  border-radius: var(--r-md);
  border: 1px solid var(--accent-line);
  background: linear-gradient(
    160deg,
    rgba(139, 92, 246, 0.18),
    rgba(139, 92, 246, 0.04)
  );
  padding: 14px;
}

.scr-next .lbl {
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-2);
  font-weight: 700;
}

.scr-next .name {
  font-size: 1.02rem;
  font-weight: 600;
  margin: 6px 0 2px;
}

.scr-next .sub {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.scr-next .ring {
  float: right;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: conic-gradient(var(--accent-2) 86%, rgba(255, 255, 255, 0.1) 0);
  display: grid;
  place-items: center;
  margin-top: -2px;
}

.scr-next .ring::after {
  content: "86%";
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #100f15;
  display: grid;
  place-items: center;
  font-size: 0.6rem;
  font-weight: 700;
}

.scr-sectlabel {
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-faint);
  font-weight: 700;
  margin-top: 2px;
}

.scr-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface-1);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 10px 12px;
}

.scr-row .swatch {
  width: 8px;
  height: 30px;
  border-radius: 999px;
  flex: none;
}

.scr-row .body {
  flex: 1;
  min-width: 0;
}

.scr-row .t {
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.scr-row .m {
  font-size: 0.68rem;
  color: var(--text-faint);
}

.chip {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 4px 8px;
  border-radius: 999px;
  flex: none;
}

.chip.done {
  color: var(--good);
  background: var(--good-soft);
}

.chip.due {
  color: var(--warn);
  background: var(--warn-soft);
}

.tabbar {
  height: 58px;
  border-top: 1px solid var(--line);
  background: rgba(12, 12, 15, 0.9);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 12px 6px;
}

.tabbar svg {
  width: 21px;
  height: 21px;
  stroke: var(--text-faint);
}

.tabbar .active svg {
  stroke: var(--accent-2);
}

.tabbar .fab {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px -8px var(--accent-glow);
}

.tabbar .fab svg {
  stroke: #fff;
}

/* floating chips beside the phone for depth */
.float-card {
  position: absolute;
  background: rgba(20, 20, 26, 0.92);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 11px 13px;
  box-shadow: 0 20px 50px -22px rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
}

.float-card .ic {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  flex: none;
}

.float-card .ic svg {
  width: 16px;
  height: 16px;
}

.float-card .ttl {
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.2;
}

.float-card .val {
  font-size: 0.66rem;
  color: var(--text-faint);
}

.float-a {
  top: 18%;
  left: -28px;
}

.float-a .ic {
  background: var(--good-soft);
}

.float-a .ic svg {
  stroke: var(--good);
}

.float-b {
  bottom: 14%;
  right: -24px;
}

.float-b .ic {
  background: var(--accent-soft);
}

.float-b .ic svg {
  stroke: var(--accent-2);
}

/* ------------------------------------------------------------ trust strip */
.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.012);
}

.strip .container {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(18px, 4vw, 44px);
  align-items: center;
  justify-content: space-between;
  padding-block: 22px;
}

.strip-item {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.strip-item svg {
  stroke: var(--accent-2);
  flex: none;
}

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

.cell {
  position: relative;
  background: linear-gradient(180deg, var(--surface-1), var(--surface-2));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  overflow: hidden;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.cell:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 24px 50px -30px rgba(0, 0, 0, 0.9);
}

/* asymmetric sizing */
.cell.lg {
  grid-column: span 3;
  grid-row: span 2;
}

.cell.wide {
  grid-column: span 3;
}

.cell.sm {
  grid-column: span 2;
}

.cell .ic {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  margin-bottom: 18px;
}

.cell .ic svg {
  stroke: var(--accent-2);
}

.cell h3 {
  font-size: 1.18rem;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.cell p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* the large cell carries a small inline visual */
.cell.lg h3 {
  font-size: 1.4rem;
}

.mini-list {
  margin-top: 22px;
  display: grid;
  gap: 10px;
}

.mini-row {
  display: flex;
  align-items: center;
  gap: 11px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 11px 13px;
}

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

.mini-row .label {
  font-size: 0.88rem;
  font-weight: 500;
  flex: 1;
}

.mini-row .meta {
  font-size: 0.76rem;
  color: var(--text-faint);
}

.mini-row .tick {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--good-soft);
  display: grid;
  place-items: center;
}

.mini-row .tick svg {
  width: 11px;
  height: 11px;
  stroke: var(--good);
}

/* --------------------------------------------------------- showcase rows */
.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
}

.showcase.reverse .showcase-visual {
  order: -1;
}

.showcase h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
}

.showcase-copy > p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 14px;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text);
  font-size: 0.98rem;
}

.checklist .tick {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  display: grid;
  place-items: center;
  margin-top: 1px;
}

.checklist .tick svg {
  width: 13px;
  height: 13px;
  stroke: var(--accent-2);
}

/* the analytics panel rendered as a real-looking insights card */
.panel {
  position: relative;
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background: radial-gradient(
      120% 90% at 85% 0%,
      rgba(139, 92, 246, 0.13),
      rgba(139, 92, 246, 0) 55%
    ),
    linear-gradient(180deg, var(--surface-1), var(--bg));
  padding: 24px;
  overflow: hidden;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.panel-head .title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}

.panel-head .pill {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent-2);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  padding: 4px 10px;
  border-radius: 999px;
}

.chart {
  display: flex;
  align-items: flex-end;
  gap: 9px;
  height: 150px;
  padding: 12px 4px 0;
  border-bottom: 1px solid var(--line);
}

.chart i {
  flex: 1;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--accent-2), rgba(139, 92, 246, 0.25));
  position: relative;
}

.chart i:last-child {
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
}

.chart-x {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 0.66rem;
  color: var(--text-faint);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}

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

.stat .num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.stat .num.accent {
  color: var(--accent-2);
}

.stat .lbl {
  font-size: 0.72rem;
  color: var(--text-faint);
  margin-top: 2px;
}

/* --------------------------------------------------------- privacy band */
.privacy {
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, var(--surface-1), var(--bg));
  padding: clamp(32px, 5vw, 56px);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.privacy-points {
  display: grid;
  gap: 18px;
}

.ppoint {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.ppoint .ic {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  display: grid;
  place-items: center;
}

.ppoint .ic svg {
  stroke: var(--accent-2);
}

.ppoint h3 {
  font-size: 1.06rem;
  margin-bottom: 4px;
}

.ppoint p {
  color: var(--text-muted);
  font-size: 0.94rem;
  margin-bottom: 0;
}

/* ------------------------------------------------------------------- faq */
.faq {
  max-width: 800px;
}

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

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 24px 4px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.08rem;
  letter-spacing: -0.015em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color 0.18s var(--ease);
}

.faq-item summary:hover {
  color: var(--accent-2);
}

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

.faq-item .chev {
  flex: none;
  transition: transform 0.25s var(--ease);
  color: var(--accent-2);
}

.faq-item[open] .chev {
  transform: rotate(45deg);
}

.faq-body {
  padding: 0 4px 24px;
  color: var(--text-muted);
  max-width: 680px;
}

.faq-body p:last-child {
  margin-bottom: 0;
}

/* ------------------------------------------------------------------- cta */
.cta {
  position: relative;
  border-radius: var(--r-xl);
  border: 1px solid var(--accent-line);
  background: radial-gradient(
      130% 130% at 50% 0%,
      rgba(139, 92, 246, 0.22),
      rgba(139, 92, 246, 0) 62%
    ),
    linear-gradient(180deg, var(--surface-2), var(--bg));
  padding: clamp(48px, 8vw, 84px) var(--gutter);
  text-align: center;
  overflow: hidden;
}

.cta h2 {
  font-size: clamp(2rem, 4.6vw, 3.1rem);
}

.cta p {
  color: var(--text-muted);
  max-width: 520px;
  margin-inline: auto;
  margin-bottom: 30px;
  font-size: 1.05rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* ---------------------------------------------------------------- footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.012);
  padding-block: clamp(48px, 7vw, 76px);
}

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

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.92rem;
  max-width: 300px;
  margin-top: 14px;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 16px;
  font-weight: 700;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 11px;
}

.footer-col a {
  color: var(--text-muted);
  font-size: 0.94rem;
}

.footer-col a:hover {
  color: var(--text);
  text-decoration: none;
}

.disclaimer {
  margin-top: clamp(36px, 5vw, 52px);
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--text-faint);
  max-width: 760px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  margin-top: 22px;
  color: var(--text-faint);
  font-size: 0.85rem;
}

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

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

/* ------------------------------------------------------------ legal pages */
.legal {
  padding-block: clamp(52px, 8vw, 92px);
  position: relative;
}

.legal-wrap {
  max-width: 780px;
  margin-inline: auto;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.legal-back:hover {
  color: var(--text);
  text-decoration: none;
}

.legal-wrap h1 {
  font-size: clamp(2.1rem, 5vw, 3rem);
}

.legal-meta {
  color: var(--text-faint);
  font-size: 0.92rem;
  margin-bottom: 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.legal-wrap h2 {
  font-size: 1.4rem;
  margin-top: 44px;
}

.legal-wrap h3 {
  font-size: 1.1rem;
  margin-top: 28px;
}

.legal-wrap p,
.legal-wrap li {
  color: var(--text-muted);
}

.legal-wrap strong {
  color: var(--text);
  font-weight: 600;
}

.legal-wrap ul {
  padding-left: 1.3em;
  margin-bottom: 1em;
}

.legal-wrap li {
  margin-bottom: 9px;
}

.support-contact {
  margin: 8px 0 8px;
  padding: 28px 28px 30px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background:
    radial-gradient(120% 140% at 0% 0%, var(--accent-soft), transparent 55%),
    var(--surface-1);
}

.support-contact-label {
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.support-contact-email {
  margin: 0 0 12px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 600;
  line-height: 1.25;
}

.support-contact-email a {
  color: var(--text);
  text-decoration: none;
}

.support-contact-email a:hover {
  color: var(--accent-2);
}

.support-contact-note {
  margin: 0 0 22px;
  max-width: 42rem;
}

.support-contact .btn {
  display: inline-flex;
}

/* --------------------------------------------------------- scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}

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

/* ------------------------------------------------------------- responsive */
@media (max-width: 940px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-copy {
    max-width: 620px;
  }

  .hero-visual {
    margin-inline: auto;
  }

  .bento {
    grid-template-columns: repeat(4, 1fr);
  }

  .cell.lg,
  .cell.wide,
  .cell.sm {
    grid-column: span 2;
    grid-row: auto;
  }

  .showcase,
  .showcase.reverse {
    grid-template-columns: 1fr;
  }

  .showcase.reverse .showcase-visual {
    order: 0;
  }

  .privacy {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .nav-mid,
  .nav-cta .btn {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links.open {
    display: flex;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: rgba(8, 8, 9, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    padding: 10px var(--gutter) 16px;
  }

  .nav-mid.open {
    display: block;
  }

  .nav-links.open a {
    display: block;
    padding: 13px 12px;
    font-size: 1rem;
  }

  .bento {
    grid-template-columns: 1fr;
  }

  .cell.lg,
  .cell.wide,
  .cell.sm {
    grid-column: 1 / -1;
  }

  .stat-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .float-card {
    display: none;
  }
}

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

  .strip .container {
    justify-content: flex-start;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

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