:root {
  --ink: #e8eaef;
  --muted: #a7afbd;
  --slate: #d7dce6;
  --paper: #14161c;
  --ash: #1c1f27;
  --stone: #23262f;
  --line: #343844;
  --blue: #6b9bff;
  --blue-dark: #4d7ef0;
  --danger: #ff9b9b;
  color-scheme: dark;
  font-family: Outfit, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

body { margin: 0; min-height: 100vh; overflow-x: hidden; background: var(--paper); }

a { color: inherit; }

.wrap {
  width: min(1040px, calc(100% - 2.5rem));
  margin: 0 auto;
}

header {
  position: sticky;
  top: 0;
  background: var(--paper);
  z-index: 3;
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem 0;
}

.brand { display: flex; align-items: center; line-height: 0; }
.brand img { height: 34px; width: auto; }

.nav-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links a[aria-current="page"] { color: var(--slate); }
.nav-links a:hover { color: var(--blue); }

@media (max-width: 720px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 1rem 0 0.85rem;
  }
  .nav-links { gap: 0.7rem 1.1rem; }
  .foot { flex-direction: column; align-items: flex-start; }
}

main { position: relative; z-index: 2; padding: 0 0 5rem; }

h1, h2 { font-weight: 500; letter-spacing: -0.035em; line-height: 1.05; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); margin: 0; }
h2 { font-size: 1.55rem; margin: 0; }

