:root {
  color-scheme: light;
  --navy-950: #052b49;
  --navy-900: #063b64;
  --navy-800: #084f84;
  --blue-600: #168ec4;
  --blue-100: #e8f6fc;
  --blue-050: #f4fbfe;
  --orange-500: #ff970f;
  --orange-100: #fff0d9;
  --green-600: #18864b;
  --green-100: #e7f6ed;
  --red-600: #b33c42;
  --red-100: #fdeced;
  --ink: #12283a;
  --muted: #607487;
  --line: #d9e5ec;
  --surface: #ffffff;
  --page: #f5f9fb;
  --radius-sm: 0.75rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --shadow-card: 0 1.5rem 4rem rgba(3, 43, 73, 0.16);
  --shell: 72rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--page);
  font-family: "Be Vietnam Pro", "Segoe UI", "Noto Sans", system-ui, sans-serif;
  line-height: 1.55;
}

button,
input {
  font: inherit;
}

img,
svg {
  display: block;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.65rem 0.9rem;
  transform: translateY(-160%);
  border-radius: 0.5rem;
  color: white;
  background: var(--navy-950);
}

.skip-link:focus {
  transform: translateY(0);
}

.header-shell,
.hero-shell,
.guidance-shell,
.footer-shell {
  width: min(calc(100% - 2rem), var(--shell));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 5;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--navy-950);
}

.header-shell {
  display: flex;
  min-height: 4.75rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: white;
  text-decoration: none;
}

.brand img,
.site-footer img {
  width: 8.6rem;
  height: auto;
  object-fit: contain;
}

.brand__divider {
  width: 1px;
  height: 1.75rem;
  background: rgba(255, 255, 255, 0.34);
}

.brand__label {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.header-status {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.84rem;
}

.header-status__dot {
  width: 0.55rem;
  height: 0.55rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: #43d47a;
  box-shadow: 0 0 0 0.2rem rgba(67, 212, 122, 0.12);
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(2.75rem, 6vw, 5.25rem);
  background:
    linear-gradient(116deg, rgba(4, 53, 89, 0.98), rgba(6, 76, 126, 0.95)),
    var(--navy-900);
}

.hero::after {
  position: absolute;
  right: -8rem;
  bottom: -12rem;
  z-index: -1;
  width: 32rem;
  height: 32rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  box-shadow:
    0 0 0 5rem rgba(255, 255, 255, 0.025),
    0 0 0 10rem rgba(255, 255, 255, 0.018);
  content: "";
}

.hero__glow {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(1px);
  pointer-events: none;
}

.hero__glow--one {
  top: -9rem;
  left: 35%;
  width: 25rem;
  height: 25rem;
  background: radial-gradient(circle, rgba(27, 157, 211, 0.2), transparent 67%);
}

.hero__glow--two {
  bottom: -9rem;
  left: -8rem;
  width: 24rem;
  height: 24rem;
  background: radial-gradient(circle, rgba(255, 151, 15, 0.14), transparent 68%);
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(25rem, 1.08fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}

.hero-copy {
  color: white;
}

.hero-kicker,
.section-kicker,
.result__eyebrow {
  margin: 0;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.1rem;
  color: #bce9fb;
}

.hero-kicker__icon {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.hero-kicker svg,
button svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 37rem;
  margin-bottom: 1.1rem;
  font-size: clamp(2.35rem, 5.2vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.hero-copy__lead {
  max-width: 35rem;
  margin-bottom: 1.75rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: clamp(1rem, 1.6vw, 1.08rem);
}

.assurance-list {
  display: grid;
  max-width: 33rem;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.assurance-list li {
  display: grid;
  grid-template-columns: 2.3rem 1fr;
  align-items: start;
  gap: 0.8rem;
}

.assurance-list li > span {
  padding-top: 0.2rem;
  color: var(--orange-500);
  font-size: 0.75rem;
  font-weight: 800;
}

.assurance-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.9rem;
}

.assurance-list strong {
  display: block;
  margin-bottom: 0.05rem;
  color: white;
  font-size: 0.95rem;
}

.checker-card {
  position: relative;
  padding: clamp(1.3rem, 3vw, 2.25rem);
  overflow: hidden;
  border: 1px solid rgba(117, 205, 237, 0.7);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 100% 0, rgba(22, 142, 196, 0.09), transparent 32%),
    var(--surface);
  box-shadow:
    0 1.8rem 4.5rem rgba(3, 43, 73, 0.22),
    0 0 0 0.35rem rgba(255, 255, 255, 0.08);
}

.checker-card__topline {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 0.3rem;
  background: linear-gradient(90deg, var(--blue-600) 0 72%, var(--orange-500) 72%);
}

.checker-card__header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 0.6rem;
}

.checker-card__icon {
  display: grid;
  flex: 0 0 auto;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border-radius: 0.85rem;
  color: white;
  background: var(--navy-800);
}

.checker-card__icon svg,
.input-wrap svg,
.trust-hint svg,
.privacy-note svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.section-kicker {
  margin-bottom: 0.15rem;
  color: var(--blue-600);
}

.checker-card h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.5vw, 1.8rem);
  line-height: 1.15;
}

