:root {
  --radius: 0.9rem;
  --background: #f7fbff;
  --foreground: #0b1220;
  --card: rgba(255, 255, 255, 0.74);
  --card-strong: rgba(255, 255, 255, 0.92);
  --primary: #0b1220;
  --primary-foreground: #ffffff;
  --secondary: rgba(255, 255, 255, 0.58);
  --muted: rgba(15, 23, 42, 0.04);
  --muted-foreground: rgba(15, 23, 42, 0.67);
  --border: rgba(2, 6, 23, 0.12);
  --input: rgba(2, 6, 23, 0.14);
  --ring: #2563eb;
  --ring-soft: rgba(37, 99, 235, 0.18);
  --success: #059669;
  --warning: #d97706;
  --danger: #dc2626;
  --app-bg-1: rgba(37, 99, 235, 0.18);
  --app-bg-2: rgba(14, 165, 233, 0.14);
  --app-bg-3: rgba(16, 185, 129, 0.1);
  --app-texture-dot: rgba(15, 23, 42, 0.08);
  --app-texture-soft: rgba(255, 255, 255, 0.4);
  --glass-shadow: 0 22px 55px -32px rgba(2, 6, 23, 0.35);
}

body.dark {
  --background: #05070c;
  --foreground: rgba(248, 250, 252, 0.96);
  --card: rgba(10, 14, 22, 0.68);
  --card-strong: rgba(10, 14, 22, 0.9);
  --primary: rgba(248, 250, 252, 0.96);
  --primary-foreground: #05070c;
  --secondary: rgba(255, 255, 255, 0.07);
  --muted: rgba(255, 255, 255, 0.05);
  --muted-foreground: rgba(226, 232, 240, 0.78);
  --border: rgba(255, 255, 255, 0.12);
  --input: rgba(255, 255, 255, 0.14);
  --ring: #60a5fa;
  --ring-soft: rgba(96, 165, 250, 0.2);
  --success: #34d399;
  --warning: #fbbf24;
  --danger: #f87171;
  --app-bg-1: rgba(59, 130, 246, 0.18);
  --app-bg-2: rgba(14, 165, 233, 0.12);
  --app-bg-3: rgba(16, 185, 129, 0.1);
  --app-texture-dot: rgba(255, 255, 255, 0.08);
  --app-texture-soft: rgba(0, 0, 0, 0.26);
  --glass-shadow: 0 22px 60px -36px rgba(0, 0, 0, 0.75);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--foreground);
  background:
    radial-gradient(900px 650px at 10% -10%, var(--app-bg-1), transparent 60%),
    radial-gradient(900px 650px at 90% 0, var(--app-bg-2), transparent 56%),
    radial-gradient(900px 800px at 50% 110%, var(--app-bg-3), transparent 60%),
    radial-gradient(var(--app-texture-dot) 0.68px, transparent 0.8px),
    radial-gradient(var(--app-texture-soft) 0.6px, transparent 0.8px),
    var(--background);
  background-size: cover, cover, cover, 6px 6px, 9px 9px, auto;
  font-family: "Manrope", "Segoe UI", sans-serif;
  transition: background-color 0.2s ease, color 0.2s ease;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.hidden {
  display: none !important;
}

.page-shell {
  position: relative;
  overflow: hidden;
}

.top-glow {
  position: absolute;
  inset: auto;
  border-radius: 999px;
  filter: blur(90px);
  opacity: 0.65;
  pointer-events: none;
}

.top-glow-left {
  top: 2rem;
  left: -6rem;
  width: 14rem;
  height: 14rem;
  background: rgba(37, 99, 235, 0.2);
}

.top-glow-right {
  top: 5rem;
  right: -4rem;
  width: 12rem;
  height: 12rem;
  background: rgba(16, 185, 129, 0.16);
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.4rem;
  max-width: 1180px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  background: color-mix(in srgb, var(--card) 88%, transparent);
  backdrop-filter: blur(16px);
}

