:root {
  --ink: #f4f4f5;
  --muted: #a1a1aa;
  --accent: #f97316;
  --button-fill: #f97316;
  --button-label: #09090b;
  --header: rgb(9 9 11 / 72%);
  --header-ink: #f4f4f5;
  --header-muted: rgb(244 244 245 / 72%);
  --line: rgb(255 255 255 / 10%);
  --page-bg: #09090b;
  --font-title: "Space Grotesk", "Segoe UI", sans-serif;
  --font-body: Inter, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 4.5rem; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--page-bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
}

body.is-dark::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgb(255 255 255 / 4%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 4%) 1px, transparent 1px);
  background-size: 4.5rem 4.5rem;
  mask-image: radial-gradient(circle at 70% 10%, black, transparent 75%);
}

body > * { position: relative; z-index: 1; }

a { color: inherit; }

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

h1, h2, h3, .brand, .btn, .stage-title, .price, .dock-head h2 {
  font-family: var(--font-title);
}

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 0.45rem 0.85rem 0;
}

.pill {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: min(76rem, 100%);
  margin: 0 auto;
  padding: 0.22rem 0.22rem 0.22rem 0.8rem;
  background: var(--header);
  color: var(--header-ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 1 1 auto;
  gap: 0.5rem;
  min-width: 0;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  text-decoration: none;
}

#logo-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mark {
  width: 0.7rem;
  height: 0.7rem;
  flex: none;
  background: var(--button-fill);
  border-radius: 0.15rem;
  transform: rotate(45deg);
}

.pill nav {
  display: flex;
  gap: 0.85rem;
  margin-left: auto;
  font-size: 0.88rem;
}

.pill .btn {
  flex: none;
  min-height: 2rem;
  padding: 0.28rem 0.8rem;
  font-size: 0.88rem;
  white-space: nowrap;
}

.pill nav a {
  color: var(--header-muted);
  font-weight: 500;
  text-decoration: none;
}

.pill nav button {
  padding: 0;
  background: none;
  color: var(--header-muted);
  border: 0;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
}

.pill nav a:hover,
.pill nav button:hover { color: var(--header-ink); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 150ms ease, background 150ms ease;
}

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

.btn-fill {
  background: var(--button-fill);
  color: var(--button-label);
}

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

.hero, .services, .reasons, .faq, .plans, .close, footer {
  width: min(76rem, calc(100% - 2rem));
  margin-inline: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.8fr);
  gap: 2rem;
  align-items: center;
  padding: 4.5rem 0 1rem;
}

.eyebrow, .stage-kicker, .plan-kicker {
  margin: 0 0 0.8rem;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1, h2 { margin: 0; letter-spacing: -0.045em; line-height: 0.98; }

h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); font-weight: 600; }

h1 .accent { color: var(--accent); }

.lede, .close p, .plan-note {
  max-width: 40rem;
  color: var(--muted);
}

.lede { margin: 1.1rem 0 0; font-size: 1.05rem; }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.6rem;
}

.visual, .plan, .services li, .reasons li {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgb(255 255 255 / 3%);
}

.visual {
  margin: 0;
  padding: 1.25rem;
  border-radius: 1.5rem;
  color: var(--accent);
}

.visual svg { display: block; width: 100%; height: auto; }

.visual figcaption { margin-top: 0.8rem; color: var(--ink); }

.stage-title {
  margin: 0.2rem 0 0;
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.spot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(18rem circle at var(--sx, 50%) var(--sy, 0%), rgb(255 255 255 / 9%), transparent 42%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 150ms ease;
}

.spot:hover::after { opacity: 1; }

.stats { width: min(76rem, calc(100% - 2rem)); margin: 1.25rem auto 0; }

.stats ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 1.25rem;
  background: rgb(255 255 255 / 4%);
  backdrop-filter: blur(16px);
  overflow: hidden;
}

.stats li {
  padding: 1.35rem 1.4rem;
  background: transparent;
}

.stats li + li { border-left: 1px solid rgb(255 255 255 / 12%); }

.stats strong {
  display: block;
  font-family: var(--font-title);
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.reasons, .faq { padding: 4.5rem 0 0; }

.reasons ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.reasons li {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.85rem;
  align-items: start;
  padding: 1.2rem;
  border-radius: 1.15rem;
}

.reason-icon {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  color: var(--accent);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: rgb(255 255 255 / 4%);
}

.reason-icon svg { width: 1.2rem; height: 1.2rem; }

.reasons h3 { margin: 0.15rem 0 0; font-size: 1.12rem; }

.reasons p { margin: 0.35rem 0 0; color: var(--muted); }

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

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 0.15rem;
  font-family: var(--font-title);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  cursor: pointer;
  list-style: none;
}

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

