:root {
  color-scheme: light;
  --ink: #151515;
  --muted: #303030;
  --page: #f1f1f1;
  --panel: #ffffff;
  --field: #f0f0f0;
  --line: #e2e2e2;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.08);
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: var(--sans);
  line-height: 1.48;
  overflow-x: hidden;
}

a { color: inherit; }

.site-header {
  min-height: 62px;
  padding: 14px 20px 6px;
  background: #f8f8f8;
}

.brand {
  display: block;
  width: fit-content;
  margin-left: max(20px, 15.35vw);
}

.brand img {
  display: block;
  width: min(92px, 42vw);
  height: auto;
}

.top-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 10px;
  font-family: var(--sans);
  font-size: 0.95rem;
}

.top-links a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hero {
  background: var(--page);
}

.hero-title-wrap {
  display: grid;
  place-items: center;
  min-height: 58px;
  padding: 6px 20px 10px;
  background: #f8f8f8;
  text-align: center;
}

h1,
h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.12;
}

h1 {
  font-size: clamp(1.35rem, 1.45vw, 1.62rem);
}

h1 span {
  text-decoration: underline;
  text-decoration-thickness: 0.07em;
  text-underline-offset: 0.08em;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(420px, 41.25vw) minmax(0, 1fr);
  align-items: stretch;
  width: 100%;
  min-height: 338px;
  margin: 0 auto;
  background:
    linear-gradient(90deg, #ffffff 0, #ffffff 39%, #f7f7f7 39%, #f7f7f7 100%);
}

.hero-copy {
  display: grid;
  align-content: center;
  gap: clamp(32px, 2.7vw, 46px);
  padding: 36px 24px 42px max(28px, 16.75vw);
  background: #ffffff;
  font-family: var(--serif);
  font-size: clamp(0.98rem, 1.03vw, 1.14rem);
  line-height: 1.72;
}

.copy-block {
  display: grid;
  gap: 4px;
}

.hero-copy p {
  margin: 0;
}

.hero-copy strong {
  font-weight: 700;
}

.hero-photo {
  display: grid;
  align-content: center;
  padding: 6px max(42px, 9.8vw) 6px 32px;
  background: #f7f7f7;
}

.hero-photo img {
  display: block;
  width: 100%;
  max-width: 632px;
  height: auto;
  border: 12px solid #ffffff;
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.signup-section {
  padding: 22px 20px 64px;
  text-align: center;
}

.signup-section h2 {
  margin: 0 0 20px;
  font-size: clamp(1.28rem, 1.42vw, 1.58rem);
}

.signup-form {
  display: grid;
  gap: 23px;
  width: min(1170px, calc(100% - 12px));
  margin: 0 auto;
  padding: 30px clamp(26px, 7.2vw, 132px) 30px;
  background: #ffffff;
  text-align: left;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-size: clamp(1.12rem, 1.34vw, 1.38rem);
  color: #202020;
}

input[type="text"],
input[type="email"] {
  width: 100%;
  min-height: 54px;
  padding: 12px 16px;
  border: 0;
  border-radius: 6px;
  background: var(--field);
  color: var(--ink);
  font: 1.08rem var(--sans);
  outline: 2px solid transparent;
}

input[type="text"]:focus,
input[type="email"]:focus,
.consent input:focus-visible,
.signup-form button:focus-visible {
  outline: 3px solid #333333;
  outline-offset: 3px;
}

.consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  max-width: 1010px;
  margin: 0 auto;
  color: #1f1f1f;
  font-size: clamp(0.8rem, 0.9vw, 0.92rem);
  line-height: 1.34;
}

.consent input {
  width: 14px;
  height: 14px;
  margin: 3px 0 0;
  accent-color: #111111;
}

.consent a {
  font-weight: 700;
}

.signup-form button {
  justify-self: center;
  min-width: 174px;
  min-height: 68px;
  margin-top: 2px;
  padding: 0 24px;
  border: 4px solid #000000;
  border-radius: 42px;
  background: #111111;
  color: #ffffff;
  box-shadow: 0 8px 0 #000000, 0 18px 26px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  font: 800 clamp(1.32rem, 1.65vw, 1.58rem) var(--sans);
  letter-spacing: 0;
}

.signup-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 9px 0 #000000, 0 20px 30px rgba(0, 0, 0, 0.2);
}

.signup-form button:active {
  transform: translateY(4px);
  box-shadow: 0 4px 0 #000000, 0 10px 18px rgba(0, 0, 0, 0.18);
}

.signup-form button:disabled {
  opacity: 0.65;
  cursor: progress;
}

.form-status {
  min-height: 22px;
  margin: -6px 0 0;
  text-align: center;
  color: #111111;
  font-weight: 700;
}

.form-status.error {
  color: #8a2720;
}

.note {
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 28px;
}

.note p {
  margin: 0;
  color: #4b4b4b;
  font-size: 0.9rem;
  text-align: center;
}

.site-footer {
  padding: 20px 20px 24px;
  color: #181818;
  background: var(--page);
  font-family: var(--serif);
  font-size: clamp(0.92rem, 1.2vw, 1.06rem);
  font-weight: 700;
  text-align: center;
}

.site-footer p {
  margin: 0;
  overflow-wrap: break-word;
}

.site-footer a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.thanks-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.thanks-page main {
  flex: 1;
  display: grid;
}

.thanks,
.legal-page {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: 52px 0 80px;
}

