:root {
  color-scheme: light;
  --ink: #193748;
  --muted: #456374;
  --line: #cfdee6;
  --ice: #e7f2f7;
  --serif: Georgia, 'Times New Roman', serif;
  font: 16px/1.55 system-ui, sans-serif;
  color: var(--ink);
  background: #f7fafb;
}
* { box-sizing: border-box }
body, h1, h2, h3, h4, p, blockquote { margin: 0 }
[hidden] { display: none !important }
.container { width: min(1120px, calc(100% - 64px)); margin-inline: auto }
.hero {
  background: radial-gradient(ellipse at 29% 42%, #4e788e 0%, transparent 47%), linear-gradient(155deg,#102a3d,#20455a 62%,#385e73);
  color: #f3fbff;
  overflow: hidden;
}
.hero-inner { min-height: 700px; display: grid; grid-template-columns: 1.16fr 1fr; gap: clamp(28px,6vw,90px); align-items: center; padding-block: 70px }
.intro { text-align: center; position: relative; }
.orbit {
  position: relative; width: clamp(178px,21vw,290px); aspect-ratio: 1; margin: 0 auto 34px;
  padding: 10px; border: 1px solid #d5f1ff66; border-radius: 50%;
  box-shadow: 0 0 50px #c5eeff55;
}
.orbit::before, .orbit::after { content: ''; position: absolute; border: 1px solid #c9efff44; inset: -11px; border-radius: 50%; pointer-events: none }
.orbit::after { inset: -23px }
.orbit img { width: 100%; height: auto; display: block; border-radius: 50%; }
.orbit i { position: absolute; top: 52%; left: -14px; width: 5px; height: 5px; background: #f1fbff; border-radius: 50%; box-shadow: 0 0 10px white }
.orbit b, .orbit em { position: absolute; font-style: normal; font-size: 19px; color: #e6f8ff; font-weight: normal }
.orbit b { left: -28%; top: 10%; }
.orbit em { right: -24%; bottom: 17%; font-size: 14px }
h1, h2, h3 { font-family: var(--serif); line-height: 1.09 }
h1 { font-size: clamp(2.9rem,6.1vw,6.1rem); letter-spacing: -.06em; text-transform: uppercase; }
h1 span { display: block; font-size: 1.29em; line-height: .96 }
.intro p { margin: 20px auto 0; color: #e2f0f8; max-width: 290px }
form {
  background: #f7fbfd; color: var(--ink); padding: clamp(26px,4vw,47px);
  border: 1px solid #fff9; border-radius: 18px; box-shadow: 0 22px 65px #091e3070;
}
h2 { font-size: clamp(1.9rem,3.8vw,3rem); letter-spacing: -.045em }
.form-intro { margin: 12px 0 23px; color: var(--muted) }
label { display: block; font-size: .94rem; font-weight: 680; margin-bottom: 5px }
input { font: inherit; color: var(--ink); width: 100%; min-height: 51px; padding: 9px 13px; border: 1px solid #9db6c4; border-radius: 8px; background: white; }
input::placeholder { color: #597480 }
small { display: block; font-size: .875rem; margin: 5px 0 16px; color: var(--muted) }
button { font: inherit; font-weight: 670; color: white; background: #204e66; border: 0; border-radius: 8px; padding: 13px 20px; cursor: pointer; min-height: 48px; }
button:hover { background: #15394d }
:focus-visible { outline: 3px solid #4986aa; outline-offset: 3px }
form button { width: 100%; margin-top: 6px }
.privacy { color: var(--muted); font-size: .875rem; margin-top: 12px }
#error, #download-status { margin-block: 6px 12px; color: #8e2929; font-size: .94rem }
#result { padding-block: 55px 45px }
.result-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px }
.eyebrow { font-size: .875rem; font-weight: 720; text-transform: uppercase; letter-spacing: .13em; color: #2f6079; margin-bottom: 9px }
#personal { margin-top: 6px; color: var(--muted); overflow-wrap: anywhere }
#digits, #reading { display: grid; gap: 16px; }
#digits { grid-template-columns: repeat(4,1fr); margin-bottom: 26px; }
#digits a { text-decoration: none; color: var(--ink); background: var(--ice); border: 1px solid #c8dce7; padding: 16px; border-radius: 12px; text-align: center }
#digits a:hover { background: #d7eaf3 }
#digits strong { display: block; font: bold 3.2rem/1 var(--serif); margin-bottom: 8px; }
#reading { grid-template-columns: repeat(2, minmax(0,1fr)); align-items: start; gap: 22px }
article, .activation { border: 1px solid var(--line); padding: clamp(20px,3vw,34px); border-radius: 14px; background: white; scroll-margin-top: 18px }
article h3, .activation h3 { font-size: 1.65rem; }
article p, article h4, article blockquote, .activation p { margin-top: 12px }
article h4 { font-size: 1rem }
.digit-label { font: italic 1rem var(--serif); color: #2f6079; }
blockquote { border-left: 3px solid #7ba7bd; background: var(--ice); padding: 14px 16px; font: italic 1.12rem/1.5 var(--serif) }
ul { padding-left: 20px; margin-bottom: 0 }
li + li { margin-top: 8px }
.activation { margin-top: 22px; background: var(--ice) }
footer { border-top: 1px solid var(--line); padding: 22px 0; font-size: .875rem; color: var(--muted); }
footer span { margin-inline: 8px }
@media (max-width: 720px) {
  .container { width: calc(100% - 36px) }
  .hero-inner { grid-template-columns: 1fr; padding-block: 45px 30px; gap: 26px; min-height: 0; max-width: 530px }
  .orbit { margin-bottom: 27px }
  #reading { grid-template-columns: 1fr }
  #digits { grid-template-columns: 1fr 1fr; gap: 8px }
  .result-head { align-items: start; flex-direction: column }
  #result { padding-block: 32px }
}
