/* ===== Design tokens (base values; the chosen design at the bottom overrides some) ===== */
:root {
  --bg: #ffffff;
  --surface: #f6f7f9;
  --text: #1a1d23;
  --muted: #5b6270;
  --line: #e3e6eb;
  --link: #1d4ed8;
  --header-bg: #ffffff;
  --header-text: #1a1d23;
  --radius: 12px;
  --green: #15803d; --green-bg: #ecfdf3;
  --yellow: #a15c07; --yellow-bg: #fff8e6;
  --red: #b91c1c; --red-bg: #fef1f1;
  --grey: #5b6270; --grey-bg: #f1f2f4;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; } /* "hidden" must win over display: flex/grid rules */
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.65 var(--font); }
a { color: var(--link); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
img { max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.25; margin: 1.6em 0 .5em; }
h1 { font-size: clamp(1.75rem, 1.3rem + 2vw, 2.4rem); margin-top: .4em; letter-spacing: -.01em; }
h2 { font-size: 1.45rem; }
h3 { font-size: 1.15rem; }
p, ul, ol { margin: 0 0 1em; }
code, pre { font-family: var(--mono); font-size: .92em; }
:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; border-radius: 4px; }
.container { width: 100%; max-width: 820px; margin: 0 auto; padding: 0 16px; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 8px; background: var(--bg); padding: 8px 12px; z-index: 10; }

/* ===== Header and menu ===== */
.site-header { background: var(--header-bg); color: var(--header-text); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; position: relative; max-width: 1080px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; color: inherit; text-decoration: none; }
.logo-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-bg); }
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav a, .main-nav summary { color: inherit; text-decoration: none; font-weight: 500; font-size: .98rem; cursor: pointer; }
.main-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.nav-toggle summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; font-weight: 600; }
.nav-toggle summary::-webkit-details-marker, .sub summary::-webkit-details-marker { display: none; }
.burger, .burger::before, .burger::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
.burger::before, .burger::after { content: ""; position: absolute; }
.burger::before { top: -6px; } .burger::after { top: 6px; }
.sub summary { list-style: none; }
.sub summary::after { content: " ▾"; font-size: .8em; }

/* Phone: menu opens below the header */
@media (max-width: 799px) {
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--header-bg); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; z-index: 20; }
  .header-inner:has(.nav-toggle[open]) .main-nav { display: block; }
  .main-nav li a, .main-nav .sub > summary { display: flex; align-items: center; min-height: 48px; border-bottom: 1px solid var(--line); }
  .sub ul { padding-left: 16px; }
}
/* Desktop: menu always visible in one row */
@media (min-width: 800px) {
  .nav-toggle { display: none; }
  .main-nav > ul { display: flex; gap: 26px; align-items: center; }
  .has-sub { position: relative; }
  .sub ul { position: absolute; right: 0; top: calc(100% + 12px); min-width: 250px; background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 32px rgba(16, 24, 40, .12); padding: 6px; z-index: 20; }
  .sub li a { display: block; padding: 9px 12px; border-radius: 8px; }
  .sub li a:hover { background: var(--surface); }
}

/* ===== Breadcrumbs, trust line, quick answer ===== */
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 18px 0 0; font-size: .88rem; color: var(--muted); }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; }
.breadcrumbs a { color: var(--muted); }
.trust-line { color: var(--muted); font-size: .92rem; margin-top: -.2em; }
.quick-answer { font-size: 1.08rem; background: var(--surface); border-radius: var(--radius); padding: 16px 18px; border: 1px solid var(--line); }

/* ===== Live status box ===== */
.status-box { margin: 20px 0 28px; }
.status-hero { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); border-left: 6px solid var(--c); background: var(--c-bg); }
.status-icon { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--c); color: #fff; font-size: 1.5rem; font-weight: 700; }
.status-kicker { margin: 0; color: var(--muted); font-size: .9rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.status-headline { margin: 2px 0 4px; font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2rem); font-weight: 800; color: var(--c); line-height: 1.2; }
.status-reason { margin: 0 0 6px; }
.status-meta { margin: 0; color: var(--muted); font-size: .88rem; }
.status--green { --c: var(--green); --c-bg: var(--green-bg); }
.status--yellow { --c: var(--yellow); --c-bg: var(--yellow-bg); }
.status--red { --c: var(--red); --c-bg: var(--red-bg); }
.status--unknown { --c: var(--grey); --c-bg: var(--grey-bg); }
.status-loading { padding: 20px; background: var(--surface); border-radius: var(--radius); min-height: 140px; }

