:root {
  --bg: #f3f1ea;
  --bg-2: #e8e5db;
  --paper: #fffcf6;
  --ink: #12141a;
  --muted: #5c5a55;
  --line: #d4d0c5;
  --accent: #0b6b5c;
  --accent-soft: #e4f3ef;
  --danger: #9b2c1a;
  --focus: #0b6b5c;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --radius: 16px;
  --shadow: 0 1px 0 rgba(18, 20, 26, 0.04), 0 12px 32px rgba(18, 20, 26, 0.06);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
.wrap { width: min(1080px, calc(100% - 40px)); margin-inline: auto; }
.skip {
  position: absolute; left: -999px; top: 0;
}
.skip:focus { left: 16px; top: 16px; z-index: 20; background: #fff; padding: 8px 12px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 68px;
}
.logo {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--ink); text-decoration: none; font-weight: 760;
  letter-spacing: -0.04em; font-size: 1.15rem;
}
.logo-mark {
  width: 28px; height: 28px; border-radius: 7px; background: var(--ink);
  color: var(--bg); display: grid; place-items: center; flex: 0 0 28px;
}
.logo-mark svg { width: 14px; height: 14px; }
.wordmark { letter-spacing: -0.05em; }
.logo .x { color: var(--accent); }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; }
nav a {
  color: var(--ink); text-decoration: none; font-size: 0.95rem; font-weight: 550;
}
nav a:hover, nav a[aria-current="page"] { color: var(--accent); }
nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; border: 1px solid var(--ink); background: var(--ink); color: #fff;
  border-radius: 999px; padding: 0.8rem 1.2rem; font-weight: 650;
  font-size: 0.95rem; text-decoration: none; cursor: pointer;
  font-family: inherit; line-height: 1;
}
.btn:hover { background: #000; color: #fff; }
.btn-ghost {
  background: transparent; color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* Hero */
.hero {
  position: relative;
  padding: 64px 0 48px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: -40px 0 auto auto; width: min(52vw, 520px); height: 520px;
  background:
    linear-gradient(135deg, transparent 46%, color-mix(in srgb, var(--ink) 8%, transparent) 46% 54%, transparent 54%),
    linear-gradient(45deg, transparent 46%, color-mix(in srgb, var(--ink) 8%, transparent) 46% 54%, transparent 54%);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 70% 30%, #000 0 40%, transparent 72%);
  pointer-events: none;
}
.kicker {
  display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent); margin: 0 0 14px;
}
.hero h1 {
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  line-height: 1.05; letter-spacing: -0.045em; font-weight: 780;
  margin: 0 0 18px; max-width: 16ch;
}
.lede { font-size: 1.15rem; color: var(--muted); max-width: 42rem; margin: 0 0 28px; }
.note { color: var(--muted); font-size: 0.92rem; margin: 16px 0 0; }

/* Sections */
section { padding: 28px 0; }
.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -0.03em;
  margin: 0 0 8px; font-weight: 750;
}
.section-intro { color: var(--muted); margin: 0 0 24px; max-width: 42rem; }
.grid-3, .grid-2, .grid-services {
  display: grid; gap: 14px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-services { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 22px 20px;
  box-shadow: var(--shadow);
}
.card h3 { margin: 0 0 8px; font-size: 1.08rem; letter-spacing: -0.02em; }
.card p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.step-no {
  display: inline-flex; width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  align-items: center; justify-content: center;
  font-weight: 750; font-size: 0.85rem; margin-bottom: 12px;
}
.service {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 14px; padding: 18px 18px 16px;
}
.service strong { display: block; margin-bottom: 4px; letter-spacing: -0.02em; }
.service span { color: var(--muted); font-size: 0.94rem; }

.callout {
  background: var(--ink); color: #f4f1ea;
  border-radius: 22px; padding: 36px 32px;
  margin: 20px 0 8px;
}
.callout h2 { margin: 0 0 10px; letter-spacing: -0.03em; font-size: 1.55rem; }
.callout p { margin: 0 0 12px; color: #c9c5ba; max-width: 46rem; }
.callout p:last-child { margin-bottom: 0; }
.callout .btn { background: #fff; color: var(--ink); border-color: #fff; }
.callout .btn:hover { background: var(--bg); }
.callout .btn-ghost { background: transparent; color: #fff; border-color: #5a574f; }
.callout .btn-ghost:hover { background: #fff; color: var(--ink); }

.fee-line {
  display: grid; gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--line);
}
.fee-line:last-child { border-bottom: 0; }
.fee-line strong { letter-spacing: -0.02em; }
.fee-line span { color: var(--muted); }

/* Directory */
.empty {
  text-align: center; padding: 64px 24px;
  background: var(--paper); border: 1px dashed var(--line);
  border-radius: 22px;
}
.empty h2 { margin: 0 0 8px; letter-spacing: -0.03em; }
.empty p { color: var(--muted); margin: 0 0 22px; }
.agent-list { display: grid; gap: 12px; }
.agent {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px;
  display: grid; gap: 8px;
}
.agent h2 { margin: 0; font-size: 1.2rem; letter-spacing: -0.02em; }
.agent .meta {
  display: flex; flex-wrap: wrap; gap: 8px 14px;
  font-family: var(--mono); font-size: 0.82rem; color: var(--muted);
}
.price { color: var(--accent); font-weight: 700; }
.wallet { word-break: break-all; }

/* Forms */
form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { font-weight: 650; font-size: 0.92rem; }
.hint { color: var(--muted); font-size: 0.85rem; font-weight: 450; }
input, textarea, select {
  width: 100%; border: 1px solid var(--line); background: var(--paper);
  border-radius: 12px; padding: 12px 14px; font: inherit; color: var(--ink);
}
textarea { min-height: 140px; resize: vertical; }
input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--focus); outline-offset: 1px; border-color: var(--accent);
}
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; }
.check input { width: auto; margin-top: 4px; }
.form-status {
  border-radius: 12px; padding: 12px 14px; font-size: 0.95rem; display: none;
}
.form-status.ok { display: block; background: var(--accent-soft); color: #08463c; }
.form-status.err { display: block; background: #f8e8e5; color: var(--danger); }
.field.error input, .field.error textarea, .field.error select { border-color: var(--danger); }

/* Terms */
.prose { max-width: 42rem; }
.prose h1 { font-size: clamp(2rem, 4vw, 2.6rem); letter-spacing: -0.04em; margin: 8px 0 8px; }
.prose .updated { color: var(--muted); font-size: 0.9rem; margin: 0 0 28px; }
.prose h2 { font-size: 1.2rem; margin: 28px 0 8px; letter-spacing: -0.02em; }
.prose p, .prose li { color: #2a2c31; }
.prose ul { padding-left: 1.15rem; }

/* Footer */
.site-footer {
  margin-top: 56px; border-top: 1px solid var(--line); padding: 28px 0 40px;
  color: var(--muted); font-size: 0.9rem;
}
.footer-row { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }

.page-head { padding: 42px 0 10px; }
.page-head h1 {
  font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -0.04em; margin: 0 0 10px;
}
.page-head p { color: var(--muted); max-width: 40rem; margin: 0; }

@media (max-width: 800px) {
  .grid-3, .grid-2, .grid-services, .field-row { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; }
  nav { justify-content: flex-end; }
}
@media (max-width: 560px) {
  .wrap { width: min(1080px, calc(100% - 28px)); }
  body { font-size: 16px; }
  .header-row { min-height: 60px; }
  nav { gap: 6px 12px; }
  nav a { font-size: 0.88rem; }
  .callout { padding: 26px 20px; }
}

.wrap.narrow form { max-width: 40rem; }
form .btn[type="submit"] { justify-self: start; min-width: 10rem; }
