@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --paper: #fffaf0;
  --paper-deep: #f3e7d5;
  --ink: #3a2116;
  --muted: #8d7466;
  --line: #ead7c6;
  --card: #fffdf8;
  --accent: #f47d34;
  --accent-dark: #b95125;
  --mint: #c5d6c4;
  --yellow: #f3c660;
  --shadow: 0 28px 80px rgba(111, 63, 26, .13);
}

* { box-sizing: border-box; }
html { background: var(--paper); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: 'Manrope', ui-sans-serif, system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.5;
}
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }

.site-shell { min-height: 100vh; max-width: 1440px; margin: 0 auto; padding: 0 54px 26px; }
.topbar { height: 86px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; overflow: hidden; border: 1px solid #f0c18d; border-radius: 13px; background: #fff0c9; box-shadow: 0 5px 14px rgba(166, 91, 34, .14); }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand strong { display: block; font-size: 15px; letter-spacing: -.02em; }
.brand small { display: block; color: var(--muted); font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.topbar-meta { display: flex; align-items: center; gap: 9px; color: var(--muted); font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #59ab79; box-shadow: 0 0 0 4px rgba(89, 171, 121, .12); }
.join-button { margin-left: 15px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: rgba(255, 253, 248, .42); font-size: 11px; font-weight: 700; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.join-button:hover { border-color: var(--accent); background: #fff2da; transform: translateY(-2px); }

.intro-band { display: flex; align-items: center; justify-content: space-between; min-height: 330px; gap: 70px; padding: 58px 2px 48px; }
.eyebrow, .section-kicker { margin: 0 0 18px; color: var(--accent-dark); font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: .16em; }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow-line { width: 34px; height: 1px; background: var(--accent); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 20px; font-family: 'Fraunces', Georgia, serif; font-size: clamp(46px, 5.5vw, 82px); font-weight: 600; letter-spacing: -.075em; line-height: .92; }
h1 em { color: var(--accent); font-style: normal; }
.intro-text { max-width: none; margin-bottom: 30px; color: var(--muted); font-size: 16px; white-space: nowrap; }
.promise-row { display: flex; gap: 26px; color: var(--muted); font-family: 'DM Mono', monospace; font-size: 10px; }
.promise-row span { display: inline-flex; align-items: center; gap: 6px; }
.promise-row b { color: var(--ink); font-weight: 500; }
.hero-showcase { position: relative; display: block; width: 330px; height: 250px; flex: 0 0 auto; overflow: hidden; border: 1px solid #efc58f; border-radius: 32px 32px 12px 32px; background: #f8c66b; box-shadow: var(--shadow); color: inherit; text-decoration: none; transform: rotate(2deg); animation: hero-nudge 7s ease-in-out infinite; transition: transform .5s cubic-bezier(.22, 1, .36, 1), box-shadow .5s ease; }
.hero-showcase::before { position: absolute; inset: 16px; border: 1px solid rgba(116, 61, 20, .18); border-radius: 22px 22px 8px 22px; content: ''; }
.hero-orbit { position: absolute; border: 1px solid rgba(107, 56, 21, .22); border-radius: 50%; }
.hero-orbit-one { width: 210px; height: 210px; top: 15px; left: 59px; transition: transform .8s cubic-bezier(.22, 1, .36, 1); }
.hero-orbit-two { width: 140px; height: 140px; top: 50px; left: 94px; border-style: dashed; transition: transform .8s cubic-bezier(.22, 1, .36, 1); }
.hero-logo { position: absolute; z-index: 2; width: 174px; height: 174px; top: 30px; left: 77px; object-fit: contain; filter: drop-shadow(0 14px 15px rgba(103, 52, 16, .2)); transition: transform .55s cubic-bezier(.22, 1, .36, 1), filter .55s ease; }
.showcase-caption { position: absolute; z-index: 3; right: 19px; bottom: 16px; display: flex; align-items: flex-end; gap: 13px; color: #6d351b; font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: .06em; text-transform: none; }
.showcase-caption strong { color: #fff5db; font-family: 'Fraunces', Georgia, serif; font-size: 25px; font-weight: 600; letter-spacing: -.08em; }
.showcase-stamp { position: absolute; z-index: 3; top: 21px; right: 19px; color: #6d351b; font-family: 'DM Mono', monospace; font-size: 8px; line-height: 1.15; text-align: right; }
.showcase-stamp b { color: #fff6df; font-size: 11px; font-weight: 500; }
@media (hover: hover) and (pointer: fine) {
  .hero-showcase:hover, .hero-showcase:focus-visible { animation-play-state: paused; transform: translateY(-9px) rotate(0deg); box-shadow: 0 35px 85px rgba(111, 63, 26, .22); }
  .hero-showcase:hover .hero-logo { transform: translateY(-8px) rotate(-3deg) scale(1.04); filter: drop-shadow(0 20px 18px rgba(103, 52, 16, .26)); }
  .hero-showcase:hover .hero-orbit-one { transform: rotate(16deg) scale(1.04); }
.hero-showcase:hover .hero-orbit-two { transform: rotate(-22deg) scale(.94); }
}
@keyframes hero-nudge {
  0%, 58%, 100% { transform: rotate(2deg); }
  61% { transform: translateX(-8px) rotate(-1deg); }
  64% { transform: translateX(8px) rotate(5deg); }
  67% { transform: translateX(-6px) rotate(0deg); }
  70% { transform: translateX(5px) rotate(4deg); }
  73% { transform: translateX(-2px) rotate(1deg); }
  76% { transform: translateX(0) rotate(2deg); }
}

.quick-jump-card { position: relative; display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; align-items: center; gap: 20px; margin: 0 0 42px; padding: 18px 22px; border: 1px solid #e2d7cf; border-radius: 22px; background: linear-gradient(105deg, rgba(255,253,248,.9), rgba(255,248,235,.78)); box-shadow: 0 14px 35px rgba(92, 53, 30, .07); transition: transform .3s cubic-bezier(.22,1,.36,1), border-color .3s ease, box-shadow .3s ease; }
.quick-jump-card::after { position: absolute; right: 20%; bottom: -1px; width: 110px; height: 1px; background: var(--accent); opacity: .42; content: ''; }
.quick-jump-card:hover { border-color: #e7b17f; box-shadow: 0 20px 45px rgba(92, 53, 30, .12); transform: translateY(-3px); }
.quick-jump-icon { display: grid; width: 58px; height: 58px; place-items: center; overflow: hidden; border-radius: 16px; background: #fff0d8; box-shadow: 0 8px 16px rgba(111, 63, 26, .1); transition: transform .3s ease, box-shadow .3s ease; }
.quick-jump-icon img { display: block; width: 100%; height: 100%; object-fit: cover; }
.quick-jump-card:hover .quick-jump-icon { transform: rotate(-4deg) scale(1.04); box-shadow: 0 11px 20px rgba(111, 63, 26, .17); }
.quick-jump-copy h2 { margin: 0 0 3px; font-family: 'Fraunces', Georgia, serif; font-size: 20px; font-weight: 600; letter-spacing: -.04em; }
.quick-jump-copy p { margin: 0; color: var(--muted); font-size: 13px; }
.quick-jump-button { display: inline-flex; align-items: center; gap: 17px; min-width: 142px; justify-content: center; padding: 14px 18px; border-radius: 13px; color: #fffaf0; background: var(--accent); box-shadow: 0 10px 22px rgba(191, 81, 37, .2); font-size: 13px; font-weight: 800; text-decoration: none; transition: background .2s ease, box-shadow .2s ease, transform .2s ease; }
.quick-jump-button i { color: #ffe1a8; font-size: 17px; font-style: normal; line-height: 1; transition: transform .2s ease; }
.quick-jump-button:hover { background: var(--accent-dark); box-shadow: 0 13px 28px rgba(191, 81, 37, .28); transform: translateY(-2px); }
.quick-jump-button:hover i { transform: translate(2px, -2px); }

.workspace-tabs { display: flex; gap: 6px; padding: 0 0 17px; border-bottom: 1px solid var(--ink); }
.tab { border: 0; border-bottom: 2px solid transparent; padding: 10px 17px 9px; color: var(--muted); background: transparent; font-size: 13px; font-weight: 700; }
.tab span { margin-right: 7px; color: #aaa79f; font-family: 'DM Mono', monospace; font-size: 10px; font-weight: 400; }
.tab:hover, .tab.is-active { border-color: var(--accent); color: var(--ink); }
.tab.is-active span { color: var(--accent); }
.workspace { position: relative; min-height: 450px; padding: 42px 0 50px; }
.notice { position: relative; display: flex; align-items: flex-start; gap: 12px; margin: -12px 0 30px; padding: 13px 42px 13px 15px; border-left: 3px solid var(--accent); background: #f7e7df; color: #68372c; font-size: 13px; }
.notice[hidden] { display: none; }
.notice p { margin: 0; white-space: pre-line; }
.notice-symbol { width: 20px; height: 20px; display: grid; flex: 0 0 auto; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-family: 'DM Mono', monospace; font-size: 11px; }
.notice-close { position: absolute; top: 10px; right: 12px; border: 0; color: inherit; background: transparent; font-size: 21px; line-height: 1; }
.view { display: none; animation: fade-in .35s ease both; }
.view.is-visible { display: block; }
@keyframes fade-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
.flow-head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 40px; }
.flow-head h2 { margin: 0; font-family: 'Fraunces', Georgia, serif; font-size: 31px; font-weight: 600; letter-spacing: -.055em; }
.flow-id { color: var(--muted); font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: .1em; }
.progress-track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 46px; }
.track-line { position: absolute; top: 13px; left: 13px; right: 13px; z-index: 0; height: 1px; background: var(--line); }
.track-line span { display: block; width: 0; height: 100%; background: var(--accent); transition: width .4s ease; }
.track-step { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 7px; color: #a8a49b; font-family: 'DM Mono', monospace; font-size: 10px; }
.track-step b { width: 27px; height: 27px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); color: #aaa79f; font-size: 9px; font-weight: 400; }
.track-step.is-current { color: var(--ink); }
.track-step.is-current b { border-color: var(--accent); background: var(--accent); color: #fff8ef; }
.track-step.is-done b { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.stage { display: grid; grid-template-columns: minmax(220px, .7fr) minmax(350px, 1.3fr); gap: 80px; max-width: 960px; }
.stage.is-hidden { display: none; }
.stage-copy { display: flex; align-items: flex-start; gap: 15px; }
.stage-index { color: var(--accent); font-family: 'DM Mono', monospace; font-size: 12px; }
.stage h3 { margin: 0 0 9px; font-family: 'Fraunces', Georgia, serif; font-size: 20px; font-weight: 600; letter-spacing: -.04em; }
.stage-copy p { max-width: 260px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.action-form, .query-form, .replace-form { max-width: 630px; }
.field-label { display: block; margin-bottom: 8px; color: var(--muted); font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
input, textarea { width: 100%; border: 1px solid var(--line); border-radius: 0; outline: 0; background: rgba(255, 255, 255, .34); color: var(--ink); transition: border-color .2s ease, background .2s ease, box-shadow .2s ease; }
input { height: 48px; padding: 0 14px; }
textarea { min-height: 108px; padding: 13px 14px; resize: vertical; line-height: 1.6; }
input:focus, textarea:focus { border-color: var(--accent); background: var(--card); box-shadow: 0 0 0 3px rgba(239, 108, 76, .11); }
input::placeholder, textarea::placeholder { color: #aaa69e; }
.input-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.primary-button, .secondary-button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 23px; padding: 0 18px; border: 1px solid var(--ink); border-radius: 0; white-space: nowrap; font-size: 12px; font-weight: 700; transition: transform .2s ease, background .2s ease, color .2s ease; }
.primary-button { background: var(--ink); color: var(--paper); }
.primary-button i { color: var(--yellow); font-style: normal; font-size: 17px; }
.primary-button:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
.secondary-button { border-color: var(--line); background: transparent; color: var(--ink); }
.secondary-button:hover { border-color: var(--ink); background: var(--paper-deep); }
.primary-button:disabled { cursor: wait; opacity: .55; transform: none; }
.field-hint { min-height: 21px; margin: 10px 0 0; color: var(--muted); font-family: 'DM Mono', monospace; font-size: 10px; }
.field-hint.is-error { color: var(--accent-dark); }
.field-hint.is-ok { color: #39825a; }
.token-actions { display: flex; align-items: center; justify-content: space-between; margin: -2px 0 17px; }
.token-actions a { color: var(--accent-dark); font-family: 'DM Mono', monospace; font-size: 10px; text-decoration: none; }
.token-actions a:hover { text-decoration: underline; }
.token-actions span { color: var(--muted); font-family: 'DM Mono', monospace; font-size: 10px; }
.button-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 18px; }
.review-box { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.review-box div { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.review-box div:last-child { border-bottom: 0; }
.review-box span { color: var(--muted); font-family: 'DM Mono', monospace; font-size: 10px; }
.review-box strong { font-size: 13px; text-align: right; word-break: break-all; }
.progress-panel { padding: 24px 0 20px; }
.progress-number { margin-bottom: 14px; color: var(--ink); font-family: 'DM Mono', monospace; font-size: 38px; letter-spacing: -.08em; }
.progress-bar { height: 5px; overflow: hidden; background: var(--paper-deep); }
.progress-bar span { display: block; width: 0; height: 100%; background: var(--accent); transition: width .4s ease; }
.progress-meta { display: flex; justify-content: space-between; margin-top: 9px; color: var(--muted); font-family: 'DM Mono', monospace; font-size: 10px; }
.result-card { margin-top: 12px; padding: 19px; border-left: 3px solid var(--ink); background: var(--card); }
.result-card.is-success { border-color: #55a974; }
.result-card.is-warning { border-color: var(--yellow); }
.result-card.is-failure { border-color: var(--accent); }
.result-card h3 { margin: 0 0 6px; font-size: 16px; }
.result-card p { margin: 0; color: var(--muted); font-size: 13px; }
.result-details { display: grid; grid-template-columns: 1fr 1fr; gap: 7px 22px; margin-top: 14px; color: var(--muted); font-family: 'DM Mono', monospace; font-size: 10px; }
.result-details b { display: block; margin-top: 2px; color: var(--ink); font-family: 'Manrope', sans-serif; font-size: 12px; word-break: break-all; }
.mode-switch { display: inline-flex; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.mode { padding: 9px 15px; border: 0; border-bottom: 2px solid transparent; color: var(--muted); background: transparent; font-size: 12px; }
.mode.is-active { border-color: var(--accent); color: var(--ink); font-weight: 700; }
.query-form { max-width: 640px; }
.query-results { max-width: 800px; margin-top: 35px; }
.empty-state { padding: 28px 0; border-top: 1px solid var(--line); color: var(--muted); font-family: 'DM Mono', monospace; font-size: 11px; }
.query-card { padding: 16px 0; border-top: 1px solid var(--line); }
.query-card-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.query-code { font-family: 'DM Mono', monospace; font-size: 12px; word-break: break-all; }
.status-pill { padding: 4px 7px; background: #dcecdf; color: #39734d; font-family: 'DM Mono', monospace; font-size: 9px; white-space: nowrap; }
.status-pill.bad { background: #f7ded6; color: #a54330; }
.status-pill.muted { background: var(--paper-deep); color: var(--muted); }
.query-meta { margin-top: 8px; color: var(--muted); font-size: 12px; }
.query-details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; padding: 12px 0 0; border-top: 1px dashed var(--line); }
.query-details span { display: block; color: var(--muted); font-family: 'DM Mono', monospace; font-size: 9px; }
.query-details b { display: block; margin-top: 3px; font-size: 11px; word-break: break-all; }
.replace-form { max-width: 640px; }
.replace-form > input { margin-bottom: 15px; }
.check-line { display: flex; align-items: flex-start; gap: 9px; color: var(--muted); font-size: 12px; }
.check-line input { width: 15px; height: 15px; flex: 0 0 auto; margin-top: 2px; accent-color: var(--accent); }
.replacement-result { max-width: 640px; margin-top: 28px; padding: 20px; border: 1px solid var(--line); background: var(--card); }
.replacement-result h3 { margin: 0 0 5px; font-size: 16px; }
.replacement-result p { margin: 0 0 14px; color: var(--muted); font-size: 12px; }
.replacement-code { display: flex; gap: 8px; }
.replacement-code input { font-family: 'DM Mono', monospace; }
.guide-head { margin-bottom: 46px; }
.guide-layout { display: grid; grid-template-columns: 190px minmax(0, 820px); align-items: start; gap: clamp(34px, 7vw, 100px); }
.guide-index { position: sticky; top: 24px; padding: 17px 0 10px; border-top: 1px solid var(--ink); }
.guide-index > p { margin: 0 0 13px; color: var(--muted); font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: .13em; text-transform: uppercase; }
.guide-index a { display: grid; grid-template-columns: 26px 1fr; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--muted); text-decoration: none; font-size: 11px; transition: color .2s ease, padding-left .2s ease; }
.guide-index a:hover { padding-left: 5px; color: var(--accent-dark); }
.guide-index b { color: var(--accent); font-family: 'DM Mono', monospace; font-size: 9px; font-weight: 500; }
.guide-content { min-width: 0; }
.guide-section { padding: 0 0 64px; scroll-margin-top: 24px; }
.guide-section + .guide-section { padding-top: 56px; border-top: 1px solid var(--line); }
.guide-section-title { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 28px; }
.guide-section-title > span { display: grid; width: 38px; height: 38px; flex: 0 0 auto; place-items: center; border: 1px solid var(--accent); border-radius: 50%; color: var(--accent-dark); font-family: 'DM Mono', monospace; font-size: 10px; }
.guide-section-title p { margin: 1px 0 3px; color: var(--accent-dark); font-family: 'DM Mono', monospace; font-size: 8px; letter-spacing: .15em; }
.guide-section-title h3 { margin: 0; font-family: 'Fraunces', Georgia, serif; font-size: clamp(24px, 3vw, 34px); font-weight: 600; letter-spacing: -.045em; }
.guide-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.guide-steps article { display: flex; gap: 15px; min-height: 164px; padding: 22px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255, 253, 248, .48); transition: background .25s ease, transform .25s ease; }
.guide-steps article:hover { position: relative; z-index: 1; background: #fff4df; transform: translateY(-3px); }
.guide-steps article > b { display: grid; width: 27px; height: 27px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: var(--accent); color: #fffaf0; font-family: 'DM Mono', monospace; font-size: 10px; font-weight: 500; }
.guide-steps h4, .security-callout h4 { margin: 2px 0 7px; font-size: 13px; }
.guide-steps p, .security-callout p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.75; }
.guide-lead { max-width: 650px; margin: -8px 0 22px; color: var(--muted); font-size: 12px; line-height: 1.75; }
.guide-link-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.guide-link { position: relative; display: flex; align-items: center; gap: 12px; min-height: 72px; padding: 14px 44px 14px 16px; border: 1px solid var(--line); background: var(--card); text-decoration: none; transition: border-color .2s ease, transform .25s ease, box-shadow .25s ease; }
.guide-link:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 15px 30px rgba(111, 63, 26, .09); }
.guide-link > span { color: var(--accent-dark); font-family: 'DM Mono', monospace; font-size: 8px; letter-spacing: .08em; }
.guide-link strong { font-size: 12px; }
.guide-link i { position: absolute; right: 16px; color: var(--accent); font-style: normal; }
.guide-link.primary { border-color: #e79a59; background: #f9c86f; }
.shortcut-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 10px; }
.shortcut-grid > div { padding: 15px 16px; border: 1px solid var(--line); background: rgba(255, 253, 248, .48); }
.shortcut-grid span { color: var(--accent-dark); font-family: 'DM Mono', monospace; font-size: 8px; letter-spacing: .12em; }
.shortcut-grid p { margin: 9px 0 0; color: var(--muted); font-size: 10px; }
.shortcut-grid kbd { min-width: 25px; display: inline-block; padding: 3px 6px; border: 1px solid #d8c1ae; border-bottom-width: 2px; border-radius: 4px; background: #fffdf8; color: var(--ink); font-family: 'DM Mono', monospace; font-size: 9px; text-align: center; box-shadow: 0 2px 0 #ead7c6; }
.shortcut-grid i { margin: 0 4px; font-style: normal; }
.guide-tip { margin: 10px 0 0; padding: 14px 16px; border-left: 3px solid var(--yellow); background: #fff4d8; color: var(--muted); font-size: 11px; line-height: 1.7; }
.guide-tip b { color: var(--ink); }
.guide-tip code { padding: 1px 4px; background: rgba(255,255,255,.65); font-family: 'DM Mono', monospace; }
.code-window { overflow: hidden; border: 1px solid #513224; border-radius: 12px 12px 4px 12px; background: #2e1f19; box-shadow: 0 18px 42px rgba(59, 32, 20, .16); }
.code-window-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 13px; border-bottom: 1px solid rgba(255,255,255,.09); }
.code-window-bar > span { width: 7px; height: 7px; border-radius: 50%; background: #f0774b; }
.code-window-bar > span:nth-child(2) { background: #f2c762; }
.code-window-bar > span:nth-child(3) { background: #7eaf83; }
.code-window-bar b { margin-left: auto; color: #bfa99e; font-family: 'DM Mono', monospace; font-size: 8px; font-weight: 400; letter-spacing: .05em; }
.code-window pre { margin: 0; padding: 20px; overflow-x: auto; color: #f4cda6; font-family: 'DM Mono', monospace; font-size: 11px; line-height: 1.7; tab-size: 2; }
.security-callout { display: flex; gap: 15px; margin-top: 13px; padding: 18px; border: 1px solid #e4aa80; background: #f9e5d9; }
.security-callout > span { display: grid; width: 28px; height: 28px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: var(--accent-dark); color: #fff; font-family: 'DM Mono', monospace; font-size: 11px; }
.faq-list { border-top: 1px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 2px; font-size: 12px; font-weight: 700; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary i { color: var(--accent); font-family: 'DM Mono', monospace; font-size: 18px; font-style: normal; font-weight: 400; transition: transform .25s ease; }
.faq-list details[open] summary i { transform: rotate(45deg); }
.faq-list details p { max-width: 650px; margin: -5px 34px 19px 2px; color: var(--muted); font-size: 11px; line-height: 1.75; }
.guide-finish { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 34px; padding: 25px; border-radius: 2px 24px 2px 24px; background: var(--ink); color: var(--paper); }
.guide-finish span { color: #eeb578; font-family: 'DM Mono', monospace; font-size: 8px; letter-spacing: .15em; }
.guide-finish h3 { margin: 5px 0 0; font-family: 'Fraunces', Georgia, serif; font-size: 21px; font-weight: 500; }
.guide-finish .primary-button { background: var(--accent); }
.footer { display: flex; justify-content: space-between; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: .05em; text-transform: uppercase; }
.footer span:first-child { color: var(--ink); text-transform: none !important; }
.is-hidden { display: none !important; }
.contact-modal { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; padding: 24px; }
.contact-modal[hidden] { display: none; }
.contact-backdrop { position: absolute; inset: 0; background: rgba(55, 30, 18, .38); backdrop-filter: blur(7px); animation: modal-fade .22s ease both; }
.contact-dialog { position: relative; z-index: 1; width: min(430px, 100%); max-height: calc(100dvh - 48px); overflow: auto; padding: 33px 33px 28px; border: 1px solid rgba(255, 255, 255, .65); border-radius: 24px 24px 8px 24px; background: #fffaf0; box-shadow: 0 30px 90px rgba(70, 34, 16, .28); animation: modal-rise .3s cubic-bezier(.22, 1, .36, 1) both; }
.contact-close { position: absolute; top: 15px; right: 17px; width: 31px; height: 31px; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); background: transparent; font-size: 20px; line-height: 1; transition: transform .2s ease, color .2s ease, border-color .2s ease; }
.contact-close:hover { border-color: var(--accent); color: var(--accent-dark); transform: rotate(90deg); }
.contact-dialog h2 { margin: 0 0 9px; font-family: 'Fraunces', Georgia, serif; font-size: 34px; font-weight: 600; letter-spacing: -.06em; }
.contact-copy { max-width: 280px; margin: 0 0 20px; color: var(--muted); font-size: 13px; line-height: 1.75; }
.after-sales-image { display: block; width: 100%; height: auto; border-radius: 12px; box-shadow: 0 12px 30px rgba(70, 34, 16, .13); }
@keyframes modal-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes modal-rise { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }

@media (max-width: 760px) {
  .site-shell { padding: 0 20px 22px; }
  .topbar { height: 72px; }
  .topbar-meta > span:not(.status-dot) { display: none; }
  .join-button { margin-left: 5px; padding: 8px 11px; font-size: 10px; }
  .intro-band { min-height: 0; align-items: flex-start; flex-direction: column; gap: 30px; padding: 48px 0 36px; }
  h1 { font-size: clamp(43px, 15vw, 70px); }
  .intro-text { max-width: 300px; font-size: 14px; white-space: normal; }
  .promise-row { flex-wrap: wrap; gap: 9px 16px; }
  .hero-showcase { width: 100%; max-width: 350px; height: 215px; align-self: flex-end; transform: rotate(1deg); }
  .hero-logo { width: 150px; height: 150px; top: 25px; left: calc(50% - 75px); }
  .hero-orbit-one { width: 184px; height: 184px; top: 15px; left: calc(50% - 92px); }
  .hero-orbit-two { width: 124px; height: 124px; top: 45px; left: calc(50% - 62px); }
  .quick-jump-card { grid-template-columns: 48px minmax(0, 1fr); gap: 13px; margin-bottom: 31px; padding: 15px; border-radius: 18px; }
  .quick-jump-icon { width: 48px; height: 48px; border-radius: 13px; }
  .quick-jump-copy h2 { font-size: 16px; }
  .quick-jump-copy p { font-size: 11px; line-height: 1.5; }
  .quick-jump-button { grid-column: 1 / -1; width: 100%; min-height: 44px; padding: 11px 15px; }
  .workspace-tabs { overflow-x: auto; margin: 0 -20px; padding: 0 20px 14px; }
  .tab { flex: 0 0 auto; padding-right: 12px; padding-left: 12px; }
  .workspace { padding-top: 32px; }
  .flow-head { margin-bottom: 31px; }
  .flow-head h2 { font-size: 23px; }
  .progress-track { gap: 5px; margin-bottom: 37px; }
  .track-step span { font-size: 8px; }
  .stage { display: block; }
  .stage-copy { margin-bottom: 28px; }
  .stage-copy p { max-width: 100%; }
  .input-row { grid-template-columns: 1fr; }
  .input-row .primary-button { width: 100%; }
  .button-row { align-items: stretch; flex-direction: column; }
  .button-row .primary-button, .button-row .secondary-button { width: 100%; }
  .button-row .field-hint { order: 2; }
  .review-box div { align-items: flex-start; flex-direction: column; gap: 4px; }
  .review-box strong { text-align: left; }
  .result-details { grid-template-columns: 1fr; }
  .query-details { grid-template-columns: 1fr; }
  .guide-head { margin-bottom: 32px; }
  .guide-layout { display: block; }
  .guide-index { position: static; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 15px; margin-bottom: 45px; }
  .guide-index > p { grid-column: 1 / -1; }
  .guide-section { padding-bottom: 48px; }
  .guide-section + .guide-section { padding-top: 43px; }
  .guide-steps, .guide-link-row, .shortcut-grid { grid-template-columns: 1fr; }
  .guide-steps article { min-height: 0; }
  .guide-finish { align-items: stretch; flex-direction: column; }
  .guide-finish .primary-button { width: 100%; }
  .footer { flex-direction: column; gap: 7px; }
}