.service-list { list-style: none; padding: 0; margin: 12px 0 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.service + .service { border-top: 1px solid var(--line); }
.service summary { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 8px 16px; cursor: pointer; list-style: none; }
.service summary::-webkit-details-marker { display: none; }
.service summary::after { content: "▾"; color: var(--muted); margin-left: 4px; transition: transform .15s; }
.service details[open] summary::after { transform: rotate(180deg); }
.service-name { font-weight: 600; }
.service-label { margin-left: auto; color: var(--c); font-weight: 600; font-size: .95rem; }
.dot { flex: none; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--c); color: #fff; font-size: .8rem; font-weight: 700; }
.parts { list-style: none; margin: 0; padding: 4px 16px 8px 50px; display: grid; gap: 2px; }
.part { display: flex; align-items: center; gap: 10px; font-size: .95rem; min-height: 32px; }
.part .dot { width: 16px; height: 16px; font-size: .6rem; }
.part-label { margin-left: auto; color: var(--c); font-size: .88rem; }
.parts-note { margin: 0; padding: 0 16px 8px 50px; color: var(--muted); font-size: .92rem; }
.report-btn { margin: 4px 16px 14px 50px; min-height: 44px; padding: 0 16px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font: inherit; font-size: .95rem; font-weight: 600; cursor: pointer; }
.report-btn:hover { border-color: var(--muted); }

/* ===== Ad slots: space reserved so nothing jumps ===== */
.ad-slot { min-height: 280px; margin: 28px 0; display: grid; place-items: center; }
@media (min-width: 800px) { .ad-slot { min-height: 250px; } }
.ad-slot--preview { border: 2px dashed var(--line); border-radius: var(--radius); color: var(--muted); font-size: .9rem; background: repeating-linear-gradient(45deg, transparent 0 12px, var(--surface) 12px 24px); }

/* ===== Tables, FAQ, related box ===== */
.table-wrap { overflow-x: auto; margin: 0 0 1.2em; border: 1px solid var(--line); border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--surface); font-weight: 600; }
tr:last-child td { border-bottom: 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; padding: 14px 0; min-height: 48px; }
.related { margin: 32px 0; padding: 18px 20px; background: var(--surface); border-radius: var(--radius); }
.related h2 { margin-top: 0; font-size: 1.15rem; }
.related ul { margin: 0; padding-left: 1.1em; columns: 2 240px; }

