:root {
  --bg: #f5ede4;
  --paper: #fff7ef;
  --ink: #151515;
  --muted: #615548;
  --orange: #ff7a00;
  --orange-soft: #ffb36b;
  --black: #090909;
  --white: #fffaf3;
  --line: rgba(21, 21, 21, 0.1);
  --radius-xl: 36px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --shadow: 0 30px 80px rgba(32, 21, 8, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top, rgba(255, 159, 64, 0.22), transparent 30%),
    linear-gradient(180deg, #fff8f0 0%, #f3e8dd 100%);
  color: var(--ink);
  font-family: "Space Grotesk", "Avenir Next", "Segoe UI", sans-serif;
}

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

.page-shell {
  width: min(1400px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 80px;
}

.hero,
.panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  margin-bottom: 18px;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: 88vh;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 210, 173, 0.45), transparent 30%),
    linear-gradient(135deg, #ff7a00 0%, #ff8f1f 45%, #ff6b00 100%);
  color: #23150a;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto auto -120px -80px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: rgba(255, 228, 201, 0.22);
  filter: blur(6px);
  pointer-events: none;
}

.hero-copy,
.hero-media,
.panel {
  padding: 32px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px;
}

.hero-media {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  padding: 20px 20px 20px 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--radius-xl) - 8px);
  box-shadow: 0 32px 90px rgba(65, 29, 0, 0.25);
}

.halo-logo {
  width: 82px;
  height: 82px;
  margin-bottom: 16px;
}

.eyebrow {
  margin: 0 0 8px;
  color: inherit;
  font-size: 0.86rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.74;
}

h1,
h2,
h3,
strong {
  line-height: 1;
}

h1,
h2 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.05em;
}

h1 {
  max-width: 10ch;
  font-size: clamp(3.1rem, 6vw, 5.8rem);
}

h2 {
  max-width: 15ch;
  font-size: clamp(1.85rem, 3vw, 3.5rem);
}

h3 {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
}

.lead,
.section-heading,
.factor-card p,
.platform-card li,
.strategy-card li,
.workflow-card li,
.case-profile p,
.case-math li,
.feature-list p,
.stat-card span,
.source-note,
.persona-card p {
  line-height: 1.5;
}

.lead {
  max-width: 34rem;
  margin: 22px 0 0;
  font-size: 1.05rem;
  color: rgba(35, 21, 10, 0.82);
}

.hero-cta {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-top: 26px;
  padding: 14px 22px;
  border-radius: 999px;
  background: #17110b;
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background-color 180ms ease;
}

.hero-cta:hover {
  background: #000;
  transform: translateY(-1px);
}

.panel {
  padding: 40px;
}

.panel-light {
  background: rgba(255, 250, 243, 0.88);
  border: 1px solid rgba(30, 21, 14, 0.08);
  box-shadow: var(--shadow);
}

.panel-dark {
  background:
    radial-gradient(circle at top right, rgba(255, 122, 0, 0.18), transparent 30%),
    #090909;
  color: var(--white);
}

.panel-orange {
  background:
    linear-gradient(135deg, rgba(255, 197, 146, 0.26), transparent 35%),
    linear-gradient(135deg, #ff7a00, #ff6400);
  color: #1f1207;
}

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

.section-heading h2 {
  max-width: 12ch;
}

.stats-grid,
.factors-grid,
.era-grid,
.duo-grid,
.strategy-grid,
.platform-columns,
.case-layout,
.ai-layout {
  display: grid;
  gap: 18px;
}

.stats-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 22px;
}

.stat-card {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
}

.stat-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: clamp(1.8rem, 3.2vw, 2.9rem);
}

.stat-card-wide {
  background: linear-gradient(135deg, rgba(255, 122, 0, 0.28), rgba(255, 255, 255, 0.05));
}

.logo-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.logo-cloud span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.95rem;
}

.logo-cloud img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.split-heading {
  display: flex;
  gap: 16px;
  align-items: end;
  justify-content: space-between;
}

.source-note {
  display: grid;
  gap: 8px;
  max-width: 240px;
  color: var(--muted);
}

.source-note a {
  color: var(--orange);
  text-decoration: none;
}