.checker-card__intro {
  max-width: 34rem;
  margin: 0 0 1.15rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.verification-form__panel {
  padding: 1rem;
  border: 1px solid #bfdce9;
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, #f7fcff, #eef8fc);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.verification-form label {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--navy-950);
  font-size: 0.9rem;
  font-weight: 800;
}

.verification-controls {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

.input-wrap {
  position: relative;
  border-radius: var(--radius-sm);
  box-shadow: 0 0.35rem 1rem rgba(8, 79, 132, 0.08);
}

.input-wrap > svg {
  position: absolute;
  top: 50%;
  left: 1.1rem;
  width: 1.35rem;
  height: 1.35rem;
  transform: translateY(-50%);
  color: var(--navy-800);
}

input {
  width: 100%;
  min-height: 4.25rem;
  padding: 1.05rem 1.2rem 1.05rem 3.25rem;
  border: 2px solid #8ebdd3;
  border-radius: var(--radius-sm);
  outline: none;
  color: var(--ink);
  background: #f8fcfe;
  font-size: 1.02rem;
  font-weight: 500;
}

input::placeholder {
  color: #647f91;
  opacity: 1;
}

input:hover:not(:disabled) {
  border-color: #5c9fbd;
  background: white;
}

input:focus {
  border-color: var(--blue-600);
  background: white;
  box-shadow:
    0 0 0 4px rgba(22, 142, 196, 0.18),
    0 0.5rem 1.2rem rgba(8, 79, 132, 0.1);
}

input[aria-invalid="true"] {
  border-color: var(--red-600);
  box-shadow: 0 0 0 3px rgba(179, 60, 66, 0.12);
}

.input-message {
  min-height: 1.25rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
}

.input-message[data-error="true"] {
  color: var(--red-600);
  font-weight: 700;
}

button {
  display: inline-flex;
  width: 100%;
  min-height: 4.25rem;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding-inline: 1.5rem;
  border: 0;
  border-radius: var(--radius-sm);
  color: white;
  background: linear-gradient(135deg, var(--blue-600), var(--navy-800));
  box-shadow: 0 0.7rem 1.35rem rgba(8, 79, 132, 0.26);
  cursor: pointer;
  font-size: 0.98rem;
  font-weight: 800;
  animation: cta-attention 2.4s ease-in-out infinite;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

button:hover:not(:disabled) {
  animation-play-state: paused;
  background: var(--navy-800);
  box-shadow: 0 0.85rem 1.5rem rgba(8, 79, 132, 0.32);
  transform: translateY(-1px);
}

button:active:not(:disabled) {
  animation-play-state: paused;
  box-shadow: 0 0.35rem 0.8rem rgba(8, 79, 132, 0.24);
  transform: translateY(1px);
}

button[data-loading="true"]::before {
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: white;
  border-radius: 50%;
  animation: button-spin 700ms linear infinite;
  content: "";
}

button[data-loading="true"] svg {
  display: none;
}

button[data-loading="true"],
button:disabled {
  animation: none;
}

button:focus-visible,
.brand:focus-visible,
.skip-link:focus {
  outline: 3px solid var(--orange-500);
  outline-offset: 3px;
}

button:disabled,
input:disabled {
  cursor: not-allowed;
  opacity: 0.56;
}

.form-support {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-top: 0.6rem;
}

.trust-hint {
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  margin: 0;
  color: var(--navy-800);
  font-size: 0.72rem;
  font-weight: 600;
  text-align: right;
}

.trust-hint svg {
  flex: 0 0 auto;
  margin-top: 0.1rem;
}

.result {
  position: relative;
  display: grid;
  min-height: 9.4rem;
  grid-template-columns: auto minmax(0, 1fr);
  align-content: center;
  gap: 0.9rem;
  margin-top: 1.8rem;
  padding: 2rem 1rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--blue-050);
}

.result__icon {
  display: grid;
  width: 2.45rem;
  height: 2.45rem;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--navy-800);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1;
}

.result__eyebrow {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 1;
  max-width: calc(100% - 2rem);
  margin: 0;
  padding: 0.48rem 1.15rem;
  overflow: hidden;
  transform: translate(-50%, -50%);
  border: 2px solid white;
  border-radius: 999px;
  color: white;
  background: var(--navy-800);
  box-shadow: 0 0.4rem 0.9rem rgba(3, 43, 73, 0.18);
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-align: center;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.result h3 {
  margin-bottom: 0.25rem;
  font-size: 1.03rem;
  line-height: 1.32;
}

.result__body > p:not(.result__eyebrow) {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.result__details {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.65rem;
}

.result__details code,
.result__details span {
  max-width: 100%;
  padding: 0.28rem 0.5rem;
  overflow-wrap: anywhere;
  border-radius: 0.4rem;
  background: rgba(8, 79, 132, 0.08);
  font-size: 0.74rem;
}

.result[data-state="trusted"] {
  border-color: rgba(24, 134, 75, 0.38);
  background: var(--green-100);
  box-shadow: 0 0.6rem 1.35rem rgba(24, 134, 75, 0.16);
}

.result[data-state="trusted"].result--animate-trusted {
  animation: trusted-result-glow 1.25s ease-in-out 620ms 2;
}

.result[data-state="trusted"].result--animate-trusted .result__eyebrow {
  animation:
    trusted-label-pop 620ms cubic-bezier(0.2, 0.9, 0.25, 1.25) both,
    trusted-label-color 1.2s ease-in-out 620ms infinite;
}

.result[data-state="trusted"] .result__icon {
  background: var(--green-600);
}

.result[data-state="trusted"] .result__eyebrow {
  color: white;
  background: var(--green-600);
}

.result[data-state="untrusted"],
.result[data-state="invalid"] {
  border-color: rgba(255, 151, 15, 0.35);
  background: var(--orange-100);
}

.result[data-state="untrusted"] .result__icon,
.result[data-state="invalid"] .result__icon {
  background: #c66d00;
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1;
}

.result[data-state="untrusted"] .result__eyebrow,
.result[data-state="invalid"] .result__eyebrow {
  color: white;
  background: #a85b00;
}

.result[data-state="untrusted"] .result__eyebrow {
  animation: untrusted-label-color 1.2s ease-in-out infinite;
}

.result[data-state="error"] {
  border-color: rgba(179, 60, 66, 0.25);
  background: var(--red-100);
}

.result[data-state="error"] .result__icon {
  background: var(--red-600);
}

.result[data-state="error"] .result__eyebrow {
  color: white;
  background: var(--red-600);
}

.result[data-state="loading"] .result__icon {
  animation: pulse 1s ease-in-out infinite alternate;
}

.privacy-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.72rem;
  text-align: center;
}

.guidance {
  border-bottom: 1px solid var(--line);
  background: white;
}

.guidance-shell {
  display: grid;
  grid-template-columns: minmax(16rem, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.guidance__heading h2 {
  max-width: 28rem;
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.guidance__items {
  display: grid;
  gap: 0.8rem;
}

.guidance article {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--page);
}

.guidance__icon {
  display: grid;
  width: 2.4rem;
  height: 2.4rem;
  place-items: center;
  border-radius: 50%;
  color: white;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1;
}

.guidance__icon--trusted {
  background: var(--green-600);
}

.guidance__icon--unknown {
  background: #c66d00;
  font-size: 1.85rem;
  font-weight: 700;
}

.guidance article h3 {
  margin: 0 0 0.1rem;
  font-size: 0.96rem;
}

.guidance article p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.site-footer {
  background: var(--navy-950);
}

.footer-shell {
  display: flex;
  min-height: 5.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-shell p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  text-align: right;
}

.error-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 1rem;
  background: var(--navy-950);
}

.error-card {
  width: min(100%, 34rem);
  padding: clamp(1.5rem, 5vw, 3rem);
  border-radius: var(--radius-lg);
  background: white;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.error-card img {
  width: 9rem;
  height: auto;
  margin: 0 auto 1.5rem;
  filter: drop-shadow(0 0.3rem 0.6rem rgba(0, 0, 0, 0.12));
}

.error-card h1 {
  margin-bottom: 0.75rem;
  color: var(--navy-950);
  font-size: clamp(2.2rem, 8vw, 4rem);
}

.error-card p {
  color: var(--muted);
}

.error-card a {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  margin-top: 0.5rem;
  padding-inline: 1.2rem;
  border-radius: var(--radius-sm);
  color: white;
  background: var(--navy-800);
  font-weight: 700;
  text-decoration: none;
}

@keyframes pulse {
  from {
    opacity: 0.45;
    transform: scale(0.94);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes button-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes cta-attention {
  0%,
  100% {
    box-shadow: 0 0.7rem 1.35rem rgba(8, 79, 132, 0.26);
  }
  50% {
    box-shadow:
      0 0.85rem 1.55rem rgba(8, 79, 132, 0.34),
      0 0 0 0.3rem rgba(22, 142, 196, 0.12);
  }
}

@keyframes trusted-result-glow {
  0%,
  100% {
    border-color: rgba(24, 134, 75, 0.38);
    box-shadow: 0 0.6rem 1.35rem rgba(24, 134, 75, 0.16);
  }
  50% {
    border-color: rgba(24, 134, 75, 0.78);
    box-shadow:
      0 0.85rem 1.7rem rgba(24, 134, 75, 0.28),
      0 0 0 0.38rem rgba(24, 134, 75, 0.16);
  }
}

@keyframes trusted-label-pop {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.76);
  }
  55% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.14);
  }
  76% {
    transform: translate(-50%, -50%) scale(0.94);
  }
  90% {
    transform: translate(-50%, -50%) scale(1.035);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes trusted-label-color {
  0%,
  100% {
    border-color: white;
    color: white;
    background: #18864b;
    box-shadow: 0 0.4rem 0.9rem rgba(24, 134, 75, 0.24);
  }
  50% {
    border-color: #a7f3c8;
    color: #f4fff8;
    background: #25ad63;
    box-shadow:
      0 0.55rem 1.15rem rgba(37, 173, 99, 0.42),
      0 0 0 0.22rem rgba(37, 173, 99, 0.14);
  }
}

@keyframes untrusted-label-color {
  0%,
  100% {
    border-color: white;
    color: white;
    background: #a85b00;
    box-shadow: 0 0.4rem 0.9rem rgba(168, 91, 0, 0.24);
  }
  50% {
    border-color: #ffe0a3;
    color: #fffdf5;
    background: #df7f00;
    box-shadow:
      0 0.55rem 1.15rem rgba(223, 127, 0, 0.42),
      0 0 0 0.22rem rgba(223, 127, 0, 0.14);
  }
}

@media (max-width: 900px) {
  .hero-shell {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .hero-copy {
    max-width: 42rem;
  }

  .checker-card {
    width: min(100%, 42rem);
  }
}

@media (max-width: 640px) {
  .header-shell {
    min-height: 4.25rem;
  }

  .header-status {
    display: none;
  }

  .brand img,
  .site-footer img {
    width: 7.5rem;
  }

  .hero {
    padding-block: 2.3rem 2.75rem;
  }

  h1 {
    font-size: clamp(2.25rem, 12vw, 3.3rem);
  }

  .assurance-list {
    display: none;
  }

  .hero-copy__lead {
    margin-bottom: 0;
  }

  .checker-card {
    border-radius: 1.2rem;
  }

  .verification-controls {
    grid-template-columns: 1fr;
  }

  button {
    width: 100%;
  }

  .form-support {
    flex-direction: column;
  }

  .trust-hint {
    text-align: left;
  }

  .guidance-shell {
    grid-template-columns: 1fr;
  }

  .footer-shell {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-block: 1.5rem;
  }

  .footer-shell p {
    text-align: left;
  }
}

@media (max-width: 380px) {
  .header-shell,
  .hero-shell,
  .guidance-shell,
  .footer-shell {
    width: min(calc(100% - 1.25rem), var(--shell));
  }

  .brand__divider,
  .brand__label {
    display: none;
  }

  .hero-copy__lead {
    font-size: 0.95rem;
  }

  .checker-card {
    padding: 1rem;
  }

  .verification-form__panel {
    padding: 0.75rem;
  }

  .checker-card__icon {
    width: 2.6rem;
    height: 2.6rem;
  }

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

  .result__eyebrow {
    padding-inline: 0.9rem;
    font-size: 0.95rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto;
    transition-duration: 0.01ms !important;
  }

  .result[data-state="loading"] .result__icon,
  button[data-loading="true"]::before {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
