:root {
  color-scheme: light;
  --ink: #13201f;
  --muted: #63706d;
  --paper: #fbfaf4;
  --white: #ffffff;
  --line: #dcded5;
  --deep: #062f35;
  --green: #15b883;
  --green-soft: #dff8ed;
  --coral: #f24a3d;
  --amber: #ffb32c;
  --pink: #ec4f8f;
  --lavender: #ebe7ff;
  --shadow: 0 22px 70px rgba(19, 32, 31, 0.13);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(19, 32, 31, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(19, 32, 31, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 42px 42px;
}

body.closenudge {
  --brand: var(--green);
  --brand-dark: var(--deep);
  --brand-soft: var(--green-soft);
  --accent: #fb7b38;
}

body.praisespark {
  --brand: var(--coral);
  --brand-dark: #4a1632;
  --brand-soft: #fff0df;
  --accent: var(--amber);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 18px 0;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.logo-link img {
  display: block;
  width: clamp(158px, 21vw, 248px);
  height: auto;
}

.header-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  color: #45524f;
  font-size: 0.95rem;
  font-weight: 700;
}

.header-cta,
.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1;
  text-align: center;
}

.header-cta {
  padding: 0 18px;
  color: var(--white);
  background: var(--brand-dark);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(300px, 0.74fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  width: min(1180px, calc(100% - 48px));
  min-height: min(760px, calc(100vh - 86px));
  margin: 0 auto;
  padding: 34px 0 68px;
}

.hero-copy,
.hero > *,
.content-grid > *,
.signal-panel,
.proof-card {
  min-width: 0;
}

.kicker {
  margin: 0 0 16px;
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 660px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 5.6vw, 5.35rem);
  line-height: 0.94;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.95rem, 3.35vw, 3.35rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.24rem;
  line-height: 1.15;
}

.lede {
  max-width: 620px;
  margin-bottom: 26px;
  color: #354340;
  font-size: clamp(1.04rem, 1.45vw, 1.18rem);
  line-height: 1.54;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.primary {
  padding: 0 22px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  box-shadow: 0 14px 32px rgba(19, 32, 31, 0.2);
}

.secondary {
  padding: 0 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
}

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

.trust-list {
  grid-template-columns: repeat(3, minmax(0, max-content));
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.trust-list li,
.check-list li {
  position: relative;
  padding-left: 22px;
}

.trust-list li::before,
.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--brand);
  content: "✓";
}

.signal-panel,
.proof-card,
.content-grid article,
.faq-grid details {
  border: 1px solid rgba(19, 32, 31, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.signal-panel {
  padding: clamp(18px, 3vw, 24px);
  transform: rotate(1deg);
  max-width: 420px;
  justify-self: end;
}

.panel-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.panel-top strong {
  color: var(--brand-dark);
}

.lead-row {
  display: grid;
  gap: 8px;
  margin-top: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.lead-row span {
  color: var(--muted);
  font-size: 0.9rem;
}

.lead-row p {
  margin: 0;
  color: #4a5653;
  font-size: 0.95rem;
  line-height: 1.45;
}

.lead-row.hot {
  border-color: color-mix(in srgb, var(--brand) 45%, #ffffff);
  background: var(--brand-soft);
}

.proof-card {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 4vw, 44px);
  transform: rotate(-1deg);
  max-width: 420px;
  justify-self: end;
}

.proof-card::before {
  position: absolute;
  inset: 18px 18px auto auto;
  width: 96px;
  height: 96px;
  border: 1px solid rgba(19, 32, 31, 0.08);
  border-radius: 999px;
  background: var(--brand-soft);
  content: "";
}

.proof-card img {
  position: relative;
  width: 96px;
  height: 96px;
  object-fit: contain;
}

.proof-card blockquote {
  margin: 30px 0 18px;
  font-size: clamp(1.55rem, 2.5vw, 2.35rem);
  font-weight: 900;
  line-height: 1.02;
}

.proof-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
}

.proof-strip {
  background: var(--brand-dark);
  color: #ffffff;
}

.proof-strip p {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 26px 0;
  font-size: clamp(1.04rem, 1.8vw, 1.32rem);
  font-weight: 750;
  line-height: 1.42;
}

.section-shell,
.split-section,
.form-section,
.faq-section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.section-shell {
  padding: 70px 0 76px;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 26px;
}

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

.content-grid article {
  min-height: 245px;
  padding: 24px;
}

.card-number {
  display: block;
  margin-bottom: 38px;
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 900;
}

.content-grid p,
.faq-grid p {
  color: var(--muted);
  line-height: 1.55;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(320px, 1fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: start;
  padding: 0 0 76px;
}

.check-list {
  padding: 26px;
  border-left: 4px solid var(--brand);
  background: rgba(255, 255, 255, 0.68);
  color: #31403d;
  font-size: 1.05rem;
  line-height: 1.45;
}

.form-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 1fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: start;
  padding: 0 0 82px;
}

.form-copy p:not(.kicker) {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.form-copy .form-note {
  margin-top: 18px;
  padding: 14px 16px;
  border-left: 4px solid var(--brand);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
}

.form-frame {
  overflow: hidden;
  min-height: 680px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.form-frame iframe {
  display: block;
  width: 100%;
  min-height: 680px;
  border: 0;
}

.faq-section {
  padding: 0 0 86px;
}

.faq-grid {
  display: grid;
  gap: 12px;
}

.faq-grid details {
  padding: 18px 20px;
}

.faq-grid summary {
  cursor: pointer;
  font-weight: 850;
}

.faq-grid p {
  margin: 12px 0 0;
}

.switchboard {
  display: grid;
  place-content: center;
  width: min(1120px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 48px 0;
}

.switchboard h1 {
  max-width: 920px;
  font-size: clamp(2.8rem, 7vw, 6.2rem);
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.brand-tile {
  display: grid;
  gap: 20px;
  min-height: 280px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.tile-logo {
  width: min(100%, 360px);
  height: auto;
}

.brand-tile span {
  align-self: end;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.45;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .hero,
  .content-grid,
  .brand-grid,
  .form-section,
  .split-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 24px;
  }

  .signal-panel,
  .proof-card {
    transform: none;
  }

  .trust-list {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(2.3rem, 9.6vw, 4rem);
    line-height: 0.96;
  }
}

@media (max-width: 560px) {
  .site-header,
  .hero,
  .proof-strip p,
  .section-shell,
  .split-section,
  .form-section,
  .faq-section,
  .switchboard {
    width: min(100% - 28px, 1160px);
    max-width: calc(100vw - 28px);
  }

  .header-nav {
    width: 100%;
    gap: 12px;
  }

  .header-nav > a:not(.header-cta) {
    font-size: 0.92rem;
  }

  .actions {
    flex-direction: column;
  }

  .primary,
  .secondary,
  .header-cta {
    width: 100%;
  }

  .brand-tile {
    min-height: 240px;
  }

  .logo-link img {
    width: min(190px, 56vw);
  }

  h1,
  .lede {
    max-width: 100%;
  }

  .lede {
    font-size: 1rem;
  }

  .content-grid article {
    min-height: 220px;
  }
}
