:root {
  --font-display-name: "Fraunces";
  --font-sans-name: "Google Sans Flex";
  --font-display: var(--font-display-name), ui-serif, Georgia, serif;
  --font-body: var(--font-sans-name), ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-ui: var(--font-body);
  --navy: #050c15;
  --navy-2: #071421;
  --navy-3: #0e2438;
  --ivory: #fbf7ef;
  --ivory-soft: #f4efe7;
  --muted: #b5c0c6;
  --muted-2: #ded5c8;
  --gold: #d7bd8e;
  --gold-dark: #8e704f;
  --panel: rgba(244, 239, 231, 0.075);
  --panel-strong: rgba(244, 239, 231, 0.115);
  --line: rgba(244, 239, 231, 0.16);
  --line-strong: rgba(244, 239, 231, 0.28);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 34px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 0;
  min-height: 100%;
  scroll-behavior: smooth;
  background: var(--navy);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ivory);
  background:
    radial-gradient(circle at 12% 4%, rgba(200, 171, 123, 0.18), transparent 22rem),
    radial-gradient(circle at 90% 18%, rgba(127, 168, 214, 0.1), transparent 26rem),
    linear-gradient(145deg, var(--navy) 0%, var(--navy-2) 42%, #030811 100%);
  font-family: var(--font-body);
  font-optical-sizing: auto;
  font-size: 15px;
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(244, 239, 231, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 239, 231, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 78%);
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 64px;
  padding: 0.75rem clamp(1rem, 4vw, 2.5rem);
  border-bottom: 1px solid rgba(244, 239, 231, 0.12);
  background: rgba(5, 12, 21, 0.84);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}

.brand img {
  width: clamp(8.6rem, 17vw, 10.2rem);
  max-height: 2.4rem;
  object-fit: contain;
}

.header-cta {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1.05rem;
  border: 1px solid rgba(215, 189, 142, 0.52);
  border-radius: 999px;
  color: var(--ivory);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.section-pad {
  width: 100%;
  max-width: var(--max);
  min-width: 0;
  margin: 0 auto;
  padding: clamp(3.75rem, 12vw, 7rem) clamp(1.25rem, 5vw, 2.5rem);
}

.hero {
  display: grid;
  align-items: center;
  min-height: auto;
  padding-top: clamp(2.25rem, 10vw, 4rem);
  padding-bottom: clamp(3rem, 11vw, 5.25rem);
}

.hero::before {
  display: block;
  width: min(58vw, 13rem);
  aspect-ratio: 4301 / 3758;
  margin: 0 auto 2.25rem;
  content: "";
  pointer-events: none;
  background: url("assets/assembly-light-logo.svg") center / contain no-repeat;
  filter: drop-shadow(0 24px 58px rgba(0, 0, 0, 0.34));
}

.hero-copy {
  max-width: min(100%, 46rem);
  min-width: 0;
}

.eyebrow,
.kicker {
  margin: 0 0 0.75rem;
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  line-height: 1.35;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 560;
  letter-spacing: -0.047em;
  text-wrap: balance;
  font-variation-settings: "SOFT" 45, "WONK" 1;
}

h1 {
  max-width: 11ch;
  margin-bottom: 1rem;
  overflow-wrap: normal;
  font-size: clamp(2.25rem, 9.4vw, 4.85rem);
  line-height: 0.99;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.95rem, 7.4vw, 3.55rem);
  line-height: 1.03;
}

h3 {
  margin-bottom: 0.6rem;
  color: var(--ivory);
  font-size: 1.03rem;
  line-height: 1.22;
}

.hero-lede,
.section-intro p,
.statement-card p,
.closing-card p {
  max-width: 43rem;
  color: var(--muted-2);
  font-size: clamp(0.98rem, 1.55vw, 1.08rem);
  line-height: 1.62;
}

.hero-lede {
  margin-bottom: 1.25rem;
}

.hero-actions {
  display: grid;
  gap: 0.75rem;
  width: 100%;
  max-width: 24rem;
}

.button {
  display: inline-flex;
  font-family: var(--font-ui);
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
}

.button-primary {
  border: 1px solid rgba(234, 213, 170, 0.78);
  color: #071421;
  background: linear-gradient(135deg, var(--ivory) 0%, var(--gold) 100%);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.26);
}

.button-secondary {
  border: 1px solid var(--line-strong);
  color: var(--ivory);
  background: rgba(244, 239, 231, 0.065);
}

.problem {
  display: grid;
  gap: 1.5rem;
  border-top: 1px solid var(--line);
}

.section-intro {
  max-width: min(100%, 49rem);
  min-width: 0;
}

.section-intro.compact {
  max-width: 44rem;
  margin-bottom: 1.5rem;
}

