/* Fake Email Checker — welcome page
   Both modes live in one document; <body data-mode> decides which is visible. */

:root {
  --bg: #f7f8fb;
  --ink: #1b2233;
  --muted: #6c7689;
  --soft: #8b93a7;
  --line: #e6eaf2;
  --navy: #2b2868;
  --navy-dark: #241f5c;
  --green: #1c9a52;
  --amber: #d4920b;
  --red: #d64545;
  --radius: 16px;
  --max: 860px;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Only the section that matches body[data-mode] is shown. */
.mode {
  display: none;
}
body[data-mode="pin"] .mode-pin,
body[data-mode="usage"] .mode-usage {
  display: block;
}

/* ------------------------------------------------------------------ header */
.site-head {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(160%) blur(8px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.head-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.brand-logo {
  display: block;
  border-radius: 9px;
}

.brand-name {
  font-weight: 700;
  letter-spacing: -0.01em;
}

.head-meta {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.head-meta:hover {
  color: var(--navy);
}

/* -------------------------------------------------------------------- hero */
.hero {
  text-align: center;
  padding: 64px 0 8px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--navy);
  font-weight: 600;
  font-size: 15px;
}

.hero h1 {
  margin: 0 auto 16px;
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
  max-width: 16em;
}

.lede {
  margin: 0 auto;
  max-width: 42em;
  color: var(--muted);
  font-size: clamp(16px, 2.2vw, 19px);
}

/* ------------------------------------------------------------------- steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 40px 0 8px;
  display: flex;
  flex-direction: column;
  gap: 44px;
}

.step {
  text-align: center;
}

.step-text {
  margin: 0 auto 20px;
  max-width: 40em;
  font-size: clamp(16px, 2.2vw, 19px);
  color: #3c4658;
}

.step-text strong {
  color: var(--ink);
}

.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin: 0 2px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  vertical-align: text-bottom;
}

.shot {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px -20px rgba(24, 28, 48, 0.28), 0 4px 14px rgba(24, 28, 48, 0.06);
  background: #fff;
}

.shot--popup {
  width: auto;
  max-width: 100%;
  max-height: 640px;
  margin: 0 auto;
}

.shot--page {
  max-height: 460px;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  object-fit: cover;
}

/* legend inside step 1 of the usage mode */
.legend {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 10px;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: currentColor;
  flex: 0 0 auto;
}

.dot-ok {
  color: var(--green);
}
.dot-warn {
  color: var(--amber);
}
.dot-bad {
  color: var(--red);
}

/* ------------------------------------------------------------- final step */
.step--final {
  padding-bottom: 8px;
}

.btn {
  display: inline-block;
  margin-top: 4px;
  padding: 12px 20px;
  border-radius: 11px;
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: background 0.15s ease;
}

.btn:hover {
  background: var(--navy-dark);
}

.btn:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}

/* ------------------------------------------------------------------ footer */
.site-foot {
  margin-top: 72px;
  padding: 32px 0 56px;
  border-top: 1px solid var(--line);
  text-align: center;
  color: #3c4658;
  font-size: 14px;
}

.site-foot p {
  margin: 6px auto;
  max-width: 44em;
}

.site-foot .muted {
  color: var(--soft);
}

/* ---------------------------------------------------------------- responsive */
@media (max-width: 620px) {
  .hero {
    padding-top: 44px;
  }
  .steps {
    gap: 34px;
  }
  .head-meta {
    display: none;
  }
}
