/* The launch gate splash page.
 *
 * Lifted verbatim from the Cloudflare Worker that served hillaryclinton.io
 * before the app did, so that the page the public sees does not change on the
 * day the origin moves from the Worker to this host. Nothing else loads this
 * file: the gate view is a standalone document, so these selectors cannot
 * reach any other page.
 */
:root{
  --ink:#101820;
  --blue:#2364aa;
  --red:#c92535;
  --paper:#fff8e8;
  --muted:#b9c3cc;
  --line:rgba(255,248,232,.2);
}
*{box-sizing:border-box}
html{min-height:100%;background:var(--ink)}
body{
  min-height:100vh;
  margin:0;
  display:grid;
  place-items:center;
  padding:18px;
  color:var(--paper);
  font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  background:
    radial-gradient(circle at 25% 15%,rgba(201,37,53,.42),transparent 30%),
    radial-gradient(circle at 78% 10%,rgba(35,100,170,.55),transparent 32%),
    linear-gradient(135deg,#101820 0%,#15283b 48%,#101820 100%);
}
body:before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background-image:
    linear-gradient(rgba(255,248,232,.06) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,248,232,.06) 1px,transparent 1px);
  background-size:34px 34px;
  mask-image:linear-gradient(to bottom,rgba(0,0,0,.75),transparent 80%);
}
main{
  position:relative;
  width:min(940px,100%);
  max-height:calc(100vh - 36px);
  border:1px solid var(--line);
  border-radius:8px;
  overflow:hidden;
  background:rgba(16,24,32,.78);
  box-shadow:0 24px 90px rgba(0,0,0,.38);
}
.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:12px 16px;
  border-bottom:1px solid var(--line);
  color:var(--muted);
  font-size:.82rem;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.lights{display:flex;gap:7px}
.lights span{
  width:11px;
  height:11px;
  border-radius:999px;
  background:var(--red);
  box-shadow:18px 0 #ffd166,36px 0 #3ddc97;
}
.content{
  display:grid;
  grid-template-columns:minmax(0,1fr) 260px;
  gap:30px;
  align-items:center;
  padding:clamp(20px,4vw,38px);
}
.badge{
  display:inline-flex;
  width:max-content;
  max-width:100%;
  border:1px solid rgba(255,248,232,.26);
  border-radius:999px;
  padding:8px 12px;
  color:#e8eef4;
  font-size:.78rem;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
}
h1{
  margin:14px 0 0;
  font-size:clamp(3.4rem,10vw,7rem);
  line-height:.82;
  letter-spacing:-.07em;
}
h1 span{color:#ff4757}
.lede{
  max-width:590px;
  margin:18px 0 0;
  color:#dbe4ea;
  font-size:clamp(1rem,1.8vw,1.2rem);
  line-height:1.42;
}
.sublede{
  max-width:590px;
  margin:10px 0 0;
  color:var(--muted);
  font-size:.95rem;
  line-height:1.42;
}
.bio-list{
  display:grid;
  gap:7px;
  max-width:620px;
  margin:16px 0 0;
  padding:0;
  list-style:none;
}
.bio-list li{
  border:1px solid rgba(255,248,232,.16);
  border-radius:8px;
  padding:9px 12px;
  color:#dbe4ea;
  background:rgba(255,255,255,.055);
  line-height:1.35;
  font-size:.92rem;
}
.bio-list strong{color:#fff}
.actions{
  display:flex;
  flex-wrap:wrap;
  gap:13px;
  margin-top:18px;
}
a.button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:0 18px;
  border-radius:8px;
  color:#fff;
  text-decoration:none;
  font-weight:900;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(255,255,255,.1);
}
a.primary{background:var(--red)}
.avatar-card{
  border:1px solid var(--line);
  border-radius:8px;
  background:rgba(255,255,255,.08);
  padding:12px;
  transform:rotate(2deg);
}
.avatar-card img{
  display:block;
  width:100%;
  aspect-ratio:1/1;
  object-fit:cover;
  border-radius:8px;
  border:1px solid rgba(255,255,255,.18);
}
.avatar-card strong{
  display:block;
  margin-top:10px;
  font-size:1.05rem;
}
.avatar-card p{
  margin:6px 0 0;
  color:var(--muted);
  line-height:1.32;
  font-size:.92rem;
}
.fineprint{
  padding:12px 16px;
  border-top:1px solid var(--line);
  color:var(--muted);
  font-size:.76rem;
  line-height:1.35;
}
@media (max-width:760px){
  body{
    display:block;
    min-height:100svh;
    padding:12px;
  }
  body:before{background-size:26px 26px}
  main{
    width:100%;
    min-height:calc(100svh - 24px);
    border-radius:10px;
    display:flex;
    flex-direction:column;
  }
  .topbar{
    align-items:flex-start;
    flex-direction:column;
    gap:12px;
    padding:14px;
    font-size:.7rem;
    line-height:1.35;
    letter-spacing:.1em;
  }
  .content{
    grid-template-columns:1fr;
    gap:26px;
    padding:26px 18px 30px;
  }
  .badge{
    width:100%;
    justify-content:center;
    border-radius:8px;
    text-align:center;
    font-size:.68rem;
    line-height:1.35;
    letter-spacing:.1em;
  }
  h1{
    margin-top:18px;
    font-size:clamp(3.1rem,18vw,4.9rem);
    line-height:.88;
    letter-spacing:-.055em;
    overflow-wrap:anywhere;
  }
  .lede{
    margin-top:20px;
    font-size:1.05rem;
    line-height:1.52;
  }
  .bio-list{
    gap:9px;
    margin-top:18px;
  }
  .bio-list li{
    padding:11px 12px;
    font-size:.94rem;
  }
  .sublede{
    font-size:.95rem;
    line-height:1.5;
  }
  .actions{
    display:grid;
    grid-template-columns:1fr;
    gap:10px;
    margin-top:22px;
  }
  a.button{
    width:100%;
    min-height:50px;
    padding:0 14px;
    text-align:center;
  }
  .avatar-card{
    max-width:230px;
    justify-self:center;
    transform:none;
    padding:12px;
  }
  .avatar-card strong,.avatar-card p{text-align:center}
  .fineprint{
    margin-top:auto;
    padding:14px;
    font-size:.76rem;
  }
}
@media (max-width:380px){
  body{padding:8px}
  main{min-height:calc(100svh - 16px)}
  .content{padding:22px 14px 26px}
  h1{font-size:clamp(2.7rem,17vw,4.1rem)}
}
