:root {
  --ink: #101318;
  --ink-soft: #303844;
  --muted: #68727f;
  --paper: #f7f7f4;
  --white: #ffffff;
  --red: #e31d2b;
  --red-deep: #b70f1b;
  --yellow: #f5cf2e;
  --blue: #1d5fd0;
  --teal: #008c9a;
  --night: #05070d;
  --rule: #d9dde2;
  --shadow: rgba(6, 10, 18, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 22px clamp(18px, 4vw, 54px);
  pointer-events: none;
}

.brand-mark {
  display: block;
  width: min(260px, 54vw);
  pointer-events: auto;
}

.brand-mark img {
  height: auto;
  filter: drop-shadow(0 12px 26px rgba(0, 0, 0, 0.42));
}

.hero {
  position: relative;
  min-height: 92svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 128px clamp(18px, 5vw, 72px) 72px;
  background:
    linear-gradient(90deg, rgba(5, 7, 13, 0.88) 0%, rgba(5, 7, 13, 0.66) 42%, rgba(5, 7, 13, 0.2) 72%),
    linear-gradient(0deg, rgba(5, 7, 13, 0.68) 0%, rgba(5, 7, 13, 0) 46%),
    url("images/john-at-piano.jpg") 62% center / cover no-repeat;
  color: var(--white);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 9px;
  background: linear-gradient(90deg, var(--red), var(--yellow), var(--blue), var(--teal));
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--yellow);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 620px;
  margin-bottom: 18px;
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.95;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-copy {
  max-width: 600px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.45;
}

.signup-form {
  width: min(660px, 100%);
}

.formkit-alert {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
}

.formkit-alert-error {
  color: var(--yellow);
  font-size: 14px;
  font-weight: 700;
}

.formkit-alert-success {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
  padding: 18px 20px;
}

.formkit-powered-by-convertkit,
.formkit-powered-by-convertkit-container,
[data-element="powered-by"] {
  display: none !important;
}

.form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 250px);
  gap: 12px;
  align-items: stretch;
}

.signup-form input,
.signup-form button {
  width: 100%;
  min-height: 58px;
  border-radius: 6px;
  font: inherit;
}

.signup-form input {
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  padding: 0 18px;
}

.signup-form input:focus {
  border-color: var(--yellow);
  outline: 3px solid rgba(245, 207, 46, 0.25);
  outline-offset: 2px;
}

.signup-form button,
.cta-link {
  border: 0;
  background: var(--red);
  color: var(--white);
  cursor: pointer;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.signup-form button {
  padding: 0 20px;
  box-shadow: 0 18px 38px rgba(227, 29, 43, 0.26);
}

.signup-form button:hover,
.signup-form button:focus-visible,
.cta-link:hover,
.cta-link:focus-visible {
  background: var(--red-deep);
  transform: translateY(-1px);
}

.signup-form button:disabled {
  cursor: wait;
  opacity: 0.78;
  transform: none;
}

.form-note,
.form-message {
  margin: 10px 0 0;
  min-height: 24px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.form-message.is-alert {
  color: var(--yellow);
  font-weight: 700;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.trust-band {
  padding: 18px clamp(18px, 4vw, 54px);
  background: var(--white);
  border-bottom: 1px solid var(--rule);
  color: var(--ink-soft);
  text-align: center;
}

.trust-band p {
  margin: 0;
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 800;
}

.section {
  padding: clamp(56px, 7vw, 96px) clamp(18px, 4vw, 54px);
}

.section-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.inside {
  background: var(--paper);
}

.inside .section-kicker {
  color: var(--blue);
}

.section h2,
.final-cta h2 {
  max-width: 780px;
  margin-bottom: 34px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
}

.feature-grid,
.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-grid article {
  padding: 0 22px 0 0;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border: 2px solid var(--red);
  color: var(--red);
  font-size: 14px;
  font-weight: 900;
}

.feature-grid h3 {
  margin-bottom: 8px;
  font-size: 24px;
}

.feature-grid p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.testimonials {
  background: var(--white);
  border-block: 1px solid var(--rule);
}

.testimonials .section-kicker {
  color: var(--teal);
}

.quote-grid figure {
  margin: 0;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #f6f8fa 100%);
  box-shadow: 0 18px 44px rgba(16, 19, 24, 0.08);
}

.quote-grid blockquote {
  margin: 0 0 24px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.28;
}

.quote-grid figcaption {
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.final-cta {
  padding: clamp(54px, 7vw, 88px) clamp(18px, 4vw, 54px);
  background: var(--night);
  color: var(--white);
}

.final-cta-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.final-cta h2 {
  margin-bottom: 0;
}

.cta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  min-width: 220px;
  border-radius: 6px;
  padding: 0 24px;
}

.site-footer {
  padding: 22px clamp(18px, 4vw, 54px);
  background: #000000;
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: 14px;
}

@media (max-width: 820px) {
  .hero {
    min-height: 92svh;
    align-items: flex-end;
    padding-top: 118px;
    background:
      linear-gradient(90deg, rgba(5, 7, 13, 0.86) 0%, rgba(5, 7, 13, 0.68) 58%, rgba(5, 7, 13, 0.32) 100%),
      linear-gradient(0deg, rgba(5, 7, 13, 0.78) 0%, rgba(5, 7, 13, 0) 52%),
      url("images/john-at-piano.jpg") 67% center / cover no-repeat;
  }

  .form-row,
  .feature-grid,
  .quote-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid article {
    padding-right: 0;
  }

  .final-cta-inner {
    display: block;
  }

  .final-cta h2 {
    margin-bottom: 24px;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 17px;
  }

  .site-header {
    padding-top: 16px;
  }

  .brand-mark {
    width: min(224px, 70vw);
  }

  .hero {
    min-height: 94svh;
    padding-bottom: 54px;
    background:
      linear-gradient(90deg, rgba(5, 7, 13, 0.82), rgba(5, 7, 13, 0.58)),
      linear-gradient(0deg, rgba(5, 7, 13, 0.86) 0%, rgba(5, 7, 13, 0.12) 62%),
      url("images/john-at-piano.jpg") 72% center / cover no-repeat;
  }

  h1 {
    font-size: 50px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .signup-form input,
  .signup-form button,
  .cta-link {
    min-height: 54px;
  }

  .signup-form button {
    padding-inline: 14px;
  }

  .quote-grid figure {
    min-height: auto;
    padding: 22px;
  }

  .quote-grid blockquote {
    font-size: 20px;
  }
}
