/* FocusMask landing site. No external requests: fonts are self-hosted. */

@font-face {
  font-family: 'Inter';
  src: url('fonts/inter-var.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f7f7fc;
  --bg-2: #eff0f8;
  --surface: #ffffff;
  --surface-2: #f2f3f9;
  --glass: rgba(255, 255, 255, 0.72);
  --text: #0f1222;
  --text-2: #3a3f5c;
  --muted: #646a88;
  --border: #e3e5f0;
  --border-strong: #d4d7e6;
  --accent: #5b4ef0;
  --accent-2: #1fa597;
  --accent-soft: #eeecff;
  --teal-soft: #e3f6f3;
  --amber: #c27803;
  --green: #16a34a;
  --grad: linear-gradient(135deg, #6d5df6 0%, #2bb5a8 100%);
  --grad-text: linear-gradient(120deg, #5b4ef0 10%, #1fa597 90%);
  --shadow-sm: 0 1px 2px rgba(17, 20, 45, 0.06);
  --shadow: 0 1px 2px rgba(17, 20, 45, 0.05), 0 8px 24px -6px rgba(17, 20, 45, 0.1);
  --shadow-lg: 0 2px 6px rgba(17, 20, 45, 0.05), 0 30px 60px -20px rgba(40, 30, 120, 0.28);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 26px;
  --max: 1160px;
  --head-h: 64px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0c15;
    --bg-2: #10131f;
    --surface: #141827;
    --surface-2: #1b2033;
    --glass: rgba(14, 17, 29, 0.7);
    --text: #eef0fa;
    --text-2: #c5c9df;
    --muted: #949ab8;
    --border: #242a40;
    --border-strong: #30374f;
    --accent: #8f85ff;
    --accent-2: #3fd0c2;
    --accent-soft: #221f48;
    --teal-soft: #0f2c2b;
    --amber: #f0b44c;
    --green: #4ade80;
    --grad-text: linear-gradient(120deg, #a197ff 10%, #4fe0d1 90%);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 10px 30px -8px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.3), 0 40px 80px -24px rgba(0, 0, 0, 0.7);
    color-scheme: dark;
  }
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--head-h) + 16px);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img,
svg {
  display: block;
}
img {
  max-width: 100%;
  height: auto;
}
a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover {
  text-decoration-thickness: 2px;
}
h1,
h2,
h3 {
  color: var(--text);
  text-wrap: balance;
}
p {
  text-wrap: pretty;
}
code,
kbd {
  font-family: ui-monospace, 'SF Mono', 'Cascadia Code', Menlo, Consolas, monospace;
  font-size: 0.86em;
}
code {
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 1px 6px;
  border-radius: 6px;
  color: var(--text);
}
kbd {
  display: inline-block;
  min-width: 1.9em;
  padding: 2px 8px;
  border: 1px solid var(--border-strong);
  border-bottom-width: 2px;
  border-radius: 7px;
  background: var(--surface);
  color: var(--text);
  text-align: center;
  font-weight: 600;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}
.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ---------- Header ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--glass);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.site-head.scrolled,
.site-head.open {
  border-bottom-color: var(--border);
}
.site-head .wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  height: var(--head-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  font-weight: 750;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}
.brand img {
  width: 30px;
  height: 30px;
}
.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}
.site-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--text-2);
  font-size: 15px;
  font-weight: 550;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.site-nav a:hover {
  background: var(--surface-2);
  color: var(--text);
}
.site-nav a[aria-current='page'] {
  color: var(--text);
  background: var(--surface-2);
}
.site-nav .nav-cta {
  margin-left: 8px;
  background: var(--text);
  color: var(--bg);
}
.site-nav .nav-cta:hover {
  background: var(--text);
  color: var(--bg);
  opacity: 0.88;
}
.menu-btn {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  place-items: center;
}
.menu-btn svg {
  width: 20px;
  height: 20px;
}
.menu-btn .i-close {
  display: none;
}
.site-head.open .menu-btn .i-open {
  display: none;
}
.site-head.open .menu-btn .i-close {
  display: block;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 14px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s, filter 0.2s;
}
.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 10px 28px -8px rgba(91, 78, 240, 0.6);
}
.btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 16px 34px -10px rgba(91, 78, 240, 0.7);
}
.btn-ghost {
  background: var(--surface);
  border-color: var(--border-strong);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover {
  transform: translateY(-1px);
  border-color: var(--muted);
}
.btn-soon {
  background: var(--surface-2);
  border-color: var(--border-strong);
  border-style: dashed;
  color: var(--text-2);
  cursor: default;
}
.btn-soon::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--amber) 20%, transparent);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 56px 0 72px;
  overflow: hidden;
  isolation: isolate;
}
.hero::before,
.page-hero::before {
  /* aurora */
  content: '';
  position: absolute;
  inset: -20% -10% auto;
  height: 900px;
  z-index: -2;
  background:
    radial-gradient(40% 50% at 20% 20%, rgba(109, 93, 246, 0.22), transparent 70%),
    radial-gradient(35% 45% at 85% 15%, rgba(43, 181, 168, 0.2), transparent 70%),
    radial-gradient(30% 40% at 60% 60%, rgba(109, 93, 246, 0.1), transparent 70%);
  filter: blur(10px);
}
.hero::after,
.page-hero::after {
  /* fine grid */
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.5;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%);
}
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 56px;
  align-items: center;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  margin-bottom: 22px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 13.5px;
  font-weight: 550;
  color: var(--text-2);
  box-shadow: var(--shadow-sm);
}
.pill b {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(38px, 6vw, 66px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 800;
}
.lead {
  margin: 0 0 32px;
  max-width: 33em;
  font-size: clamp(17px, 1.6vw, 19.5px);
  line-height: 1.6;
  color: var(--muted);
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-2);
}
.checks li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.checks svg {
  width: 17px;
  height: 17px;
  color: var(--accent-2);
}

