:root {
  --ink: #07111f;
  --ink-soft: #314258;
  --paper: #f5f8fc;
  --paper-strong: #ffffff;
  --night: #030711;
  --night-soft: #091426;
  --blue: #1277ff;
  --blue-soft: #8fc3ff;
  --cyan: #4fd7ff;
  --amber: #f9c846;
  --line: rgba(7, 17, 31, 0.12);
  --line-light: rgba(255, 255, 255, 0.18);
  --shadow: 0 22px 70px rgba(3, 7, 17, 0.18);
  --font-display: "SF Pro Display", "Avenir Next", "Segoe UI", sans-serif;
  --font-body: "SF Pro Text", "Avenir Next", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 17, 31, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(7, 17, 31, 0.035) 1px, transparent 1px);
  background-size: 46px 46px;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 20;
  width: min(1180px, calc(100% - 32px));
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 16px;
  color: #fff;
  background: rgba(3, 7, 17, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: 0 12px 36px rgba(3, 7, 17, 0.2);
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
}

.brand {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
}

.site-header nav,
.site-footer nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.site-header nav a,
.site-footer nav a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0;
}

.site-header nav a:hover,
.site-footer nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
}

.hero {
  position: relative;
  min-height: 82svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: var(--night);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -3;
  background-image: url("media/telethryve-media-01.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(3, 7, 17, 0.94) 0%, rgba(3, 7, 17, 0.7) 42%, rgba(3, 7, 17, 0.26) 100%),
    linear-gradient(180deg, rgba(3, 7, 17, 0.24) 0%, rgba(3, 7, 17, 0.9) 100%);
}

.hero-content {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 132px 0 68px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--cyan);
}

h1,
h2,
h3,
p,
li,
span {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  letter-spacing: 0;
}

.hero h1 {
  max-width: 9ch;
  margin: 0;
  font-size: 5.6rem;
  line-height: 0.92;
  font-weight: 800;
}

.hero-subtitle {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.36rem;
  line-height: 1.55;
}

.hero-lines {
  display: grid;
  gap: 8px;
  max-width: 360px;
  margin-top: 28px;
}

.hero-lines span {
  display: block;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.52rem;
  font-weight: 800;
  line-height: 1.1;
}

.hero-lines span:nth-child(3) {
  color: var(--blue-soft);
}

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

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}

.button-primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 14px 30px rgba(18, 119, 255, 0.32);
}

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

.button-secondary.light {
  color: var(--ink);
  background: #fff;
  border-color: rgba(7, 17, 31, 0.14);
}

.section {
  position: relative;
  padding: 86px 0;
}

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

.two-column,
.shift-grid,
.split-feature,
.trust-layout,
.closing-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 44px;
  align-items: center;
}

.copy-block h2,
.section-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: 3rem;
  line-height: 1.02;
  font-weight: 800;
}

.copy-block p,
.section-heading p,
.story-card p,
.work-card p,
.person-card p,
.person-card span,
.site-footer span {
  color: var(--ink-soft);
  font-size: 1.04rem;
  line-height: 1.68;
}

.copy-block p {
  max-width: 640px;
  margin: 18px 0 0;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 30px;
}

.section-heading.centered {
  max-width: 780px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading.centered .eyebrow {
  color: var(--blue);
}

.section-heading.centered p:last-child {
  margin: 18px auto 0;
  max-width: 680px;
}

.media-panel {
  margin: 0;
  overflow: hidden;
  background: var(--night);
  border: 1px solid rgba(7, 17, 31, 0.18);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.media-panel img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.media-panel-wide {
  aspect-ratio: 16 / 9;
}

.closing-montage {
  aspect-ratio: 4 / 3;
}

.closing-montage img {
  object-fit: contain;
}

.intro {
  background: #fff;
}

.problem {
  color: #fff;
  background:
    linear-gradient(180deg, rgba(3, 7, 17, 0.92), rgba(3, 7, 17, 0.98)),
    url("media/telethryve-media-12.png") center / cover;
}

.problem .section-heading h2,
.problem .story-card h3,
.closing h2 {
  color: #fff;
}

.problem .section-heading p,
.problem .story-card p,
.closing p {
  color: rgba(255, 255, 255, 0.76);
}

.problem-grid,
.work-grid,
.people-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.story-card,
.work-card,
.person-card {
  min-width: 0;
  padding: 22px;
  border-radius: 8px;
}

.story-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line-light);
}

.story-card h3,
.work-card h3,
.person-card h3 {
  margin: 0 0 12px;
  font-size: 1.36rem;
  line-height: 1.16;
}

.story-card p,
.work-card p,
.person-card p {
  margin: 0;
}

.shift {
  background: linear-gradient(180deg, #f5f8fc 0%, #eaf1fb 100%);
}

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

.proof-stack .media-panel {
  aspect-ratio: 1;
}

.plain-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.plain-list li {
  position: relative;
  padding-left: 22px;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.5;
}

.plain-list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 9px;
  height: 9px;
  background: var(--blue);
  border-radius: 2px;
}