.faq-item summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.faq-mark {
  flex: none;
  width: 1.7rem;
  height: 1.7rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  position: relative;
}

.faq-mark::before,
.faq-mark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.7rem;
  height: 1px;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.faq-mark::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 220ms ease; }

.faq-item[open] .faq-mark::after { transform: translate(-50%, -50%) rotate(0deg); }

.faq-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 280ms ease;
}

.faq-item[open] .faq-body { grid-template-rows: 1fr; }

.faq-body > p {
  overflow: hidden;
  margin: 0;
  padding-bottom: 1rem;
  max-width: 62rem;
  color: var(--muted);
}

.services { padding: 3rem 0 0; }

.services ol, .plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.services li, .plan {
  padding: 1.1rem;
  border-radius: 1.15rem;
}

.num {
  color: var(--accent);
  font-family: ui-monospace, "Cascadia Mono", monospace;
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
}

.services h3, .plan h3 {
  margin: 0.35rem 0 0;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.services li p, .plan li {
  margin: 0.4rem 0 0;
  color: var(--muted);
}

.plan ul { margin: 0.9rem 0 0; padding-left: 1.1rem; }

.plan li + li { margin-top: 0.45rem; }

.plans { padding: 3.5rem 0 0; }

.plan-grid { align-items: stretch; }

.plan {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.plan .btn { margin-top: auto; }

.is-featured {
  background:
    radial-gradient(80% 50% at 50% 0%, color-mix(in srgb, var(--accent) 24%, transparent), transparent 70%),
    rgb(255 255 255 / 4%);
  border-color: color-mix(in srgb, var(--accent) 55%, white 10%);
  transform: translateY(-0.4rem);
}

.badge {
  align-self: flex-start;
  margin: 0;
  padding: 0.25rem 0.6rem;
  background: var(--button-fill);
  color: var(--button-label);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.price {
  margin: 0.35rem 0 0;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.price span {
  display: block;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.price small { color: var(--muted); font-family: var(--font-body); }

.plan-note {
  margin: 1.2rem 0 0;
  font-size: 0.92rem;
}

.close-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: min(76rem, calc(100% - 2rem));
  margin: 3rem auto 0;
  padding: 1.15rem 1.15rem 1.15rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background:
    radial-gradient(50% 80% at 0% 50%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 70%),
    rgb(9 9 11 / 62%);
  box-shadow: 0 18px 50px rgb(0 0 0 / 24%);
  backdrop-filter: blur(16px);
}

.close-bar h2 { font-size: 1.45rem; }

.close-bar p { margin: 0.3rem 0 0; color: var(--muted); }

.close-bar .btn { flex: none; }

.plans-modal {
  width: min(72rem, calc(100vw - 2rem));
  max-height: min(92dvh, 50rem);
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: #f4f4f5;
  overflow: visible;
}

.plans-modal::backdrop {
  background: rgb(4 6 12 / 72%);
  backdrop-filter: blur(10px);
}

.plans-sheet {
  position: relative;
  max-height: min(92dvh, 50rem);
  overflow: auto;
  padding: 1.35rem 1.2rem 1.15rem;
  border: 1px solid rgb(255 255 255 / 20%);
  border-radius: 1.5rem;
  background:
    radial-gradient(70% 42% at 50% 0%, color-mix(in srgb, var(--button-fill) 32%, transparent), transparent 68%),
    rgb(9 9 11 / 78%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 18%),
    0 0 42px color-mix(in srgb, var(--button-fill) 24%, transparent),
    0 28px 80px rgb(0 0 0 / 55%);
  backdrop-filter: blur(18px);
}

.modal-x {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  z-index: 1;
  width: 2.25rem;
  height: 2.25rem;
  background: rgb(255 255 255 / 6%);
  color: #f4f4f5;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 50%;
  font: inherit;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.modal-summary {
  max-width: 46rem;
  margin: 0.15rem 2.6rem 0.15rem 0;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.swatches {
  display: inline-flex;
  gap: 0.35rem;
  margin-left: 0.45rem;
  vertical-align: -0.12rem;
}

.swatches i {
  display: block;
  width: 0.85rem;
  height: 0.85rem;
  border: 1px solid rgb(255 255 255 / 40%);
  border-radius: 50%;
}

.plans-modal .plan-grid { padding-top: 0.55rem; }

.plans-modal .plan p { color: rgb(244 244 245 / 78%); }

.plans-modal .price { color: #f4f4f5; }

.plans-modal .btn-ghost {
  color: #f4f4f5;
  border-color: rgb(255 255 255 / 18%);
}

.plans-modal .plan-note {
  color: rgb(244 244 245 / 62%);
  font-size: 0.82rem;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 0 6rem;
  color: var(--muted);
}

.float {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 30;
  display: grid;
  place-items: center;
  width: 3.6rem;
  height: 3.6rem;
  background: #25d366;
  color: #09090b;
  border-radius: 50%;
  box-shadow: 0 10px 30px rgb(0 0 0 / 28%);
}

.float svg { width: 1.7rem; height: 1.7rem; }

.float::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid #25d366;
  border-radius: inherit;
  animation: pulse 2.6s ease-out infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.55; }
  100% { transform: scale(1.45); opacity: 0; }
}

.dock-tab, .dock-panel, .dock-panel button, .name-field input { font: inherit; }

.dock-tab {
  position: fixed;
  top: 4.15rem;
  right: 1rem;
  z-index: 40;
  min-height: 2.5rem;
  padding: 0.4rem 0.85rem;
  background: rgb(9 9 11 / 72%);
  color: #f4f4f5;
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(16px);
  font-weight: 600;
  cursor: pointer;
}

.dock-panel {
  position: fixed;
  top: 4.15rem;
  right: 1rem;
  z-index: 40;
  width: min(24rem, calc(100vw - 2rem));
  max-height: calc(100dvh - 6.5rem);
  overflow: auto;
  padding: 1rem;
  background: rgb(9 9 11 / 72%);
  color: #f4f4f5;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  backdrop-filter: blur(16px);
}

.dock-panel[hidden] { display: none; }

.dock-head, .dock-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.dock-head h2 { font-size: 1.15rem; }

.dock-head button, .reset, .present {
  background: transparent;
  color: #f4f4f5;
  border: 0;
  font-weight: 600;
  cursor: pointer;
}

.name-field, fieldset { display: block; margin: 0.9rem 0 0; padding: 0; border: 0; }

.name-field, legend {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.name-field input {
  display: block;
  width: 100%;
  margin-top: 0.4rem;
  min-height: 2.6rem;
  padding: 0.4rem 0.7rem;
  background: rgb(255 255 255 / 4%);
  color: #f4f4f5;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
}

.themes, .paint, .colors { display: flex; flex-wrap: wrap; gap: 0.4rem; }

.themes button, .paint button {
  min-height: 2.2rem;
  padding: 0.3rem 0.65rem;
  background: transparent;
  color: #f4f4f5;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
}

.themes button[aria-checked="true"],
.paint button[aria-pressed="true"] {
  background: #f4f4f5;
  color: #09090b;
  border-color: #f4f4f5;
}

.colors { margin-top: 0.85rem; }

.colors label {
  display: flex;
  flex: 1 1 30%;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.colors input {
  width: 2.6rem;
  height: 2rem;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.paint, .paint-help, .note, .dock-actions { margin-top: 0.75rem; }

.paint-help, .note { color: #a1a1aa; font-size: 0.88rem; }

.note:empty { display: none; }

.present { text-decoration: underline; text-underline-offset: 0.18em; }

body.is-presenting .dock-panel,
body.is-presenting .seal { display: none; }

@media (min-width: 901px) {
  .hero {
    min-height: calc(100svh - 4.6rem);
    padding-top: 2.5rem;
    padding-bottom: 2rem;
  }
  .services, .reasons, .faq { padding-top: 6.5rem; }
}

@media (max-width: 900px) {
  .hero, .services ol, .plan-grid, .stats ol, .reasons ol { grid-template-columns: 1fr; }
  .stats li + li { border-left: 0; border-top: 1px solid rgb(255 255 255 / 12%); }
  .close-bar { flex-direction: column; align-items: flex-start; }
  .pill nav { display: none; }
  .is-featured { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .float::after, .btn, .faq-body, .faq-mark::after { animation: none; transition: none; }
}