.brand,
.brand-footer {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-logo {
  width: 220px;
  height: auto;
  display: block;
  flex: 0 0 auto;
  filter: drop-shadow(0 14px 28px rgba(37, 99, 235, 0.12));
}

.brand-logo-footer {
  width: 240px;
}

.brand-mark {
  width: 2.7rem;
  height: 2.7rem;
  display: grid;
  place-items: center;
  border-radius: 0.95rem;
  background:
    linear-gradient(145deg, rgba(37, 99, 235, 0.18), rgba(14, 165, 233, 0.08)),
    var(--card-strong);
  border: 1px solid var(--border);
  box-shadow: var(--glass-shadow);
}

.brand-mark span {
  display: block;
  width: 1.2rem;
  height: 0.12rem;
  margin: 0.12rem 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #1d4ed8, #22c55e);
}

.brand-name {
  margin: 0;
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-tag {
  margin: 0.1rem 0 0;
  color: var(--muted-foreground);
  font-size: 0.8rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.32rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--secondary) 85%, transparent);
  overflow-x: auto;
  scrollbar-width: none;
}

.main-nav::-webkit-scrollbar {
  display: none;
}

.main-nav a {
  padding: 0.62rem 0.95rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted-foreground);
  white-space: nowrap;
  border-radius: 999px;
  transition: 0.2s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--foreground);
  background: color-mix(in srgb, var(--background) 92%, transparent);
  box-shadow: 0 8px 20px -16px rgba(15, 23, 42, 0.4);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.lang-button,
.theme-button,
.recent-button,
.scan-button {
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--foreground);
  border-radius: 0.8rem;
  transition: 0.2s ease;
}

.lang-button {
  padding: 0.7rem 0.95rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.theme-button {
  width: 2.7rem;
  height: 2.7rem;
  display: grid;
  place-items: center;
}

.lang-button:hover,
.theme-button:hover,
.recent-button:hover,
.scan-button:hover,
.submit-button:hover,
.primary-link:hover,
.ghost-link:hover {
  transform: translateY(-1px);
}

.sun-icon {
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  border: 2px solid currentColor;
  position: relative;
}

.sun-icon::before,
.sun-icon::after {
  content: "";
  position: absolute;
  inset: 50%;
  width: 1.55rem;
  height: 0.1rem;
  background: currentColor;
  transform: translate(-50%, -50%);
  border-radius: 999px;
}

.sun-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1rem 1.4rem 4rem;
}

.hero {
  padding-top: 2rem;
}

.hero-copy {
  max-width: 760px;
  margin: 0 auto 1.6rem;
  text-align: center;
}

