:root {
  --paper: #f6f2ea;
  --paper-2: #eee8dc;
  --card: #fffdf8;
  --field: #fffdf8;
  --ink: #16181d;
  --ink-2: #4d525c;
  --line: #ddd4c3;
  --line-strong: #c3b8a3;
  --accent: #0f7b52;
  --accent-ink: #ffffff;
  --accent-soft: #dcede3;
  --chart-fill: rgba(15, 123, 82, 0.12);
  --shadow: 0 1px 2px rgba(22, 24, 29, 0.04), 0 8px 24px rgba(22, 24, 29, 0.06);

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0f1216;
    --paper-2: #13171c;
    --card: #181d24;
    --field: #12161b;
    --ink: #eef0f3;
    --ink-2: #a5acb7;
    --line: #29303a;
    --line-strong: #3b4450;
    --accent: #3ccf8e;
    --accent-ink: #052014;
    --accent-soft: #15322a;
    --chart-fill: rgba(60, 207, 142, 0.14);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.25);
  }
}

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

[hidden] {
  display: none !important;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

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

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.mono {
  font-family: var(--mono);
  font-weight: 500;
}

/* Top bar */

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--paper);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}

.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
}

.brand svg {
  width: 28px;
  height: 28px;
  flex: none;
}

.mark-bg {
  fill: var(--accent);
}