.quiet-list {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.quiet-list li {
  position: relative;
  min-height: 46px;
  padding: 0.78rem 0.95rem 0.78rem 2.25rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  color: var(--ivory-soft);
  font-size: 0.95rem;
  background: rgba(244, 239, 231, 0.045);
}

.quiet-list li::before {
  position: absolute;
  top: 1.08rem;
  left: 1rem;
  width: 0.58rem;
  height: 0.58rem;
  border-radius: 999px;
  content: "";
  background: var(--gold);
}

.statement-card,
.closing-card,
.resource-panel,
.value-card,
.step-card {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(244, 239, 231, 0.105), rgba(244, 239, 231, 0.045));
  box-shadow: var(--shadow);
}

.statement-card {
  padding: clamp(1.5rem, 6vw, 4rem);
  border-radius: var(--radius-lg);
}

.card-grid,
.steps {
  display: grid;
  gap: 1rem;
}

.value-card,
.step-card,
.resource-panel {
  padding: 1.25rem;
  border-radius: var(--radius-md);
}

.card-mark,
.step-card span {
  display: inline-flex;
  margin-bottom: 1.25rem;
  color: var(--gold);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.value-card p,
.step-card p,
.resource-panel p,
.resource-panel li {
  color: var(--muted-2);
  font-size: 0.95rem;
}

.value-card p,
.step-card p,
.resource-panel p {
  margin-bottom: 0;
}

.system {
  display: grid;
  gap: 1.5rem;
}

.resource-panel p {
  margin-bottom: 1rem;
}

.resource-panel ul {
  display: grid;
  gap: 0.7rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.resource-panel li {
  position: relative;
  padding-left: 1.35rem;
}

.resource-panel li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 0.45rem;
  height: 1px;
  content: "";
  background: var(--gold);
}

.closing {
  padding-bottom: clamp(4rem, 12vw, 7rem);
}

.closing-card {
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 7vw, 4rem);
  border-radius: var(--radius-lg);
}

.closing-card::after {
  position: absolute;
  right: -5rem;
  bottom: -5rem;
  width: 16rem;
  height: 16rem;
  border-radius: 999px;
  content: "";
  background: rgba(200, 171, 123, 0.12);
  filter: blur(4px);
}

.closing-card img {
  width: min(72vw, 16rem);
  max-height: 3.75rem;
  margin-bottom: 1.65rem;
  object-fit: contain;
}

.closing-card .button {
  width: min(100%, 22rem);
  margin-top: 0.5rem;
}

@media (min-width: 520px) {
  .header-cta {
    display: inline-flex;
  }

  .hero-actions {
    grid-template-columns: max-content max-content;
    width: auto;
  }

  .button {
    width: auto;
    min-width: 10.5rem;
  }
}

@media (min-width: 760px) {
  .site-header {
    padding-right: clamp(2rem, 5vw, 4rem);
    padding-left: clamp(2rem, 5vw, 4rem);
  }

  .hero {
    align-items: center;
    min-height: calc(92svh - 64px);
  }

  .problem,
  .system {
    grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.95fr);
    align-items: start;
  }

  .card-grid.three,
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .value-card,
  .step-card,
  .resource-panel {
    padding: 1.5rem;
  }
}

@media (min-width: 1040px) {
  .hero {
    position: relative;
    grid-template-columns: minmax(0, 0.95fr) minmax(17rem, 0.75fr);
    gap: clamp(2rem, 7vw, 5rem);
  }

  .hero::before {
    display: none;
  }

  .hero::after {
    position: static;
    display: block;
    align-self: center;
    justify-self: center;
    width: min(28vw, 20rem);
    height: auto;
    aspect-ratio: 4301 / 3758;
    margin: 0;
    content: "";
    pointer-events: none;
    background: url("assets/assembly-light-logo.svg") center / contain no-repeat;
    opacity: 1;
    filter: drop-shadow(0 24px 58px rgba(0, 0, 0, 0.34));
  }
}

@media (max-width: 520px) {
  .eyebrow,
  .kicker {
    font-size: 0.66rem;
    letter-spacing: 0.1em;
  }

  h1 {
    font-size: clamp(2.08rem, 9.8vw, 2.75rem);
  }

  h2 {
    font-size: clamp(1.78rem, 7.2vw, 2.35rem);
  }

  .hero-lede {
    line-height: 1.55;
  }
}

@media (max-width: 380px) {
  .site-header {
    padding-right: 0.75rem;
    padding-left: 0.75rem;
  }

  .brand img {
    width: 7.9rem;
  }

  .header-cta {
    padding: 0 0.75rem;
    font-size: 0.78rem;
  }

  h1 {
    font-size: clamp(2.02rem, 9.6vw, 2.35rem);
  }
}