/* Popup mock */
.stage {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 68px 0;
}
.stage::before {
  content: '';
  position: absolute;
  inset: 8% 4%;
  z-index: -1;
  border-radius: 40px;
  background: var(--grad);
  opacity: 0.22;
  filter: blur(60px);
}
.popup {
  width: 100%;
  max-width: 380px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  font-size: 14px;
}
.popup-head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  font-weight: 700;
  font-size: 15.5px;
}
.popup-head img {
  width: 24px;
  height: 24px;
}
.popup-head .gear {
  margin-left: auto;
  width: 18px;
  height: 18px;
  color: var(--muted);
}
.now {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px;
  border-radius: 16px;
  background: var(--surface-2);
}
.play {
  position: relative;
  flex: none;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--grad);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px -8px rgba(91, 78, 240, 0.7);
}
.eq {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 24px;
}
.eq i {
  width: 4px;
  height: 100%;
  border-radius: 4px;
  background: #fff;
  transform-origin: center;
  animation: eq 1.1s ease-in-out infinite;
}
.eq i:nth-child(2) {
  animation-delay: -0.3s;
}
.eq i:nth-child(3) {
  animation-delay: -0.6s;
}
.eq i:nth-child(4) {
  animation-delay: -0.15s;
}
.eq i:nth-child(5) {
  animation-delay: -0.45s;
}
@keyframes eq {
  0%,
  100% {
    transform: scaleY(0.3);
  }
  50% {
    transform: scaleY(1);
  }
}
.now-title {
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.status {
  position: relative;
  height: 20px;
  font-size: 13px;
  color: var(--muted);
}
.status span {
  position: absolute;
  inset: 0 auto auto 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.status span::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--green) 22%, transparent);
}
.status .s-paused {
  opacity: 0;
}
.status .s-paused::before {
  background: var(--amber);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--amber) 22%, transparent);
}
.vol {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 4px;
  color: var(--muted);
}
.vol svg {
  width: 16px;
  height: 16px;
  flex: none;
}
.vol .track {
  position: relative;
  flex: 1;
  height: 6px;
  border-radius: 6px;
  background: var(--border);
}
.vol .track::before {
  content: '';
  position: absolute;
  inset: 0 38% 0 0;
  border-radius: inherit;
  background: var(--grad);
}
.vol .track::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 62%;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--accent);
  box-shadow: var(--shadow-sm);
}
.tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.tile {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 10px 2px 8px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
}
.tile svg {
  width: 18px;
  height: 18px;
  color: var(--muted);
}
.tile.on {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}
.tile.on svg {
  color: var(--accent);
}
.popup-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.popup-row b {
  display: block;
  font-size: 14px;
}
.popup-row small {
  color: var(--muted);
  font-size: 12px;
}
.toggle {
  flex: none;
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: var(--accent);
  position: relative;
}
.toggle::after {
  content: '';
  position: absolute;
  top: 3px;
  right: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
}

