:root {
  color-scheme: light;
  --ink: #142033;
  --muted: #5d6b7d;
  --line: #d8dee8;
  --blue: #0b68c1;
  --green: #1c8f5a;
  --gold: #d49b28;
  --surface: #ffffff;
  --soft: #edf4fb;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(120deg, rgba(11, 104, 193, .96), rgba(20, 32, 51, .86)),
    linear-gradient(0deg, rgba(255, 255, 255, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px);
  background-size: auto, 28px 28px, 28px 28px;
}

.shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 440px);
  min-height: 100vh;
}

.hero {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 48px;
}

.visual {
  position: relative;
  width: min(420px, 55vw);
  aspect-ratio: 1;
}

.signal {
  position: absolute;
  inset: 18%;
  border: 2px solid rgba(255, 255, 255, .38);
  border-radius: 50%;
}

.signal.two {
  inset: 8%;
  border-color: rgba(212, 155, 40, .5);
}

.signal.three {
  inset: 0;
  border-color: rgba(255, 255, 255, .18);
}

.device {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 40%;
  aspect-ratio: 10 / 16;
  transform: translate(-50%, -50%);
  border-radius: 24px;
  background: #f8fbff;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .28);
  padding: 16px 12px;
}

.device-top {
  width: 34%;
  height: 5px;
  margin: 0 auto 18px;
  border-radius: 99px;
  background: #b9c6d6;
}

.screen {
  display: grid;
  gap: 12px;
}

.screen span {
  display: block;
  height: 12px;
  border-radius: 99px;
  background: #dce7f4;
}

.screen span:first-child {
  width: 76%;
  background: var(--blue);
}

.screen span:last-child {
  width: 56%;
  background: var(--gold);
}

.panel {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  min-height: 100vh;
  padding: 48px;
  background: rgba(255, 255, 255, .94);
  border-left: 1px solid rgba(255, 255, 255, .55);
  box-shadow: -24px 0 80px rgba(8, 21, 40, .22);
}

.panel.compact {
  width: min(440px, calc(100vw - 32px));
  min-height: auto;
  margin: 8vh auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(8, 21, 40, .18);
}

.brand {
  width: 170px;
  height: auto;
  object-fit: contain;
  margin-bottom: 10px;
}

.eyebrow {
  color: var(--gold);
  font-weight: 750;
  text-transform: uppercase;
  font-size: 12px;
}

h1 {
  margin: 0;
  font-size: 42px;
  line-height: 1.05;
  letter-spacing: 0;
}

p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.lead {
  font-size: 18px;
}

.google-button,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  border: 1px solid #c9d2df;
  border-radius: 8px;
  color: var(--ink);
  background: var(--surface);
  text-decoration: none;
  font-size: 16px;
  font-weight: 750;
  box-shadow: 0 10px 28px rgba(8, 21, 40, .1);
}

.google-button.disabled {
  color: #7c8796;
  background: #f3f6fa;
}

.google-mark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #4285f4;
  background: #fff;
  font-weight: 900;
  font-family: Arial, sans-serif;
}

.status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
}

.status-dot.ok {
  background: var(--green);
}

.fineprint,
.user-email {
  font-size: 13px;
}

.success-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  font-size: 28px;
  font-weight: 900;
}

code {
  display: block;
  padding: 12px;
  overflow-wrap: anywhere;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  color: #26364d;
}

@media (max-width: 820px) {
  .shell {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 32vh;
    padding: 24px;
  }

  .visual {
    width: min(240px, 70vw);
  }

  .panel {
    min-height: 68vh;
    padding: 32px 24px;
    border-left: 0;
  }

  h1 {
    font-size: 34px;
  }
}
