:root {
  color-scheme: light;
  --ink: #171c19;
  --ink-soft: #414a45;
  --muted: #6f776f;
  --line: #e5e9e5;
  --line-strong: #cdd5cd;
  --green: #12823f;
  --green-dark: #0b6a31;
  --green-pale: #e9f5ec;
  --paper: #fcfcfa;
  --white: #ffffff;
  --shell: 880px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
[hidden] { display: none !important; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
h1, h2, h3, p { margin: 0; }
.shell { width: min(100% - 40px, var(--shell)); margin-inline: auto; }

/* Hero */
.hero { padding: 96px 0 56px; }
h1 {
  max-width: 640px;
  margin-bottom: 32px;
  font-size: clamp(40px, 7vw, 64px);
  line-height: 1.02;
  letter-spacing: -.04em;
  font-weight: 700;
  text-wrap: balance;
}
blockquote {
  max-width: 600px;
  margin: 0;
  color: var(--ink-soft);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  font-size: 21px;
  line-height: 1.45;
  font-style: italic;
  text-wrap: pretty;
}
blockquote cite {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-style: normal;
}
blockquote cite::before { content: "— "; }
blockquote cite a { color: var(--green-dark); }

/* Ask + chat */
.ask { max-width: 600px; margin-top: 32px; }
.ask-label { display: block; margin-bottom: 10px; font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.ask-row { display: flex; gap: 8px; }
.ask-input, .chat-input {
  flex: 1 1 auto;
  min-width: 0;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  outline: none;
}
.ask-input:focus, .chat-input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(18, 130, 63, .14); }
.chat { max-width: 600px; margin-top: 32px; }
.chat-log { margin: 0 0 12px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.chat-line { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: baseline; }
.chat-who { color: var(--muted); font-size: 13px; font-weight: 600; }
.chat-text { white-space: pre-wrap; overflow-wrap: anywhere; }
.chat-garple .chat-who { color: var(--green-dark); }
.chat-status { min-height: 22px; margin: 0 0 8px 68px; color: var(--muted); font-size: 14px; }
.chat-form { display: flex; gap: 8px; }

/* Benefits */
.benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 48px;
  padding: 8px 0 64px;
}
.benefit { padding-top: 16px; border-top: 1px solid var(--line); }
.benefit h3 { margin-bottom: 6px; font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.benefit p { color: var(--muted); font-size: 15px; text-wrap: pretty; }
.benefit a { color: var(--green-dark); }

/* Catalogue */
.catalogue { padding: 0 0 96px; }
h2 { margin-bottom: 16px; font-size: clamp(26px, 4vw, 32px); line-height: 1.2; letter-spacing: -.03em; font-weight: 700; }
.toolbar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  padding: 12px 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.search-wrap { position: relative; display: flex; align-items: center; flex: 1 1 260px; }
.search-icon { position: absolute; left: 13px; width: 16px; height: 16px; color: var(--muted); pointer-events: none; }
.search {
  width: 100%;
  height: 42px;
  padding: 0 44px 0 38px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.search::-webkit-search-decoration, .search::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.search::placeholder { color: var(--muted); }
.search:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(18, 130, 63, .14); }
.search-kbd {
  position: absolute;
  right: 11px;
  padding: 1px 6px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  line-height: 1.4;
  pointer-events: none;
}
.search:focus ~ .search-kbd { display: none; }
.search-clear {
  position: absolute;
  right: 7px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.search-clear:hover { background: var(--green-pale); color: var(--ink); }
.lengths { display: flex; align-items: center; gap: 4px; }
.lengths-label { margin-right: 6px; color: var(--muted); font-size: 13px; }
.pill {
  height: 30px;
  padding: 0 11px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
}
.pill:hover { background: var(--green-pale); color: var(--ink); }
.pill[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.count {
  margin-left: auto;
  color: var(--muted);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.notice { padding: 16px 0 0; color: var(--muted); font-size: 14px; }

.domain-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.domain-row { border-bottom: 1px solid var(--line); }
.domain {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 0;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -.01em;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.domain .tld { color: var(--muted); font-weight: 400; }
.domain .price {
  margin-left: auto;
  padding-left: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  transition: color .15s ease;
}
.domain:hover .price, .domain:focus-visible .price { color: var(--green-dark); }
.domain-row.sold .domain { color: var(--muted); cursor: default; }
.domain-row.sold .name { text-decoration: line-through; text-decoration-color: var(--line); }
.checkout h1 { margin-bottom: 8px; }
.checkout-price { margin: 0 0 16px; font-size: 17px; font-variant-numeric: tabular-nums; }
.checkout-text { max-width: 560px; color: var(--muted); font-size: 17px; line-height: 1.5; text-wrap: pretty; }
.checkout-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.domain:focus-visible { outline-offset: 0; border-radius: 4px; }
mark { background: #d7ecdd; color: inherit; border-radius: 3px; }
.empty { padding: 48px 0; color: var(--muted); font-size: 15px; text-align: center; }

/* Enquiry */
.enquiry {
  width: min(100% - 32px, 440px);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 24px 60px rgba(23, 28, 25, .14);
}
.enquiry::backdrop { background: rgba(23, 28, 25, .35); }
.enquiry-panel { position: relative; padding: 28px; }
.enquiry-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.enquiry-close:hover { background: var(--green-pale); color: var(--ink); }
.enquiry-title { margin: 0 36px 2px 0; font-size: 24px; font-weight: 700; letter-spacing: -.02em; overflow-wrap: anywhere; }
.enquiry-price { margin: 0; font-size: 17px; font-variant-numeric: tabular-nums; }
.enquiry-price::before { content: "Buy now "; color: var(--muted); }
.ideas { margin: 14px 0 0; padding: 0; list-style: none; }
.idea { padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.45; text-wrap: pretty; }
.idea strong { font-weight: 650; color: var(--green-dark); }
.idea-does { display: block; margin-top: 2px; color: var(--muted); font-size: 13px; }
.idea + .idea { border-top: 1px solid var(--line); }
.ideas + .enquiry-text { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.enquiry-text { color: var(--muted); font-size: 15px; text-wrap: pretty; }
.enquiry-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}
.button:hover { background: var(--ink-soft); border-color: var(--ink-soft); }
.button.secondary { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.button.secondary:hover { background: var(--green-pale); border-color: var(--line-strong); }

/* Footer */
footer { padding: 24px 0 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer .shell { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; }
footer a { color: var(--ink); text-decoration: none; }
footer a:hover { text-decoration: underline; }

@media (hover: none) {
  .search-kbd { display: none; }
}
@media (max-width: 760px) {
  .domain-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
}
@media (max-width: 520px) {
  .hero { padding: 56px 0 40px; }
  h1 { margin-bottom: 24px; }
  blockquote { font-size: 19px; }
  .benefits { grid-template-columns: 1fr; gap: 20px; padding-bottom: 48px; }
  .toolbar { gap: 10px 12px; }
  .search-wrap { flex-basis: 100%; }
  .domain-list { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .domain .price { transition: none; }
}
