:root {
  --bg: #f7f8f6;
  --ink: #171a17;
  --muted: #626a61;
  --line: #dfe5dc;
  --surface: #ffffff;
  --surface-alt: #eef3ee;
  --orange: #ee6423;
  --green: #1d5f4a;
  --blue: #243b59;
  --deep: #14201c;
  --shadow: 0 22px 64px rgba(20, 32, 28, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 40px;
  color: #fff;
  background: rgba(20, 32, 28, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 800;
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 8px;
  background: #fff;
}

.brand-name,
.brand-sub {
  display: block;
  line-height: 1.05;
}

.brand-name {
  font-size: 18px;
}

.brand-sub {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 700;
}

.nav a {
  padding: 8px 0;
  border-bottom: 1px solid transparent;
}

.nav a:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.78);
}

.hero {
  position: relative;
  display: grid;
  min-height: 78vh;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: var(--deep);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 21, 18, 0.92) 0%, rgba(12, 21, 18, 0.72) 38%, rgba(12, 21, 18, 0.18) 78%),
    linear-gradient(0deg, rgba(12, 21, 18, 0.72) 0%, rgba(12, 21, 18, 0.08) 62%),
    url("assets/capsulife-hero.jpg") center / cover no-repeat;
  transform: scale(1.01);
}

.hero-content {
  position: relative;
  width: min(860px, calc(100% - 48px));
  margin: 0 auto;
  padding: 116px 0 52px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffb28d;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(56px, 8vw, 112px);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(34px, 5vw, 70px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.18;
  letter-spacing: 0;
}

p {
  line-height: 1.72;
}

.hero-line {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(22px, 2.7vw, 36px);
  line-height: 1.12;
}

.hero-copy {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 800;
}

.button.primary {
  color: #fff;
  background: var(--orange);
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
}

.signal-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.signal-bar div {
  min-height: 118px;
  padding: 28px 40px;
  border-right: 1px solid var(--line);
}

.signal-bar div:last-child {
  border-right: 0;
}

.signal-bar span,
dt {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.signal-bar strong {
  display: block;
  margin-top: 12px;
  color: var(--green);
  font-size: 20px;
  line-height: 1.22;
}

.section {
  border-top: 1px solid var(--line);
}

.section-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 104px 0;
}

.split,
.product-layout,
.partner-layout,
.compliance-grid,
.contact-layout {
  display: grid;
  gap: 72px;
  align-items: start;
}

.split {
  grid-template-columns: 0.86fr 1.14fr;
}

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

.section-heading.wide {
  max-width: 900px;
}

.program-list {
  display: grid;
  gap: 14px;
}

.program,
.channel,
.partner-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.program {
  min-height: 212px;
  padding: 30px;
}

.program-number {
  display: block;
  margin-bottom: 36px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
}

.program p,
.channel p,
.partner-list p,
.product-copy p,
.compliance p,
.contact p,
address,
.site-footer p,
.legal-body p,
.legal-hero p {
  color: var(--muted);
}

.product-story {
  background: #fff;
}

.product-layout {
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
}

.product-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-alt);
}

.product-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 1200 / 709;
  object-fit: cover;
}

.facts {
  margin: 32px 0 0;
  border-top: 1px solid var(--line);
}

.facts div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 22px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

dd {
  margin: 0;
  color: var(--ink);
}

.channels {
  color: #fff;
  background: var(--deep);
}

.channels .eyebrow {
  color: #ffb28d;
}

.channels .section-heading {
  margin-bottom: 48px;
}

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

