/* Turn Zero — the site's one stylesheet, hand-authored from the 2026-09-03
   design export (Adobe Express). Two values differ from the export so every
   text pairing meets WCAG 2.2 AA: --muted is #6f7e94 (the export's #4b5a70
   reads 2.84:1 on the footer ground) and filled buttons use --primary
   #2563eb under white text (the export's #3b82f6 reads 3.68:1). #3b82f6
   stays the accent for borders, icons, focus, and the glow. */

:root {
  --bg: #0a0d14;
  --surface: #111827;
  --surface-strong: #060912;
  --text: #e8edf5;
  --fg: #8b9ab0;
  --muted: #6f7e94;
  --accent: #3b82f6;
  --primary: #2563eb;
  --link: #60a5fa;
  --link-hover: #93c5fd;
  --border: #1e2d42;
  --text-on-accent: #ffffff;
  --text-on-surface-strong: #e8edf5;
  --link-on-strong: #93c5fd;
  --link-hover-on-strong: #bfdbfe;
  --text-display-accent: #60a5fa;
  --hero-glow: #3b82f6;

  --text-xs: 0.75rem;
  --text-sm: 0.8125rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-display: 3.5rem;
  --duration-fast: 150ms;
  --duration-base: 250ms;
  --duration-slow: 400ms;
  --duration-xslow: 600ms;
  --nav-height: 64px;
  --font-display: acumin-pro, proxima-nova, Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: proxima-nova, acumin, Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: source-code-pro, ui-monospace, "Cascadia Mono", Consolas, monospace;
}

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

html { color-scheme: dark; scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  letter-spacing: 0.01em;
  word-spacing: 0.16em;
  min-width: 320px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; }
h1 { font-size: var(--text-display); font-weight: 800; }
h2 { font-size: var(--text-4xl); font-weight: 700; }
h3 { font-size: var(--text-2xl); font-weight: 600; }
h4 { font-size: var(--text-xl); font-weight: 600; }
h2 em, h1 em { font-style: normal; color: var(--text-display-accent); }

p { line-height: 1.65; }
p + p { margin-top: 1em; }

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 5vw, 3rem);
}

a { color: var(--link); text-decoration: none; transition: color var(--duration-fast) ease; }
a:hover { color: var(--link-hover); }
p a { text-decoration: underline; text-underline-offset: 0.15em; }

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  cursor: pointer;
  border: none;
  min-height: 44px;
  text-decoration: none;
  transition: transform var(--duration-fast) ease, background-color var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
}
.btn-primary { background-color: var(--primary); color: var(--text-on-accent); }
.btn-primary:hover {
  background-color: var(--link-hover);
  color: var(--surface-strong);
  box-shadow: 0 0 24px color-mix(in srgb, var(--accent) 40%, transparent);
}
.btn-primary:active { transform: scale(0.97); }
.btn-ghost { background-color: transparent; color: var(--text); border: 1.5px solid var(--border); }
.btn-ghost:hover { border-color: var(--accent); color: var(--text-display-accent); }

.eyebrow {
  display: block;
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-display-accent);
  margin-bottom: 0.75rem;
}

/* ---- navigation ------------------------------------------------------- */

nav.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background-color: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.nav-logo { display: flex; align-items: center; gap: 0.625rem; text-decoration: none; color: var(--text); }
.nav-logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  background-color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-logo-text { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 800; letter-spacing: -0.01em; color: var(--text); }
.nav-desktop { display: flex; align-items: center; gap: 2rem; }
.nav-desktop a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--fg);
  text-decoration: none;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.nav-desktop a:hover { color: var(--text); }
.nav-desktop .nav-cta {
  padding: 0.5rem 1.25rem;
  background-color: var(--primary);
  color: var(--text-on-accent);
  border-radius: 6px;
  font-weight: 600;
  min-height: 36px;
}
.nav-desktop .nav-cta:hover { background-color: var(--link-hover); color: var(--surface-strong); }