.thanks {
  width: min(760px, calc(100% - 40px));
  min-height: calc(100vh - 182px);
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 18px;
  padding-top: clamp(56px, 8vh, 96px);
  padding-bottom: clamp(52px, 8vh, 90px);
}

.thanks h1 {
  max-width: 720px;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.05vw, 3.1rem);
  line-height: 1.08;
}

.legal-page h1 {
  max-width: 900px;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.35vw, 2.35rem);
  line-height: 1.18;
}

.thanks p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.14vw, 1.1rem);
  line-height: 1.56;
}

.thanks .eyebrow {
  color: #2a2a2a;
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.thanks .thanks-lead {
  margin-top: 2px;
}

.legal-page p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.62;
}

.download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  min-width: 210px;
  min-height: 58px;
  margin-top: 6px;
  padding: 0 28px;
  border: 3px solid #000000;
  border-radius: 36px;
  background: #111111;
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 6px 0 #000000, 0 14px 22px rgba(0, 0, 0, 0.16);
}

.download-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 7px 0 #000000, 0 16px 24px rgba(0, 0, 0, 0.16);
}

.download-button:active {
  transform: translateY(3px);
  box-shadow: 0 3px 0 #000000, 0 9px 16px rgba(0, 0, 0, 0.14);
}

.download-button:focus-visible {
  outline: 3px solid #333333;
  outline-offset: 4px;
}

.small {
  font-size: 0.88rem;
}

.legal-page section {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-top: 24px;
}

.legal-page h2 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: clamp(1.16rem, 1.75vw, 1.6rem);
  line-height: 1.2;
}

.legal-page ol,
.legal-page ul {
  margin: 0 0 16px;
  padding-left: 1.35rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.62;
}

.legal-page li {
  margin: 0.42rem 0;
}

.legal-source-note {
  padding: 20px;
  border: 1px solid var(--line);
  background: #ffffff;
}

.legal-source-content {
  margin-top: 28px;
}

.updated {
  color: #7c3e24;
  font-weight: 700;
}

@media (max-width: 900px) {
  .site-header {
    display: grid;
    justify-items: center;
    min-height: 88px;
    padding-top: 18px;
  }

  .brand {
    margin-left: 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
    background: #ffffff;
  }

  .hero-copy {
    gap: 36px;
    padding: 42px 28px;
    max-width: 100%;
    text-align: center;
  }

  .copy-block,
  .hero-copy p,
  .field,
  .consent,
  .consent span {
    min-width: 0;
  }

  .hero-photo {
    padding: 22px;
  }

  .hero-photo img {
    border-width: 16px;
    border-radius: 28px;
  }

  .signup-section {
    padding-top: 34px;
  }

  .signup-form {
    width: min(100%, 680px);
    padding: 28px 22px 32px;
  }

  .thanks {
    min-height: calc(100vh - 204px);
    justify-items: center;
    text-align: center;
  }

  .download-button {
    justify-self: center;
  }
}

@media (max-width: 560px) {
  main,
  section,
  .hero-title-wrap,
  .hero-grid,
  .hero-copy,
  .hero-photo,
  .signup-section,
  .signup-form {
    max-width: 100vw;
    overflow-x: hidden;
  }

  .hero-title-wrap {
    min-height: 0;
    padding: 14px 18px 18px;
  }

  h1 {
    max-width: 320px;
    margin: 0 auto;
    font-size: 1.42rem;
    line-height: 1.12;
    overflow-wrap: break-word;
  }

  .hero-copy {
    justify-self: center;
    max-width: 340px;
    padding-right: 18px;
    padding-left: 18px;
    font-size: 0.92rem;
    line-height: 1.58;
  }

  .copy-block {
    gap: 2px;
  }

  .hero-copy p,
  .signup-section h2,
  .consent span {
    overflow-wrap: break-word;
  }

  .hero-photo {
    padding: 14px;
  }

  .hero-photo img {
    max-width: 100%;
    border-width: 10px;
    border-radius: 20px;
  }

  .signup-section {
    padding: 28px 12px 48px;
  }

  .signup-section h2 {
    max-width: calc(100vw - 32px);
    margin-right: auto;
    margin-bottom: 20px;
    margin-left: auto;
    font-size: 1.25rem;
    line-height: 1.16;
  }

  .signup-form {
    width: 100%;
    max-width: 100%;
  }

  .field label {
    font-size: 1rem;
  }

  input[type="text"],
  input[type="email"] {
    min-height: 52px;
  }

  .consent {
    grid-template-columns: 18px minmax(0, 1fr);
    font-size: 0.78rem;
  }

  .signup-form button {
    width: min(100%, 290px);
    min-height: 64px;
  }

  .thanks {
    width: min(100%, calc(100% - 32px));
    min-height: calc(100vh - 202px);
    padding-top: 42px;
    padding-bottom: 48px;
  }

  .thanks h1 {
    max-width: 340px;
    font-size: 2rem;
    line-height: 1.08;
  }

  .thanks p {
    max-width: 330px;
    font-size: 0.95rem;
  }

  .download-button {
    width: min(100%, 286px);
    min-height: 58px;
  }

  .thanks-page .site-footer {
    padding-right: 16px;
    padding-left: 16px;
    font-size: 0.88rem;
    line-height: 1.38;
  }

  .thanks-page .site-footer p {
    max-width: 330px;
    margin-right: auto;
    margin-left: auto;
  }
}