.mark-line {
  fill: none;
  stroke: var(--accent-ink);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mark-dot {
  fill: var(--accent-ink);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font: 600 16px/1.2 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.btn:hover {
  filter: brightness(1.08);
}

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

.btn-small {
  padding: 10px 18px;
  font-size: 15px;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
}

.btn-ghost:hover {
  filter: none;
  box-shadow: inset 0 0 0 1.5px var(--ink-2);
}

/* Hero */

.hero {
  padding: 88px 0 0;
  overflow: hidden;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow .pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.75rem, 13vw, 7.5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
}

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

.hero-lede {
  max-width: 620px;
  margin: 28px 0 0;
  font-size: clamp(1.1rem, 2.2vw, 1.3rem);
  line-height: 1.55;
  color: var(--ink-2);
}

.hero-lede strong {
  color: var(--ink);
  font-weight: 600;
}

.hero-domains {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.hero-domains li {
  padding: 5px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
}

.hero-domains .lead {
  border-color: transparent;
  background: var(--accent-soft);
  color: var(--accent);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.visiting {
  display: inline-block;
  margin: 28px 0 0;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--accent-soft);
  font-size: 15px;
}

.hero-chart {
  position: relative;
  margin: 56px 0 0;
  height: 170px;
}

.hero-chart svg {
  display: block;
  width: 100%;
  height: 100%;
}

.chart-line {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.5;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.chart-area {
  fill: var(--chart-fill);
}

/* The dot and label sit where the line levels off (y = 40 of 200). */
.chart-dot {
  position: absolute;
  top: 20%;
  right: 1.5%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px var(--accent-soft);
  transform: translate(50%, -50%);
}

.chart-label {
  position: absolute;
  top: calc(20% - 44px);
  right: 0;
  padding: 4px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--card);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.facts div {
  display: flex;
  flex-direction: column-reverse;
  gap: 2px;
  padding: 24px 20px;
  border-left: 1px solid var(--line);
}

.facts div:first-child {
  border-left: 0;
  padding-left: 0;
}

.facts dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 500;
  line-height: 1;
}

.facts dt {
  font-size: 14px;
  color: var(--ink-2);
}

/* Sections */

.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section h2 {
  margin: 0;
  max-width: 760px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.1rem, 4.6vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.section .intro {
  max-width: 660px;
  margin: 20px 0 0;
  font-size: 1.125rem;
  color: var(--ink-2);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 48px;
}

.card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.125rem;
  font-weight: 600;
}

.card p {
  margin: 0;
  color: var(--ink-2);
}

.fit {
  margin-top: 48px;
}

.fit h3 {
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tags li {
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 15px;
}

/* priced.in */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.hack {
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.hack-word {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3rem, 8vw, 4.75rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
}

.hack-word span {
  color: var(--accent);
}

.hack-reads {
  margin: 12px 0 28px;
  color: var(--ink-2);
}

.hack-reads em {
  font-family: var(--serif);
  font-size: 1.2em;
  color: var(--ink);
}

.links {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.links li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
}

.links li span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.links li span:last-child {
  color: var(--ink-2);
  text-align: right;
}

/* Matching extensions */

.ext {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 48px 0 0;
  padding: 0;
}

.ext li {
  position: relative;
  list-style: none;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
}

.ext-name {
  display: block;
  font-family: var(--mono);
  font-size: 17px;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.ext-note {
  display: block;
  margin-top: 6px;
  font-size: 15px;
  color: var(--ink-2);
}

.here {
  display: none;
  margin-top: 14px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 600;
}

.is-current {
  border-color: var(--accent) !important;
  box-shadow: inset 0 0 0 1px var(--accent);
}

.is-current .here {
  display: inline-block;
}

/* Bundle ledger */

.ledger {
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1.5px solid var(--ink);
}

.ledger li {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
}

.ledger .n {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-2);
}

.ledger .d {
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.ledger .r {
  font-size: 15px;
  color: var(--ink-2);
  text-align: right;
}

.ledger .primary .d {
  font-size: 22px;
  color: var(--accent);
}

.ledger .here {
  margin: 0 0 0 10px;
  vertical-align: middle;
  font-family: var(--sans);
}

.ledger .is-current {
  border-color: var(--line) !important;
  box-shadow: none;
}

.ledger-note {
  margin: 20px 0 0;
  color: var(--ink-2);
}

/* Steps */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1.5px solid var(--ink);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
}

.steps h3 {
  margin: 0 0 6px;
  font-size: 1.0625rem;
  font-weight: 600;
}

.steps p {
  margin: 0;
  font-size: 15px;
  color: var(--ink-2);
}

/* Offer form */

.offer {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 56px;
  align-items: start;
}

.offer-aside p {
  margin: 20px 0 0;
  color: var(--ink-2);
}

.offer-aside ul {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.offer-aside li {
  display: flex;
  gap: 10px;
  padding: 6px 0;
}

.offer-aside li::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: 0.6em;
  border-radius: 50%;
  background: var(--accent);
}

.form {
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 500;
}

.field .opt {
  font-weight: 400;
  color: var(--ink-2);
}

.field input,
.field textarea {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--field);
  color: var(--ink);
  font: 400 16px/1.4 var(--sans);
}

.field textarea {
  min-height: 132px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: transparent;
}

.money {
  position: relative;
}

.money span {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  color: var(--ink-2);
  pointer-events: none;
}

.money input {
  padding-left: 30px;
}

.form .btn {
  width: 100%;
  margin-top: 6px;
}

.fine {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--ink-2);
  text-align: center;
}

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

/* Footer */

.footer {
  padding: 40px 0 56px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-2);
}

.footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
}

.footer p {
  margin: 0;
}

/* Simple pages (thanks, 404) */

.simple {
  min-height: calc(100vh - 64px - 130px);
  display: flex;
  align-items: center;
  padding: 80px 0;
}

.simple h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.simple p {
  max-width: 560px;
  margin: 20px 0 32px;
  font-size: 1.125rem;
  color: var(--ink-2);
}

/* Responsive */

@media (max-width: 900px) {
  .split,
  .offer {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .ext,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .wrap {
    padding: 0 16px;
  }

  .hero {
    padding-top: 56px;
  }

  .hero-domains {
    gap: 6px;
    margin-top: 20px;
  }

  .hero-domains li {
    padding: 4px 9px;
    font-size: 12.5px;
  }

  .hero-actions {
    margin-top: 28px;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
  }

  .hero-chart {
    height: 120px;
    margin-top: 48px;
  }

  .facts {
    grid-template-columns: repeat(2, 1fr);
  }

  .facts div {
    padding: 20px 16px;
  }

  .facts div:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }

  .facts div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .facts dd {
    font-size: 2.2rem;
  }

  .section {
    padding: 64px 0;
  }

  .hack,
  .form {
    padding: 24px;
  }

  .links li {
    flex-direction: column;
    gap: 2px;
  }

  .links li span:last-child {
    text-align: left;
  }

  .ext,
  .steps,
  .row {
    grid-template-columns: 1fr;
  }

  .row {
    gap: 0;
  }

  .ledger li {
    grid-template-columns: 32px 1fr;
    gap: 4px 12px;
  }

  .ledger .r {
    grid-column: 2;
    text-align: left;
  }

  .ledger .primary .d {
    font-size: 20px;
  }
}