details.nav-mobile { display: none; }
.nav-toggle {
  list-style: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text);
  border-radius: 6px;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-toggle::-webkit-details-marker { display: none; }
.nav-toggle:hover { background-color: var(--surface); }
details.nav-mobile[open] .nav-drawer {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background-color: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}
.nav-drawer a {
  padding: 0.75rem 1.5rem;
  color: var(--fg);
  font-size: var(--text-base);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}
.nav-drawer a:last-child { border-bottom: none; }
.nav-drawer a:hover { color: var(--text); background-color: color-mix(in srgb, var(--accent) 8%, transparent); }

@media (max-width: 767px) {
  .nav-desktop { display: none; }
  details.nav-mobile { display: block; }
}

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

.hero {
  padding-top: calc(var(--nav-height) + 4rem);
  padding-bottom: 5rem;
  position: relative;
  overflow: hidden;
  background-color: var(--bg);
}
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--hero-glow) 12%, transparent), transparent 70%);
  pointer-events: none;
  opacity: 0.7;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hero-content { display: flex; flex-direction: column; gap: 1.5rem; }
.hero-subhead-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  background-color: color-mix(in srgb, var(--accent) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  border-radius: 100px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-display-accent);
  width: fit-content;
}
.hero h1 { font-size: var(--text-display); font-weight: 800; letter-spacing: -0.02em; color: var(--text); }
.hero-subhead {
  font-family: var(--font-mono);
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--fg);
  letter-spacing: 0.18em;
  border-left: 3px solid var(--accent);
  padding-left: 1rem;
}
.hero-note { color: var(--fg); font-size: var(--text-lg); }
.hero-bullets { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; padding: 0; }
.hero-bullets li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: var(--text-base); color: var(--text); line-height: 1.5; }
.hero-check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: color-mix(in srgb, var(--accent) 15%, transparent);
  border: 1.5px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
  color: var(--accent);
}
.hero-image-wrap { position: relative; display: flex; align-items: center; justify-content: flex-end; }
.hero-image-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 0 60px color-mix(in srgb, var(--accent) 15%, transparent), 0 24px 48px color-mix(in srgb, var(--bg) 60%, transparent);
  max-width: 480px;
  width: 100%;
  aspect-ratio: 1 / 1;
}
.hero-image-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-image-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 8%, transparent) 0%, transparent 60%);
  pointer-events: none;
}
.hero-centered .hero-content { align-items: center; text-align: center; max-width: 760px; margin-inline: auto; }
.hero-centered .hero-subhead { border-left: 0; padding-left: 0; }

@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(1.5rem); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-content { animation: fade-in-up var(--duration-xslow) ease both; }
.hero-image-wrap { animation: fade-in-up var(--duration-xslow) ease both 0.15s; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-image-wrap { justify-content: center; order: -1; }
  .hero-image-frame { max-width: 340px; }
}
@media (max-width: 767px) {
  :root { --text-display: 2.25rem; --text-4xl: 1.875rem; }
  .hero { padding-top: calc(var(--nav-height) + 2.5rem); padding-bottom: 3.5rem; }
  .hero h1 { font-size: 2.25rem; }
}

/* ---- the install bar ---------------------------------------------------- */