.hero-band {
  --draw: 0;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.hero-lines {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: var(--fade, 1);
  transform: translateY(calc(var(--draw) * -1.25rem));
}
.hero-lines line {
  stroke: rgba(107, 155, 255, 0.42);
  stroke-width: 1.25;
  vector-effect: non-scaling-stroke;
  fill: none;
}
.hero { position: relative; z-index: 1; padding: 4.5rem 0 3.5rem; max-width: 46rem; }
@media (prefers-reduced-motion: reduce) {
  .hero-lines { display: none; }
}
.hero h1 span {
  display: block;
  margin-top: 0.08em;
  font-size: 1.45em;
  letter-spacing: -0.05em;
}
.kicker {
  margin: 0 0 1.25rem;
  color: var(--blue);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.lede { margin: 1.25rem 0 0; max-width: 36rem; font-size: 1.15rem; color: var(--muted); }

.button, button {
  display: inline-block;
  margin-top: 1.75rem;
  background: var(--slate);
  color: #14161c;
  border: 0;
  border-radius: 2px;
  padding: 0.8rem 1.15rem;
  font: inherit;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
}
.button:hover, button:hover { background: var(--blue); color: #fff; }
button.secondary, .button.secondary {
  margin-top: 0;
  background: var(--ash);
  color: var(--slate);
  border: 1px solid var(--line);
}
button.secondary:hover { border-color: var(--slate); background: var(--stone); color: var(--slate); }

.work {
  background: var(--ash);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 0 0 100vmax var(--ash);
  clip-path: inset(0 -100vmax);
}
.work-row {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.work-row p { margin: 0.4rem 0 0; color: var(--muted); max-width: 36rem; }
.num {
  color: var(--slate);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  padding-top: 0.25rem;
}
a.work-row:hover h2 { color: var(--blue); }
.section-title { padding: 3.5rem 0 0.25rem; }
.section-title h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.domain {
  display: inline-block;
  margin-top: 0.7rem;
  color: var(--blue);
  font-size: 0.88rem;
}
a.work-row:hover .domain { text-decoration: underline; }
.work .work-row {
  grid-template-columns: 4.5rem 1fr 9.5rem;
  align-items: center;
}
.cover {
  align-self: center;
  width: 9.5rem;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
  border: 1px solid var(--line);
  background: var(--stone);
}
@media (max-width: 720px) {
  .work .work-row { grid-template-columns: 3rem 1fr; }
  .work .cover { grid-column: 2; width: min(100%, 16rem); margin-top: 0.85rem; }
}

.review {
  padding: 3.25rem 0 0.5rem;
  max-width: 40rem;
}
.stars {
  display: flex;
  gap: 0.22rem;
  margin: 0 0 1rem;
  color: var(--blue);
}
.stars svg { width: 1.05rem; height: 1.05rem; fill: currentColor; }
.review blockquote { margin: 0; }
.review blockquote p { margin: 0; max-width: 38rem; color: var(--slate); font-size: 1.08rem; }
.review figcaption { margin-top: 1.15rem; color: var(--ink); font-size: 0.95rem; }
.review figcaption span { display: block; margin-top: 0.15rem; color: var(--muted); }

.split {
  display: grid;
  gap: 2rem;
  padding-top: 4rem;
}
@media (min-width: 800px) {
  .split { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
}

.page-intro { padding: 4rem 0 1rem; max-width: 40rem; }
.option {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: start;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
}
.option.included { grid-template-columns: 1fr; }
.option input { width: auto; margin-top: 0.3rem; background: transparent; }
.option p { margin: 0.15rem 0 0; color: var(--muted); }
#start, #checkout { scroll-margin-top: 5.5rem; }
#start h2, #checkout h2 { font-size: clamp(2rem, 4vw, 3rem); max-width: 16ch; }
.page-intro h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }

form {
  display: grid;
  gap: 1.15rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
fieldset { border: 0; margin: 0; padding: 0; }
legend { padding: 0; margin-bottom: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.78rem; color: var(--muted); }

label { display: grid; gap: 0.4rem; font-size: 0.92rem; }
input, textarea, select {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--ash);
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 0.65rem 0;
}
input:focus, textarea:focus, select:focus { outline: none; border-bottom-color: var(--blue); }
textarea { min-height: 6.5rem; resize: vertical; }

.row { display: grid; gap: 1rem; }
@media (min-width: 700px) {
  .row.two { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .link-row { grid-template-columns: 10rem 1.4fr 1fr auto; align-items: end; gap: 1.25rem; }
}
.link-list { display: grid; gap: 1.25rem; }
.choice { display: flex; gap: 1.4rem; }
.choice label { display: flex; align-items: center; gap: 0.45rem; width: auto; }
.choice input { width: auto; }
.note { margin: 0.75rem 0 0; max-width: 38rem; color: var(--muted); }
#domain-registrar { margin-top: 1rem; }
.note a { color: var(--blue); }
.link-row .secondary { justify-self: start; }

.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.actions button { margin-top: 0; }
.error { color: var(--danger); margin: 0; }
.meta { color: var(--muted); font-size: 0.92rem; }

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

.thanks { padding-top: 1rem; }
.thanks h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }

footer {
  background: var(--stone);
  border-top: 1px solid var(--line);
  padding: 1.4rem 0 2rem;
}
.foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--slate);
  font-size: 0.9rem;
}
.foot img { height: 22px; width: auto; }

.status-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.4rem;
  margin-top: 2.2rem;
  border-bottom: 1px solid var(--line);
}
.status-tab {
  margin: 0;
  background: transparent;
  color: var(--muted);
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  padding: 0.75rem 0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
}
.status-tab span { letter-spacing: 0; }
.status-tab[aria-selected="true"] { color: var(--slate); border-bottom-color: var(--blue); }
.status-tab:hover { background: transparent; color: var(--blue); }
.admin-list { display: grid; gap: 0; margin-top: 0.4rem; }
.admin-card {
  display: block;
  padding: 0.95rem 0;
  border-top: 1px solid var(--line);
}
.admin-card summary {
  display: grid;
  gap: 0.25rem;
  cursor: pointer;
  list-style: none;
}
.admin-card summary::-webkit-details-marker { display: none; }
.admin-card summary::marker { content: ""; }
.admin-card summary h2::before {
  content: "▸ ";
  color: var(--muted);
}
.admin-card[open] summary h2::before { content: "▾ "; }
.admin-card h2 { font-size: 1.35rem; }
.admin-body { display: grid; gap: 0.7rem; padding-top: 0.9rem; }
.status-form { display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: end; }
.status-form select { width: auto; min-width: 10rem; }
.status-form button { margin-top: 0; }
.link-pills { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 0; padding: 0; list-style: none; }
.link-pills a { color: var(--blue); font-size: 0.9rem; }
.file-previews, .admin-files { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.file-previews img, .admin-files img {
  width: 84px;
  height: 84px;
  object-fit: cover;
  background: var(--paper);
  border: 1px solid var(--line);
}
.admin-files figure { margin: 0; }
.admin-files figcaption { display: grid; gap: 0.15rem; color: var(--muted); font-size: 0.75rem; }
.admin-files figcaption a { color: var(--blue); }
input[type="file"] { background: transparent; padding: 0.35rem 0; }
.admin-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; padding-top: 3rem; }
.admin-head h1 { font-size: clamp(2rem, 4vw, 3rem); }

.plans {
  margin-top: 3.5rem;
  padding-top: 3rem;
  padding-bottom: 3.2rem;
  scroll-margin-top: 5.5rem;
  background: var(--stone);
  box-shadow: 0 0 0 100vmax var(--stone);
  clip-path: inset(0 -100vmax);
}
.plans h2 { font-size: clamp(2rem, 4vw, 3rem); max-width: 16ch; }
.plan-grid {
  display: grid;
  gap: 0;
  margin-top: 1.5rem;
  border-top: 1px solid var(--line);
}
@media (min-width: 800px) {
  .plan-grid { grid-template-columns: repeat(2, 1fr); }
  .plan + .plan { border-left: 1px solid var(--line); }
}
.plan {
  display: grid;
  align-content: start;
  gap: 0.7rem;
  padding: 1.4rem 1.25rem 1.6rem 0;
}
.plan + .plan { padding-left: 1.25rem; }
.plan h3 { margin: 0; font-size: 1.15rem; font-weight: 500; }
.plan p { margin: 0; color: var(--muted); }
.price { color: var(--ink) !important; font-size: 1.8rem; letter-spacing: -0.03em; }
.price span { color: var(--muted); font-size: 0.95rem; letter-spacing: 0; }
.plan button { justify-self: start; }
.section-label { margin: 2.5rem 0 0.5rem; font-size: 1.2rem; }
.purchase-list { margin: 0; padding: 0; list-style: none; }
.purchase-list li { padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
.admin-head button { margin-top: 0; }
