:root {
  color-scheme: light;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --paper: #f5f5f7;
  --white: #ffffff;
  --green: #008a5a;
  --green-dark: #006f49;
  --blue: #0071e3;
  --gold: #b96f00;
  --charcoal: #111111;
  --focus: #0071e3;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", sans-serif;
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 clamp(20px, 5vw, 72px);
  background: rgba(251, 251, 253, 0.84);
  backdrop-filter: saturate(180%) blur(20px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand,
.nav-cta,
.button,
.contact-links a,
.site-footer a {
  min-height: 44px;
  border-radius: 999px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.brand span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--white);
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0 15px;
  background: var(--blue);
  color: var(--white);
}

a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.hero {
  min-height: calc(100svh - 48px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 390px);
  align-items: center;
  gap: clamp(28px, 5vw, 76px);
  padding: clamp(64px, 9vw, 118px) clamp(20px, 6vw, 82px) clamp(48px, 7vw, 88px);
  background: linear-gradient(180deg, #fbfbfd 0%, #ffffff 100%);
}

.daily-live {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(20px, 6vw, 82px);
  background: #f5f5f7;
}

.daily-live .eyebrow {
  margin-bottom: 8px;
  color: var(--gold);
}

.daily-live h2 {
  margin-bottom: 8px;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.05;
  font-weight: 900;
}

.daily-live p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.35;
  font-weight: 700;
}

.live-button {
  min-width: 250px;
  background: var(--ink);
  color: var(--white);
}

.live-button:hover,
.live-button:focus-visible {
  background: #2b3038;
}

.hero-copy {
  max-width: 880px;
}

.priority-line {
  width: fit-content;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  margin: 0 0 18px;
  padding: 8px 12px;
  border: 1px solid rgba(0, 113, 227, 0.14);
  border-radius: 999px;
  background: #eef6ff;
  color: #0066cc;
  font-size: 14px;
  font-weight: 900;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 860px;
  margin-bottom: 22px;
  font-size: clamp(52px, 7.4vw, 96px);
  line-height: 1.01;
  font-weight: 800;
}

.subhead {
  max-width: 760px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(21px, 2.35vw, 29px);
  line-height: 1.22;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 3px;
  padding: 13px 22px;
  border: 1px solid transparent;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.button span {
  font-size: 13px;
  font-weight: 750;
  opacity: 0.78;
}

.button:hover,
.button:focus-visible,
.contact-links a:hover,
.contact-links a:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible {
  transform: translateY(-1px);
}

.primary {
  background: var(--blue);
  color: var(--white);
}

.priority-button {
  min-width: 280px;
  box-shadow: 0 16px 34px rgba(0, 113, 227, 0.18);
}

.primary:hover,
.primary:focus-visible,
.nav-cta:hover,
.nav-cta:focus-visible {
  background: #0066cc;
}

.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.secondary:hover,
.secondary:focus-visible {
  background: var(--paper);
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.service-list li {
  border-radius: 999px;
  background: #f5f5f7;
  padding: 11px 14px;
  color: #333a43;
  font-size: 14px;
  font-weight: 800;
}

.hero-visual {
  margin: 0;
  justify-self: center;
  width: min(100%, 390px);
}

.hero-visual img {
  width: 100%;
  max-height: min(70svh, 650px);
  object-fit: cover;
  object-position: top center;
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 12px;
  background: var(--paper);
}

.proof-strip div {
  min-height: 150px;
  display: grid;
  align-content: center;
  gap: 7px;
  padding: 24px clamp(20px, 5vw, 72px);
  border-radius: 18px;
  background: var(--white);
  text-align: center;
}

.proof-strip span,
.contact-links span,
.founder-panel span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.proof-strip strong {
  font-size: clamp(24px, 2.7vw, 34px);
  line-height: 1.05;
}

.proof-strip div:nth-child(1) {
  border-top: 4px solid var(--blue);
}

.proof-strip div:nth-child(2) {
  border-top: 4px solid var(--green);
}

.proof-strip div:nth-child(3) {
  border-top: 4px solid var(--gold);
}

.scanner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 400px);
  gap: clamp(28px, 6vw, 84px);
  align-items: center;
  padding: clamp(68px, 9vw, 112px) clamp(20px, 6vw, 82px);
  background: #ffffff;
}

.scanner-copy {
  max-width: 780px;
}

.scanner h2 {
  margin-bottom: 16px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1;
  font-weight: 900;
}

.scanner-copy p:not(.eyebrow) {
  max-width: 680px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.35;
}

.scanner-panel {
  display: grid;
  gap: 14px;
  justify-items: center;
  padding: clamp(18px, 4vw, 28px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.08);
}

.scanner-panel span,
.scan-result span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.scanner-panel img {
  width: min(100%, 320px);
  aspect-ratio: 1;
  padding: 14px;
  border-radius: 18px;
  background: var(--white);
}

.scanner-panel strong {
  font-size: clamp(22px, 2.4vw, 30px);
}

.scanner-panel a {
  color: #0066cc;
  font-size: 20px;
  font-weight: 900;
}

.mission {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(28px, 6vw, 84px);
  align-items: center;
  padding: clamp(68px, 9vw, 112px) clamp(20px, 6vw, 82px);
  background: #000000;
  color: var(--white);
}

.mission h2,
.contact h2,
.founder-details h2 {
  margin-bottom: 16px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1;
  font-weight: 900;
}

.mission p {
  max-width: 820px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(19px, 2.2vw, 27px);
  line-height: 1.28;
}

.mission .eyebrow {
  color: rgba(255, 255, 255, 0.58);
}

.founder-panel {
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  padding: clamp(24px, 4vw, 34px);
}

.founder-panel p {
  margin-bottom: 10px;
  color: var(--white);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1;
  font-weight: 900;
}

.founder-panel strong {
  display: block;
  margin-bottom: 12px;
  color: #86d8ff;
  font-size: 20px;
  line-height: 1.2;
}

.founder-panel small {
  display: block;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

.founder-details {
  display: grid;
  gap: clamp(30px, 5vw, 60px);
  padding: clamp(68px, 9vw, 112px) clamp(20px, 6vw, 82px);
  background: var(--white);
}

.founder-heading {
  max-width: 920px;
  text-align: center;
  justify-self: center;
}

.founder-heading p:last-child {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(19px, 2.1vw, 26px);
  line-height: 1.28;
}

.credential-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.credential-grid div {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
  border-radius: 18px;
  background: var(--paper);
}

.credential-grid span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.credential-grid strong {
  color: var(--ink);
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.08;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 84px);
  padding: clamp(68px, 9vw, 112px) clamp(20px, 6vw, 82px);
  background: #fbfbfd;
}

.contact p {
  max-width: 660px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.35;
}

.contact-links {
  display: grid;
  gap: 12px;
}

.contact-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid transparent;
  background: var(--white);
  padding: 18px 20px;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.contact-links a:hover,
.contact-links a:focus-visible {
  border-color: rgba(0, 113, 227, 0.18);
  background: #f5f5f7;
}

.contact-links .priority-contact {
  border-color: rgba(0, 113, 227, 0.18);
  background: #eef6ff;
}

.contact-links .priority-contact span {
  color: #0066cc;
}

.contact-links .priority-contact strong {
  color: #0066cc;
}

.contact-links strong {
  overflow-wrap: anywhere;
  text-align: right;
  font-size: clamp(16px, 2vw, 22px);
}

.site-footer {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px clamp(20px, 6vw, 82px);
  border-top: 1px solid var(--line);
  background: #f5f5f7;
  color: var(--muted);
}

.site-footer p {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  background: var(--ink);
  color: var(--white);
  padding: 0 16px;
  font-size: 14px;
  font-weight: 850;
  transition: transform 160ms ease;
}

.scanner-page {
  background: #ffffff;
}

.scanner-tool {
  display: grid;
  gap: clamp(28px, 5vw, 52px);
  padding: clamp(48px, 8vw, 96px) clamp(20px, 6vw, 82px);
}

.scanner-tool-copy {
  max-width: 980px;
}

.scanner-tool h1 {
  max-width: 980px;
  font-size: clamp(48px, 7vw, 86px);
}

.scanner-workbench {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 18px;
  align-items: stretch;
}

.scan-preview {
  position: relative;
  min-height: min(64svh, 620px);
  overflow: hidden;
  border-radius: 24px;
  background: #10141b;
}

.scan-preview video {
  width: 100%;
  height: 100%;
  min-height: min(64svh, 620px);
  object-fit: cover;
}

.scan-preview p {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  margin: 0;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font-weight: 850;
}

.scan-frame {
  position: absolute;
  inset: 50%;
  width: min(56vw, 300px);
  height: min(56vw, 300px);
  transform: translate(-50%, -50%);
  border: 4px solid rgba(255, 255, 255, 0.9);
  border-radius: 24px;
  box-shadow: 0 0 0 999px rgba(0, 0, 0, 0.2);
}

.scanner-controls,
.scan-result {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
}

.scanner-controls button,
.scanner-controls label,
.scan-result .button {
  width: 100%;
}

.scanner-controls input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.upload-button {
  cursor: pointer;
}

.scan-result {
  grid-column: 2;
}

.scan-result strong {
  overflow-wrap: anywhere;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.2;
}

@media (max-width: 940px) {
  .daily-live {
    grid-template-columns: 1fr;
  }

  .live-button {
    width: 100%;
  }

  .hero,
  .mission,
  .scanner,
  .contact,
  .scanner-workbench {
    grid-template-columns: 1fr;
  }

  .scan-result {
    grid-column: auto;
  }

  .hero-visual {
    justify-self: start;
    width: min(330px, 84vw);
  }

  .proof-strip {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 660px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  .nav-links a:not(.nav-cta):not([href="#daily-live"]) {
    display: none;
  }

  .nav-cta {
    width: 100%;
    justify-content: center;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
  }

  h1 {
    font-size: clamp(46px, 14vw, 58px);
  }

  .cta-row,
  .button,
  .priority-line,
  .scanner-panel,
  .site-footer a {
    width: 100%;
  }

  .button {
    min-height: 64px;
  }

  .contact-links a,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .contact-links strong {
    text-align: left;
  }
}
