:root {
  --canvas: #f4f6fa; --surface: #ffffff; --ink: #172b45; --muted: #53647b;
  --blue: #175cd3; --blue-hover: #124aaa; --blue-pale: #edf4ff; --line: #dfe6ef;
  --red: #a62936; --red-pale: #fff2f3; --green: #236346; --green-pale: #eff8f2;
  --radius: 14px; --ease: cubic-bezier(.16, 1, .3, 1);
  color: var(--ink); background: var(--canvas); font-family: 'Segoe UI', ui-sans-serif, system-ui, sans-serif;
  font-synthesis: none; line-height: 1.55; font-size: 16px; scrollbar-color: #a8b8cd var(--canvas);
}
* { box-sizing: border-box; }
body { margin: 0; }
main { width: min(720px, calc(100% - 40px)); margin: 72px auto 32px; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(2.15rem, 5.5vw, 3rem); line-height: 1.12; font-weight: 670; letter-spacing: -.03em; text-wrap: balance; }
.intro { margin-bottom: 30px; }
.intro .lede { font-size: 1.25rem; line-height: 1.4; color: var(--ink); margin: 14px 0 8px; }
.intro > p:last-child { color: var(--muted); max-width: 60ch; }
.check-surface { background: var(--surface); border-radius: var(--radius); box-shadow: 0 10px 35px -14px #1d34552c; padding: 30px 32px 26px; }
h2 { font-size: 1.13rem; line-height: 1.35; font-weight: 650; letter-spacing: -.012em; }
ol { margin: 16px 0 26px; padding-left: 22px; }
li { padding-left: 7px; margin: 12px 0; color: var(--muted); }
li::marker { color: var(--blue); font-weight: 650; font-variant-numeric: tabular-nums; }
strong { color: var(--ink); font-weight: 650; }
.status { display: flex; align-items: flex-start; gap: 12px; background: var(--blue-pale); color: #164784; border-radius: 10px; padding: 16px 18px; }
.status-mark { flex: 0 0 auto; display: flex; margin-top: 2px; }
#status-title { color: inherit; font-size: 1rem; font-weight: 650; }
#status-detail { margin-top: 3px; font-size: .875rem; color: inherit; }
.status[data-tone="error"] { background: var(--red-pale); color: var(--red); }
.status[data-tone="complete"] { background: var(--green-pale); color: var(--green); }
.status[data-tone="working"] .status-mark { animation: working 1.8s linear infinite; }
@keyframes working { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }
.browser-notice { margin-top: 16px; color: var(--muted); font-size: .9375rem; }
a { color: var(--blue); text-underline-offset: 3px; }
.own-tab { display: inline-block; margin-top: 12px; font-weight: 600; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
button { appearance: none; border: 0; border-radius: 8px; min-height: 46px; padding: 11px 18px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; font: inherit; font-weight: 620; cursor: pointer; transition: background-color .18s var(--ease), box-shadow .18s var(--ease); }
.primary { background: var(--blue); color: white; }
.primary:hover:not(:disabled) { background: var(--blue-hover); }
.secondary { background: #eef2f7; color: var(--ink); }
.secondary:hover:not(:disabled) { background: #e0e7f0; }
button:disabled { background: #e8edf4; color: #586a82; cursor: not-allowed; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
::selection { color: white; background: #175cd3; }
.results { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
dl { margin: 18px 0 24px; }
.identity-row { display: grid; grid-template-columns: minmax(120px, .85fr) minmax(0, 1.15fr); gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .9375rem; }
dt { color: var(--muted); }
dd { margin: 0; color: var(--ink); font-weight: 600; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
dd.unavailable { font-weight: 400; color: var(--muted); }
h3 { font-size: .9375rem; font-weight: 650; }
.build-value { margin-top: 7px; font-family: ui-monospace, Consolas, monospace; font-size: .96rem; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.build-value.unavailable { font-family: inherit; font-size: .9375rem; color: var(--muted); }
.build-comparison { margin-top: 5px; color: var(--muted); font-size: .875rem; }
.interpretation { margin-top: 20px; color: var(--muted); font-size: .875rem; line-height: 1.6; }
.privacy { display: flex; gap: 13px; padding: 24px 4px 0; color: var(--muted); }
.privacy svg { color: var(--blue); flex: 0 0 auto; margin-top: 2px; }
.privacy p { font-size: .875rem; }
.privacy p + p { margin-top: 5px; }
footer { color: var(--muted); font-size: .75rem; margin: 25px 4px 0; }
.copy-feedback { color: var(--green); font-size: .875rem; margin-top: 12px; }
.copy-feedback:empty { display: none; }
.copy-fallback { margin-top: 18px; }
.copy-fallback label { display: block; font-weight: 600; font-size: .875rem; margin-bottom: 8px; }
textarea { width: 100%; resize: vertical; border: 1px solid #b8c7d9; border-radius: 8px; padding: 12px; font: 13px/1.55 ui-monospace, Consolas, monospace; color: var(--ink); background: #f9fbfe; caret-color: var(--blue); }
.return-phone { color: var(--muted); font-size: .875rem; margin-top: 16px; }
[hidden] { display: none !important; }
@media (max-width: 560px) {
  main { width: calc(100% - 28px); margin-top: 36px; }
  .intro { margin: 0 6px 24px; }
  .intro .lede { font-size: 1.1rem; }
  .check-surface { padding: 23px 20px; }
  li { padding-left: 3px; font-size: .9375rem; }
  .status { padding: 14px; gap: 10px; }
  .identity-row { grid-template-columns: minmax(108px, .85fr) minmax(0, 1.15fr); gap: 10px; }
  .actions { gap: 8px; }
  button { padding-inline: 15px; }
  .privacy { padding-inline: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
