*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: #222427;
  background: #f6f7f7;
}

a { color: #1d6a85; text-underline-offset: 0.15em; }
a:hover { color: #154f64; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid #1d6a85;
  outline-offset: 2px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: #1d6a85;
  color: #fff;
  padding: 0.5rem 1rem;
}
.skip:focus { left: 0; }

.wrap { max-width: 68rem; margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 40rem; }

header {
  border-bottom: 1px solid #dfe3e5;
}
header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
}
.brand {
  font-weight: 700;
  font-size: 1.125rem;
  color: #222427;
  text-decoration: none;
  letter-spacing: 0.01em;
}
nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.25rem; }
nav a { color: #222427; text-decoration: none; padding: 0.5rem 0; }
nav a:hover, nav a[aria-current="page"] { color: #1d6a85; text-decoration: underline; }

h1, h2, h3 { line-height: 1.2; margin: 0 0 0.75rem; }
h1 { font-size: 2.25rem; letter-spacing: -0.01em; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }

.hero { padding: 3.5rem 0 3rem; }
.hero p.lede { font-size: 1.25rem; color: #4d5459; max-width: 36rem; }
.eyebrow {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #1d6a85;
  margin-bottom: 0.75rem;
}

.button {
  display: inline-block;
  background: #1d6a85;
  color: #fff;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  border: 0;
  border-radius: 6px;
  padding: 0.8rem 1.4rem;
  cursor: pointer;
}
.button:hover { background: #154f64; color: #fff; }

section { padding: 3rem 0; border-top: 1px solid #dfe3e5; }
section > .wrap > p.intro { color: #4d5459; max-width: 40rem; margin-bottom: 2rem; }

.grid { display: grid; gap: 2rem; }
.grid h3 { margin-bottom: 0.5rem; }
.grid p { color: #4d5459; margin: 0; }

ol.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 2rem; }
ol.steps li { counter-increment: step; position: relative; padding-left: 3rem; }
ol.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 2px solid #1d6a85;
  color: #1d6a85;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
ol.steps p { color: #4d5459; margin: 0; }

ul.rules { margin: 0; padding-left: 1.25rem; max-width: 44rem; }
ul.rules li { margin-bottom: 0.6rem; }

.cta { text-align: left; }
.cta p { color: #4d5459; max-width: 36rem; }

form { display: grid; gap: 1.25rem; margin-top: 1.5rem; }
label { display: block; font-weight: 600; margin-bottom: 0.35rem; }
.optional { font-weight: 400; color: #4d5459; }
input[type="text"], input[type="email"], textarea {
  width: 100%;
  font: inherit;
  color: inherit;
  background: #fff;
  border: 1px solid #8a8f8b;
  border-radius: 6px;
  padding: 0.7rem 0.8rem;
}
textarea { min-height: 9rem; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.note { font-size: 0.9375rem; color: #4d5459; }

.page { padding: 3rem 0; }
.page h2 { font-size: 1.375rem; margin-top: 2rem; }

footer {
  border-top: 1px solid #dfe3e5;
  padding: 2rem 0;
  font-size: 0.9375rem;
  color: #4d5459;
}
footer .wrap { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; }
footer a { color: #4d5459; }

@media (min-width: 48rem) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2rem; }
  .hero { padding: 5.5rem 0 4.5rem; }
  section { padding: 4.5rem 0; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 3rem; }
  ol.steps { grid-template-columns: repeat(3, 1fr); }
}

.home header { background: #222427; border-bottom-color: #34373b; }
.home header .brand, .home nav a { color: #f3f1ea; }
.home nav a:hover { color: #8ccde0; }

.home .hero {
  background:
    radial-gradient(ellipse 60% 70% at 85% 15%, rgba(140, 205, 224, 0.14), transparent 70%),
    radial-gradient(rgba(243, 241, 234, 0.07) 1px, transparent 1px) 0 0 / 22px 22px,
    #222427;
  color: #f3f1ea;
}
.home .hero .eyebrow { color: #8ccde0; }
.home .hero p.lede { color: #c6cdd1; }
.home .hero h1 em {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
  color: #8ccde0;
}
.home .hero .button { background: #8ccde0; color: #222427; }
.home .hero .button:hover { background: #b3e0ec; color: #222427; }
.home .hero a:focus-visible { outline-color: #8ccde0; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.75rem; }
.text-link { color: #f3f1ea; font-weight: 600; }
.home .hero .text-link:hover { color: #8ccde0; }

.hero-grid { display: grid; gap: 3rem; align-items: center; }

.brief {
  margin: 0;
  background: #ffffff;
  color: #222427;
  border-radius: 14px;
  padding: 1.25rem 1.25rem 1rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  max-width: 26rem;
  width: 100%;
  justify-self: center;
}
.brief-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid #dfe3e5;
}
.brief-time { margin-left: auto; font-weight: 400; font-size: 0.875rem; color: #4d5459; }
.dot { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: #1d6a85; }
.brief ul { list-style: none; margin: 0; padding: 0; }
.brief li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 0.85rem 0;
  border-bottom: 1px solid #eceff0;
  animation: rise 0.6s ease-out both;
}
.brief li:nth-child(1) { animation-delay: 0.3s; }
.brief li:nth-child(2) { animation-delay: 0.9s; }
.brief li:nth-child(3) { animation-delay: 1.5s; }
.brief li:nth-child(4) { animation-delay: 2.1s; }
.brief strong { display: block; font-size: 0.975rem; }
.brief small { display: block; font-size: 0.875rem; color: #4d5459; }
.tick {
  flex: none;
  position: relative;
  width: 1.4rem;
  height: 1.4rem;
  margin-top: 0.1rem;
  border-radius: 50%;
  border: 2px solid #b8bdb9;
}
.done .tick { border-color: #1d6a85; background: #1d6a85; animation: fill 0.4s ease-out both; }
.done:nth-child(1) .tick { animation-delay: 0.8s; }
.done:nth-child(3) .tick { animation-delay: 2s; }
.done .tick::after {
  content: "";
  position: absolute;
  left: 0.36rem;
  top: 0.14rem;
  width: 0.35rem;
  height: 0.65rem;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.ask .tick { border-color: #c98a12; animation: pulse 2.4s ease-in-out 1.5s infinite; }
.ask small { color: #8a5d06; font-weight: 600; }
.brief figcaption { font-size: 0.8125rem; color: #4d5459; padding-top: 0.85rem; }

@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes fill { from { background: transparent; border-color: #b8bdb9; } to { background: #1d6a85; border-color: #1d6a85; } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(201, 138, 18, 0.45); } 50% { box-shadow: 0 0 0 6px rgba(201, 138, 18, 0); } }

section.dark { background: #222427; color: #f3f1ea; border-top: 0; }
section.dark ul.rules li::marker { color: #8ccde0; }
section.dark a { color: #8ccde0; }

@media (prefers-reduced-motion: reduce) {
  .brief li, .done .tick, .ask .tick { animation: none; }
}

@media (min-width: 60rem) {
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 4rem; }
}