/* Floating notes around the mock */
.float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  box-shadow: var(--shadow);
  font-size: 13px;
  line-height: 1.35;
  color: var(--text-2);
}
.float b {
  display: block;
  color: var(--text);
  font-size: 13.5px;
}
.float .dot {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
}
.float .dot svg {
  width: 17px;
  height: 17px;
}
.float-meet {
  top: 0;
  left: calc(50% - 230px);
  opacity: 0;
}
.float-meet .dot {
  background: var(--teal-soft);
  color: var(--accent-2);
}
.float-key {
  bottom: 0;
  right: calc(50% - 230px);
}
.float-key .dot {
  background: var(--accent-soft);
  color: var(--accent);
}

/* Auto-pause story loop: playing → meeting starts → paused → meeting ends */
@media (prefers-reduced-motion: no-preference) {
  .demo .s-play {
    animation: s-play 9s infinite;
  }
  .demo .s-paused {
    animation: s-paused 9s infinite;
  }
  .demo .float-meet {
    animation: f-meet 9s infinite;
  }
  .demo .eq i {
    animation:
      eq 1.1s ease-in-out infinite,
      eq-mute 9s infinite;
  }
  .float-key {
    animation: bob 6s ease-in-out infinite;
  }
}
@media (prefers-reduced-motion: reduce) {
  .eq i {
    animation: none;
    transform: scaleY(0.6);
  }
  .float-meet {
    opacity: 1;
  }
  html {
    scroll-behavior: auto;
  }
}
@keyframes s-play {
  0%, 38%, 82%, 100% { opacity: 1; }
  42%, 78% { opacity: 0; }
}
@keyframes s-paused {
  0%, 38%, 82%, 100% { opacity: 0; }
  42%, 78% { opacity: 1; }
}
@keyframes f-meet {
  0%, 30% { opacity: 0; transform: translateY(10px) scale(0.97); }
  36%, 76% { opacity: 1; transform: none; }
  82%, 100% { opacity: 0; transform: translateY(-6px) scale(0.98); }
}
@keyframes eq-mute {
  0%, 38%, 82%, 100% { opacity: 1; }
  42%, 78% { opacity: 0.25; }
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ---------- Logo strip ---------- */
.works {
  padding: 8px 0 24px;
}
.works .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 28px;
}
.works p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}
.works ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.works li {
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
}

/* ---------- Sections ---------- */
.section {
  padding: 96px 0 0;
}
.section-head {
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head h2,
.cta-band h2 {
  margin: 0 0 14px;
  font-size: clamp(30px, 4.2vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 800;
}
.section-head p {
  margin: 0;
  font-size: clamp(16px, 1.5vw, 18px);
  color: var(--muted);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  counter-increment: step;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: var(--grad);
  color: #fff;
  font-weight: 750;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.step h3 {
  margin: 0 0 6px;
  font-size: 19px;
  letter-spacing: -0.015em;
}
.step p {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
}

/* Bento */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.card-f {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  grid-column: span 2;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s;
}
.card-f:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--border-strong);
}
.card-f.wide {
  grid-column: span 4;
}
.card-f.half {
  grid-column: span 3;
}
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  font-weight: 550;
  color: var(--text-2);
}
.badges li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.badges span {
  min-width: 30px;
  padding: 2px 6px;
  border-radius: 6px;
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  text-align: center;
  letter-spacing: 0.02em;
}
.card-f h3 {
  margin: 4px 0 0;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.card-f p {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
}
.ico {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
}
.ico svg {
  width: 22px;
  height: 22px;
}
.ico.teal {
  background: var(--teal-soft);
  color: var(--accent-2);
}
.visual {
  margin-top: auto;
  padding-top: 20px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.chips li {
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-2);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-2);
}
.chips li.on {
  border-color: transparent;
  background: var(--grad);
  color: #fff;
}
.keys {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: var(--muted);
}
.keys kbd {
  font-size: 15px;
  padding: 6px 12px;
}