.hero-try-it { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.5rem; }
.hero-try-label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg);
}
.hero-install-bar {
  display: flex;
  align-items: stretch;
  background-color: rgba(8, 12, 24, 0.9);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  border-radius: 10px;
  overflow: hidden;
  max-width: 540px;
  box-shadow: 0 0 20px color-mix(in srgb, var(--accent) 10%, transparent);
}
.hero-install-bar + .hero-install-bar { margin-top: 0.25rem; }
.hero-install-code {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: #c9d8f0;
  padding: 0.8125rem 0.75rem 0.8125rem 1rem;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.01em;
  line-height: 1.4;
}
.hero-install-code::before { content: '$ '; color: color-mix(in srgb, var(--accent) 55%, transparent); }
.hero-install-code.plugin-command::before { content: ''; }
.hero-copy-btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  min-width: 72px;
  padding: 0 1rem;
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  border: none;
  border-left: 1px solid color-mix(in srgb, var(--accent) 20%, transparent);
  color: var(--accent);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background-color var(--duration-fast) ease, color var(--duration-fast) ease;
}
.hero-copy-btn:hover { color: #fff; background-color: color-mix(in srgb, var(--accent) 22%, transparent); }
.hero-copy-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.hero-copy-label { line-height: 1; }
.hero-copy-btn .hero-check-icon { display: none; color: #4ade80; }
.hero-copy-btn[data-copied='true'] .hero-copy-icon { display: none; }
.hero-copy-btn[data-copied='true'] .hero-check-icon { display: inline; }
@media (max-width: 767px) {
  .hero-install-code { font-size: 0.68rem; }
  .hero-copy-btn { padding: 0 0.625rem; min-width: 56px; }
}

/* ---- feature cards ------------------------------------------------------ */

.features { padding: 5rem 0; background-color: var(--surface); border-top: 1px solid var(--border); }
.features.on-canvas { background-color: var(--bg); }
.features-header { text-align: left; max-width: 620px; margin-bottom: 3.5rem; }
.features-header h2 { font-size: var(--text-4xl); font-weight: 700; color: var(--text); margin-bottom: 1rem; }
.features-header p { color: var(--fg); font-size: var(--text-lg); line-height: 1.65; }
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.feature-card {
  background-color: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color var(--duration-base) ease, box-shadow var(--duration-base) ease;
}
.features.on-canvas .feature-card { background-color: var(--surface); }
.feature-card:hover {
  border-color: color-mix(in srgb, var(--accent) 40%, transparent);
  box-shadow: 0 8px 32px color-mix(in srgb, var(--accent) 8%, transparent);
}
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background-color: color-mix(in srgb, var(--accent) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.feature-card h3 { font-size: var(--text-xl); font-weight: 600; color: var(--text); line-height: 1.3; }
.feature-card p { font-size: var(--text-base); color: var(--fg); line-height: 1.65; }
.feature-card .price { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 800; color: var(--text-display-accent); }
.feature-card .hero-bullets { margin-top: 0.25rem; }
.feature-card .hero-bullets li { font-size: var(--text-sm); color: var(--fg); }
@media (max-width: 767px) {
  .features-grid { grid-template-columns: 1fr; }
}

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

.how-it-works { padding: 5rem 0; background-color: var(--bg); border-top: 1px solid var(--border); }
.how-header { text-align: left; max-width: 560px; margin-bottom: 3.5rem; }
.how-header h2 { color: var(--text); margin-bottom: 0.75rem; }
.steps-list { display: flex; flex-direction: column; counter-reset: step; max-width: 720px; list-style: none; }
.step-item {
  counter-increment: step;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.step-item:first-child { padding-top: 0; }
.step-item:last-child { border-bottom: none; padding-bottom: 0; }
.step-number {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--text-display-accent);
  flex-shrink: 0;
}
.step-number::after { content: counter(step, decimal-leading-zero); }
.step-body h3 { font-size: var(--text-xl); font-weight: 700; color: var(--text); margin-bottom: 0.5rem; }
.step-body p { font-size: var(--text-base); color: var(--fg); line-height: 1.65; }
@media (max-width: 600px) {
  .step-item { grid-template-columns: 44px 1fr; gap: 1rem; }
}

/* ---- the closing band --------------------------------------------------- */

.cta-band {
  padding: 5rem 0;
  background-color: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  bottom: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, color-mix(in srgb, var(--hero-glow) 10%, transparent), transparent 70%);
  pointer-events: none;
}
.cta-band-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 2rem; max-width: 680px; position: relative; }
.cta-band h2 { font-size: var(--text-4xl); font-weight: 800; color: var(--text); letter-spacing: -0.02em; }
.cta-band p { color: var(--fg); font-size: var(--text-lg); line-height: 1.65; max-width: 520px; }
.cta-band-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
@media (max-width: 767px) {
  .cta-band h2 { font-size: var(--text-3xl); }
}

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

.plans { padding: 5rem 0; background-color: var(--surface); border-top: 1px solid var(--border); }
.plans .features-grid { grid-template-columns: repeat(2, 1fr); }
.capacity { padding: 5rem 0; background-color: var(--bg); border-top: 1px solid var(--border); }
.capacity-wrap { overflow-x: auto; }
.capacity-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.capacity-table th, .capacity-table td { padding: 0.9rem 1rem; border-bottom: 1px solid var(--border); text-align: left; vertical-align: middle; }
.capacity-table thead th { color: var(--text); font-weight: 700; font-size: var(--text-sm); letter-spacing: 0.06em; text-transform: uppercase; }
.capacity-table tbody th { color: var(--text); font-weight: 400; }
.capacity-table th:not(:first-child), .capacity-table td { text-align: center; white-space: nowrap; }
.capacity-table td { color: var(--text-display-accent); font-family: var(--font-mono); font-size: var(--text-sm); }
.table-note { color: var(--fg); font-size: var(--text-sm); margin-top: 1.25rem; max-width: 720px; }
.terms { padding: 5rem 0; background-color: var(--surface); border-top: 1px solid var(--border); }
.terms-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem; }
.terms-grid h3 { font-size: var(--text-xl); font-weight: 700; color: var(--text); margin-bottom: 1rem; }
.terms-grid .hero-bullets li { color: var(--fg); }
.working-prices { color: var(--muted); font-size: var(--text-sm); margin-top: 2.5rem; }
@media (max-width: 767px) {
  .plans .features-grid, .terms-grid { grid-template-columns: 1fr; }
}