.hero-copy h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.hero-copy h1 span {
  display: block;
  margin-top: 0.35rem;
  color: transparent;
  background: linear-gradient(90deg, #2563eb, #0ea5e9, #14b8a6);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-copy p {
  margin: 0.8rem auto 0;
  max-width: 650px;
  color: var(--muted-foreground);
  line-height: 1.7;
}

.guide-marquee {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem;
  margin: 0 auto 1.8rem;
  max-width: 900px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 1.2rem;
  background: rgba(37, 99, 235, 0.06);
  box-shadow: 0 12px 32px -26px var(--ring);
}

.guide-label {
  flex-shrink: 0;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.24);
  background: var(--card-strong);
  color: var(--ring);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guide-window {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.guide-track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}

.guide-marquee:hover .guide-track {
  animation-play-state: paused;
}

.guide-group {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding-right: 0.55rem;
}

.guide-group a {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.82rem;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  background: color-mix(in srgb, var(--card) 92%, transparent);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  transition: 0.2s ease;
}

.guide-group a:hover {
  border-color: rgba(37, 99, 235, 0.45);
  background: rgba(37, 99, 235, 0.1);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.search-panel,
.result-shell,
.card-band,
.feature-card,
.phone-card,
.feedback-band,
.value-grid article,
.blog-card,
.faq-section,
.tool-grid article,
.final-cta,
.site-footer {
  backdrop-filter: blur(14px);
  box-shadow: var(--glass-shadow);
}

.search-panel {
  max-width: 900px;
  margin: 0 auto;
  padding: 1.2rem;
  border: 1px solid var(--border);
  border-radius: 1.45rem;
  background: var(--card);
}

.search-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.search-head label {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.live-note {
  margin: 0 0 0.9rem;
  padding: 0.8rem 0.95rem;
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 1rem;
  background: rgba(37, 99, 235, 0.05);
  color: var(--muted-foreground);
  font-size: 0.86rem;
  line-height: 1.55;
}

.recent-button {
  padding: 0.55rem 0.8rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.recent-strip {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-bottom: 0.8rem;
}

.recent-pill {
  border: 1px solid var(--border);
  background: var(--secondary);
  color: var(--foreground);
  padding: 0.5rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.search-form {
  display: flex;
  gap: 0.85rem;
}

.search-input-wrap {
  flex: 1;
  display: flex;
  gap: 0.65rem;
}

.search-input-wrap input {
  width: 100%;
  padding: 1rem 1.1rem;
  border: 1px solid var(--input);
  border-radius: 1rem;
  background: color-mix(in srgb, var(--background) 94%, transparent);
  color: var(--foreground);
  font-size: 1rem;
  font-family: "Space Mono", monospace;
  outline: none;
  transition: 0.2s ease;
}

.search-input-wrap input:focus {
  border-color: var(--ring);
  box-shadow: 0 0 0 4px var(--ring-soft);
}

.search-input-wrap input::placeholder {
  color: var(--muted-foreground);
  font-family: "Manrope", sans-serif;
}

.scan-button {
  padding: 0.95rem 1rem;
  font-size: 0.82rem;
  font-weight: 700;
}

.submit-button,
.primary-link {
  border: 0;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0 1.4rem;
  border-radius: 1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: 0.2s ease;
}

.ghost-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.82rem 1.1rem;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 1rem;
  font-size: 0.9rem;
  font-weight: 700;
  transition: 0.2s ease;
}

.result-shell {
  max-width: 900px;
  margin: 1.2rem auto 0;
  padding: 1.2rem;
  border-radius: 1.45rem;
  border: 1px solid var(--border);
  background: var(--card);
  min-height: 250px;
}

.captcha-panel {
  margin-top: 0.9rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 1.15rem;
  background: color-mix(in srgb, var(--card-strong) 92%, transparent);
}

.captcha-copy strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
}

.captcha-copy p {
  margin: 0;
  color: var(--muted-foreground);
  font-size: 0.88rem;
  line-height: 1.55;
}

.captcha-row {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 1rem;
  align-items: center;
  margin-top: 0.9rem;
}

.captcha-image {
  width: 100%;
  min-height: 72px;
  object-fit: contain;
  border-radius: 0.9rem;
  border: 1px solid var(--border);
  background: white;
}

.captcha-controls {
  display: grid;
  gap: 0.75rem;
}

.captcha-controls input {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 0.95rem;
  border: 1px solid var(--input);
  background: color-mix(in srgb, var(--background) 94%, transparent);
  color: var(--foreground);
  outline: none;
}

.captcha-actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.captcha-submit {
  min-height: 2.95rem;
  padding-inline: 1.15rem;
}

.captcha-error {
  margin: 0.8rem 0 0;
  color: var(--danger);
  font-size: 0.86rem;
  font-weight: 700;
}

.result-shell.empty-state {
  display: flex;
  align-items: center;
  justify-content: center;
}

.empty-message {
  padding: 2.5rem 1rem;
  text-align: center;
  color: var(--muted-foreground);
}

.empty-icon {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 0.8rem;
  border-radius: 50%;
  border: 1px dashed var(--border);
  position: relative;
}

.empty-icon::before {
  content: "";
  position: absolute;
  width: 1.1rem;
  height: 1.1rem;
  top: 0.85rem;
  left: 0.85rem;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.empty-icon::after {
  content: "";
  position: absolute;
  width: 0.75rem;
  height: 0.13rem;
  right: 0.65rem;
  bottom: 0.7rem;
  background: currentColor;
  transform: rotate(45deg);
  border-radius: 999px;
}

.result-top,
.status-grid,
.explain-grid,
.bottom-grid,
.three-grid,
.split-feature,
.feedback-grid,
.value-grid,
.insight-grid,
.tool-grid,
.footer-columns,
.footer-base {
  display: grid;
  gap: 1rem;
}

.result-top {
  grid-template-columns: 1fr auto;
  align-items: start;
  margin-bottom: 1rem;
}

.bottom-grid {
  grid-template-columns: 1fr 1fr;
}

.eyebrow {
  margin: 0 0 0.3rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ring);
}

.result-top h2,
.feature-card h2,
.feedback-band h2,
.card-band h2,
.value-grid h2,
.insights-section h2,
.faq-section h2,
.explore-tools h2,
.final-cta h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.3vw, 2.15rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.route-line {
  margin: 0.45rem 0 0;
  color: var(--muted-foreground);
}

.score-ring {
  width: 7.6rem;
  height: 7.6rem;
  display: grid;
  place-items: center;
  text-align: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--card-strong) 54%, transparent 56%),
    conic-gradient(#22c55e 0deg, #0ea5e9 200deg, rgba(15, 23, 42, 0.08) 200deg);
  border: 1px solid var(--border);
}

.score-ring span {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.score-ring small {
  color: var(--muted-foreground);
  font-size: 0.76rem;
}

.status-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 1rem;
}

.status-box,
.detail-panel,
.value-card,
.tool-grid article,
.blog-card,
.feedback-grid article,
.three-grid article {
  border: 1px solid var(--border);
  border-radius: 1.15rem;
  background: color-mix(in srgb, var(--card-strong) 90%, transparent);
}

.status-box {
  padding: 1rem;
}

.status-box span,
.feedback-grid article span,
.blog-card p,
.phone-top span,
.value-card span,
.tool-grid article p {
  display: block;
  color: var(--muted-foreground);
}

.status-box span {
  margin-bottom: 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
}

.status-box strong {
  font-size: 1rem;
  font-family: "Space Mono", monospace;
}

.explain-grid,
.split-feature {
  grid-template-columns: 1.35fr 0.9fr;
}

.detail-panel {
  padding: 1.15rem;
}

.detail-panel-primary {
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(14, 165, 233, 0.04)),
    color-mix(in srgb, var(--card-strong) 92%, transparent);
}

.detail-panel h3,
.blog-card h3,
.tool-grid h3,
.feedback-grid strong,
.three-grid h3,
.phone-card h3 {
  margin: 0 0 0.7rem;
  font-size: 1.02rem;
  line-height: 1.35;
}

.detail-panel p,
.feature-card p,
.phone-card p,
.feedback-grid article p,
.three-grid p,
.blog-card span,
.faq-list p,
.final-cta p,
.site-footer p {
  margin: 0;
  color: var(--muted-foreground);
  line-height: 1.65;
}

.meter {
  height: 0.8rem;
  margin: 1rem 0;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.08);
}