/* Auto-pause chart */
.lanes {
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface-2);
}
.lane {
  display: grid;
  grid-template-columns: 96px 1fr;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
}
.lane svg {
  width: 100%;
  height: 40px;
  overflow: visible;
}
.lane .wave {
  fill: none;
  stroke: url(#lg);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.lane .meet {
  fill: var(--accent-2);
  opacity: 0.85;
}
.lane .base {
  stroke: var(--border-strong);
  stroke-width: 1;
  stroke-dasharray: 3 4;
}
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 12.5px;
  color: var(--muted);
}
.legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.legend i {
  width: 10px;
  height: 10px;
  border-radius: 3px;
}

/* Break ring */
.ring {
  display: flex;
  align-items: center;
  gap: 14px;
}
.ring svg {
  width: 64px;
  height: 64px;
  transform: rotate(-90deg);
}
.ring circle {
  fill: none;
  stroke-width: 6;
}
.ring .bg {
  stroke: var(--border);
}
.ring .fg {
  stroke: url(#lg);
  stroke-linecap: round;
  stroke-dasharray: 163;
  stroke-dashoffset: 54;
}
.ring b {
  display: block;
  font-size: 22px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.ring small {
  color: var(--muted);
  font-size: 13px;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.shot {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.shot .chrome {
  display: flex;
  gap: 6px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}
.shot .chrome i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-strong);
}
.shot figcaption {
  padding: 16px 20px 18px;
  font-size: 15px;
  color: var(--muted);
}
.shot figcaption b {
  display: block;
  margin-bottom: 2px;
  color: var(--text);
  font-size: 16px;
}

/* Privacy panel (always dark) */
.panel {
  position: relative;
  padding: clamp(28px, 5vw, 56px);
  border-radius: 32px;
  background:
    radial-gradient(60% 80% at 0% 0%, rgba(109, 93, 246, 0.45), transparent 60%),
    radial-gradient(50% 70% at 100% 100%, rgba(43, 181, 168, 0.35), transparent 60%),
    #0d0f1c;
  color: #c9cde4;
  overflow: hidden;
  isolation: isolate;
}
.panel::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 22px 22px;
}
.panel .eyebrow {
  color: #8fe6dc;
}
.panel h2 {
  margin: 0 0 12px;
  max-width: 16em;
  color: #fff;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 800;
}
.panel > p {
  margin: 0 0 36px;
  max-width: 36em;
  font-size: 17px;
}
.promise {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.promise > div {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.promise svg {
  width: 22px;
  height: 22px;
  margin-bottom: 12px;
  color: #8fe6dc;
}
.promise h3 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 17px;
}
.promise p {
  margin: 0;
  font-size: 15px;
}
.note {
  display: flex;
  gap: 12px;
  margin: 24px 0 0;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(240, 180, 76, 0.1);
  border: 1px solid rgba(240, 180, 76, 0.25);
  font-size: 14.5px;
  color: #e8dcc4;
}
.note svg {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  color: #f0b44c;
}
.panel a {
  color: #fff;
}

/* FAQ */
.faq {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
.faq details {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq details[open] {
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
  font-weight: 650;
  font-size: 16.5px;
  color: var(--text);
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '';
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background:
    linear-gradient(currentColor, currentColor) center / 12px 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 12px no-repeat,
    var(--surface-2);
  color: var(--muted);
  transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after {
  transform: rotate(45deg);
  color: var(--accent);
}
.faq details > :not(summary) {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--muted);
}
.faq details > p + p {
  padding-top: 0;
  margin-top: -8px;
}
.center {
  margin-top: 28px;
  text-align: center;
}

/* CTA band */
.cta-band {
  position: relative;
  padding: clamp(40px, 6vw, 72px) 24px;
  border: 1px solid var(--border);
  border-radius: 32px;
  background: var(--surface);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: auto -10% -60% -10%;
  height: 120%;
  z-index: -1;
  background: radial-gradient(50% 50% at 50% 50%, rgba(109, 93, 246, 0.2), transparent 70%);
}
.cta-band img {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  filter: drop-shadow(0 12px 20px rgba(91, 78, 240, 0.35));
}
.cta-band p {
  max-width: 32em;
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: 17px;
}
.cta-band .cta-row {
  justify-content: center;
}

/* ---------- Footer ---------- */
.site-foot {
  margin-top: 112px;
  padding: 56px 0 32px;
  border-top: 1px solid var(--border);
  background: var(--bg-2);
  font-size: 14.5px;
  color: var(--muted);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 32px;
}
.foot-grid p {
  max-width: 22em;
  margin: 12px 0 0;
}
.foot-grid h4 {
  margin: 4px 0 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
}
.foot-grid ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.foot-grid a,
.foot-base a {
  color: var(--muted);
  text-decoration: none;
}
.foot-grid a:hover,
.foot-base a:hover {
  color: var(--text);
}
.foot-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13.5px;
}
.foot-base a {
  color: var(--text-2);
  font-weight: 600;
}

/* ---------- Document pages (privacy, support, 404) ---------- */
.page-hero {
  position: relative;
  padding: 64px 0 48px;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}
.page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(36px, 5.5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 800;
}
.page-hero p {
  max-width: 36em;
  margin: 0 auto;
  font-size: clamp(16px, 1.6vw, 18.5px);
  color: var(--muted);
}
.meta {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}
.meta span {
  padding: 5px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
}

.doc-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  max-width: 1040px;
}
.toc {
  position: sticky;
  top: calc(var(--head-h) + 24px);
  font-size: 14px;
}
.toc h2 {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  border-left: 1px solid var(--border);
}
.toc a {
  display: block;
  margin-left: -1px;
  padding: 6px 0 6px 14px;
  border-left: 2px solid transparent;
  color: var(--muted);
  text-decoration: none;
}
.toc a:hover {
  border-left-color: var(--accent);
  color: var(--text);
}

.prose {
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--text-2);
}
.prose h2 {
  margin: 48px 0 10px;
  font-size: 23px;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.prose h2:first-child {
  margin-top: 0;
}
.prose p,
.prose ul {
  margin: 0 0 16px;
}
.prose ul {
  padding-left: 0;
  list-style: none;
}
.prose li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
}
.prose li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 0.68em;
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: var(--grad);
}
.prose strong {
  color: var(--text);
}
.callout {
  display: flex;
  gap: 16px;
  margin: 0 0 40px;
  padding: 22px 24px;
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--border));
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--accent-soft), var(--teal-soft));
  color: var(--text);
}
.callout svg {
  flex: none;
  width: 26px;
  height: 26px;
  color: var(--accent);
}
.callout p {
  margin: 0;
}
.perm {
  display: grid;
  gap: 10px;
  margin: 0 0 16px;
}
.perm div {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 16px;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
}
.perm dt {
  font-family: ui-monospace, 'SF Mono', 'Cascadia Code', Menlo, Consolas, monospace;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}
