:root {
  --cloud-white: #F8FAFC;
  --storm-blue: #1E3A5F;
  --soft-sky: #B7DDF2;
  --warm-sun: #F7C66A;
  --slate: #334155;
  --muted: #64748b;
  --line: #d8e2ea;
  --surface: #ffffff;
  --shadow: 0 18px 45px rgba(30, 58, 95, 0.13);
  --radius: 8px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

body {
  margin: 0;
  color: var(--slate);
  background: var(--cloud-white);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(145deg, rgba(183, 221, 242, 0.3), transparent 40%),
    linear-gradient(315deg, rgba(247, 198, 106, 0.12), transparent 42%);
}

a {
  color: var(--storm-blue);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

a:hover {
  color: #102744;
}

:focus-visible {
  outline: 3px solid var(--warm-sun);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 10;
  transform: translateY(-150%);
  padding: 10px 14px;
  border-radius: var(--radius);
  color: var(--storm-blue);
  background: var(--warm-sun);
  font-weight: 800;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
.site-footer,
.hero,
.section {
  width: min(100% - 32px, var(--max-width));
  margin-inline: auto;
}

.site-header {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px 0 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  color: var(--storm-blue);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  width: 58px;
  height: auto;
  flex: 0 0 auto;
}

.cloud {
  stroke: var(--storm-blue);
  stroke-width: 2.5;
  stroke-linejoin: round;
}

.cloud-back {
  fill: var(--soft-sky);
}

.cloud-front {
  fill: var(--cloud-white);
}

.logo-sun {
  fill: var(--warm-sun);
  opacity: 0.95;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 0.94rem;
}

.site-nav a {
  color: var(--slate);
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--storm-blue);
}

.hero {
  display: grid;
  gap: 32px;
  align-items: center;
  padding: 58px 0 54px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--storm-blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  color: var(--storm-blue);
  line-height: 1.12;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.25rem, 6vw, 4.6rem);
}

h2 {
  margin: 0;
  font-size: clamp(1.7rem, 4vw, 3rem);
}

h3 {
  margin: 0 0 10px;
  font-size: 1.13rem;
}

.hero-lede,
.hero-note,
.section-heading p,
.founder > p {
  max-width: 760px;
  color: var(--slate);
  font-size: 1.08rem;
}

.hero-note {
  margin-top: 14px;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 140ms ease,
    border-color 140ms ease,
    color 140ms ease,
    transform 140ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: var(--storm-blue);
  background: var(--warm-sun);
  border-color: #e4ad45;
}

.button-primary:hover {
  color: var(--storm-blue);
  background: #f4b94c;
}

.button-primary:disabled {
  cursor: progress;
  opacity: 0.72;
  transform: none;
}

.button-secondary {
  color: var(--storm-blue);
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--line);
}

.hero-panel {
  padding: 18px;
  border: 1px solid rgba(30, 58, 95, 0.15);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.panel-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--storm-blue);
  font-weight: 800;
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--warm-sun);
  box-shadow: 0 0 0 6px rgba(247, 198, 106, 0.24);
}

.workflow-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.workflow-list li {
  display: grid;
  gap: 3px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cloud-white);
}

.workflow-list span {
  color: var(--muted);
  font-size: 0.85rem;
}

.workflow-list strong {
  color: var(--storm-blue);
}

.section {
  padding: 54px 0;
}

.section-tinted,
.section-form {
  width: 100%;
  max-width: none;
  padding-inline: max(16px, calc((100% - var(--max-width)) / 2));
  background: rgba(183, 221, 242, 0.22);
  border-block: 1px solid rgba(30, 58, 95, 0.1);
}

.section-form {
  background: rgba(255, 255, 255, 0.64);
}

.section-heading {
  margin-bottom: 28px;
}

.content-grid,
.feature-list {
  display: grid;
  gap: 16px;
}

.card,
.feature-list article,
.note-box,
.interest-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.card,
.feature-list article,
.note-box {
  padding: 20px;
}

.card p,
.feature-list p,
.note-box p {
  margin: 0;
}

