/* The Get Across It site: the landing page, the early-access terms and the
   privacy policy (#744). The rules for the mark and the colours are
   design/brand/README.md. System fonts only: nothing is loaded from anywhere
   but this site. */
:root {
  --navy: #0E1E3A;
  --mist: #EEF2F7;
  --paper: #FFFFFF;
  --ink: #0B1220;
  --text: #1B2A44;
  --muted: #55627A;
  --line: #D9DEE7;
  --blue-on-dark: #5B8DEF;   /* the product's blue, for dark backgrounds */
  --blue-on-light: #2A72D0;  /* the darker blue, readable on white */
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--mist);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
}
a { color: var(--blue-on-light); }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--blue-on-dark); outline-offset: 3px; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }

/* --- The top: navy, the mark, the three agreed lines --- */
.top { background: var(--navy); color: #fff; }
.bar { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.bar .mark { height: 34px; width: auto; display: block; }
.bar a.signin { color: #fff; font-size: 15px; text-decoration: underline; text-underline-offset: 3px; }
.hero { padding: 56px 0 72px; max-width: 760px; }
.hero h1 { font-size: 52px; line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 18px; font-weight: 800; }
.hero .sub { font-size: 23px; line-height: 1.4; margin: 0 0 30px; color: #D7E0F0; }
.hero .invite { font-size: 18px; font-weight: 600; margin: 0 0 14px; color: #fff; }
/* The one thing to press. White on the navy so nothing else on the page
   looks like it; a hard edge beneath so it reads as a button, not a label. */
.button {
  display: inline-block; text-decoration: none; font-weight: 800; font-size: 19px;
  padding: 16px 30px; border-radius: 12px;
  background: #fff; color: var(--navy);
  box-shadow: 0 4px 0 var(--blue-on-dark);
}
.button:hover { background: #EAF1FF; }
.button:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--blue-on-dark); }
.hero .terms-line { margin: 18px 0 0; font-size: 15px; color: #B7C3D9; }

/* --- The body --- */
section { padding: 56px 0; }
section + section { border-top: 1px solid var(--line); }
h2 { font-size: 30px; line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 10px; color: var(--navy); }
.lead { font-size: 19px; color: var(--muted); margin: 0 0 30px; max-width: 720px; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px; }
.card h3 { font-size: 19px; margin: 0 0 6px; color: var(--navy); }
.card p { margin: 0; color: var(--text); }
.exchange { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 28px 30px; max-width: 820px; }
.exchange blockquote { margin: 0 0 18px; font-size: 22px; line-height: 1.4; color: var(--navy); font-weight: 600; }
.plain { margin: 0; padding-left: 22px; }
.plain li { margin: 0 0 8px; }
.plain li:last-child { margin-bottom: 0; }
.again { text-align: left; }
.again .button { background: var(--blue-on-light); color: #fff; box-shadow: 0 4px 0 var(--navy); }
.again .button:hover { background: #2466BD; }
.again .button:active { box-shadow: 0 2px 0 var(--navy); }

/* --- The foot --- */
footer { background: var(--navy); color: #B7C3D9; font-size: 15px; padding: 34px 0 40px; }
footer .row { display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; }
footer a { color: #fff; }
footer .who { margin: 14px 0 0; }

/* --- The terms and the privacy policy --- */
.doc-top { background: var(--navy); }
.doc-top .bar a.home { display: block; }
.doc { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; max-width: 820px; margin: 36px auto 56px; padding: 36px 44px 44px; }
.doc h1 { font-size: 34px; line-height: 1.15; margin: 0 0 8px; color: var(--navy); letter-spacing: -0.01em; }
.doc h2 { font-size: 23px; margin: 34px 0 8px; }
.doc h3 { font-size: 18px; margin: 24px 0 6px; color: var(--navy); }
.doc p, .doc li { font-size: 16px; }
.doc ul, .doc ol { padding-left: 24px; }
.doc li { margin: 0 0 6px; }
.doc code { font-family: inherit; background: #FFF4D6; padding: 0 4px; border-radius: 4px; }
.draft { background: #FFF4D6; border: 1px solid #E8C96A; color: #4A3A00; border-radius: 10px; padding: 12px 16px; margin: 0 0 24px; font-size: 15px; }

@media (max-width: 720px) {
  body { font-size: 16px; }
  .hero { padding: 36px 0 52px; }
  .hero h1 { font-size: 36px; }
  .hero .sub { font-size: 19px; }
  .cards { grid-template-columns: 1fr; }
  section { padding: 40px 0; }
  h2 { font-size: 25px; }
  .doc { padding: 24px 22px 30px; margin: 20px auto 40px; border-radius: 0; border-left: 0; border-right: 0; }
  .bar .mark { height: 28px; }
}