.perm dd {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.6;
}

/* Support page */
.help-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 72px;
}
.help-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  color: var(--muted);
  font-size: 15px;
  text-decoration: none;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, border-color 0.2s;
}
a.help-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--border-strong);
}
.help-card .ico {
  margin-bottom: 8px;
}
.help-card b {
  color: var(--text);
  font-size: 17px;
}
.h2-center {
  margin: 0 0 28px;
  text-align: center;
  font-size: clamp(26px, 3.4vw, 36px);
  letter-spacing: -0.03em;
}
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 980px;
  margin: 72px auto 0;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.contact h2 {
  margin: 0 0 10px;
  font-size: 28px;
  letter-spacing: -0.03em;
}
.contact p {
  margin: 0 0 22px;
  color: var(--muted);
}
.contact h3 {
  margin: 0 0 12px;
  font-size: 15px;
}
.contact ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: c;
  color: var(--text-2);
  font-size: 15px;
}
.contact ol li {
  display: flex;
  gap: 12px;
  counter-increment: c;
}
.contact ol li::before {
  content: counter(c);
  flex: none;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 700;
}
.contact .reply {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--muted);
}
.contact .reply::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}
.mail {
  word-break: break-all;
}

/* 404 */
.lost {
  display: grid;
  place-items: center;
  min-height: calc(100vh - var(--head-h) - 260px);
  padding: 72px 0 0;
  text-align: center;
}
.lost .big {
  margin: 0;
  color: transparent;
  font-size: clamp(96px, 20vw, 180px);
  line-height: 1;
  font-weight: 850;
  letter-spacing: -0.06em;
}
.lost h1 {
  margin: 8px 0 10px;
  font-size: clamp(26px, 4vw, 36px);
  letter-spacing: -0.03em;
}
.lost p {
  margin: 0 auto 28px;
  max-width: 28em;
  color: var(--muted);
}
.lost .cta-row {
  justify-content: center;
}

