:root {
  color-scheme: dark;
  --bg: #101820;
  --panel: rgba(23, 34, 43, .88);
  --panel-edge: rgba(210, 228, 232, .1);
  --text: #edf4f3;
  --muted: #94a4a8;
  --dim: #65767b;
  --mint: #a8f0d0;
  --mint-deep: #58c7a4;
  --yellow: #e6c78a;
  --danger: #f0a7a2;
  font-family: "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: radial-gradient(ellipse at 50% -28%, #273941 0, transparent 52%), var(--bg);
  color: var(--text);
}
button, input { font: inherit; }
button { color: inherit; }
.shell { width: min(1112px, calc(100% - 56px)); margin-inline: auto; }
.ambient { position: fixed; z-index: -1; border-radius: 50%; filter: blur(100px); pointer-events: none; opacity: .11; }
.ambient-one { width: 330px; height: 330px; top: 12%; left: -190px; background: #62d7b0; }
.ambient-two { width: 300px; height: 300px; top: 47%; right: -190px; background: #99b7eb; opacity: .08; }
.topbar { height: 82px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(225, 240, 240, .08); }
.brand { display: inline-flex; gap: 11px; align-items: center; color: var(--text); text-decoration: none; font-size: 17px; letter-spacing: -.07em; font-weight: 800; }
.brand-accent { color: var(--mint); }
.brand-mark { width: 25px; height: 25px; display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; gap: 3px; padding: 4px; border: 1px solid rgba(168, 240, 208, .45); border-radius: 8px; transform: rotate(-8deg); }
.brand-mark span { display: block; border-radius: 3px; background: var(--mint); }
.brand-mark span:nth-child(1) { height: 8px; opacity: .55; }
.brand-mark span:nth-child(2) { height: 13px; opacity: .78; }
.brand-mark span:nth-child(3) { height: 17px; }
.top-note { display: flex; align-items: center; gap: 8px; color: #bac7c8; font-size: 11px; font-weight: 700; letter-spacing: .05em; }
.live-dot, .badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint-deep); box-shadow: 0 0 12px rgba(88, 199, 164, .62); }
.version { margin-left: 2px; padding: 3px 6px; border: 1px solid rgba(255,255,255,.1); border-radius: 5px; color: var(--dim); font: 10px "DM Mono", monospace; }
.main-layout { min-height: calc(100vh - 82px); display: grid; grid-template-columns: minmax(0, .94fr) minmax(420px, 1fr); align-items: center; gap: clamp(52px, 8vw, 112px); padding-top: 46px; padding-bottom: 42px; }
.intro { padding-bottom: 18px; }
.eyebrow, .card-kicker, .field-label { font-family: "DM Mono", monospace; font-size: 10px; letter-spacing: .14em; color: #9fbbb6; }
.eyebrow { display: flex; align-items: center; gap: 11px; margin-bottom: 25px; }
.eyebrow-line { width: 27px; height: 1px; background: var(--mint-deep); }
h1 { margin: 0; max-width: 590px; font-size: clamp(42px, 5.7vw, 67px); line-height: 1.04; letter-spacing: -.075em; font-weight: 600; }
h1 span { color: var(--mint); }
.intro-copy { max-width: 420px; margin: 24px 0 35px; color: #9aabad; font-size: 15px; line-height: 1.8; }
.stage-flow { display: flex; align-items: center; gap: 11px; color: #819094; font-size: 11px; font-weight: 700; }
.stage { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.stage.active { color: #dceae5; }
.stage-icon { width: 23px; height: 23px; display: grid; place-items: center; border: 1px solid rgba(195, 219, 213, .14); border-radius: 7px; color: var(--mint); font: 13px "DM Mono", monospace; }
.stage-connector { width: clamp(12px, 2vw, 28px); height: 1px; background: linear-gradient(90deg, rgba(168,240,208,.34), rgba(168,240,208,.08)); }
.resolver-card { position: relative; padding: 30px; border: 1px solid var(--panel-edge); border-radius: 16px; background: linear-gradient(145deg, rgba(28, 42, 50, .96), rgba(19, 29, 37, .97)); box-shadow: 0 28px 90px rgba(0,0,0,.24), inset 0 1px rgba(255,255,255,.025); }
.resolver-card::before { content: ""; position: absolute; top: -1px; left: 30px; width: 70px; height: 1px; background: linear-gradient(90deg, transparent, var(--mint-deep), transparent); }
.card-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 26px; }
.card-kicker { margin-bottom: 8px; color: #84a49d; font-size: 9px; }
h2 { margin: 0; font-size: 22px; letter-spacing: -.05em; font-weight: 650; }
.service-badge { flex: 0 0 auto; display: flex; align-items: center; gap: 7px; margin-top: 4px; padding: 7px 9px; border: 1px solid rgba(168,240,208,.14); border-radius: 7px; color: #c7d8d2; font-size: 10px; font-weight: 700; }
.service-select { max-width: 150px; border: 0; outline: 0; background: transparent; color: #c7d8d2; cursor: pointer; font: inherit; }
.service-select option { background: #17222b; color: var(--text); }
.badge-dot { width: 6px; height: 6px; }
.field-label { display: block; margin-bottom: 9px; color: #92a5a5; font-size: 9px; }
.url-field { display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 9px 0 13px; border: 1px solid rgba(204, 225, 224, .14); border-radius: 9px; background: rgba(7, 14, 19, .42); transition: border-color .18s, box-shadow .18s; }
.url-field:focus-within { border-color: rgba(128, 223, 185, .65); box-shadow: 0 0 0 3px rgba(88, 199, 164, .08); }
.url-field svg { flex: 0 0 18px; width: 18px; fill: none; stroke: #78918d; stroke-width: 1.6; stroke-linecap: round; }
.url-field input, .domain-input { min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 12px; }
input::placeholder { color: #68777d; opacity: 1; }
.paste-button { padding: 7px 9px; border: 1px solid rgba(204,225,224,.1); border-radius: 6px; background: rgba(255,255,255,.025); color: #b4c2c0; cursor: pointer; font-size: 10px; font-weight: 700; transition: background .15s, border-color .15s; }
.paste-button:hover { border-color: rgba(168,240,208,.28); background: rgba(168,240,208,.07); }
.field-hint { margin: 8px 0 0; color: #77878b; font-size: 10px; line-height: 1.55; }
.advanced-options { margin-top: 19px; padding-top: 15px; border-top: 1px solid rgba(225,240,240,.07); }
.advanced-options summary { display: flex; align-items: center; gap: 8px; color: #b1c0bf; cursor: pointer; list-style: none; font-size: 11px; font-weight: 700; }
.advanced-options summary::-webkit-details-marker { display: none; }
.chevron { display: inline-block; flex: 0 0 14px; width: 14px; height: 14px; fill: none; stroke: var(--mint); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .18s; }
.advanced-options[open] .chevron { transform: rotate(180deg); }
.optional { margin-left: auto; color: #66777b; font: 9px "DM Mono", monospace; letter-spacing: .08em; }
.advanced-options .field-label { margin-top: 16px; }
.domain-input { height: 40px; padding: 0 11px; border: 1px solid rgba(204,225,224,.12); border-radius: 7px; background: rgba(7,14,19,.32); }
.domain-input:focus { border-color: rgba(128, 223, 185, .55); }
.submit-button { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 48px; margin-top: 22px; border: 0; border-radius: 8px; background: var(--mint); color: #12231f; cursor: pointer; font-size: 12px; font-weight: 800; box-shadow: 0 7px 22px rgba(93, 214, 167, .1); transition: transform .16s, background .16s, box-shadow .16s; }
.submit-button svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .16s; }
.submit-button:hover { background: #c2f6dc; transform: translateY(-1px); box-shadow: 0 10px 26px rgba(93, 214, 167, .18); }
.submit-button:hover svg { transform: translateX(3px); }
.submit-button:disabled { cursor: wait; opacity: .72; transform: none; }
.loading-spinner { width: 14px; height: 14px; border: 2px solid rgba(18,35,31,.25); border-top-color: #12231f; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.result-panel { margin-top: 18px; padding: 14px; border: 1px solid rgba(168,240,208,.2); border-radius: 8px; background: rgba(88,199,164,.055); }
.result-panel.error { border-color: rgba(240,167,162,.23); background: rgba(240,167,162,.045); }
.result-topline { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; }
.result-status { color: var(--mint); font: 10px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .08em; }
.error .result-status { color: var(--danger); }
.result-url { display: block; overflow-wrap: anywhere; color: #e5f2ec; font-size: 12px; line-height: 1.6; text-decoration-color: rgba(168,240,208,.35); text-underline-offset: 3px; }
.result-message { margin: 8px 0 0; color: #9aabad; font-size: 10px; line-height: 1.6; }
.copy-button { padding: 5px 8px; border: 1px solid rgba(168,240,208,.18); border-radius: 5px; background: transparent; color: #b7d4c8; cursor: pointer; font-size: 10px; }
.copy-button:hover { background: rgba(168,240,208,.08); }
.privacy-note { display: flex; align-items: flex-start; gap: 8px; margin-top: 20px; color: #718287; font-size: 9px; line-height: 1.55; }
.privacy-note svg { flex: 0 0 15px; width: 15px; fill: none; stroke: #6e9b8c; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.page-footer { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 20px; margin-top: 16px; padding-top: 18px; border-top: 1px solid rgba(225,240,240,.07); color: #697a7f; font-size: 10px; }
.page-footer a { color: #9aacaa; text-decoration: none; }
.page-footer a:hover { color: var(--mint); }
.page-footer a span { margin-left: 3px; color: var(--mint-deep); }
.noscript { position: fixed; inset: 20px 20px auto; padding: 14px; border: 1px solid #af5d5d; border-radius: 8px; background: #311f24; color: #fff; }

@media (max-width: 840px) {
  .main-layout { grid-template-columns: 1fr; max-width: 620px; gap: 35px; padding-top: 58px; }
  .intro { padding-bottom: 0; }
  .intro-copy { margin-bottom: 25px; }
  h1 { font-size: clamp(43px, 9vw, 62px); }
  .page-footer { margin-top: 0; }
}
@media (max-width: 520px) {
  .shell { width: min(100% - 32px, 480px); }
  .topbar { height: 68px; }
  .main-layout { min-height: calc(100vh - 68px); padding-top: 45px; gap: 30px; }
  .top-note { font-size: 10px; }
  .intro-copy { margin-top: 18px; font-size: 13px; }
  .stage-flow { gap: 7px; font-size: 9px; }
  .stage { gap: 5px; }
  .stage-icon { width: 20px; height: 20px; }
  .stage-connector { width: 12px; }
  .resolver-card { padding: 21px 18px; border-radius: 13px; }
  .card-heading { flex-direction: column; gap: 12px; margin-bottom: 20px; }
  .service-badge { margin-top: 0; }
  h2 { font-size: 20px; }
  .url-field { min-height: 50px; gap: 8px; padding-left: 10px; }
  .url-field input { font-size: 11px; }
  .page-footer { flex-direction: column; gap: 8px; font-size: 9px; }
}