.curve-graph {
  position: relative;
  min-height: 360px;
  padding: 32px 8px 8px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(rgba(21, 21, 21, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 21, 21, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, #fff6ee, #fff0df);
  background-size: 100% 72px, 96px 100%, 100% 100%;
}

.curve-graph svg {
  width: 100%;
  height: 320px;
}

.curve-graph polyline {
  fill: none;
  stroke: url(#haloGradient);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 12px 18px rgba(255, 122, 0, 0.22));
}

.curve-label {
  position: absolute;
  top: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  font-size: 0.84rem;
}

.curve-label-start {
  left: 24px;
}

.curve-label-peak {
  left: 51%;
  transform: translateX(-50%);
}

.curve-label-end {
  right: 24px;
}

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

.factor-column {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 247, 238, 0.92);
  border: 1px solid var(--line);
}

.factor-column-muted {
  background: #161616;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.08);
}

.factor-column h3 {
  margin-bottom: 18px;
}

.factor-card {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid currentColor;
  border-color: rgba(21, 21, 21, 0.1);
}

.factor-column-muted .factor-card {
  border-color: rgba(255, 255, 255, 0.1);
}

.factor-card span {
  color: var(--orange);
  font-size: 1.6rem;
  font-weight: 700;
}

.factor-card strong,
.stat-card strong,
.revenue-box strong,
.case-highlight,
.case-block strong,
.persona-card strong {
  letter-spacing: -0.04em;
}

.factor-card p {
  margin: 6px 0 0;
  opacity: 0.8;
}

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

.era-card,
.persona-card,
.strategy-card,
.platform-card,
.workflow-card,
.case-profile,
.case-math,
.phone-frame,
.revenue-box {
  border-radius: var(--radius-lg);
}

.era-card {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.era-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.era-card h3 {
  padding: 18px;
  min-height: 86px;
  line-height: 1.2;
}

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

.persona-card {
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  background: #fff8f0;
  border: 1px solid var(--line);
}

.persona-card img {
  width: 100%;
  aspect-ratio: 1.5 / 1;
  object-fit: cover;
}

.persona-card div {
  padding: 22px;
}

.persona-card h3 {
  margin-bottom: 12px;
}

.persona-card strong {
  display: block;
  margin-top: 18px;
  font-size: 1.1rem;
}

.persona-card-dark {
  background: #151515;
  color: var(--white);
}

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

.strategy-card {
  padding: 24px;
  background: rgba(255, 248, 238, 0.26);
  border: 1px solid rgba(46, 22, 4, 0.12);
  backdrop-filter: blur(8px);
}

.strategy-card ul,
.platform-card ul,
.workflow-card ul,
.case-math ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.strategy-card li,
.platform-card li,
.workflow-card li,
.case-math li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
}

.strategy-card li::before,
.platform-card li::before,
.workflow-card li::before,
.case-math li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
}

.platform-columns {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.platform-card {
  padding: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 243, 230, 0.92));
  border: 1px solid var(--line);
}

.platform-card h3 {
  min-height: 52px;
}

.ai-layout {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}

.feature-list {
  display: grid;
  gap: 10px;
  margin: 24px 0;
}

.feature-list p {
  margin: 0;
  padding-left: 16px;
  border-left: 2px solid rgba(255, 122, 0, 0.8);
}

.revenue-box {
  display: grid;
  gap: 10px;
  padding: 22px;
  background: linear-gradient(135deg, rgba(255, 122, 0, 0.24), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.revenue-box strong {
  font-size: clamp(1.2rem, 2vw, 1.75rem);
}

.revenue-box span {
  color: rgba(255, 250, 243, 0.78);
}

.phone-mockup {
  display: flex;
  justify-content: center;
}

.phone-frame {
  position: relative;
  width: min(360px, 100%);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    radial-gradient(circle at top, rgba(255, 122, 0, 0.25), transparent 22%),
    #151515;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.phone-frame video {
  width: 100%;
  aspect-ratio: 9 / 19;
  object-fit: cover;
  border-radius: 24px;
  background: #0d0d0d;
}

.case-layout {
  grid-template-columns: 0.88fr 1.12fr;
}

.case-profile,
.case-math {
  padding: 24px;
  background: rgba(255, 249, 241, 0.92);
  border: 1px solid var(--line);
}

.case-profile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 20px;
}

.channel-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 18px;
}

.channel-pills span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
}

.channel-pills img {
  width: 20px;
  height: 20px;
  margin: 0;
}

.case-profile strong,
.case-math h3 {
  display: block;
  margin-top: 14px;
  font-size: clamp(1.2rem, 1.8vw, 1.7rem);
  line-height: 1.1;
}

.case-block + .case-block {
  margin-top: 18px;
}

.case-highlight {
  margin: 20px 0 0;
  color: var(--orange);
  font-size: 1.1rem;
}

.workflow-table {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
}

.workflow-head {
  padding: 0 4px 4px;
  font-size: 0.86rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.75;
}

.workflow-card {
  padding: 24px;
  background: rgba(255, 246, 236, 0.22);
  border: 1px solid rgba(46, 22, 4, 0.14);
}

.workflow-card h3 {
  margin-bottom: 12px;
}

@media (max-width: 1180px) {
  .hero,
  .ai-layout,
  .case-layout,
  .strategy-grid,
  .platform-columns,
  .era-grid,
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .stats-grid .stat-card-wide {
    grid-column: span 2;
  }
}

@media (max-width: 860px) {
  .page-shell {
    width: min(100% - 20px, 1400px);
    padding-top: 10px;
  }

  .hero,
  .stats-grid,
  .factors-grid,
  .era-grid,
  .duo-grid,
  .strategy-grid,
  .platform-columns,
  .case-layout,
  .ai-layout,
  .workflow-table {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy,
  .panel,
  .hero-media {
    padding: 22px;
  }

  h1 {
    max-width: 12ch;
    font-size: clamp(2.6rem, 12vw, 4.3rem);
  }

  h2 {
    max-width: none;
    font-size: clamp(1.7rem, 7vw, 2.8rem);
  }

  .split-heading {
    flex-direction: column;
    align-items: start;
  }

  .source-note {
    max-width: none;
  }

  .curve-graph {
    min-height: 280px;
    padding-top: 56px;
  }

  .curve-graph svg {
    height: 220px;
  }

  .curve-label {
    top: 12px;
  }

  .workflow-head {
    display: none;
  }

  .phone-frame {
    width: min(320px, 100%);
  }
}
