:root {
  color-scheme: light;
  font-family: Inter, "Hiragino Kaku Gothic ProN", "Yu Gothic UI", Meiryo, sans-serif;
  color: #1d2a42;
  background: #f7f7f7;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --paper: #f5f3e8;
  --blue: #2850ef;
  --ink: #1d2a42;
  --muted: #65718a;
}
* { box-sizing: border-box; }
body { min-width: 320px; margin: 0; padding: 14px 12px; background: #f7f7f7; }
button, input { font: inherit; }
a { color: inherit; text-underline-offset: 3px; }
.shell { width: min(100%, 1040px); min-height: min(92vh, 850px); margin: 0 auto; padding: 22px 18px 18px; border: 1px solid #dedccd; border-radius: 14px; background: var(--paper); }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 0 24px; border-bottom: 1px solid var(--ink); }
.brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.brand-mark { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 11px; background: var(--blue); }
.brand-mark svg { width: 25px; fill: none; stroke: white; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 1rem; letter-spacing: -.02em; }
.brand small { margin-top: 3px; color: #667084; font-size: .84rem; }
.header-link { font-size: .86rem; text-decoration: none; }
.header-link span { padding-left: 2px; font-size: 1rem; }
.view { padding-top: 43px; }
.view[hidden] { display: none; }
.hero { margin-bottom: 31px; }
.eyebrow { display: flex; align-items: center; gap: 7px; margin: 0 0 15px; font-size: .82rem; }
.eyebrow > span { width: 11px; height: 11px; border-radius: 50%; background: var(--ink); }
h1 { max-width: 810px; margin: 0; font-size: clamp(1.7rem, 4.5vw, 2.35rem); line-height: 1.45; letter-spacing: -.045em; }
.mobile-break { display: none; }
.intro { margin: 11px 0 0; font-size: 1rem; line-height: 1.75; }
.check-card { max-width: 870px; padding: 15px 14px 13px; border: 2px solid var(--ink); border-radius: 14px; background: #fffefa; }
.email-card { max-width: 640px; margin: 20px 0; }
.email-card[hidden] { display: none; }
.card-meta { display: flex; justify-content: space-between; gap: 16px; font-size: .8rem; }
.card-meta span:first-child { color: var(--blue); font-weight: 800; letter-spacing: .035em; }
.search-art { display: grid; height: 80px; place-items: center; }
.search-art svg { width: 39px; fill: none; stroke: var(--blue); stroke-linecap: round; stroke-linejoin: round; stroke-width: 3.2; }
.check-card > label { display: block; margin-bottom: 13px; font-size: 1.02rem; font-weight: 750; }
.url-field { display: flex; align-items: center; padding: 0 13px; border: 1px solid var(--blue); border-radius: 9px; background: #f0f2ff; }
.url-field:focus-within { outline: 3px solid #2850ef45; outline-offset: 2px; }
.url-field input { width: 100%; min-width: 0; height: 53px; border: 0; outline: 0; background: transparent; color: #141c2c; font-size: 1rem; }
.url-field span { color: #596a8e; font-size: 1.2rem; }
.hint, .privacy-short { color: var(--muted); font-size: .86rem; line-height: 1.55; }
.hint { margin: 8px 1px 15px; }
.primary-button { display: flex; width: 100%; min-height: 54px; align-items: center; justify-content: space-between; gap: 16px; padding: 0 16px; border: 0; border-radius: 9px; background: var(--blue); color: white; font-size: 1rem; font-weight: 750; text-align: left; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.primary-button:hover:not(:disabled) { transform: translateY(-1px); background: #1d42dc; }
.primary-button:disabled { background: #8797dc; cursor: not-allowed; }
.primary-button > span:last-child { font-size: 1.25rem; }
.privacy-short { margin: 10px 1px 0; }
.scope-note { display: flex; gap: 11px; align-items: flex-start; max-width: 870px; margin-top: 22px; color: #57647e; font-size: .86rem; line-height: 1.6; }
.scope-note p { margin: 0; }
.scope-icon { display: grid; flex: 0 0 19px; width: 19px; height: 19px; place-items: center; border: 1px solid #929bb0; border-radius: 50%; font-size: .75rem; font-weight: 700; }
.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 38px; padding-top: 15px; border-top: 1px solid #d8d5c7; color: #65718a; font-size: .78rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 17px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover, .header-link:hover { text-decoration: underline; }
.step-view, .state-view, .result-view { max-width: 760px; min-height: 490px; }
.step-copy { max-width: 640px; margin: 12px 0 24px; color: #52607a; line-height: 1.8; }
.target-preview { overflow: hidden; margin: 0 0 20px; padding: 14px 16px; border-radius: 8px; background: #ebe9dd; }
.target-preview span, .target-preview strong { display: block; }
.target-preview span { margin-bottom: 5px; color: var(--muted); font-size: .8rem; }
.target-preview strong { overflow-wrap: anywhere; font-size: .94rem; font-weight: 600; }
.consent-list { display: grid; gap: 11px; margin-bottom: 14px; }
.consent-option { display: flex; align-items: flex-start; gap: 10px; line-height: 1.65; cursor: pointer; }
.consent-option input { flex: 0 0 auto; width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--blue); }
.consent-option small { display: block; margin-top: 3px; color: var(--muted); font-size: .82rem; }
.consent-option a { color: #2146d5; }
.message { min-height: 1.5em; margin: 3px 0 10px; color: #a0322d; line-height: 1.5; }
.text-button { display: block; margin: 14px auto; padding: 8px 12px; border: 0; background: transparent; color: #4f5c74; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.loading-mark { display: grid; width: 54px; height: 54px; margin-bottom: 27px; place-items: center; border: 2px solid #cdd4fc; border-radius: 50%; }
.loading-mark span { width: 30px; height: 30px; border: 3px solid #d5daf8; border-top-color: var(--blue); border-radius: 50%; animation: spin .85s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.target-inline { overflow-wrap: anywhere; color: var(--muted); font-size: .9rem; }
.result-summary { margin: 10px 0 22px; font-size: 1.05rem; line-height: 1.7; }
.security-advisory { margin: 0 0 19px; padding: 16px 18px; border: 1px solid #d99b37; border-left: 5px solid #c87516; border-radius: 9px; background: #fff4dc; color: #3d2e1b; line-height: 1.7; }
.security-advisory[hidden] { display: none; }
.security-advisory .advisory-label { margin: 0 0 5px; color: #9b5310; font-size: .74rem; font-weight: 800; letter-spacing: .08em; }
.security-advisory h2 { margin: 0 0 7px; font-size: 1.05rem; line-height: 1.5; }
.security-advisory p:not(.advisory-label) { margin: 0 0 9px; font-size: .91rem; }
.security-advisory a { color: #78400c; font-size: .88rem; font-weight: 700; }
.result-card { padding: 16px 18px; border: 1.5px solid var(--ink); border-radius: 12px; background: #fffefa; }
.result-card dl { margin: 0; }
.result-card dl > div { display: grid; grid-template-columns: minmax(155px, 34%) minmax(0, 1fr); gap: 15px; padding: 11px 0; border-bottom: 1px solid #e8e6dc; }
.result-card dl > div:last-child { border-bottom: 0; }
.result-card dt { color: var(--muted); }
.result-card dd { margin: 0; overflow-wrap: anywhere; white-space: pre-wrap; }
.version-row dd { font-size: 1.3rem; font-weight: 750; }
.caveat { margin: 17px 0 20px; padding: 14px 15px; border-left: 4px solid #c49d2e; background: #eeecdf; color: #4b4d4a; line-height: 1.65; }
.legal-page { max-width: 760px; margin: 0 auto; padding: 36px 0; line-height: 1.8; }
.legal-page h1 { margin-bottom: 1.4rem; font-size: 2rem; }
.legal-page h2 { margin: 2rem 0 .5rem; font-size: 1.2rem; }
.legal-page p, .legal-page li { color: #48556c; }
.legal-page .back-link { display: inline-block; margin-top: 22px; color: #2146d5; }
button:focus-visible, input:focus-visible, a:focus-visible { outline: 3px solid #2850ef75; outline-offset: 3px; }
@media (max-width: 640px) {
  body { padding: 7px; }
  .shell { min-height: calc(100vh - 14px); padding: 17px 14px 14px; border-radius: 12px; }
  .site-header { padding-bottom: 17px; }
  .brand-mark { width: 37px; height: 37px; }
  .brand strong { font-size: .92rem; }
  .brand small { font-size: .78rem; }
  .header-link { font-size: .78rem; white-space: nowrap; }
  .view { padding-top: 31px; }
  .hero { margin-bottom: 23px; }
  .mobile-break { display: initial; }
  h1 { font-size: clamp(1.55rem, 7vw, 2rem); line-height: 1.4; }
  .intro { font-size: .92rem; }
  .search-art { height: 66px; }
  .check-card { padding: 13px 12px 12px; }
  .result-card { padding: 11px 13px; }
  .result-card dl > div { grid-template-columns: 1fr; gap: 4px; }
  .step-view, .state-view, .result-view { min-height: 440px; }
  .site-footer { margin-top: 27px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
