:root {
  --ink: #1D1D1F;
  --muted: #6E6E73;
  --faint: #86868B;
  --line: #D2D2D7;
  --accent: #0A66C2;
  --accent-soft: #E8F1FA;
  --bg: #FFFFFF;
  --surface: #F5F5F7;
  --chip: #F4F5F7;
  --danger: #B42318;
  --ok: #067647;
  --radius: 10px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, "Segoe UI", Roboto, sans-serif;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.mono, .mono-input { font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.center { text-align: center; }
.accent { color: var(--accent); }

/* layout */
.top { border-bottom: 1px solid var(--line); }
.top-inner { max-width: 1024px; margin: 0 auto; padding: 0 24px; height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { color: var(--ink); font-weight: 600; }
.logo:hover { text-decoration: none; }
.top-right { display: flex; align-items: center; gap: 16px; }
.main { flex: 1; width: 100%; max-width: 760px; margin: 0 auto; padding: 48px 24px 80px; }
.foot { border-top: 1px solid var(--line); font-size: 14px; color: var(--faint); }
.foot .top-inner { height: 56px; }
.foot a { color: var(--faint); }

/* type */
h1, h2, h3 { margin: 0; letter-spacing: -0.01em; }
.h-md { font-size: 28px; line-height: 1.2; font-weight: 650; letter-spacing: -0.02em; }
h2 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 600; }
h3 { font-size: 16px; font-weight: 600; }
.lede { font-size: 18px; color: var(--muted); margin: 20px 0 0; max-width: 560px; }
.step { font-size: 13px; color: var(--accent); font-weight: 500; margin: 0 0 8px; }
.page-head { margin-bottom: 32px; }
.page-head .muted { margin: 8px 0 0; }
.sub-h { font-size: 14px; margin: 28px 0 8px; }

/* landing */
.main.main-wide { max-width: none; padding: 0 0 40px; }
.l-wrap { max-width: 1024px; margin: 0 auto; padding: 0 24px; }
.l-hero { text-align: center; padding: 120px 24px 104px; max-width: 880px; margin: 0 auto; }
.l-hero h1 { text-wrap: balance; font-size: 80px; line-height: 1.02; letter-spacing: -0.045em; font-weight: 500; margin: 0 auto; max-width: 820px; }
.l-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 28px; }
.kicker-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(10, 102, 194, .5); animation: ping 2.4s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(10, 102, 194, .45); } 70%, 100% { box-shadow: 0 0 0 10px rgba(10, 102, 194, 0); } }
.cta-hero { align-items: center; gap: 28px; }
.btn.btn-lg { min-height: 54px; padding: 0 26px; font-size: 16px; gap: 10px; }
.btn-arrow { transition: transform .2s ease; }
.btn:hover .btn-arrow { transform: translateX(3px); }
.link.link-strong { color: var(--ink); font-weight: 500; font-size: 16px; }
.reader { display: inline-flex; flex-direction: column; align-items: center; gap: 10px; margin: 64px auto 0; padding: 20px 28px; border: 0; background: none; cursor: pointer; font: inherit; color: inherit; }
.reader-url { font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; font-size: 20px; color: var(--ink); white-space: nowrap; }
.reader-host { color: var(--faint); }
.reader-suffix { color: var(--accent); }
.caret { display: inline-block; width: 2px; height: 1.1em; background: var(--accent); vertical-align: -3px; margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.reader-by { font-size: 15px; color: var(--muted); }
.reader-name { display: inline-block; color: var(--ink); font-weight: 600; transition: opacity .28s ease, transform .28s ease; }
.reader-name.out { opacity: 0; transform: translateY(6px); }
.reader:hover .reader-by { color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .kicker-dot, .caret { animation: none; } .reader-name { transition: none; } }
.logo { display: inline-flex; align-items: center; gap: 8px; }
.logo-mark { color: var(--ink); }
.l-lede { text-wrap: balance; font-size: 21px; line-height: 1.5; color: var(--muted); margin: 24px auto 0; max-width: 640px; }
.l-alert { max-width: 480px; margin: 28px auto 0; text-align: left; }
.cta-row { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
.btn.btn-pill { border-radius: 999px; min-height: 48px; padding: 0 26px; font-size: 16px; }
.btn.btn-accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.btn-accent:hover { background: #004182; border-color: #004182; opacity: 1; }
.btn.btn-outline { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn.btn-outline:hover { background: var(--accent-soft); opacity: 1; }
.email-inline { display: flex; gap: 10px; max-width: 460px; margin: 36px auto 8px; }
.email-inline input { border-radius: 999px; padding: 0 20px; min-height: 48px; font-size: 16px; }
.email-inline .btn { flex: none; }
.l-other { margin: 18px 0 0; font-size: 15px; color: var(--muted); display: flex; justify-content: center; align-items: center; gap: 6px; flex-wrap: wrap; }
.l-other .link { font-size: 15px; min-height: 0; }
.l-hero-tight { padding-top: 96px; }
.h-lg { font-size: 48px; line-height: 1.1; letter-spacing: -0.03em; font-weight: 700; }
.btn svg { flex: none; }
.l-fine { margin: 18px 0 0; font-size: 14px; color: var(--faint); }
.l-band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 88px 0; text-align: center; }
.l-h2 { font-size: 40px; line-height: 1.1; letter-spacing: -0.025em; font-weight: 700; text-transform: none; color: var(--ink); margin: 0; }
.l-sub { text-wrap: balance; font-size: 19px; color: var(--muted); margin: 14px auto 0; max-width: 560px; }
.swap-big { margin: 44px auto 0; display: inline-flex; flex-direction: column; align-items: center; gap: 10px; font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; font-size: 26px; }
.swap-line { white-space: nowrap; }
.swap-arrow { color: var(--faint); font-family: Inter, sans-serif; font-size: 22px; }
.strike { color: var(--faint); text-decoration: line-through; }
.l-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; padding-top: 96px; padding-bottom: 96px; text-align: center; }
.feature .icon { color: var(--ink); margin: 0 auto 18px; display: block; }
.feature h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.01em; }
.feature p { text-wrap: pretty; color: var(--muted); font-size: 16px; margin: 10px auto 0; max-width: 300px; }
.feature-link { margin-top: 12px; font-size: 15px; }
.l-agents { background: #0B0D12; color: #fff; padding: 104px 0; scroll-margin-top: 0; }
.l-agents .l-h2 { color: #fff; text-align: center; }
.l-agents .l-sub { color: #A9AFB8; text-align: center; }
.l-eyebrow { text-align: center; color: #70B5F9; font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 14px; }
.explorer { display: grid; grid-template-columns: 340px 1fr; gap: 20px; margin-top: 56px; align-items: stretch; }
.explorer-tabs { display: flex; flex-direction: column; gap: 10px; }
.x-tab { text-align: left; background: transparent; border: 1px solid #22262E; border-radius: 14px; padding: 18px 20px; color: #A9AFB8; cursor: pointer; display: flex; flex-direction: column; gap: 6px; transition: border-color .15s, background .15s; }
.x-tab:hover { border-color: #3A404B; }
.x-tab.on { background: #141820; border-color: #0A66C2; box-shadow: 0 0 0 1px #0A66C2 inset; }
.x-tag { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #70B5F9; }
.x-path { font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; font-size: 14px; color: #fff; }
.x-desc { font-size: 14px; line-height: 1.5; }
.x-window { border: 1px solid #22262E; border-radius: 16px; background: #0F1217; overflow: hidden; display: flex; flex-direction: column; min-height: 420px; box-shadow: 0 30px 80px -40px rgba(10, 102, 194, .45); }
.x-bar { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid #22262E; background: #12161D; font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; font-size: 13px; }
.x-method { color: #0B0D12; background: #70B5F9; border-radius: 6px; padding: 2px 8px; font-weight: 600; font-size: 12px; }
.x-url { color: #fff; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.x-type { color: #6E7681; font-size: 12px; }
.x-body { flex: 1; display: flex; }
.code { margin: 0; padding: 22px 24px; font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; font-size: 13.5px; line-height: 1.75; color: #C9D1D9; overflow-x: auto; width: 100%; }
.t-key { color: #70B5F9; }
.t-str { color: #E6EDF3; }
.t-num { color: #F2CC60; }
.t-empty { color: #F0883E; }
.t-punct { color: #6E7681; }
.t-h1 { color: #fff; font-weight: 600; }
.t-h2 { color: #70B5F9; font-weight: 600; }
.t-quote { color: #8B949E; }
.t-text { color: #C9D1D9; }
.mini-profile { margin: 28px; background: #fff; color: var(--ink); border-radius: 12px; padding: 28px; width: 100%; align-self: flex-start; }
.mini-name { font-size: 24px; font-weight: 700; letter-spacing: -.02em; margin: 0; }
.mini-label { color: var(--muted); margin: 2px 0 0; font-size: 15px; }
.mini-proof { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font-size: 14px; margin: 18px 0 8px; }
.mini-proof .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.mini-skills { list-style: none; margin: 0; padding: 0; }
.mini-skills li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.mini-skills li:last-child { border-bottom: 0; }
.mini-skills li span:last-child { color: var(--muted); }
.mini-skills .none { color: var(--faint) !important; font-style: italic; }
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 72px; padding-top: 48px; border-top: 1px solid #22262E; }
.why h4 { margin: 0; font-size: 17px; color: #fff; font-weight: 600; }
.why p { margin: 8px 0 0; color: #A9AFB8; font-size: 15px; line-height: 1.6; }
.top-nav { display: flex; gap: 24px; }
.top-nav .link { color: var(--ink); font-size: 14px; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.l-final { text-align: center; padding: 88px 24px 56px; border-top: 1px solid var(--line); }

/* cards */
.card { border: 1px solid var(--line); border-radius: 14px; padding: 28px; background: var(--bg); }
.card + .card, .card + .actions, .alert + .card, .notice + .card { margin-top: 20px; }
.card h2 { margin-bottom: 20px; }
.card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 20px; }
.card-head h2 { margin: 0; }
.narrow { max-width: 440px; }
.center.narrow { margin: 40px auto; }
.center .muted { margin: 12px 0 20px; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack-lg { display: flex; flex-direction: column; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border-radius: var(--radius);
  background: var(--ink); color: #fff; border: 1px solid var(--ink);
  font-weight: 500; font-size: 15px; cursor: pointer; text-decoration: none;
  transition: opacity .15s ease;
}
.btn:hover { text-decoration: none; opacity: .88; }
.btn:disabled { opacity: .4; cursor: not-allowed; }
.btn-secondary { background: var(--bg); color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { background: var(--surface); opacity: 1; }
.btn-block { width: 100%; }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 14px; }
.link { background: none; border: 0; padding: 0; color: var(--accent); cursor: pointer; font-size: 15px; min-height: 32px; }
.link:hover { text-decoration: underline; }
.link.danger { color: var(--danger); font-size: 14px; }
.icon-btn { width: 36px; height: 36px; flex: none; border: 1px solid var(--line); background: var(--bg); border-radius: 8px; color: var(--muted); cursor: pointer; font-size: 18px; line-height: 1; }
.icon-btn:hover { color: var(--danger); border-color: var(--danger); }
.actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 28px; }

.or { display: flex; align-items: center; gap: 12px; color: var(--faint); font-size: 13px; margin: 18px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* forms */
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.field > span { font-weight: 500; }
.field small { color: var(--faint); font-size: 13px; }
.field + .field { margin-top: 16px; }
.grid2 .field + .field { margin-top: 0; }
input, textarea {
  font: inherit; font-size: 15px; color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg);
  padding: 10px 12px; min-height: 44px; width: 100%;
}
textarea { resize: vertical; line-height: 1.5; }
input:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
input:disabled { background: var(--surface); color: var(--faint); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.grid-link { display: grid; grid-template-columns: 1fr 2fr auto; gap: 12px; align-items: end; margin-bottom: 12px; }
.grid-link .field + .field { margin-top: 0; }
.check { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); margin: 0 0 16px; cursor: pointer; min-height: 32px; }
.check input { width: 18px; height: 18px; min-height: 0; margin: 0; accent-color: var(--accent); }
.prefix-input { display: flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); padding-left: 12px; overflow: hidden; }
.prefix-input:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.prefix-input > span { color: var(--faint); white-space: nowrap; }
.prefix-input input { border: 0; box-shadow: none; padding-left: 0; }
.prefix-input input:focus { box-shadow: none; }
.ok, .field small.ok { color: var(--ok); }
.bad, .field small.bad { color: var(--danger); }

.entry { padding: 24px 0; border-top: 1px solid var(--line); }
.card-head + .entry, .card-head + .muted + .entry { border-top: 0; padding-top: 0; }
.entry .link.danger { margin-top: 12px; }

/* skills */
.skill-row { display: grid; grid-template-columns: 180px 1fr auto; gap: 12px; align-items: start; padding: 12px 0; border-top: 1px solid var(--line); }
.card-head + .skill-row, .card-head + .muted + .skill-row { border-top: 0; padding-top: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; min-height: 44px; }
.chip { border: 1px solid var(--line); background: var(--bg); color: var(--muted); border-radius: 999px; padding: 6px 12px; font-size: 13px; cursor: pointer; min-height: 32px; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.on { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
.chip-danger:hover { border-color: var(--danger); color: var(--danger); }
.gaps { border-color: var(--accent); margin-bottom: 20px; }
.gap { padding: 16px 0; border-top: 1px solid var(--line); }
.gap p { margin: 0 0 4px; }
.gaps > .muted { margin: -8px 0 8px; font-size: 15px; }

/* import */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.tab { background: none; border: 0; border-bottom: 2px solid transparent; padding: 10px 4px; margin-right: 20px; color: var(--muted); cursor: pointer; min-height: 44px; margin-bottom: -1px; }
.tab.on { color: var(--ink); border-bottom-color: var(--ink); font-weight: 500; }
.drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 200px; border: 1.5px dashed var(--line); border-radius: 14px; cursor: pointer; text-align: center; padding: 24px; transition: border-color .15s, background .15s; }
.drop:hover, .drop.over { border-color: var(--accent); background: var(--accent-soft); }
.hint { font-size: 14px; color: var(--muted); margin: 16px 0 0; }

/* alerts */
.alert, .notice { border-radius: var(--radius); padding: 12px 16px; font-size: 15px; margin-bottom: 20px; }
.alert { background: #FEF3F2; color: var(--danger); border: 1px solid #FECDCA; }
.notice { background: var(--accent-soft); color: var(--accent); border: 1px solid #C7DCF1; }

/* live */
.link-box { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.link-box .mono { font-size: 16px; color: var(--ink); word-break: break-all; }
.link-actions { display: flex; gap: 8px; }
.machine { margin: 16px 0 0; }
.stats { list-style: none; margin: 0; padding: 0; }
.stats li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.stats li:first-child { border-top: 0; padding-top: 0; }
.stats strong { font-weight: 500; display: block; font-size: 15px; }
.stats small { color: var(--faint); font-size: 13px; }
.num { font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; }
.recent { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.recent li { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; padding: 8px 0; border-top: 1px solid var(--line); }
.share-img-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.share-img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; }
.share-note { margin: -8px 0 16px; }
.share-img { background: var(--surface); }
.share-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.snippet { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.snippet-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.snippet-head h3 { font-size: 15px; font-weight: 500; }
.snippet-body { margin: 8px 0 0; color: var(--muted); font-size: 15px; display: block; word-break: break-word; }
code.snippet-body { font-size: 13px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; }
.badge-preview { display: block; margin-top: 10px; }
.steps { margin: 0; padding-left: 20px; color: var(--muted); }
.steps li { margin: 10px 0; }
.steps strong { color: var(--ink); font-weight: 500; }

.spinner { width: 28px; height: 28px; border: 2px solid var(--line); border-top-color: var(--ink); border-radius: 50%; margin: 0 auto 20px; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 2.4s; } }

@media (max-width: 640px) {
  .top-inner { padding: 0 16px; }
  .main { padding: 32px 16px 64px; }
  .l-hero { padding: 48px 16px 64px; }
  .l-hero { padding-top: 72px; }
  .l-hero h1 { font-size: 46px; }
  .cta-hero { flex-direction: column; gap: 16px; }
  .reader { margin-top: 40px; padding: 12px 0; max-width: 100%; }
  .reader-url { font-size: 15px; }
  .reader-host { display: none; }
  .l-lede { font-size: 18px; }
  .cta-row .btn { width: 100%; }
  .email-inline { flex-direction: column; }
  .l-band { padding: 64px 0; }
  .l-h2 { font-size: 30px; }
  .l-sub { font-size: 17px; }
  .swap-big { font-size: 14px; max-width: 100%; }
  .swap-line { white-space: normal; overflow-wrap: anywhere; }
  .l-features { grid-template-columns: 1fr; gap: 48px; padding-top: 64px; padding-bottom: 64px; }
  .l-final { padding: 64px 16px 40px; }
  .l-agents { padding: 72px 0; }
  .explorer { grid-template-columns: 1fr; }
  .explorer-tabs { flex-direction: row; overflow-x: auto; }
  .x-tab { min-width: 220px; }
  .x-desc { display: none; }
  .x-type { display: none; }
  .x-window { min-height: 0; }
  .code { font-size: 12px; padding: 18px; }
  .mini-profile { margin: 16px; padding: 20px; }
  .why { grid-template-columns: 1fr; gap: 28px; }
  .top-nav { gap: 16px; }
  .card { padding: 20px; }
  .grid2 { grid-template-columns: 1fr; }
  .grid-link { grid-template-columns: 1fr auto; }
  .grid-link .field:first-child { grid-column: 1 / -1; }
  .skill-row { grid-template-columns: 1fr auto; }
  .skill-row .chips { grid-column: 1 / -1; grid-row: 2; }
  .hide-sm { display: none; }
  .recent li { grid-template-columns: 1fr auto; }
  .recent li .mono { display: none; }
  .actions { flex-direction: column-reverse; }
  .actions .btn { width: 100%; }
}
.l-hero h1.h-lg { font-size: 48px; font-weight: 600; letter-spacing: -0.03em; }

/* ---------- Apple layer (landing) ---------- */
.top { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, .8); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0, 0, 0, .08); }
.top .top-inner { height: 52px; }
.logo { font-size: 17px; letter-spacing: -0.02em; }
.top-nav { gap: 28px; }
.top-nav .link, .top-right .link { color: var(--ink); font-size: 13px; opacity: .85; }
.top-nav .link:hover { opacity: 1; text-decoration: none; }

.l-hero { padding: 104px 24px 40px; max-width: 980px; }
.l-hero h1 { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", Inter, sans-serif; font-size: 80px; line-height: 1.05; letter-spacing: -0.03em; font-weight: 600; color: var(--ink); }
.l-kicker { color: var(--accent); letter-spacing: .02em; text-transform: none; font-size: 17px; font-weight: 600; margin-bottom: 18px; }
.l-lede { font-size: 24px; line-height: 1.38; color: var(--muted); max-width: 700px; margin-top: 22px; letter-spacing: -0.015em; }
.cta-hero { gap: 14px; margin-top: 36px; }
.btn.btn-pill { min-height: 44px; padding: 0 22px; font-size: 17px; font-weight: 400; letter-spacing: -0.02em; }
.btn.btn-outline { border-color: var(--accent); }
.l-fine { font-size: 14px; color: var(--faint); margin-top: 20px; }
.orbit { display: block; margin: 72px auto 0; width: 340px; height: 340px; }
.ring { transform-origin: 170px 170px; }
.ring-a { animation: orbit 90s linear infinite; }
.ring-b { animation: orbit 70s linear infinite reverse; }
.ring-c { animation: orbit 50s linear infinite; }
@keyframes orbit { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ring { animation: none; } }
.reader { margin-top: 28px; padding: 8px 16px; }
.reader-url { font-size: 17px; }

.l-band { background: var(--surface); border: 0; padding: 112px 0; }
.l-h2 { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", Inter, sans-serif; font-size: 48px; line-height: 1.08; letter-spacing: -0.03em; font-weight: 600; }
.l-sub { font-size: 21px; line-height: 1.4; color: var(--muted); max-width: 620px; margin-top: 16px; }
.swap-big { font-size: 24px; gap: 12px; margin-top: 48px; }

.l-features { gap: 20px; padding-top: 112px; padding-bottom: 112px; }
.feature { background: var(--surface); border-radius: 28px; padding: 44px 32px 40px; }
.feature .icon { color: var(--accent); }
.feature h3 { font-size: 24px; letter-spacing: -0.02em; }
.feature p { font-size: 17px; line-height: 1.47; max-width: 280px; }
.feature-link { font-size: 17px; margin-top: 16px; }

.l-agents { background: #000; }
.l-agents .l-h2 { color: #F5F5F7; }
.l-agents .l-sub { color: #A1A1A6; }
.l-eyebrow { font-size: 17px; letter-spacing: 0; text-transform: none; color: #70B5F9; }

.l-final { border-top: 0; padding: 120px 24px 104px; }
.l-final .l-h2 { max-width: 760px; margin: 0 auto; }
.foot { background: var(--surface); border-top: 0; font-size: 12px; color: var(--muted); }
.foot a { color: var(--muted); }

@media (max-width: 640px) {
  .l-hero { padding: 64px 16px 24px; }
  .l-hero h1 { font-size: 44px; }
  .l-kicker { font-size: 15px; }
  .l-lede { font-size: 19px; }
  .cta-hero { flex-direction: row; }
  .cta-hero .btn { width: auto; flex: 1 1 0; padding: 0 12px; }
  .orbit { width: 260px; height: 260px; margin-top: 48px; }
  .l-band { padding: 72px 0; }
  .l-h2 { font-size: 32px; }
  .l-sub { font-size: 17px; }
  .swap-big { font-size: 14px; }
  .l-features { padding-top: 72px; padding-bottom: 72px; }
  .feature { padding: 36px 24px; }
  .l-final { padding: 80px 16px 64px; }
}

/* split hero: copy left, orbit right */
.l-hero.l-split { display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; gap: 32px; max-width: 1024px; padding: 96px 24px 104px; text-align: left; }
.l-split h1 { font-size: 66px; margin: 0; max-width: 580px; }
.l-split .l-lede { margin: 22px 0 0; max-width: none; font-size: 24px; text-wrap: initial; }
.l-split .cta-row { justify-content: flex-start; }
.l-split .l-alert { margin-left: 0; }
.hero-visual { display: flex; flex-direction: column; align-items: center; }
.l-split .orbit { margin: 0 auto; width: 380px; height: 380px; }
.l-split .reader { margin-top: 20px; }
.l-split .reader-url { font-size: 15px; }
.l-split .reader-host { display: none; }
@media (max-width: 960px) {
  .l-hero.l-split { grid-template-columns: 1fr; text-align: center; padding: 64px 16px 32px; gap: 40px; }
  .l-split h1 { font-size: 44px; margin: 0 auto; }
  .l-split .l-lede { margin: 18px auto 0; font-size: 19px; }
  .l-split .cta-row { justify-content: center; }
  .cta-hero { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .cta-hero .btn { width: 100%; }
  .l-split .orbit { width: 280px; height: 280px; }
}

/* ---------- Apple polish: rest of page ---------- */
.l-h2-split span { color: var(--faint); }
.l-agents .l-h2-split span { color: #86868B; }
.l-h2-left { text-align: left; }

.l-band { padding: 120px 0; }
.swap-card { max-width: 760px; margin: 48px auto 0; background: #fff; border-radius: 28px; padding: 40px 44px 36px; text-align: left; box-shadow: 0 2px 6px rgba(0,0,0,.02), 0 18px 48px -28px rgba(0,0,0,.18); }
.swap-row { display: grid; grid-template-columns: 120px 1fr; align-items: baseline; gap: 16px; padding: 18px 0; border-bottom: 1px solid #E8E8ED; }
.swap-row code { font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; font-size: 22px; color: var(--ink); overflow-wrap: anywhere; }
.swap-label { font-size: 14px; color: var(--faint); font-weight: 500; }
.swap-label-on { color: var(--accent); }
.swap-note { margin: 22px 0 0; font-size: 17px; color: var(--muted); }

.l-features-wrap { padding-top: 120px; padding-bottom: 120px; }
.l-features-wrap .l-h2 { margin-bottom: 40px; }
.l-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 0; text-align: left; }
.feature { background: var(--surface); border-radius: 28px; padding: 40px 32px 36px; min-height: 320px; display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease; }
.feature:hover { transform: scale(1.01); box-shadow: 0 18px 48px -28px rgba(0,0,0,.25); }
.feature .icon { margin: 0 0 28px; color: var(--accent); }
.feature h3 { font-size: 24px; line-height: 1.17; letter-spacing: -0.025em; font-weight: 600; }
.feature p { font-size: 17px; line-height: 1.47; color: var(--muted); margin: 12px 0 0; max-width: none; text-align: left; }
.feature-link { margin-top: auto; padding-top: 20px; align-self: flex-start; font-size: 17px; }

.l-agents { padding: 120px 0; }
.l-agents .l-sub { max-width: 640px; }
.x-tab { background: #1D1D1F; border: 0; border-radius: 18px; }
.x-tab:hover { background: #26262A; }
.x-tab.on { background: #26262A; box-shadow: 0 0 0 2px #0A66C2 inset; }
.x-window { border: 0; border-radius: 22px; background: #1D1D1F; box-shadow: none; }
.x-bar { background: #26262A; border-bottom: 1px solid #333338; }
.why { border-top: 1px solid #333338; }

.l-final { padding: 128px 24px 112px; }
.l-final .cta-row { align-items: center; gap: 28px; margin-top: 32px; }
.link.link-more { font-size: 17px; }

.foot { background: var(--surface); color: var(--muted); font-size: 12px; }
.foot-inner { max-width: 1024px; margin: 0 auto; padding: 18px 24px 24px; }
.foot-note { margin: 0; padding-bottom: 14px; border-bottom: 1px solid var(--line); color: var(--muted); line-height: 1.5; }
.foot-row { display: flex; justify-content: space-between; gap: 16px; padding-top: 14px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 20px; }
.foot a { color: var(--muted); }

@media (max-width: 640px) {
  .l-band { padding: 72px 0; }
  .swap-card { padding: 24px 20px; border-radius: 22px; }
  .swap-row { grid-template-columns: 1fr; gap: 4px; padding: 14px 0; }
  .swap-row code { font-size: 15px; }
  .l-features-wrap { padding-top: 72px; padding-bottom: 72px; }
  .l-features { grid-template-columns: 1fr; }
  .feature { min-height: 0; padding: 32px 24px; }
  .feature h3 { font-size: 24px; }
  .l-agents { padding: 80px 0; }
  .l-final .cta-row { flex-direction: column; gap: 16px; }
}

/* hero typing capsule */
.reader { margin-top: 24px; gap: 14px; }
.reader-pill { display: inline-flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 10px 22px 10px 10px; box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 12px 32px -18px rgba(10,102,194,.45); transition: box-shadow .2s ease, transform .2s ease; }
.reader:hover .reader-pill { transform: translateY(-1px); box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 18px 40px -18px rgba(10,102,194,.6); }
.reader-get { font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; font-size: 12px; font-weight: 600; color: #fff; background: var(--accent); border-radius: 999px; padding: 4px 10px; }
.l-split .reader-url, .reader-url { font-size: 19px; color: var(--ink); }
.reader-suffix { color: var(--accent); font-weight: 600; }
.reader-by { font-size: 17px; }
.reader-name { color: var(--accent); }

/* importing: live steps */
.importing { max-width: 520px; margin: 24px auto 0; text-align: center; }
.importing-orbit .orbit { width: 220px; height: 220px; margin: 0 auto; }
.importing-orbit .ring-a { animation-duration: 14s; }
.importing-orbit .ring-b { animation-duration: 10s; }
.importing-orbit .ring-c { animation-duration: 7s; }
.importing-title { font-size: 34px; font-weight: 600; letter-spacing: -0.025em; margin: 28px 0 24px; }
.steps-live { list-style: none; margin: 0 auto; padding: 0; text-align: left; display: inline-flex; flex-direction: column; gap: 14px; }
.steps-live li { display: flex; align-items: center; gap: 14px; font-size: 17px; color: var(--faint); transition: color .3s ease; }
.steps-live .step-active { color: var(--ink); font-weight: 500; }
.steps-live .step-done { color: var(--ink); }
.step-mark { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); flex: none; position: relative; transition: all .3s ease; }
.step-active .step-mark { border-color: var(--accent); border-top-color: transparent; animation: spin .9s linear infinite; }
.step-done .step-mark { border-color: var(--accent); background: var(--accent); }
.step-done .step-mark::after { content: ""; position: absolute; left: 6px; top: 2px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.importing-note { margin: 32px 0 0; color: var(--muted); font-size: 15px; min-height: 22px; }
@media (prefers-reduced-motion: reduce) { .step-active .step-mark { animation: none; border-top-color: var(--accent); } }
@media (max-width: 640px) {
  .reader-pill { padding: 8px 16px 8px 8px; }
  .reader-url, .l-split .reader-url { font-size: 15px; }
  .importing-title { font-size: 28px; }
  .steps-live li { font-size: 16px; }
}

/* settings + opt-in */
.check-card { align-items: flex-start; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; margin: 0; color: var(--ink); }
.check-card input { margin-top: 3px; }
.check-card span { display: flex; flex-direction: column; gap: 4px; }
.check-card strong { font-weight: 500; font-size: 15px; }
.check-card small { color: var(--muted); font-size: 13px; line-height: 1.45; }
.setting { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 16px 0; border-top: 1px solid var(--line); }
.card h2 + .setting { border-top: 0; padding-top: 0; }
.setting strong { display: block; font-weight: 500; font-size: 15px; }
.setting small { color: var(--muted); font-size: 13px; }
.switch { position: relative; width: 51px; height: 31px; border-radius: 999px; border: 0; background: #E9E9EB; cursor: pointer; flex: none; transition: background .2s ease; }
.switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,.2); transition: transform .2s ease; }
.switch.on { background: #34C759; }
.switch.on::after { transform: translateX(20px); }
.switch:disabled { opacity: .5; }
.btn.btn-danger { background: var(--danger); border-color: var(--danger); color: #fff; }
.danger-text { color: var(--danger) !important; }
.confirm-row { display: flex; align-items: center; gap: 14px; flex: none; }

/* privacy / terms */
.main.doc { max-width: 720px; padding-top: 72px; }
.doc h1 { font-size: 48px; font-weight: 600; letter-spacing: -0.03em; }
.doc .doc-date { color: var(--faint); font-size: 14px; margin: 8px 0 32px; }
.doc h2 { font-size: 21px; text-transform: none; letter-spacing: -0.015em; color: var(--ink); margin: 40px 0 12px; }
.doc p, .doc li { font-size: 17px; line-height: 1.6; color: #3A3A3C; }
.doc ul { padding-left: 20px; }
.doc li { margin: 8px 0; }

/* intros + github */
.intros { list-style: none; margin: 0; padding: 0; }
.intros li { padding: 16px 0; border-top: 1px solid var(--line); }
.intros li:first-child { border-top: 0; padding-top: 0; }
.intro-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px; }
.intro-when { margin-left: auto; }
.intro-role { margin: 4px 0 0; }
.intro-msg { margin: 8px 0 12px; font-size: 15px; white-space: pre-line; }
.gh-intro { margin: -8px 0 16px; }
.gh-form { display: flex; gap: 10px; }
.gh-form input { flex: 1; }
.gh-user { margin: -6px 0 14px; }
.gh-verify { background: var(--surface); border-radius: 12px; padding: 14px 16px; margin-bottom: 16px; }
.gh-verify p { margin: 0 0 8px; }
.gh-verify code { font-size: 13px; overflow-wrap: anywhere; }
.repos { list-style: none; margin: 0; padding: 0; }
.repos li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.repos li:first-child { border-top: 0; }
.repos .tag { margin-left: 8px; font-size: 12px; background: var(--chip); border-radius: 6px; padding: 1px 6px; color: var(--muted); }
.repos p { margin: 4px 0 0; }
.gh-actions { display: flex; justify-content: space-between; margin-top: 12px; }
.pill-ok { color: #067647; background: #ECFDF3; border-radius: 999px; padding: 3px 10px; font-weight: 600; font-size: 12px; }
.pill-warn { color: #B54708; background: #FFFAEB; border-radius: 999px; padding: 3px 10px; font-weight: 600; font-size: 12px; }

/* linkedin import + confirmations */
.li-box { background: var(--surface); border-radius: 14px; padding: 18px 20px; margin-bottom: 16px; }
.li-box p { margin: 0 0 12px; font-size: 15px; }
.li-steps { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.conf-intro { margin: -8px 0 18px; }
.conf-form { display: flex; flex-direction: column; gap: 14px; }
.conf-form .grid2 { margin-bottom: 0; }
.conf-form .field + .field { margin-top: 0; }
.conf-form .btn { align-self: flex-start; }
select { font: inherit; font-size: 15px; color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); padding: 10px 12px; min-height: 44px; width: 100%; }
.conf-sent { margin: 16px 0 0; }
.conf-sent code { display: block; margin-top: 6px; overflow-wrap: anywhere; font-size: 12px; }
.conf-list { list-style: none; margin: 20px 0 0; padding: 0; }
.conf-list li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.conf-list p { margin: 2px 0 0; }
.pill-muted { color: var(--muted); background: var(--chip); border-radius: 999px; padding: 3px 10px; font-weight: 600; font-size: 12px; white-space: nowrap; }
.pill-ok, .pill-warn { white-space: nowrap; }

/* ---------- /agents (MCP landing) ---------- */
.ag-hero { text-align: center; padding-top: 104px; padding-bottom: 96px; }
.ag-eyebrow { color: var(--accent); font-size: 17px; font-weight: 600; margin: 0 0 16px; }
.ag-hero h1 { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", Inter, sans-serif; font-size: 64px; line-height: 1.05; letter-spacing: -0.035em; font-weight: 600; margin: 0 auto; max-width: 900px; text-wrap: balance; }
.ag-hero h1 span { color: var(--faint); }
.ag-lede { font-size: 21px; line-height: 1.45; color: var(--muted); max-width: 680px; margin: 24px auto 0; text-wrap: balance; }
.ag-url { display: inline-flex; align-items: center; gap: 14px; margin-top: 40px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 8px 8px 22px; box-shadow: 0 12px 32px -18px rgba(10,102,194,.45); max-width: 100%; }
.ag-url-label { font-size: 13px; color: var(--faint); font-weight: 500; white-space: nowrap; }
.ag-url code { font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; font-size: 18px; color: var(--ink); overflow-wrap: anywhere; }
.ag-fine { margin: 16px 0 0; font-size: 14px; color: var(--faint); }
.ag-who { background: var(--surface); padding: 112px 0; }
.ag-who .l-h2, .ag-how .l-h2, .ag-tools .l-h2, .ag-connect .l-h2, .ag-trust .l-h2 { text-align: left; margin-bottom: 40px; }
.ag-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.ag-tile { background: #fff; border-radius: 28px; padding: 36px 32px; }
.ag-tag { margin: 0 0 14px; font-size: 13px; font-weight: 600; color: var(--accent); }
.ag-tile h3 { font-size: 26px; line-height: 1.15; letter-spacing: -0.025em; font-weight: 600; margin: 0; }
.ag-tile p:last-child { margin: 12px 0 0; font-size: 17px; line-height: 1.5; color: var(--muted); }
.ag-how { padding-top: 112px; padding-bottom: 112px; }
.ag-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.ag-steps li { display: flex; gap: 16px; align-items: flex-start; }
.ag-num { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; }
.ag-steps h3 { font-size: 21px; margin: 4px 0 0; }
.ag-steps p { margin: 8px 0 0; font-size: 17px; line-height: 1.5; color: var(--muted); }
.ag-steps code, .ag-tool p code { font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; font-size: .88em; }
.ag-tools .l-h2 { color: #F5F5F7; }
.ag-tool-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.ag-tool { background: #1D1D1F; border-radius: 20px; padding: 24px 26px; }
.ag-tool > code { font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; font-size: 16px; color: #70B5F9; font-weight: 600; }
.ag-tool p { margin: 10px 0 0; color: #A1A1A6; font-size: 15px; line-height: 1.55; }
.ag-tool p code { color: #E6EDF3; }
.ag-sample { margin-top: 16px; border: 0; background: #1D1D1F; border-radius: 20px; }
.ag-sample figcaption { border-bottom: 1px solid #333338; }
.ag-sample .code { font-size: 13px; white-space: pre; }
.ag-connect { padding-top: 112px; padding-bottom: 112px; }
.ag-connect-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ag-card { border: 1px solid var(--line); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.ag-card h3 { font-size: 19px; margin: 0; }
.ag-card ol, .ag-card ul { margin: 0; padding-left: 20px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.ag-card p { margin: 0; color: var(--muted); font-size: 15px; }
.ag-copy { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--surface); border-radius: 12px; padding: 10px 14px; margin-top: auto; }
.ag-copy code { font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; font-size: 13px; overflow-wrap: anywhere; }
.ag-json { margin: 0; background: var(--surface); border-radius: 12px; padding: 14px 16px; font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; font-size: 12.5px; line-height: 1.6; overflow-x: auto; }
.ag-card > .link { align-self: flex-start; }
.ag-prompts li { margin-bottom: 8px; }
.ag-trust { background: var(--surface); padding: 112px 0; }
.ag-trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.ag-trust h3 { font-size: 19px; margin: 0; }
.ag-trust p { margin: 8px 0 0; font-size: 15px; line-height: 1.55; color: var(--muted); }
.top-nav a.link { color: var(--ink); font-size: 13px; opacity: .85; }
@media (max-width: 900px) {
  .ag-hero { padding-top: 64px; padding-bottom: 64px; }
  .ag-hero h1 { font-size: 40px; }
  .ag-lede { font-size: 18px; }
  .ag-url { flex-wrap: wrap; justify-content: center; border-radius: 20px; padding: 14px; }
  .ag-url code { font-size: 15px; }
  .ag-who, .ag-trust { padding: 72px 0; }
  .ag-how, .ag-connect { padding-top: 72px; padding-bottom: 72px; }
  .ag-grid, .ag-tool-grid, .ag-connect-grid, .ag-steps { grid-template-columns: 1fr; }
  .ag-trust-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .ag-tile { padding: 28px 24px; }
  .ag-tile h3 { font-size: 22px; }
}
.agents-more { color: #70B5F9; font-size: 17px; }
.ag-connect-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ag-tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ag-sample { margin: 16px 0 0; }
.ag-sample .code { overflow-x: auto; }
.ag-copy code { word-break: break-all; }
@media (max-width: 900px) { .ag-connect-grid, .ag-tool-grid { grid-template-columns: 1fr; } }
.ag-card, .ag-tool, .ag-tile, .ag-sample, .ag-connect-grid > *, .ag-tool-grid > * { min-width: 0; }
.ag-json, .ag-sample .code { max-width: 100%; overflow-x: auto; }
.ag-tools .l-wrap, .ag-connect { overflow-x: clip; }
.ag-steps li > div { min-width: 0; } .ag-steps code { overflow-wrap: anywhere; }