.meter-fill {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #22c55e, #0ea5e9);
  transition: width 0.35s ease;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.signal-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
}

.signal-chip.positive {
  color: var(--success);
  background: color-mix(in srgb, var(--success) 12%, transparent);
}

.signal-chip.neutral {
  color: var(--ring);
  background: color-mix(in srgb, var(--ring) 12%, transparent);
}

.signal-chip.warning {
  color: var(--warning);
  background: color-mix(in srgb, var(--warning) 12%, transparent);
}

.detail-list,
.bullet-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.72rem 0;
  border-bottom: 1px solid var(--border);
}

.detail-list li:last-child {
  border-bottom: 0;
}

.detail-list span {
  color: var(--muted-foreground);
}

.detail-list strong {
  font-weight: 800;
}

.bullet-list li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.75rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--ring);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.card-band,
.feedback-band,
.faq-section {
  margin-top: 1.5rem;
  padding: 1.6rem;
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  background: var(--card);
}

.three-grid,
.feedback-grid,
.tool-grid,
.footer-columns,
.footer-base {
  grid-template-columns: repeat(3, 1fr);
}

.three-grid {
  margin-top: 1.25rem;
}

.three-grid article,
.feedback-grid article {
  padding: 1.15rem;
}

.step-icon {
  display: inline-grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  margin-bottom: 0.9rem;
  border-radius: 0.95rem;
  color: var(--ring);
  font-weight: 800;
  background: rgba(37, 99, 235, 0.08);
}

