:root {
  color-scheme: light;
  --ink: #0f172a;
  --muted: #526076;
  --line: #dce4ee;
  --surface: #ffffff;
  --cyan: #0e7490;
  --cyan-bright: #0891b2;
  --background: #f7fafc;
  --shadow: 0 1.5rem 4rem rgba(15, 23, 42, 0.08);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 15% 4%, rgba(8, 145, 178, 0.10), transparent 28rem),
    radial-gradient(circle at 87% 18%, rgba(99, 102, 241, 0.08), transparent 25rem),
    var(--background);
  color: var(--ink);
  text-rendering: optimizeLegibility;
}
main { flex: 1; }
button, input, textarea { font: inherit; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
::selection { background: #a5f3fc; color: #0f172a; }

.page-shell { width: min(calc(100% - 2rem), 72rem); margin-inline: auto; }
.content-narrow { max-width: 56rem; margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.focus-ring:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible, a:focus-visible { outline: 3px solid rgba(8, 145, 178, 0.34); outline-offset: 3px; }
.skip-link { position: fixed; left: 1rem; top: 1rem; z-index: 100; transform: translateY(-200%); border-radius: .75rem; background: var(--ink); padding: .75rem 1rem; color: white; font-weight: 800; text-decoration: none; transition: transform 160ms ease; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid rgba(203, 213, 225, .7); background: rgba(255, 255, 255, .88); backdrop-filter: blur(18px); }
.header-inner { min-height: 4.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; border-radius: .8rem; color: #020617; font-size: 1.08rem; font-weight: 900; letter-spacing: -.035em; text-decoration: none; }
.brand-mark { width: 2.25rem; height: 2.25rem; flex: 0 0 auto; color: var(--cyan); }
.brand-mark rect { fill: currentColor; opacity: .12; }
.brand-mark circle, .brand-mark path { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.desktop-nav { display: none; align-items: center; gap: .2rem; }
.nav-link { border-radius: .75rem; padding: .65rem .85rem; color: #526076; font-size: .875rem; font-weight: 750; text-decoration: none; transition: background 150ms ease, color 150ms ease; }
.nav-link:hover, .nav-link.active { background: #f1f5f9; color: #020617; }
.language-link { margin-left: .5rem; border: 1px solid var(--line); border-radius: 999px; background: white; padding: .6rem .8rem; color: #334155; font-size: .875rem; font-weight: 900; text-decoration: none; box-shadow: 0 .25rem .8rem rgba(15,23,42,.06); }
.mobile-menu { position: relative; }
.mobile-menu summary { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; cursor: pointer; list-style: none; border: 1px solid var(--line); border-radius: .8rem; background: white; box-shadow: 0 .2rem .8rem rgba(15,23,42,.08); }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary span { width: 1.25rem; display: flex; flex-direction: column; gap: .3rem; }
.mobile-menu summary i { height: 2px; width: 100%; border-radius: 99px; background: currentColor; transition: transform 160ms ease, opacity 160ms ease; }
.mobile-menu[open] summary i:first-child { transform: translateY(.42rem) rotate(45deg); }
.mobile-menu[open] summary i:nth-child(2) { opacity: 0; }
.mobile-menu[open] summary i:last-child { transform: translateY(-.42rem) rotate(-45deg); }
.mobile-menu nav { position: absolute; right: 0; width: min(20rem, calc(100vw - 2rem)); margin-top: .75rem; padding: .5rem; border: 1px solid var(--line); border-radius: 1rem; background: white; box-shadow: 0 1.5rem 3rem rgba(15,23,42,.16); }
.mobile-menu nav a { display: block; border-radius: .75rem; padding: .8rem 1rem; color: #334155; font-weight: 750; text-decoration: none; }
.mobile-menu nav a:hover { background: #f1f5f9; }
.mobile-menu nav .mobile-language { margin-top: .25rem; border-top: 1px solid #edf2f7; color: var(--cyan); }

.hero-grid { min-height: calc(100vh - 9rem); display: grid; align-items: center; gap: 3rem; padding-block: clamp(4rem, 9vw, 7.5rem); }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; border: 1px solid #bae6fd; border-radius: 999px; background: rgba(236,254,255,.75); padding: .45rem .8rem; color: var(--cyan); font-size: .72rem; font-weight: 950; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: #06b6d4; box-shadow: 0 0 0 .25rem rgba(6,182,212,.12); }
.hero-title { max-width: 15ch; margin: 1.35rem 0 0; font-size: clamp(2.65rem, 7.5vw, 5.5rem); font-weight: 950; line-height: .98; letter-spacing: -.062em; text-wrap: balance; }
.hero-copy { max-width: 42rem; margin: 1.5rem 0 0; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.22rem); line-height: 1.75; text-wrap: pretty; }
.lookup-panel { border: 1px solid rgba(203,213,225,.85); border-radius: 1.5rem; background: rgba(255,255,255,.84); padding: clamp(1rem, 3vw, 1.5rem); box-shadow: var(--shadow); backdrop-filter: blur(14px); }
.lookup-form { display: grid; gap: .75rem; }
.input-wrap { position: relative; min-width: 0; }
.input-wrap svg { position: absolute; left: 1rem; top: 50%; width: 1.3rem; transform: translateY(-50%); fill: none; stroke: #64748b; stroke-width: 2; stroke-linecap: round; }
.input-wrap input { width: 100%; min-height: 3.65rem; border: 1px solid #cbd5e1; border-radius: 1rem; background: white; padding: .75rem 1rem .75rem 3rem; color: #020617; box-shadow: inset 0 1px 2px rgba(15,23,42,.04); }
.input-wrap input::placeholder, textarea::placeholder { color: #94a3b8; }
.lookup-form button, .primary-button { min-height: 3.65rem; border: 0; border-radius: 1rem; background: linear-gradient(135deg, var(--cyan), var(--cyan-bright)); padding: .8rem 1.5rem; color: white; font-weight: 900; box-shadow: 0 .65rem 1.5rem rgba(8,145,178,.22); cursor: pointer; transition: transform 150ms ease, box-shadow 150ms ease, opacity 150ms ease; }
.lookup-form button:hover, .primary-button:hover { transform: translateY(-1px); box-shadow: 0 .85rem 1.8rem rgba(8,145,178,.28); }
.lookup-form button:disabled, .primary-button:disabled { cursor: not-allowed; opacity: .58; transform: none; box-shadow: none; }
.form-hint { margin: .75rem 0 0; color: #64748b; font-size: .875rem; line-height: 1.5; }
.form-message:not(:empty) { margin-top: .75rem; border-radius: .8rem; background: #fff1f2; padding: .7rem .85rem; color: #be123c; font-size: .875rem; font-weight: 750; }
.result-container:not(:empty) { margin-top: 1.75rem; }

.result-card { border: 1px solid; border-radius: 1.5rem; padding: clamp(1.1rem, 3vw, 1.65rem); box-shadow: 0 1rem 2.5rem rgba(15,23,42,.07); }
.result-row { min-width: 0; min-height: 5.2rem; display: flex; align-items: center; gap: .8rem; border: 1px solid; border-radius: 1.1rem; padding: .9rem; }
.result-registered { border-color: #a7f3d0; background: linear-gradient(145deg, #ecfdf5, white); }
.result-not-found { border-color: #bae6fd; background: linear-gradient(145deg, #ecfeff, white); }
.result-warning { border-color: #fde68a; background: linear-gradient(145deg, #fffbeb, white); }
.status-icon { width: 2.75rem; height: 2.75rem; display: grid; flex: 0 0 auto; place-items: center; border-radius: .9rem; color: white; font-size: 1.25rem; font-weight: 950; }
.result-registered .status-icon { background: #047857; }
.result-not-found .status-icon { background: var(--cyan); }
.result-warning .status-icon { background: #a16207; }
.result-summary { display: flex; gap: 1rem; }
.result-summary-copy { min-width: 0; }
.result-kicker { margin: 0; color: #64748b; font-size: .72rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.result-domain { margin: .25rem 0 0; overflow-wrap: anywhere; color: #020617; font-size: clamp(1.55rem, 4vw, 2rem); font-weight: 950; letter-spacing: -.035em; }
.result-status { margin: .5rem 0 0; color: #0f172a; font-size: 1.05rem; font-weight: 850; }
.result-message { max-width: 46rem; margin: .25rem 0 0; color: #475569; line-height: 1.65; }
.result-details { display: grid; gap: .9rem; margin-top: 1.4rem; }
.result-section { border: 1px solid var(--line); border-radius: 1rem; background: rgba(255,255,255,.78); padding: 1rem; }
.result-section-title { margin: 0 0 .55rem; color: #64748b; font-size: .7rem; font-weight: 950; letter-spacing: .12em; text-transform: uppercase; }
.result-section-content { color: #1e293b; font-size: .9rem; line-height: 1.6; }
.result-section-content p { margin: 0; }
.event-list, .nameserver-list { margin: 0; padding: 0; list-style: none; }
.event-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; padding-block: .2rem; }
.event-row dt { color: #64748b; }
.event-row dd { margin: 0; color: #0f172a; font-weight: 750; }
.nameserver-list { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; overflow-wrap: anywhere; }
.status-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.status-tag { border-radius: 999px; background: #f1f5f9; padding: .3rem .6rem; color: #475569; font-size: .72rem; font-weight: 800; }
.result-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 1.25rem; border-top: 1px solid rgba(100,116,139,.18); padding-top: 1rem; color: #64748b; font-size: .75rem; }
.result-meta a { border-radius: .25rem; color: var(--cyan); font-weight: 800; text-decoration: underline; text-underline-offset: .25rem; }
.result-row-copy { min-width: 0; }
.result-row-copy h3 { margin: 0; overflow: hidden; color: #020617; font-size: 1rem; font-weight: 850; text-overflow: ellipsis; white-space: nowrap; }
.result-row-copy p { margin: .2rem 0 0; color: #475569; font-size: .85rem; font-weight: 750; }

.trust-section { border-block: 1px solid rgba(203,213,225,.75); background: rgba(255,255,255,.62); }
.section-pad { padding-block: clamp(4rem, 9vw, 7rem); }
.section-heading { max-width: 42rem; }
.section-heading h2, .page-title { margin: 0; font-size: clamp(2.1rem, 5vw, 3.45rem); font-weight: 950; letter-spacing: -.05em; line-height: 1.05; text-wrap: balance; }
.section-heading p, .page-intro { max-width: 46rem; margin: 1rem 0 0; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.2rem); line-height: 1.75; }
.page-title { max-width: 48rem; margin-top: 1.25rem; }
.feature-grid { display: grid; gap: 1.2rem; margin-top: 2.5rem; }
.feature-card, .content-card { border: 1px solid var(--line); border-radius: 1.4rem; background: rgba(255,255,255,.78); padding: 1.5rem; box-shadow: 0 .75rem 2rem rgba(15,23,42,.045); }
.feature-number { width: 2.5rem; height: 2.5rem; display: grid; flex: 0 0 auto; place-items: center; border-radius: .8rem; background: #cffafe; color: var(--cyan); font-size: .78rem; font-weight: 950; }
.feature-card h3 { margin: 1.25rem 0 0; font-size: 1.25rem; letter-spacing: -.02em; }
.feature-card p, .content-card p { margin: .55rem 0 0; color: var(--muted); line-height: 1.75; }
.explainer { display: grid; gap: 1.5rem; padding: clamp(1.5rem, 5vw, 3rem); }
.explainer h2 { margin: 0; font-size: clamp(1.8rem, 4vw, 2.7rem); font-weight: 950; letter-spacing: -.045em; line-height: 1.08; }
.explainer p { margin: 0; font-size: 1.05rem; line-height: 1.8; }
.article-list { display: grid; gap: 1.2rem; margin-top: 2.5rem; }
.numbered-card { display: grid; gap: 1rem; padding: clamp(1.5rem, 5vw, 2.5rem); }
.numbered-card h2, .contact-grid h2 { margin: 0; font-size: 1.4rem; letter-spacing: -.025em; }
.contact-grid { display: grid; gap: 1.2rem; margin-top: 2.5rem; }

.bulk-form { margin-top: 2rem; }
.field-header { display: flex; align-items: end; justify-content: space-between; gap: 1rem; }
.field-header label { color: #1e293b; font-size: .9rem; font-weight: 850; }
.field-header span { color: #64748b; font-size: .75rem; font-weight: 800; }
.field-header span.over-limit { color: #be123c; }
.bulk-form textarea { width: 100%; margin-top: .55rem; resize: vertical; border: 1px solid #cbd5e1; border-radius: 1rem; background: white; padding: 1rem; color: #020617; font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: 1rem; line-height: 1.7; box-shadow: inset 0 1px 3px rgba(15,23,42,.05); }
.bulk-form .primary-button { margin-top: 1.25rem; }
.bulk-results:not(:empty) { margin-top: 2.5rem; }
.bulk-results-title { margin: 0; font-size: 1.35rem; letter-spacing: -.025em; }
.bulk-results-grid { display: grid; gap: .75rem; margin-top: 1rem; }

.site-footer { margin-top: auto; border-top: 1px solid var(--line); background: white; }
.footer-grid { display: grid; gap: 1.25rem; padding-block: 2rem; color: #64748b; font-size: .84rem; }
.footer-brand { display: flex; align-items: center; gap: .8rem; }
.footer-brand .brand-mark { width: 2rem; height: 2rem; }
.footer-brand p, .footer-meta p { margin: 0; line-height: 1.5; }
.footer-brand strong { color: #0f172a; }
.footer-meta { display: grid; gap: .2rem; }

@media (min-width: 40rem) {
  .lookup-form { grid-template-columns: minmax(0,1fr) auto; }
  .lookup-form button { min-width: 11rem; }
  .result-details, .bulk-results-grid, .contact-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-grid { grid-template-columns: 1fr auto; align-items: center; }
  .footer-meta { text-align: right; }
  .numbered-card { grid-template-columns: 3rem 1fr; }
}

@media (min-width: 64rem) {
  .desktop-nav { display: flex; }
  .mobile-menu { display: none; }
  .hero-grid { grid-template-columns: minmax(0,1.15fr) minmax(20rem,.85fr); }
  .feature-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .explainer { grid-template-columns: .7fr 1.3fr; align-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