/* Reveal on scroll (only when JS marks the page ready) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  }
  .js .reveal.in {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Responsive ---------- */

/* Tablet */
@media (max-width: 1023px) {
  .hero {
    padding-top: 40px;
  }
  .hero .wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    text-align: center;
  }
  .hero .lead {
    margin-left: auto;
    margin-right: auto;
  }
  .hero .cta-row,
  .checks {
    justify-content: center;
  }
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }
  .card-f,
  .card-f.wide,
  .card-f.half {
    grid-column: span 1;
  }
  .card-f.wide {
    grid-column: 1 / -1;
  }
  .doc-layout {
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 760px;
  }
  .toc {
    display: none;
  }
  .help-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/* Small tablet / large phone */
@media (max-width: 767px) {
  :root {
    --head-h: 60px;
  }
  .menu-btn {
    display: grid;
  }
  .site-nav {
    position: absolute;
    top: var(--head-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 8px 16px 18px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 24px 40px -20px rgba(0, 0, 0, 0.25);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.2s, transform 0.2s var(--ease), visibility 0.2s;
  }
  .site-head.open .site-nav {
    visibility: visible;
    opacity: 1;
    transform: none;
  }
  .no-js .site-nav {
    /* without JS, fall back to a simple inline row */
    position: static;
    flex-direction: row;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
    visibility: visible;
    opacity: 1;
    transform: none;
  }
  .no-js .menu-btn {
    display: none;
  }
  .site-nav a {
    padding: 13px 14px;
    font-size: 16px;
    border-radius: 12px;
  }
  .site-nav .nav-cta {
    margin: 8px 0 0;
    text-align: center;
  }
  .section {
    padding-top: 72px;
  }
  .section-head {
    margin-bottom: 36px;
  }
  .steps,
  .promise,
  .help-grid,
  .contact {
    grid-template-columns: 1fr;
  }
  .gallery {
    display: flex;
    gap: 16px;
    margin: 0 -20px;
    padding: 4px 20px 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .gallery::-webkit-scrollbar {
    display: none;
  }
  .shot {
    flex: 0 0 86%;
    scroll-snap-align: center;
  }
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
  .foot-grid > :first-child {
    grid-column: 1 / -1;
  }
  .contact {
    gap: 28px;
  }
}

/* Phone */
@media (max-width: 559px) {
  .wrap {
    padding: 0 16px;
  }
  .gallery {
    margin: 0 -16px;
    padding: 4px 16px 20px;
  }
  .hero {
    padding: 28px 0 48px;
  }
  .hero h1 {
    letter-spacing: -0.04em;
  }
  .cta-row .btn {
    width: 100%;
    min-height: 52px;
    padding: 12px 18px;
    white-space: normal;
    text-align: center;
  }
  .checks {
    gap: 8px 14px;
    font-size: 14px;
  }
  .stage {
    padding: 64px 0 8px;
  }
  .popup {
    padding: 14px;
  }
  .tile {
    font-size: 11px;
  }
  .float {
    font-size: 12px;
    padding: 8px 12px;
  }
  .float-meet {
    left: 0;
  }
  .float-key {
    display: none;
  }
  .bento {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .card-f,
  .card-f.wide,
  .card-f.half {
    grid-column: auto;
    padding: 22px;
  }
  .lane {
    grid-template-columns: 74px 1fr;
    gap: 10px;
    font-size: 12px;
  }
  .lanes {
    padding: 14px;
  }
  .panel,
  .cta-band {
    border-radius: 24px;
  }
  .perm div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .callout {
    flex-direction: column;
    gap: 10px;
    padding: 18px;
  }
  .page-hero {
    padding: 40px 0 32px;
  }
  .faq summary {
    padding: 16px 18px;
    font-size: 15.5px;
  }
  .faq details > :not(summary) {
    padding: 0 18px 18px;
  }
  .site-foot {
    margin-top: 80px;
  }
}

/* Page heroes are short: fade the aurora out instead of clipping it */
.page-hero::before {
  inset: 0 -10%;
  height: auto;
  -webkit-mask-image: linear-gradient(#000 40%, transparent);
  mask-image: linear-gradient(#000 40%, transparent);
}