.channel {
  min-height: 280px;
  padding: 32px;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.channel h3,
.channels h2 {
  color: #fff;
}

.channel p {
  color: rgba(255, 255, 255, 0.72);
}

.partners {
  background: var(--surface-alt);
}

.partner-layout {
  grid-template-columns: 0.85fr 1.15fr;
}

.partner-list {
  display: grid;
  gap: 14px;
}

.partner-list article {
  padding: 30px;
}

.compliance {
  background: #fff;
}

.compliance-grid {
  grid-template-columns: 0.92fr 1.08fr;
  align-items: start;
}

.compliance p {
  margin-bottom: 0;
  font-size: 18px;
}

.contact {
  color: #fff;
  background: var(--blue);
}

.contact .eyebrow {
  color: #ffb28d;
}

.contact-layout {
  grid-template-columns: 1fr 0.8fr;
  align-items: end;
}

.contact h2 {
  color: #fff;
}

.contact p,
.contact address {
  color: rgba(255, 255, 255, 0.76);
}

address {
  display: grid;
  gap: 12px;
  font-size: 18px;
  font-style: normal;
}

address a {
  color: #fff;
  font-weight: 900;
}

.site-footer {
  padding: 38px 0;
  background: #111512;
}

.footer-inner {
  display: grid;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  grid-template-columns: 0.58fr 1.42fr;
  gap: 60px;
  align-items: start;
}

.site-footer p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
}

.site-footer a {
  color: #fff;
  font-weight: 900;
}

.legal-header {
  color: var(--ink);
  background: rgba(247, 248, 246, 0.92);
  border-bottom: 1px solid var(--line);
}

.legal-header .nav {
  color: var(--muted);
}

.legal-header .nav a:hover {
  color: var(--ink);
  border-color: var(--orange);
}

.legal-header .brand-sub {
  color: var(--muted);
}

.legal-main {
  padding-top: 72px;
}

.legal-hero {
  background: var(--surface-alt);
  border-bottom: 1px solid var(--line);
}

.legal-inner {
  width: min(920px, calc(100% - 48px));
  margin: 0 auto;
}

.legal-hero .legal-inner {
  padding: 86px 0 68px;
}

.legal-hero h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(42px, 6vw, 76px);
}

.legal-updated {
  margin-bottom: 0;
  font-size: 14px;
  font-weight: 900;
}

.legal-body {
  background: #fff;
}

.legal-body .legal-inner {
  padding: 76px 0 88px;
}

.legal-body h2 {
  margin-top: 42px;
  margin-bottom: 14px;
  font-size: 30px;
}

.legal-body h2:first-child {
  margin-top: 0;
}

.legal-body a {
  color: var(--green);
  font-weight: 900;
}

@media (max-width: 880px) {
  .site-header {
    min-height: 66px;
    padding: 0 20px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-name {
    font-size: 16px;
  }

  .nav {
    gap: 14px;
    font-size: 13px;
  }

  .nav a:nth-child(2),
  .nav a:nth-child(3) {
    display: none;
  }

  .hero {
    min-height: 80vh;
  }

  .hero-media {
    background:
      linear-gradient(0deg, rgba(12, 21, 18, 0.9) 0%, rgba(12, 21, 18, 0.58) 58%, rgba(12, 21, 18, 0.26) 100%),
      url("assets/capsulife-hero.jpg") center / cover no-repeat;
  }

  .hero-content,
  .section-inner,
  .footer-inner,
  .legal-inner {
    width: min(100% - 32px, 760px);
  }

  .hero-content {
    padding: 104px 0 38px;
  }

  .signal-bar,
  .split,
  .product-layout,
  .channel-grid,
  .partner-layout,
  .compliance-grid,
  .contact-layout,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .signal-bar div {
    min-height: 96px;
    padding: 22px 24px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .signal-bar div:last-child {
    border-bottom: 0;
  }

  .section-inner {
    padding: 76px 0;
  }

  .split,
  .product-layout,
  .partner-layout,
  .compliance-grid,
  .contact-layout {
    gap: 44px;
  }

  .program,
  .channel,
  .partner-list article {
    min-height: 0;
    padding: 24px;
  }

  .facts div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .footer-inner {
    gap: 18px;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 54px;
  }

  h2 {
    font-size: 36px;
  }

  .hero-line {
    font-size: 24px;
  }

  .button {
    width: 100%;
  }
}