.split-feature,
.value-grid,
.insight-grid {
  margin-top: 1.5rem;
}

.feature-card,
.phone-card,
.value-card,
.blog-card,
.tool-grid article,
.final-cta {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  background: var(--card);
}

.mini-stats {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.2rem;
}

.mini-stats div {
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--card-strong) 88%, transparent);
}

.mini-stats strong,
.value-card strong {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.96rem;
}

.phone-card {
  background:
    radial-gradient(circle at top, rgba(37, 99, 235, 0.1), transparent 55%),
    var(--card);
}

.phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.62rem;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  color: var(--success) !important;
  font-size: 0.75rem;
  font-weight: 800;
}

.phone-body {
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}

.mini-screen {
  width: min(100%, 250px);
  padding: 1rem;
  border-radius: 1.6rem;
  border: 1px solid rgba(37, 99, 235, 0.16);
  background:
    linear-gradient(180deg, rgba(37, 99, 235, 0.08), transparent),
    color-mix(in srgb, var(--card-strong) 90%, transparent);
}

.mini-header,
.mini-footer {
  display: flex;
  justify-content: space-between;
  color: var(--muted-foreground);
  font-size: 0.78rem;
}

.mini-score {
  margin: 1rem 0;
  padding: 1rem;
  border-radius: 1.2rem;
  background: rgba(37, 99, 235, 0.08);
}

.mini-score small {
  display: block;
  color: var(--muted-foreground);
  margin-bottom: 0.3rem;
}

.mini-score strong {
  font-size: 2rem;
  letter-spacing: -0.05em;
}

.mini-bars {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.mini-bars span {
  display: block;
  height: 0.72rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(34, 197, 94, 0.9), rgba(14, 165, 233, 0.85));
}

.mini-bars span:nth-child(2) {
  width: 82%;
}

.mini-bars span:nth-child(3) {
  width: 66%;
}

.feedback-grid {
  margin-top: 1.2rem;
}

.feedback-grid article {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.feedback-grid article span {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feedback-grid small {
  color: var(--muted-foreground);
  line-height: 1.55;
}

.value-grid {
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  align-items: stretch;
}

.value-grid article:first-child {
  padding: 0.5rem 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.value-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.2rem;
  margin-bottom: 1rem;
}

.section-heading a {
  color: var(--ring);
  font-weight: 700;
}

.insight-grid,
.tool-grid {
  grid-template-columns: repeat(4, 1fr);
}

.blog-card,
.tool-grid article {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.blog-card a {
  color: var(--ring);
  font-weight: 700;
  margin-top: auto;
}

.faq-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.2rem;
}

.faq-list details {
  padding: 1rem 1.05rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--card-strong) 90%, transparent);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list p {
  margin-top: 0.65rem;
}

.final-cta {
  margin-top: 1.8rem;
  text-align: center;
}

.final-cta p {
  max-width: 620px;
  margin: 0.8rem auto 0;
}

.final-cta .cta-row {
  justify-content: center;
}

.site-footer {
  max-width: 1180px;
  margin: 3rem auto 2rem;
  padding: 1.6rem;
  border: 1px solid var(--border);
  border-radius: 1.6rem;
  background: var(--card);
}

.footer-brand {
  display: grid;
  gap: 0.9rem;
  margin-bottom: 1.4rem;
}

.footer-columns {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.35rem 0;
}

.developer-contact {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 0 0.4rem;
}

.developer-logo {
  width: 140px;
  height: 140px;
  object-fit: contain;
  border-radius: 1.2rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(241,245,249,0.98));
  border: 1px solid rgba(148, 163, 184, 0.24);
  box-shadow: 0 18px 42px -30px rgba(2, 6, 23, 0.18);
  padding: 0.8rem;
}

