.check-page {
    min-height: 100vh;
    background:
        radial-gradient(ellipse at 0 5%, rgba(244, 91, 217, 0.15), transparent 36rem),
        radial-gradient(ellipse at 100% 30%, rgba(255, 33, 73, 0.075), transparent 30rem),
        var(--paper);
}
.check-page [hidden] { display: none !important; }
.check-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 38px); }
.check-nav a { font-size: 15px; font-weight: 600; opacity: 0.7; }
.check-nav a:hover { opacity: 1; }
.check-main { width: min(1120px, calc(100% - 48px)); margin: 0 auto; padding: 130px 0 80px; }
.check-eyebrow, .check-section-kicker, .check-verdict-kicker {
    margin: 0 0 22px; font-size: 10px; line-height: 1.6; font-weight: 800;
    letter-spacing: 0.13em; text-transform: uppercase;
}
.check-eyebrow { display: flex; align-items: center; gap: 10px; color: rgba(17, 21, 45, 0.58); }
.check-eyebrow > span { width: 7px; height: 7px; border-radius: 50%; background: var(--hot); box-shadow: 0 0 0 5px rgba(255, 33, 73, 0.08); }
.check-intro { margin-bottom: 32px; }
.check-intro h1 { margin: 0; font-size: clamp(34px, 5vw, 60px); font-weight: 950; line-height: 0.99; letter-spacing: -0.055em; }
.check-intro h1 > span { color: inherit; }
.check-lead { margin: 26px 0 36px; color: rgba(17, 21, 45, 0.65); font-size: clamp(16px, 2vw, 20px); line-height: 1.55; letter-spacing: -0.025em; }
.check-form-card { padding: clamp(24px, 3.5vw, 40px); border: 1px solid rgba(17, 21, 45, 0.06); border-radius: 30px; background: white; box-shadow: 0 20px 60px rgba(25, 8, 34, 0.055); }
.check-form-card label { display: block; margin-bottom: 13px; font-size: 13px; font-weight: 800; }
.check-input-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }
.check-input-row input {
    min-width: 0; width: 100%; height: 66px; padding: 0 20px;
    border: 1px solid rgba(17, 21, 45, 0.14); border-radius: 16px;
    background: var(--paper-2); color: var(--ink); font: inherit;
    font-size: clamp(15px, 2vw, 18px); letter-spacing: -0.02em;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.check-input-row input::placeholder { color: rgba(17, 21, 45, 0.35); }
.check-input-row input:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 4px rgba(244, 91, 217, 0.1); }
.check-submit { display: flex; align-items: center; justify-content: center; gap: 24px; padding: 0 25px; border: 0; border-radius: 16px; background: var(--button-primary); color: white; font-size: 14px; font-weight: 800; cursor: pointer; box-shadow: 0 8px 22px rgba(255, 59, 100, 0.18); transition: background 0.2s, transform 0.2s; }
.check-submit:hover { background: var(--button-primary); transform: translateY(-2px); }
.check-submit:disabled { cursor: wait; opacity: 0.65; transform: none; }
.check-submit svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.check-form-hints { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; padding-top: 20px; color: rgba(17, 21, 45, 0.55); font-size: 11px; }
.check-hint-divider { height: 13px; width: 1px; background: rgba(17, 21, 45, 0.13); }
.check-form-hints b { font-weight: 750; color: rgba(17, 21, 45, 0.7); }
.check-form-hints code { font-family: inherit; font-weight: 650; }
.check-format-hint { margin-left: auto; }
.check-text-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0; border: 0; background: transparent; color: var(--ink); font-size: 12px; font-weight: 750; cursor: pointer; transition: color 0.2s; }
.check-text-button:hover { color: var(--hot); }
.check-text-button:disabled { opacity: 0.5; cursor: wait; }
.check-text-button svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.check-source-line { display: flex; align-items: flex-start; gap: 8px; margin: 23px 0 0; padding-top: 19px; border-top: 1px solid rgba(17, 21, 45, 0.065); color: rgba(17, 21, 45, 0.43); font-size: 10px; line-height: 1.6; }
.check-source-line p { margin: 0; }
.check-source-line a { text-decoration: underline; text-underline-offset: 3px; }
.check-source-icon { color: var(--hot); font-size: 13px; line-height: 1.2; }
.check-error { margin: 18px 0 0; padding: 13px 16px; border-radius: 12px; color: #bb1435; background: #fff0f3; font-size: 13px; line-height: 1.5; }
.check-inline-status { margin: 14px 0 0; color: rgba(17, 21, 45, 0.6); font-size: 12px; line-height: 1.5; }
.check-result { padding-top: 48px; scroll-margin-top: 95px; }
.check-result-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 0 0 17px; }
.check-result-heading > h2 { margin: 0; font-size: 15px; letter-spacing: -0.025em; font-weight: 800; }
.check-verdict { --check-accent: #768098; --check-tint: #f3f4f7; display: flex; gap: 24px; padding: clamp(25px, 4vw, 40px); border: 1px solid rgba(17, 21, 45, 0.07); border-radius: 28px; background: white; }
.check-verdict[data-state="clean"], .check-verdict[data-state="reachable"] { --check-accent: #168058; --check-tint: #eaf9f1; }
.check-verdict[data-state="blocked"] { --check-accent: #e2224a; --check-tint: #fff0f3; }
.check-verdict[data-state="blocked_tls"], .check-verdict[data-state="blocked_sni"] { --check-accent: #b47404; --check-tint: #fff6e6; }
.check-verdict-mark { width: 70px; height: 70px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 22px; background: var(--check-tint); color: var(--check-accent); }
.check-verdict-mark > span { font-size: 32px; font-weight: 750; }
.check-verdict[data-state="loading"] .check-verdict-mark > span { width: 24px; height: 24px; border: 2px solid rgba(17, 21, 45, 0.12); border-top-color: var(--hot); border-radius: 50%; font-size: 0; animation: check-spin 0.8s linear infinite; }
.check-verdict-body { min-width: 0; }
.check-verdict-kicker { margin-bottom: 8px; color: var(--check-accent); letter-spacing: 0.09em; }
.check-verdict h2 { margin: 0; font-size: clamp(25px, 4vw, 42px); letter-spacing: -0.055em; line-height: 1.1; }
.check-verdict-body > p:not(.check-verdict-kicker) { max-width: 760px; margin: 14px 0 0; color: rgba(17, 21, 45, 0.65); font-size: 14px; line-height: 1.6; }
.check-target-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 16px; margin-top: 21px; }
.check-target-meta code { max-width: 100%; padding: 7px 10px; border-radius: 7px; background: var(--paper-2); font-size: 12px; overflow-wrap: anywhere; }
.check-target-meta time { color: rgba(17, 21, 45, 0.45); font-size: 10px; }
.check-probe-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.check-probe { min-width: 0; padding: 27px; border: 1px solid rgba(17, 21, 45, 0.08); border-radius: 24px; background: rgba(255, 255, 255, 0.8); }
.check-probe-top { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.check-probe-flag { display: grid; place-items: center; width: 42px; height: 42px; font-size: 24px; border-radius: 13px; background: var(--paper); }
.check-probe-top h3 { margin: 0 0 5px; font-size: 18px; font-weight: 800; letter-spacing: -0.035em; }
.check-probe-role { margin: 0; color: rgba(17, 21, 45, 0.45); font-size: 10px; }
.check-signal + .check-signal { margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(17, 21, 45, 0.06); }
.check-signal-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.check-signal-name { font-size: 12px; font-weight: 750; }
.check-signal-status { display: inline-flex; align-items: center; gap: 6px; color: #168058; font-size: 11px; font-weight: 750; }
.check-signal-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.check-signal-status[data-state="down"] { color: #d62148; }
.check-signal-status[data-state="warn"] { color: #a96a03; }
.check-signal-status[data-state="unknown"] { color: #768098; }
.check-signal-stats { margin: 9px 0 0; color: rgba(17, 21, 45, 0.5); font-size: 12px; line-height: 1.65; overflow-wrap: anywhere; }
.check-probe-bare { grid-column: 1 / -1; }
.check-probe-bare .check-probe-top { margin-bottom: 18px; }
.check-probe-error { margin: 0; color: #768098; font-size: 13px; line-height: 1.5; }
.check-certificate, .check-details-card { margin-top: 16px; padding: clamp(25px, 3vw, 34px); border: 1px solid rgba(17, 21, 45, 0.08); border-radius: 24px; background: white; }
.check-certificate-heading { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 25px; }
.check-certificate .check-section-kicker { margin-bottom: 7px; color: rgba(17, 21, 45, 0.45); }
.check-certificate h3 { margin: 0; font-size: clamp(22px, 3vw, 30px); line-height: 1.1; letter-spacing: -0.045em; }
.check-certificate-icon { display: grid; place-items: center; width: 45px; height: 45px; border-radius: 14px; color: var(--hot); background: var(--paper); font-size: 26px; }
.check-certificate dl { margin: 20px 0 0; }
.check-certificate.check-guide, .check-details-card.check-guide { padding: clamp(25px, 3vw, 34px); }
.check-certificate summary > span:first-child, .check-details-card summary > span:first-child { min-width: 0; font-size: 16px; overflow-wrap: anywhere; }
.check-cert-row { display: grid; grid-template-columns: 185px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid rgba(17, 21, 45, 0.06); font-size: 12px; line-height: 1.65; }
.check-cert-row dt { color: rgba(17, 21, 45, 0.5); }
.check-cert-row dd { margin: 0; overflow-wrap: anywhere; font-weight: 600; }
.check-domain-info { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 20px; margin-top: 20px; }
.check-domain-info p, .check-result-note { margin: 0; color: rgba(17, 21, 45, 0.5); font-size: 11px; line-height: 1.65; overflow-wrap: anywhere; }
.check-result-note { margin-top: 18px; }
.check-share-fallback { margin-top: 16px; }
.check-share-fallback label { display: block; font-size: 12px; margin-bottom: 8px; }
.check-share-fallback input { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 13px; background: white; color: var(--ink); font: inherit; font-size: 12px; }
.check-explanation { padding-top: 0; }
.check-section-heading .check-section-kicker { color: var(--hot); margin-bottom: 15px; }
.check-section-heading h2 { margin: 0; font-size: clamp(36px, 5.1vw, 60px); line-height: 1.02; letter-spacing: -0.055em; }
.check-section-heading > p:last-child { margin: 21px 0 0; color: rgba(17, 21, 45, 0.6); font-size: 14px; line-height: 1.6; }
.check-how-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 30px 0 28px; }
.check-how-card { display: flex; flex-wrap: wrap; gap: 15px; align-items: flex-start; padding: 26px; border: 1px solid rgba(17, 21, 45, 0.07); border-radius: 24px; background: rgba(255, 255, 255, 0.65); }
.check-how-flag { font-size: 25px; line-height: 1.3; }
.check-how-card > div { flex: 1; min-width: 150px; }
.check-how-card h3 { margin: 0 0 9px; font-size: 18px; letter-spacing: -0.035em; }
.check-how-card p { margin: 0; max-width: 210px; color: rgba(17, 21, 45, 0.6); font-size: 12px; line-height: 1.55; }
.check-how-tag { display: block; padding: 6px 9px; border: 1px solid rgba(17, 21, 45, 0.08); border-radius: 7px; color: rgba(17, 21, 45, 0.5); font-size: 9px; font-weight: 650; white-space: nowrap; }
.check-guide { padding: 23px 0; border-bottom: 1px solid rgba(17, 21, 45, 0.11); }
.check-guide summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; cursor: pointer; list-style: none; font-size: 15px; font-weight: 750; letter-spacing: -0.025em; }
.check-guide summary::-webkit-details-marker { display: none; }
.check-guide summary > span:last-child { display: grid; place-items: center; flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; background: rgba(244, 91, 217, 0.1); color: var(--hot); font-size: 21px; font-weight: 500; transition: transform 0.2s; }
.check-guide summary > span:last-child svg { width: 20px; height: 20px; display: block; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }
.check-guide[open] summary > span:last-child { transform: rotate(45deg); }
.check-guide-body { max-width: 860px; padding-top: 14px; color: rgba(17, 21, 45, 0.65); font-size: 13px; line-height: 1.7; }
.check-guide-body p { margin: 10px 0 0; }
.check-table-wrap { margin-top: 22px; overflow-x: auto; }
.check-guide table { width: 100%; border-collapse: collapse; text-align: left; font-size: 11px; line-height: 1.65; }
.check-guide th { padding: 0 15px 15px 0; color: rgba(17, 21, 45, 0.5); font-size: 10px; font-weight: 750; }
.check-guide td { padding: 16px 15px 16px 0; border-top: 1px solid rgba(17, 21, 45, 0.07); }
.check-guide td:last-child { min-width: 200px; }
.check-table-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 6px; background: #768098; }
.check-table-dot[data-state="clean"] { background: #168058; }
.check-table-dot[data-state="blocked"] { background: #d62148; }
.check-table-dot[data-state="blocked_tls"] { background: #b47404; }
.check-help { display: flex; justify-content: space-between; align-items: center; gap: 25px; margin-top: 70px; padding: 30px 34px; border: 1px solid rgba(17, 21, 45, 0.075); border-radius: 24px; background: rgba(244, 91, 217, 0.065); }
.check-help h2 { margin: 0; font-size: clamp(19px, 2.8vw, 25px); line-height: 1.2; letter-spacing: -0.04em; }
.check-help p { margin: 11px 0 0; color: rgba(17, 21, 45, 0.65); font-size: 14px; }
.check-help > a { display: flex; align-items: center; justify-content: center; flex-shrink: 0; min-height: 54px; padding: 0 24px; border-radius: 14px; background: var(--button-primary); color: white; font-size: 14px; font-weight: 800; }
.check-help > a span { display: inline-block; margin-left: 14px; color: white; font-size: 19px; }
.check-footer { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 26px max(24px, calc((100% - 1120px) / 2)); border-top: 1px solid rgba(17, 21, 45, 0.08); }
.check-footer > div { display: flex; gap: 25px; align-items: center; color: rgba(17, 21, 45, 0.5); font-size: 10px; }
.check-footer p { margin: 0; }
.check-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@keyframes check-spin { to { transform: rotate(360deg); } }
@media (max-width: 760px) {
    .check-main { width: calc(100% - 32px); padding-top: 111px; }
    .check-intro h1 { font-size: clamp(28px, 7vw, 42px); }
    .check-nav { gap: 17px; }
    .check-nav a { font-size: 13px; }
    .check-nav a:last-child { display: none; }
    .check-input-row { grid-template-columns: 1fr; }
    .check-submit { min-height: 56px; justify-content: space-between; }
    .check-input-row input { height: 60px; }
    .check-probe-grid, .check-how-grid { grid-template-columns: 1fr; }
    .check-how-card > div { min-width: 0; }
    .check-how-card p { max-width: none; }
    .check-explanation { padding-top: 0; }
    .check-help { margin-top: 45px; flex-direction: column; align-items: flex-start; padding: 25px; }
    .check-footer > div > a { display: none; }
}
@media (max-width: 480px) {
    .check-header { padding-inline: 20px; }
    .check-header .logo { font-size: 18px; }
    .check-form-card { padding: 22px; border-radius: 24px; }
    .check-form-hints { gap: 12px; }
    .check-format-hint { flex-basis: 100%; margin-left: 0; }
    .check-lead { font-size: 15px; }
    .check-desktop-break { display: none; }
    .check-verdict { flex-direction: column; gap: 20px; padding: 25px; }
    .check-verdict-mark { width: 52px; height: 52px; border-radius: 16px; }
    .check-verdict h2 { font-size: 29px; }
    .check-result-heading { align-items: flex-start; }
    .check-result-heading > h2 { max-width: 115px; line-height: 1.4; }
    .check-result-heading .check-text-button { font-size: 11px; gap: 5px; }
    .check-cert-row { grid-template-columns: 1fr; gap: 4px; }
    .check-how-card { padding: 23px; }
    .check-how-tag { margin-left: 41px; }
}
@media (prefers-reduced-motion: reduce) {
    .check-page *, .check-page *::before, .check-page *::after { animation: none !important; transition: none !important; }
}

/* Keep focused fields at 16px on phones: iOS must not zoom the layout. */
@media (max-width: 900px) { .check-input-row input, .check-share-fallback input { font-size: 16px; } }

/* The diagnostic page follows the account's quieter visual language. */
.check-page{background:radial-gradient(ellipse at 50% 0,#fff1fa,transparent 70%),#faf9fb}
.check-main{width:min(880px,calc(100% - 40px));padding:116px 0 48px}
.check-intro{margin-bottom:28px}
.check-intro h1{max-width:680px;font-size:34px;font-weight:700;line-height:1.2;letter-spacing:-.04em}
.check-lead{max-width:620px;margin:14px 0 0;color:#706978;font-size:15px;line-height:1.65;letter-spacing:0}
.check-nav a{font-size:13px;font-weight:500;opacity:1;color:#706978}
.check-form-card{padding:28px;border:1px solid #eae6ed;border-radius:22px;background:#fff;box-shadow:0 12px 40px #21132e04}
.check-form-card label{margin-bottom:10px;font-size:14px;font-weight:550}
.check-input-row{gap:10px}
.check-input-row input{height:52px;padding:0 16px;border-color:#e3dee7;border-radius:12px;background:#fcf9fc;font-size:16px;letter-spacing:0}
.check-input-row input:focus{border-color:#908496;box-shadow:0 0 0 1px #908496;background:#fff}
.check-submit{min-height:52px;gap:12px;padding:14px 20px;border:1px solid #202131;border-radius:12px;background:#202131;font-size:14px;font-weight:550;box-shadow:none;transform:none}
.check-submit:hover{background:#353648;transform:none}
.check-submit svg{width:18px;height:18px}
.check-form-hints{padding-top:18px}
.check-text-button{min-height:40px;font-size:13px;font-weight:500;color:#706978;line-height:1.5}
.check-text-button:hover{color:#202131}
.check-result{padding-top:30px}
.check-result-heading>h2{font-size:16px;font-weight:600}
.check-verdict{gap:18px;padding:24px;border-color:#eae6ed;border-radius:20px;background:#fff}
.check-verdict-mark{width:44px;height:44px;border-radius:13px}
.check-verdict-mark>span{font-size:24px}
.check-verdict h2{font-size:25px;font-weight:650;line-height:1.25;letter-spacing:-.035em}
.check-verdict-body>p:not(.check-verdict-kicker){margin-top:10px;font-size:14px;color:#706978}
.check-verdict[data-state="partial"]{--check-accent:#a16a12;--check-tint:#fff6e6}
.check-target-meta{margin-top:16px}
.check-target-meta time{font-size:11px;color:#77707f}
.check-target-meta code{background:#f8f7fa}
.check-probe-grid{gap:12px;margin-top:12px}
.check-probe{padding:22px;border-color:#eae6ed;border-radius:18px;background:#fff}
.check-probe-top{gap:10px;margin-bottom:18px}
.check-probe-flag{width:34px;height:34px;border-radius:10px;background:#f8f7fa;font-size:20px}
.check-probe-top h3{margin:0;font-size:16px;font-weight:600;line-height:1.4;letter-spacing:-.02em}
.check-signal-name{font-weight:550}
.check-signal-status{font-weight:500}
.check-signal-stats{color:#77707f}
.check-certificate,.check-details-card{margin-top:12px;border-color:#eae6ed;border-radius:18px}
.check-certificate.check-guide,.check-details-card.check-guide{padding:22px}
.check-guide summary{font-weight:550;letter-spacing:0}
.check-guide summary>span:last-child{background:#f8f7fa;color:#706978;border-radius:8px}
.check-guide-body{color:#706978;font-size:13px}
.check-explanation{margin-top:20px}
.check-cert-row{grid-template-columns:150px minmax(0,1fr)}
.check-cert-row dd{font-weight:450}
.check-error{border:1px solid #f2dfe3;background:#fff3f4;color:#a34d59}
.check-domain-info p{color:#77707f;font-size:12px}
.check-help{margin-top:28px;padding:24px 28px;border-color:#eae6ed;border-radius:20px;background:#fff}
.check-help h2{font-size:20px;font-weight:650;letter-spacing:-.025em}
.check-help p{margin-top:8px;font-size:13px;color:#706978}
.check-help>a{min-height:48px;padding:12px 18px;border-radius:12px;background:#202131;font-size:13px;font-weight:550}
.check-help>a:hover{background:#353648}
.check-footer{padding:24px max(20px,calc((100% - 880px)/2));background:none}
@media(max-width:760px){.check-main{width:calc(100% - 32px);padding-top:108px}.check-intro h1{font-size:30px}.check-input-row{grid-template-columns:1fr}.check-submit{justify-content:center}.check-input-row input{height:52px}.check-help{gap:18px;flex-direction:column;align-items:stretch}.check-help>a{justify-content:center}.check-probe-grid{grid-template-columns:1fr}}
@media(max-width:480px){.check-main{padding-top:104px}.check-intro h1{font-size:28px}.check-lead{font-size:14px}.check-form-card{padding:22px 20px;border-radius:20px}.check-verdict{padding:20px;gap:16px}.check-verdict h2{font-size:23px}.check-result-heading>h2{max-width:none}.check-result-heading{align-items:center;flex-wrap:wrap}.check-probe{padding:20px}.check-cert-row{grid-template-columns:1fr}.check-help{padding:22px 20px}.check-footer>div{gap:0}.check-header{padding-inline:16px}}
