:root {
  color-scheme: light;
  --ink: #18394b;
  --muted: #60717c;
  --blue: #244d67;
  --paper: #f6f7f4;
  --line: #dde4e2;
  --green: #dceade;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
button,
input {
  font: inherit;
}
button,
a,
input {
  touch-action: manipulation;
}
a {
  color: var(--blue);
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid #dc9e45;
  outline-offset: 4px;
}
.site-header {
  max-width: 1240px;
  padding: 28px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: auto;
}
.brand {
  text-decoration: none;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
  letter-spacing: -0.4px;
}
.brand-mark {
  display: grid;
  place-items: center;
  background: var(--blue);
  color: white;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  font:
    italic 32px Georgia,
    serif;
}
.pilot-label {
  font-size: 14px;
  color: var(--muted);
}
main {
  max-width: 1160px;
  margin: auto;
  padding: 28px 24px 64px;
}
.welcome {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
  padding-top: 30px;
}
.intro {
  padding: 16px 0;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.7px;
  font-size: 12px;
  font-weight: 750;
  margin: 0 0 18px;
  color: var(--muted);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.12;
  letter-spacing: -1.9px;
  font-weight: 650;
  margin-bottom: 24px;
}
h1 em {
  font-family: Georgia, serif;
  font-weight: 400;
  color: #447866;
}
h2 {
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.7px;
}
h3 {
  font-size: 20px;
  line-height: 1.3;
}
.lede {
  max-width: 440px;
  color: var(--muted);
  font-size: 19px;
}
.benefits {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}
.benefits li {
  margin: 12px 0;
}
.benefits span {
  display: inline-grid;
  place-items: center;
  background: var(--green);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin-right: 12px;
  color: #315f48;
  font-size: 14px;
}
.entry-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 12px 40px #18394b06;
}
.entry-card p {
  color: var(--muted);
}
.entry-card h1 {
  font-size: 34px;
  letter-spacing: -1px;
}
.entry-card .eyebrow {
  color: #447866;
}
.entry-card h2 {
  margin-bottom: 14px;
}
label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  margin: 24px 0 8px;
}
input:not([type='checkbox']) {
  width: 100%;
  border: 1px solid #bdcacd;
  border-radius: 10px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fff;
  min-height: 52px;
}
button.primary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  border: 0;
  border-radius: 11px;
  background: var(--blue);
  color: white;
  padding: 15px 18px;
  margin: 20px 0 12px;
  font-weight: 600;
  min-height: 54px;
}
.primary:hover {
  background: #18394b;
}
.fine {
  font-size: 13px;
  line-height: 1.55;
}
.connection-note {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-top: 26px;
  font-size: 14px;
}
.connection-note p {
  margin: 6px 0 18px;
}
.privacy-link {
  font-size: 13px;
  text-underline-offset: 4px;
}
.sample-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid #86a894;
  border-radius: 12px;
  padding: 22px 24px;
  max-width: 410px;
  margin-top: 34px;
  box-shadow: 0 8px 30px #18394b05;
}
.sample-label {
  display: block;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 1.2px;
  color: var(--muted);
  margin-bottom: 15px;
}
.child {
  display: inline-block;
  background: #edf0f7;
  color: #596b94;
  font-size: 12px;
  border-radius: 5px;
  padding: 2px 8px;
  margin-bottom: 10px;
}
.sample-card h3 {
  margin: 0 0 6px;
}
.sample-card p {
  font-size: 15px;
  margin-bottom: 14px;
  color: var(--muted);
}
.sample-source {
  font-size: 12px;
  color: var(--muted);
}
.centered {
  max-width: 540px;
  margin: 35px auto;
}
.text-button {
  border: 0;
  background: none;
  color: var(--blue);
  padding: 12px 4px;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 4px;
  min-height: 44px;
}
.secondary,
.identity-button {
  border: 1px solid #bdcacd;
  border-radius: 10px;
  background: white;
  color: var(--ink);
  padding: 10px 18px;
  min-height: 46px;
  font-size: 15px;
}
.entry-card .secondary,
.identity-button {
  width: 100%;
  margin-top: 16px;
}
.danger {
  display: block;
  background: #fff6f3;
  color: #9e392a;
  border: 1px solid #f0d7ce;
  padding: 13px 18px;
  border-radius: 10px;
  width: 100%;
  margin-top: 16px;
}
.notice,
.error {
  background: #fff3dc;
  color: #6c5124 !important;
  border: 1px solid #eddfbf;
  border-radius: 10px;
  padding: 16px;
  font-size: 14px;
  margin-bottom: 20px;
}
.error {
  background: #fff0ed;
  color: #9e392a !important;
  border-color: #f0cec7;
}
.check {
  display: flex;
  align-items: start;
  gap: 12px;
  font-weight: 400;
  font-size: 14px;
}
.check input {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 3px;
  accent-color: var(--blue);
}
.code-input {
  text-align: center;
  letter-spacing: 0.35em;
  font-size: 28px !important;
}
.qr-pair {
  display: flex;
  gap: 16px;
  margin: 24px 0;
  background: white;
}
.qr-code {
  width: calc(50% - 8px);
}
.qr-code svg {
  width: 100%;
  height: auto;
}
.otp {
  font-size: 40px;
  letter-spacing: 0.3em;
  color: var(--ink) !important;
  text-align: center;
}
.spinner,
.small-spinner {
  border: 3px solid #dce5e2;
  border-top-color: var(--blue);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  animation: spin 1s linear infinite;
  margin: 12px auto 24px;
}
.small-spinner {
  width: 18px;
  height: 18px;
  margin: 0;
  display: inline-block;
  flex-shrink: 0;
  border-width: 2px;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.dashboard {
  max-width: 1040px;
  margin: auto;
}
.dashboard-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 20px 0 24px;
}
.dashboard-head h1 {
  font-size: 38px;
  margin-bottom: 10px;
}
.dashboard-head .eyebrow {
  margin-bottom: 12px;
}
#freshness {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}
.actions {
  display: flex;
  align-items: center;
  gap: 15px;
}
.progress {
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 10px;
  padding: 16px;
  background: #e7efed;
  font-size: 14px;
  margin: 0 0 20px;
}
.demo-banner {
  font-size: 13px;
  text-align: center;
  color: #60717c;
  padding: 8px 15px;
  background: #e9eeef;
  border-radius: 8px;
  margin-bottom: 18px;
}
#brief-frame {
  display: block;
  width: 100%;
  border: 0;
  min-height: 650px;
  border-radius: 14px;
  background: #fff;
}
.preparing {
  max-width: 600px;
  margin: 48px auto;
  text-align: center;
  padding: 30px;
  color: var(--muted);
}
.preparing h2 {
  color: var(--ink);
}
.skeleton {
  height: 75px;
  background: #e9eeeb;
  border-radius: 12px;
  margin-top: 25px;
}
.skeleton.short {
  width: 75%;
  margin: 18px auto;
}
.privacy-panel {
  max-width: 720px;
  margin: 50px auto;
  padding: 0 24px;
}
.privacy-panel h2 {
  font-size: 23px;
  margin-top: 32px;
}
.privacy-panel h1 {
  font-size: 42px;
}
.privacy-panel p {
  color: var(--muted);
}
footer {
  border-top: 1px solid var(--line);
  max-width: 1160px;
  margin: 0 auto;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
  gap: 20px;
}
.loading {
  text-align: center;
  padding: 80px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 760px) {
  .site-header {
    padding: 20px 22px;
  }
  .pilot-label {
    display: none;
  }
  main {
    padding: 10px 20px 40px;
  }
  .welcome {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 0;
  }
  .intro {
    padding-top: 22px;
  }
  h1 {
    font-size: 39px;
    letter-spacing: -1.5px;
  }
  .lede {
    font-size: 17px;
  }
  .sample-card {
    display: none;
  }
  .benefits {
    margin-bottom: 0;
  }
  .entry-card {
    padding: 25px;
    border-radius: 18px;
  }
  .centered {
    margin: 24px auto;
  }
  .dashboard-head {
    align-items: start;
    flex-direction: column;
    gap: 18px;
  }
  .dashboard-head h1 {
    font-size: 34px;
  }
  .actions {
    width: 100%;
    justify-content: space-between;
  }
  .dashboard-head .eyebrow {
    margin-bottom: 10px;
  }
  footer {
    flex-direction: column;
    gap: 8px;
    font-size: 12px;
  }
  .qr-pair {
    gap: 8px;
  }
  .qr-code {
    width: calc(50% - 4px);
  }
  .preparing {
    padding: 15px 0;
  }
  #brief-frame {
    border-radius: 0;
  }
  .privacy-panel {
    margin-top: 30px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .spinner,
  .small-spinner {
    animation: none;
  }
}