/* ===== Footer ===== */
.site-footer { margin-top: 56px; padding: 28px 0 40px; border-top: 1px solid var(--line); background: var(--surface); font-size: .92rem; color: var(--muted); }
.footer-links { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 20px; padding: 0; margin: 0 0 14px; }
.footer-links a, .link-button { color: var(--text); display: inline-flex; align-items: center; min-height: 44px; }
.link-button { background: none; border: 0; padding: 0; font: inherit; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.footer-note { margin: 0; }

/* ===== Homepage live tool ===== */
.subheading { font-size: 1.1rem; color: var(--muted); margin: -.2em 0 .4em; }
.live-tool { display: flex; flex-direction: column; gap: 14px; margin: 20px 0 8px; }
.live-verdict { min-height: 150px; }
.verdict { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--radius); background: var(--c); color: #fff; box-shadow: 0 10px 30px rgba(16,24,40,.15); }
.verdict .status-icon { background: rgba(255,255,255,.2); }
.verdict-headline { margin: 0 0 6px; font-size: clamp(1.35rem, 1.1rem + 1.2vw, 1.85rem); font-weight: 800; line-height: 1.2; }
.verdict-line { margin: 0; }
.verdict a { color: #fff; }
.checked-line { margin: 8px 2px 0; font-size: .88rem; color: var(--muted); }
.checked-line .link-button { color: var(--link); min-height: 32px; }
.live-updates { margin: 0; padding: 14px 18px 14px 36px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.live-updates li { margin-bottom: 6px; }
.live-updates-wrap h2 { margin: 6px 0 8px; font-size: 1.15rem; }
.features-intro { margin: 6px 0 8px; }
.features { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .features { grid-template-columns: 1fr 1fr; } }
.feature { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); min-height: 64px; }
.feature-text { display: flex; flex-direction: column; min-width: 0; }
.feature-name { font-weight: 600; }
.feature-tip { font-size: .82rem; color: var(--muted); line-height: 1.35; }
.feature-word { margin-left: auto; text-align: right; font-weight: 600; font-size: .92rem; color: var(--c); }
.card-since { display: block; font-weight: 400; font-size: .78rem; color: var(--muted); }
.report-widget { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.report-heading { margin: 0 0 10px; font-size: 1.2rem; }
.report-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { min-height: 46px; padding: 0 18px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font: inherit; font-weight: 600; cursor: pointer; }
.btn-primary { background: #0f1b33; border-color: #0f1b33; color: #fff; }
.report-form fieldset { border: 0; padding: 0; margin: 14px 0 10px; display: flex; flex-wrap: wrap; gap: 8px; }
.report-form legend { font-weight: 700; margin-bottom: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); cursor: pointer; font-size: .95rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.report-thanks { margin: 12px 0 0; }
.chart-wrap { margin: 16px 0 0; }
.chart-wrap figcaption { font-size: .85rem; color: var(--muted); margin-top: 4px; }
.report-chart { width: 100%; height: auto; aspect-ratio: 4 / 1; display: block; }
.report-chart rect { fill: #3b5b9a; }
.report-chart text { font-size: 11px; fill: var(--muted); }
/* Outage mode: user report chart moves up, right under the answer */
.outage-mode .live-updates-wrap { order: 1; }
.outage-mode .report-widget { order: 2; }
.outage-mode .features-wrap { order: 3; }
.outage-mode .live-verdict { order: 0; }

/* ===== Guides ===== */
.mini-status { padding: 14px 16px; border-radius: var(--radius); border-left: 6px solid var(--c, var(--grey)); background: var(--c-bg, var(--grey-bg)); min-height: 72px; margin: 16px 0 0; }
.mini-status p { margin: 0; }
.mini-status strong { color: var(--c); }
.outage-banner { margin: 14px 0 0; padding: 12px 16px; border-radius: var(--radius); background: var(--red); color: #fff; font-weight: 700; }
.outage-banner a { color: #fff; }
.toc { margin: 18px 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 16px; }
.toc summary { cursor: pointer; font-weight: 700; min-height: 48px; display: flex; align-items: center; }
.toc ol { margin: 0 0 14px; padding-left: 1.3em; }
.toc li { margin: 4px 0; }
h2[id], h3[id] { scroll-margin-top: 12px; }
.fix-vote { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 4px 0 20px; font-size: .92rem; color: var(--muted); }
.btn-small { min-height: 36px; padding: 0 14px; font-size: .9rem; }
.speed-meter { margin: 18px 0 8px; }
.meter-heading { margin: 0 0 8px; font-size: 1.15rem; }
.speed-chart { width: 100%; height: auto; aspect-ratio: 4 / 1; display: block; }
.speed-chart polyline { fill: none; stroke: #3b5b9a; stroke-width: 2; stroke-linejoin: round; }
.speed-chart circle { fill: #3b5b9a; }
.speed-chart text { font-size: 11px; fill: var(--muted); }

/* ===================================================================
   Chosen design (18 Nov 2026): Option B "Bold status banner".
   Navy header, solid colour status block, cards on a light grey page.
   These rules come last, so they override the base look above.
   =================================================================== */
:root {
  --bg: #f4f6fa;
  --surface: #ffffff;
  --line: #dde2ea;
  --header-bg: #0f1b33;
  --header-text: #ffffff;
  --link: #1d4ed8;
  --radius: 14px;
}
.site-header { border-bottom: 0; }
.nav-toggle summary { border-color: rgba(255,255,255,.3); }
.logo-dot { box-shadow: 0 0 0 4px rgba(34,197,94,.35); background: #22c55e; }
@media (max-width: 799px) { .main-nav li a, .main-nav .sub > summary { border-color: rgba(255,255,255,.12); } }
.status-hero { border: 0; color: #fff; background: var(--c); box-shadow: 0 10px 30px rgba(16,24,40,.15); padding: 24px; }
.status-icon { background: rgba(255,255,255,.2); }
.status-kicker, .status-meta { color: rgba(255,255,255,.85); }
.status-headline { color: #fff; }
.service-list { border: 0; display: grid; gap: 10px; overflow: visible; }
.service { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.service + .service { border-top: 1px solid var(--line); }
.quick-answer { border-left: 5px solid var(--link); }
.report-btn { background: var(--bg); }
.site-footer { background: #0f1b33; color: rgba(255,255,255,.75); border-top: 0; }
.footer-links a, .link-button { color: #fff; }
.related { border: 1px solid var(--line); }
.table-note { font-size: .85rem; color: var(--muted); margin-top: -.6em; }

/* ===== Data pages: service grid ===== */
.overall { margin: 16px 0 6px; padding: 14px 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); font-size: 1.05rem; }
.svc-status { font-weight: 600; color: var(--c, var(--text)); white-space: nowrap; }
.mini-row { margin: 8px 0 14px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.parts--inline { padding: 6px 0 0; }
code.copy { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 2px 6px; }
.copy-btn { margin-left: 6px; min-height: 30px; padding: 0 10px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); font: inherit; font-size: .8rem; cursor: pointer; }
.not-this { font-size: .92rem; color: var(--muted); }
.log-filters { display: flex; gap: 14px; flex-wrap: wrap; } .log-filters select { min-height: 40px; margin-left: 6px; font: inherit; }

/* Contact form */
.contact-form { display: grid; gap: 12px; max-width: 520px; margin: 8px 0 20px; }
.contact-form label { display: grid; gap: 4px; font-weight: 600; }
.contact-form input, .contact-form select, .contact-form textarea { font: inherit; padding: 10px; border: 1px solid var(--line, #ccc); border-radius: 8px; background: var(--bg, #fff); color: inherit; }
.contact-form button { justify-self: start; }
.form-result { margin: 0; font-weight: 600; }

/* ---------- Interactive graphics ---------- */
/* Tooltip shared by all charts (filled by site.js from data-tip) */
.tip { position: fixed; z-index: 50; max-width: 260px; padding: 7px 10px; border-radius: 8px; background: #0f1b33; color: #fff;
  font-size: .82rem; line-height: 1.35; pointer-events: none; box-shadow: 0 6px 20px rgba(0,0,0,.18); opacity: 0; transform: translateY(4px);
  transition: opacity .12s, transform .12s; }
.tip.show { opacity: 1; transform: none; }

/* Report chart */
.report-chart .hit, .speed-chart .hit { fill: transparent; cursor: crosshair; }
.report-chart .bar rect:not(.hit) { fill: #3b5b9a; transition: fill .15s; transform-box: fill-box; transform-origin: bottom; animation: grow .6s ease-out both; }
.report-chart .bar:hover rect:not(.hit), .report-chart .bar.active rect:not(.hit) { fill: #1d4ed8; }
.report-chart .bar--now rect:not(.hit) { fill: #6d8fd4; }
@keyframes grow { from { transform: scaleY(0); } }

/* Speed chart cursor */
.speed-chart .cursor { fill: #1d4ed8; stroke: #fff; stroke-width: 1.5; transition: cx .08s, cy .08s; }

/* 24-hour timeline */
.timeline { margin: 18px 0 8px; }
.timeline figcaption { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; font-size: .9rem; margin-bottom: 8px; }
.tl-legend { color: var(--muted); font-size: .78rem; }
.tl-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin: 0 4px 0 8px; vertical-align: -1px; }
.tl-legend i:first-child { margin-left: 0; }
.tl-row { display: grid; grid-template-columns: 92px 1fr; gap: 10px; align-items: center; margin: 6px 0; }
.tl-name { font-size: .85rem; font-weight: 600; }
.tl { display: flex; gap: 2px; height: 30px; }
.tl-c { flex: 1; border-radius: 3px; cursor: pointer; transition: transform .12s, filter .12s; }
.tl-c:hover, .tl-c.active { transform: scaleY(1.18); filter: brightness(1.1); }
.tl--ok { background: #22a35a; }
.tl--slow { background: #e3b341; }
.tl--partial { background: #e8781a; }
.tl--major { background: #d03030; }
.tl--none { background: #d6dae0; }
.tl-axis { display: flex; justify-content: space-between; margin-left: 102px; font-size: .75rem; color: var(--muted); }
@media (max-width: 480px) {
  .tl-row { grid-template-columns: 1fr; gap: 4px; }
  .tl-axis { margin-left: 0; }
  .tl { gap: 1px; height: 26px; }
}

/* Live feeling: pulsing "live" dot, flash when a status changes */
.live-verdict .checked-line::before, .overall small::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: #22a35a; margin-right: 6px; vertical-align: 1px; animation: pulse 2s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34,163,90,.55); } 70%, 100% { box-shadow: 0 0 0 7px rgba(34,163,90,0); } }
.just-changed { animation: changed 1.6s ease-out; }
@keyframes changed { 0% { box-shadow: 0 0 0 4px #1d4ed8; } 100% { box-shadow: 0 0 0 4px transparent; } }
.feature, .part { transition: background-color .4s, border-color .4s; }

/* ===================================================================
   Professional refresh (19 Nov 2026), after comparing OpenAI's status page, Downdetector and others.
   Same layout and text; calmer type, aligned edges, one card style, badges instead of emoji,
   fewer underlines, clearer charts. Keeps the bold status banner (Option B).
   =================================================================== */
:root {
  --text: #0f172a;
  --muted: #5b6577;
  --line: #e3e8ef;
  --bg: #f5f7fb;
  --card-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 1px 3px rgba(16, 24, 40, .06);
  --brand: #0f1b33;
  --radius: 12px;
}
body { font-size: 16.5px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
h1 { font-weight: 750; letter-spacing: -.025em; line-height: 1.15; }
h2 { font-size: 1.38rem; font-weight: 700; letter-spacing: -.015em; }
h3 { font-size: 1.1rem; font-weight: 650; }
main h2 { margin-top: 2.1em; }
.subheading { font-size: 1.08rem; color: var(--muted); }
.trust-line, .trust-line a { color: var(--muted); }

/* Header and content share one left edge; header stays on screen */
.container, .header-inner { max-width: 880px; }
.site-header { position: sticky; top: 0; z-index: 30; }
.header-inner { min-height: 58px; }
.logo { font-size: 1.05rem; letter-spacing: -.01em; }
@media (min-width: 800px) {
  .main-nav > ul { gap: 4px; }
  .main-nav > ul > li > a, .main-nav .sub > summary { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 8px; font-size: .93rem; color: rgba(255, 255, 255, .82); transition: background .15s, color .15s; }
  .main-nav > ul > li > a:hover, .main-nav .sub > summary:hover { background: rgba(255, 255, 255, .08); color: #fff; }
  .main-nav a[aria-current="page"] { text-decoration: none; background: rgba(255, 255, 255, .12); color: #fff; }
  .sub li a { color: var(--text); font-size: .93rem; }
}
h2[id], h3[id] { scroll-margin-top: 76px; }

/* One card style everywhere */
.quick-answer, .feature, .report-widget, .overall, .table-wrap, .mini-row, .related, .toc, .live-updates, .service, .timeline {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--card-shadow);
}
.quick-answer { border-left: 3px solid var(--link); font-size: 1.03rem; padding: 16px 20px; }

/* Bold status banner, refined */
.verdict { padding: 22px 24px; border-radius: 14px; background: linear-gradient(135deg, rgba(255, 255, 255, .07), rgba(0, 0, 0, .14)), var(--c); box-shadow: 0 8px 24px rgba(16, 24, 40, .16); }
.verdict-headline { font-weight: 750; letter-spacing: -.015em; }
.verdict .status-icon { box-shadow: 0 0 0 6px rgba(255, 255, 255, .12); }
.checked-line { font-size: .84rem; }
.checked-line .link-button, .checked-line a { color: var(--link); text-decoration: none; font-weight: 500; }
.checked-line .link-button:hover, .checked-line a:hover { text-decoration: underline; }

/* Action links as small pill buttons */
.all-services { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 0; font-size: 0; }
.all-services a { font-size: .9rem; display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--text); text-decoration: none; font-weight: 600; box-shadow: var(--card-shadow); transition: border-color .15s, color .15s; }
.all-services a:hover { border-color: var(--link); color: var(--link); }

/* Status badges (grid, mini rows) */
.badge { display: inline-flex; align-items: center; gap: 7px; padding: 3px 10px 3px 8px; border-radius: 999px; background: var(--c-bg); color: var(--c); font-weight: 600; font-size: .88rem; line-height: 1.5; white-space: nowrap; }
.badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }

/* Feature cards */
.features { gap: 10px; }
.feature { padding: 12px 16px; min-height: 66px; transition: border-color .15s, box-shadow .15s; }
.feature:hover { border-color: #cbd3de; box-shadow: 0 4px 12px rgba(16, 24, 40, .07); }
.feature-name a { color: var(--text); text-decoration: none; }
.feature-name a::after { content: " →"; color: var(--muted); font-weight: 400; opacity: 0; transition: opacity .15s; }
.feature:hover .feature-name a::after { opacity: 1; }
.feature-name a:hover { color: var(--link); }
.feature-word { padding: 2px 10px; border-radius: 999px; background: var(--c-bg); font-size: .84rem; }
.features-intro { margin-top: 10px; }
.dot { width: 24px; height: 24px; }

/* Tables */
th { background: #f8fafc; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 650; }
tbody tr { transition: background .12s; }
tbody tr:hover { background: #fafbfd; }
td { padding: 12px 14px; }
.overall { padding: 14px 18px; }
.overall small { color: var(--muted); }

/* Timeline as a card, rows separated like a status page */
.timeline { padding: 16px 18px 12px; }
.timeline figcaption { justify-content: space-between; margin-bottom: 10px; }
.tl-row { padding: 6px 0; margin: 0; border-top: 1px solid #f0f2f6; }
.tl-row:first-child { border-top: 0; }
.tl { height: 28px; }
.tl-c { border-radius: 2px; }
.tl-axis { padding-top: 6px; }

/* Report widget + chart */
.report-widget { padding: 20px 22px; }
.report-heading { font-size: 1.15rem; }
.btn { border-radius: 10px; transition: transform .08s, box-shadow .15s, background .15s; }
.btn:hover { box-shadow: 0 2px 8px rgba(16, 24, 40, .1); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); }
.btn-primary:hover { background: #1b2b4f; }
.chip { transition: border-color .15s, background .15s; }
.chip:hover, .chip:has(input:checked) { border-color: var(--link); background: #eef3ff; }
.report-how a { color: var(--muted); }
.chart-wrap { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.report-chart .grid { stroke: #e9edf3; stroke-width: 1; }
.report-chart .gl { font-size: 10px; fill: #98a2b3; text-anchor: end; }
.report-chart .empty { font-size: 13px; fill: var(--muted); text-anchor: middle; font-style: italic; }
.report-chart .bar rect:not(.hit) { fill: #4f6fb3; }
.speed-chart polyline { stroke: #4f6fb3; }

/* Guides */
.mini-status { border: 1px solid var(--line); border-left: 4px solid var(--c, var(--grey)); box-shadow: var(--card-shadow); }
.toc { padding: 2px 18px; }
.related { padding: 20px 22px; }
.related a { text-decoration: none; }
.related a:hover { text-decoration: underline; }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; color: var(--muted); font-weight: 400; transition: transform .15s; }
.faq details[open] summary::after { transform: rotate(45deg); }

/* Footer */
.site-footer { margin-top: 64px; padding: 32px 0 44px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  .report-chart .bar rect, .tl-c, .tip, .speed-chart .cursor { animation: none !important; transition: none !important; }
  .live-verdict .checked-line::before, .overall small::before, .just-changed { animation: none !important; }
}

/* ===================================================================
   UI/UX round 2 (19 Nov 2026): live status in the header, fix step cards,
   better phone menu and footer, back-to-top, dark mode.
   =================================================================== */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Live ChatGPT status pill in the header */
.header-inner { gap: 12px; }
.logo { margin-right: 0; }
.hdr-status { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; padding: 0 12px 0 10px; border-radius: 999px; background: rgba(255,255,255,.08); color: #fff; text-decoration: none; font-size: .82rem; font-weight: 600; white-space: nowrap; margin-right: auto; transition: background .15s; }
.hdr-status:hover { background: rgba(255,255,255,.14); }
.hdr-status i { width: 8px; height: 8px; border-radius: 50%; background: #94a3b8; }
.hdr-status.status--green i { background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.25); }
.hdr-status.status--yellow i { background: #f59e0b; box-shadow: 0 0 0 3px rgba(245,158,11,.3); }
.hdr-status.status--red i { background: #ef4444; box-shadow: 0 0 0 3px rgba(239,68,68,.35); animation: pulse-red 1.6s ease-out infinite; }
.hdr-status.status--red { background: rgba(239,68,68,.22); }
@keyframes pulse-red { 0% { box-shadow: 0 0 0 0 rgba(239,68,68,.6); } 70%, 100% { box-shadow: 0 0 0 8px rgba(239,68,68,0); } }
.hdr-word { font-weight: 500; opacity: .9; }
@media (max-width: 420px) { .hdr-svc { display: none; } .hdr-status { padding: 0 10px; font-size: .78rem; } }

/* Phone menu: a proper panel */
@media (max-width: 799px) {
  .main-nav { padding: 6px 16px 18px; box-shadow: 0 16px 32px rgba(0,0,0,.25); }
  .main-nav li a, .main-nav .sub > summary { min-height: 52px; font-size: 1.02rem; color: #fff; }
  .main-nav a[aria-current="page"] { color: #7dd3fc; text-decoration: none; }
  .sub[open] > summary::after { content: " ▴"; }
  .sub ul { padding-left: 14px; border-left: 2px solid rgba(255,255,255,.12); margin: 4px 0 8px; }
  .sub li a { min-height: 44px; font-size: .95rem; color: rgba(255,255,255,.85); border-bottom: 0; }
  .nav-toggle[open] summary { background: rgba(255,255,255,.1); }
}

/* Fix guides: each fix is a numbered step card */
.fix-step { position: relative; margin: 14px 0; padding: 18px 20px 6px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--card-shadow); }
.fix-step h3 { display: flex; align-items: center; gap: 12px; margin: 0 0 10px; font-size: 1.08rem; scroll-margin-top: 76px; }
.step-num { flex: none; display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #e8efff; color: #1d4ed8; font-size: .9rem; font-weight: 750; }
.fix-step:target { border-color: #1d4ed8; box-shadow: 0 0 0 3px rgba(29,78,216,.15); }
.fix-step .fix-vote { margin: 12px -20px 0; padding: 10px 20px; border-top: 1px solid var(--line); background: #fafbfd; border-radius: 0 0 var(--radius) var(--radius); }
.fix-step ul, .fix-step ol { padding-left: 1.3em; }
.fix-vote span { font-weight: 500; }
.fix-vote .btn-small { min-height: 34px; border-radius: 999px; padding: 0 16px; }

/* Contents box */
.toc ol { columns: 2 260px; column-gap: 28px; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }

/* Footer */
.footer-logo { color: #fff; margin-bottom: 10px; }
.footer-links { gap: 2px 22px; }
.footer-note { max-width: 70ch; line-height: 1.6; font-size: .86rem; }

/* Back to top */
.to-top { position: fixed; right: 16px; bottom: 18px; z-index: 40; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--text); font-size: 1.2rem; cursor: pointer; box-shadow: 0 6px 18px rgba(16,24,40,.15); opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .2s, transform .2s; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }

@media (prefers-reduced-motion: reduce) {
  .to-top, .hdr-status, .hdr-status i { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Dark mode: follows the visitor's phone/computer setting ---------- */
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #0b1220; --surface: #111a2b; --text: #e6eaf2; --muted: #9aa5b8; --line: #243046; --link: #8ab4ff;
    --green: #4ade80; --green-bg: rgba(34,197,94,.14);
    --yellow: #fbbf24; --yellow-bg: rgba(245,158,11,.15);
    --red: #f87171; --red-bg: rgba(239,68,68,.16);
    --grey: #9aa5b8; --grey-bg: rgba(148,163,184,.12);
    --card-shadow: 0 1px 2px rgba(0,0,0,.3);
  }
  .quick-answer, .feature, .report-widget, .overall, .table-wrap, .mini-row, .related, .toc, .live-updates, .service, .timeline,
  .fix-step, .all-services a, .to-top, .status-loading, .btn, .chip, .copy-btn, code.copy,
  .contact-form input, .contact-form select, .contact-form textarea, .sub ul { background: #131c2e; color: var(--text); }
  .btn-primary { background: #2f5bd3; border-color: #2f5bd3; color: #fff; }
  .btn-primary:hover { background: #3b6be0; }
  th, .fix-step .fix-vote { background: #172238; }
  tbody tr:hover { background: #162036; }
  .tl-row { border-top-color: #1c2740; }
  .tl--none { background: #2a3550; }
  .report-chart .grid { stroke: #22304a; }
  .chip:hover, .chip:has(input:checked) { background: #1a2a4d; }
  .step-num { background: #1e2f57; color: #a9c4ff; }
  .fix-step:target { border-color: #8ab4ff; }
  .dot { color: #0b1220; }
  /* The coloured banners keep strong colours with white text */
  .verdict.status--green, .status-hero.status--green { background: linear-gradient(135deg, rgba(255,255,255,.05), rgba(0,0,0,.18)), #15803d; }
  .verdict.status--yellow, .status-hero.status--yellow { background: linear-gradient(135deg, rgba(255,255,255,.05), rgba(0,0,0,.18)), #b45309; }
  .verdict.status--red, .status-hero.status--red { background: linear-gradient(135deg, rgba(255,255,255,.05), rgba(0,0,0,.18)), #b91c1c; }
  .verdict.status--unknown { background: #334155; }
  .outage-banner { background: #b91c1c; }
  .site-header, .site-footer { background: #070d18; }
  .main-nav { background: #070d18; }
  .ad-slot--preview { background: repeating-linear-gradient(45deg, transparent 0 12px, #131c2e 12px 24px); }
  a { color: var(--link); }
  .feature-name a, .all-services a { color: var(--text); }
  .speed-chart .cursor { stroke: #0b1220; }
}

/* Header fit: "ChatGPT · Working normally"; shorter on mid-size screens so the menu never wraps */
.hdr-word::before { content: "·"; margin: 0 6px 0 4px; opacity: .6; }
.main-nav a, .main-nav summary { white-space: nowrap; }
@media (min-width: 800px) and (max-width: 1099px) {
  .hdr-word { display: none; }
  .main-nav > ul > li > a, .main-nav .sub > summary { padding: 0 9px; }
}
@media (max-width: 420px) { .hdr-svc { display: inline; } .hdr-word { display: none; } }
.hdr-word::before { margin-left: 0; }
.speed-chart .grid { stroke: #e3e8ef; }
.speed-chart .empty { font-size: 13px; fill: var(--muted); text-anchor: middle; font-style: italic; }
@media (prefers-color-scheme: dark) { .speed-chart .grid { stroke: #22304a; } }
/* Phones: show the status words (not colour alone); the site itself is about ChatGPT */
@media (max-width: 420px) {
  .hdr-svc { display: none; }
  .hdr-word { display: inline; }
  .hdr-word::before { content: none; }
  .hdr-status { padding: 0 9px; font-size: .74rem; gap: 6px; }
  .nav-toggle summary { padding: 0 10px; }
}
@media (max-width: 420px) {
  .menu-word { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .nav-toggle summary { width: 44px; justify-content: center; padding: 0; }
  .logo { font-size: 1rem; gap: 8px; }
}
/* Long web addresses (Privacy Policy) wrap instead of pushing the page sideways on phones */
main p, main li { overflow-wrap: break-word; }