/* ---- the invitation page ------------------------------------------------ */

.invitation {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: calc(var(--nav-height) + 3rem) clamp(1rem, 5vw, 3rem) 3rem;
  text-align: center;
}
.invitation p { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 600; color: var(--text); }

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

footer.site-footer {
  background-color: var(--surface-strong);
  color: var(--text-on-surface-strong);
  --link: var(--link-on-strong);
  --link-hover: var(--link-hover-on-strong);
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--border);
}
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand p { font-size: var(--text-sm); color: var(--fg); line-height: 1.65; margin-top: 0.75rem; max-width: none; }
.footer-logo { display: flex; align-items: center; gap: 0.625rem; text-decoration: none; color: var(--text-on-surface-strong); }
.footer-logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background-color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.footer-logo-text { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 800; color: var(--text-on-surface-strong); }
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-legal { font-size: var(--text-xs); color: var(--muted); }
@media (max-width: 600px) {
  .footer-grid { gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---- motion ------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ---- the sign-in page --------------------------------------------------- */

.sign-in-panel { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; max-width: 520px; }
.sign-in-panel h1 { font-size: var(--text-4xl); }
.sign-in-panel p { color: var(--fg); font-family: var(--font-body); font-weight: 400; font-size: var(--text-base); }
.sign-in-providers { display: flex; flex-direction: column; gap: 0.75rem; width: 100%; max-width: 320px; margin-top: 0.5rem; }
.sign-in-providers .provider { justify-content: center; width: 100%; }
.sign-in-providers .provider-none { color: var(--muted); font-size: var(--text-sm); }

/* ---- the install bar as its own row under the hero ---------------------- */

.hero-try-wide { margin-top: 3rem; max-width: 100%; }
.hero-try-wide .hero-install-bar { max-width: 780px; }
.hero-centered .hero-install-bar { margin-inline: auto; max-width: 780px; width: 100%; }
.hero-centered .hero-try-it { width: 100%; align-items: center; }