.developer-copy {
  display: grid;
  gap: 0.35rem;
}

.developer-label {
  margin: 0;
  color: var(--muted-foreground);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.developer-email {
  color: var(--foreground);
  font-size: 1rem;
  font-weight: 800;
}

.footer-columns div {
  display: grid;
  gap: 0.65rem;
}

.footer-columns h3 {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
}

.footer-columns a {
  color: var(--muted-foreground);
  font-size: 0.92rem;
}

.footer-base {
  grid-template-columns: 2fr 1fr;
  padding-top: 1rem;
}

.status-confirmed .score-ring {
  background:
    radial-gradient(circle at center, var(--card-strong) 54%, transparent 56%),
    conic-gradient(#22c55e 0deg, #10b981 260deg, rgba(15, 23, 42, 0.08) 260deg);
}

.status-risk .score-ring {
  background:
    radial-gradient(circle at center, var(--card-strong) 54%, transparent 56%),
    conic-gradient(#f59e0b 0deg, #ef4444 145deg, rgba(15, 23, 42, 0.08) 145deg);
}

.status-risk #meterFill {
  background: linear-gradient(90deg, #f59e0b, #ef4444);
}

.status-moderate .score-ring {
  background:
    radial-gradient(circle at center, var(--card-strong) 54%, transparent 56%),
    conic-gradient(#22c55e 0deg, #f59e0b 205deg, rgba(15, 23, 42, 0.08) 205deg);
}

@media (max-width: 1120px) {
  .site-header {
    padding-inline: 1rem;
  }

  main,
  .site-footer {
    margin-inline: 1rem;
  }

  .main-nav {
    max-width: 45vw;
  }

  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .value-grid article:first-child {
    grid-column: 1 / -1;
  }

  .insight-grid,
  .tool-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 840px) {
  .site-header {
    flex-wrap: wrap;
    justify-content: center;
  }

  .main-nav {
    order: 3;
    width: 100%;
    max-width: none;
    justify-content: flex-start;
  }

  .search-form,
  .search-input-wrap,
  .result-top,
  .explain-grid,
  .split-feature,
  .footer-base,
  .captcha-row {
    grid-template-columns: 1fr;
    display: grid;
  }

  .search-form {
    gap: 0.7rem;
  }

  .submit-button,
  .search-form .submit-button {
    min-height: 3.35rem;
  }

  .status-grid,
  .three-grid,
  .feedback-grid,
  .footer-columns {
    grid-template-columns: 1fr;
  }

  .bottom-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header,
  main,
  .site-footer {
    margin-inline: 0.75rem;
    padding-inline: 0.95rem;
  }

  .site-header {
    padding-block: 0.9rem;
  }

  main {
    padding-block: 0.8rem 3rem;
  }

  .hero {
    padding-top: 1rem;
  }

  .hero-copy h1 {
    font-size: 2.05rem;
  }

  .guide-marquee {
    gap: 0.55rem;
    padding: 0.55rem;
  }

  .guide-label {
    font-size: 0.66rem;
  }

  .search-panel,
  .result-shell,
  .card-band,
  .feature-card,
  .phone-card,
  .feedback-band,
  .blog-card,
  .faq-section,
  .tool-grid article,
  .final-cta,
  .site-footer {
    border-radius: 1.2rem;
  }

  .status-grid,
  .insight-grid,
  .tool-grid,
  .value-grid {
    grid-template-columns: 1fr;
  }

  .developer-contact {
    flex-direction: column;
    align-items: flex-start;
  }

  .score-ring {
    width: 6.6rem;
    height: 6.6rem;
  }

  .header-actions {
    width: 100%;
    justify-content: center;
  }

  .brand-logo {
    width: 165px;
  }

  .brand-logo-footer {
    width: 180px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