.audience-layout {
  display: grid;
  gap: 20px;
}

.check-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
}

.check-list li::before {
  position: absolute;
  top: 0.42em;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  content: "";
  background: var(--soft-sky);
  box-shadow: inset 0 0 0 4px var(--storm-blue);
}

.interest-form {
  display: grid;
  gap: 18px;
  max-width: 880px;
  padding: 18px;
  box-shadow: 0 12px 32px rgba(30, 58, 95, 0.08);
}

.interest-form.is-submitting {
  cursor: progress;
}

.form-intro {
  margin: 0;
  color: var(--slate);
  font-weight: 700;
}

.form-grid {
  display: grid;
  gap: 18px;
}

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

label,
legend {
  color: var(--storm-blue);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid #b9c8d5;
  border-radius: var(--radius);
  color: var(--slate);
  background: var(--cloud-white);
  font: inherit;
  transition:
    border-color 140ms ease,
    box-shadow 140ms ease,
    background-color 140ms ease;
}

input:hover,
select:hover,
textarea:hover {
  border-color: #8ba5b8;
}

input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: #a94b4b;
  box-shadow: 0 0 0 3px rgba(169, 75, 75, 0.12);
}

input:focus,
select:focus,
textarea:focus {
  background: #ffffff;
}

textarea {
  resize: vertical;
}

.honeypot {
  position: absolute;
  left: -100vw;
  width: 1px;
  height: 1px;
  opacity: 0;
}

input:invalid:not(:focus):not(:placeholder-shown),
select:invalid:not(:focus),
textarea:invalid:not(:focus):not(:placeholder-shown) {
  border-color: #a94b4b;
}

.field-error {
  min-height: 1.25em;
  margin: -2px 0 0;
  color: #9f3232;
  font-size: 0.88rem;
  font-weight: 700;
}

.choice-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  padding: 0;
  margin: 0;
  border: 0;
}

.choice-group legend {
  width: 100%;
  margin-bottom: 2px;
}

.choice-group .field-error {
  width: 100%;
}

.choice-group label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cloud-white);
  font-weight: 700;
  cursor: pointer;
  transition:
    border-color 140ms ease,
    background-color 140ms ease,
    box-shadow 140ms ease;
}

.choice-group label:has(input:checked) {
  border-color: var(--storm-blue);
  background: rgba(183, 221, 242, 0.26);
  box-shadow: 0 0 0 3px rgba(183, 221, 242, 0.32);
}

.choice-group input {
  width: auto;
  min-height: 0;
  accent-color: var(--storm-blue);
}

.form-status {
  min-height: 1.6em;
  margin: 0;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: rgba(183, 221, 242, 0.16);
  color: var(--storm-blue);
  font-weight: 800;
}

.form-status.success {
  color: #1f6b44;
  background: rgba(31, 107, 68, 0.11);
}

.form-status.error {
  color: #9f3232;
  background: rgba(169, 75, 75, 0.1);
}

.form-status:empty {
  min-height: 0;
  padding: 0;
  background: transparent;
}

.founder {
  padding-bottom: 76px;
}

.site-footer {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 0 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

@media (min-width: 680px) {
  .site-header,
  .site-footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .content-grid,
  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .interest-form {
    padding: 24px;
  }
}

@media (min-width: 920px) {
  .hero {
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    min-height: calc(100vh - 92px);
    padding-top: 42px;
  }

  .audience-layout {
    grid-template-columns: minmax(0, 1fr) 340px;
    align-items: start;
  }

  .section {
    padding-block: 74px;
  }
}

@media (max-width: 520px) {
  .site-header,
  .site-footer,
  .hero,
  .section {
    width: min(100% - 24px, var(--max-width));
  }

  .brand-mark {
    width: 50px;
  }

  h1 {
    font-size: 2.15rem;
  }

  .hero {
    padding-top: 42px;
  }

  .button,
  .hero-actions {
    width: 100%;
  }

  .choice-group label {
    flex: 1 1 120px;
    justify-content: center;
  }
}