.life {
  background: #fff;
}

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

.work-card,
.person-card {
  background: var(--paper-strong);
  border: 1px solid var(--line);
  box-shadow: 0 16px 50px rgba(7, 17, 31, 0.08);
}

.work-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 20px;
  color: #fff;
  background: var(--blue);
  border-radius: 8px;
  font-weight: 900;
}

.continuity,
.people {
  background: #f5f8fc;
}

.parallel,
.trust {
  background: #fff;
}

.split-feature {
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1fr);
}

.split-feature.reversed figure {
  order: 2;
}

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

.person-card p {
  margin-bottom: 14px;
  color: var(--ink);
  font-weight: 800;
}

.person-card span {
  display: block;
}

.trust-layout {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.86fr);
}

.closing {
  color: #fff;
  background:
    linear-gradient(180deg, rgba(3, 7, 17, 0.9), rgba(3, 7, 17, 0.98)),
    url("media/telethryve-media-11.png") center / cover;
}

.closing .eyebrow {
  color: var(--cyan);
}

.closing-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.install-help {
  margin-top: 58px;
  padding-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.install-help-heading {
  max-width: 760px;
}

.install-help-heading h2 {
  margin: 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: 2.2rem;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: 0;
}

.install-help-heading p:last-child {
  max-width: 680px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  line-height: 1.65;
}

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

.prompt-card {
  min-width: 0;
  padding: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px);
}

.prompt-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.prompt-card h3 {
  margin: 0;
  color: #fff;
  font-size: 1.12rem;
  line-height: 1.2;
}

.prompt-card a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  color: #fff;
  background: rgba(18, 119, 255, 0.9);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.prompt-card pre {
  margin: 0;
  padding: 16px;
  overflow: auto;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(3, 7, 17, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  font-family: "SF Mono", "Menlo", "Consolas", monospace;
  font-size: 0.9rem;
  line-height: 1.55;
  white-space: pre-wrap;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 30px max(16px, calc((100vw - 1180px) / 2));
  color: #fff;
  background: var(--night);
}

.site-footer div {
  display: grid;
  gap: 4px;
}

.site-footer strong {
  font-family: var(--font-display);
  letter-spacing: 0;
}

.site-footer span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.95rem;
}

@media (max-width: 1100px) {
  .hero h1 {
    font-size: 4.6rem;
  }

  .copy-block h2,
  .section-heading h2 {
    font-size: 2.44rem;
  }

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

@media (max-width: 860px) {
  .site-header {
    position: absolute;
    top: 12px;
    right: 12px;
    left: 12px;
    width: auto;
    align-items: flex-start;
    flex-direction: column;
    transform: none;
  }

  .site-header nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
  }

  .site-header nav a {
    justify-content: center;
  }

  .site-header nav a {
    padding-right: 8px;
    padding-left: 8px;
  }

  .hero {
    min-height: 86svh;
  }

  .hero-content {
    padding-top: 168px;
    padding-bottom: 56px;
  }

  .hero h1 {
    font-size: 3.55rem;
  }

  .hero-subtitle {
    font-size: 1.16rem;
  }

  .hero-lines span {
    font-size: 1.28rem;
  }

  .two-column,
  .shift-grid,
  .split-feature,
  .trust-layout,
  .closing-grid {
    grid-template-columns: 1fr;
  }

  .split-feature.reversed figure {
    order: 0;
  }

  .problem-grid,
  .work-grid,
  .people-grid {
    grid-template-columns: 1fr;
  }

  .proof-stack {
    grid-template-columns: 1fr;
  }

  .prompt-grid {
    grid-template-columns: 1fr;
  }

  .proof-stack .media-panel {
    aspect-ratio: 16 / 9;
  }

  .section {
    padding: 62px 0;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .site-header,
  .hero-content,
  .section-inner {
    width: min(100% - 24px, 1180px);
  }

  .site-header {
    gap: 12px;
    right: 12px;
    left: 12px;
    width: auto;
    padding: 12px;
    transform: none;
  }

  .site-header nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
  }

  .site-header nav a {
    min-height: 32px;
    justify-content: center;
    padding: 6px 2px;
    font-size: 0.84rem;
  }

  .hero-media {
    background-position: 68% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(3, 7, 17, 0.96) 0%, rgba(3, 7, 17, 0.82) 58%, rgba(3, 7, 17, 0.52) 100%),
      linear-gradient(180deg, rgba(3, 7, 17, 0.34) 0%, rgba(3, 7, 17, 0.94) 100%);
  }

  .hero h1 {
    font-size: 2.9rem;
  }

  .hero-subtitle {
    max-width: 320px;
    font-size: 1.04rem;
  }

  .hero .actions {
    max-width: 320px;
  }

  .copy-block h2,
  .section-heading h2 {
    font-size: 2.05rem;
  }

  .actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .story-card,
  .work-card,
  .person-card {
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
