:root {
  color-scheme: light;
  --ink: #151515;
  --muted: #62625f;
  --line: #dedbd2;
  --paper: #f7f4ed;
  --white: #ffffff;
  --accent: #c94f2d;
  --accent-dark: #923419;
  --forest: #183d34;
  --gold: #d7a841;
  --shadow: 0 18px 60px rgba(24, 24, 24, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.topbar {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 54px);
  color: var(--white);
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0));
}

.brand,
.topbar nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--ink);
  background: var(--gold);
  border-radius: 50%;
}

.topbar nav a {
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.88);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero img,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero img {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.54) 42%, rgba(0, 0, 0, 0.08) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.05) 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 36px));
  margin: 0 clamp(18px, 6vw, 84px) clamp(42px, 9vh, 96px);
}

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

.hero .eyebrow {
  color: #ffb15d;
}

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

h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 5.7rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.2rem;
}

.hero-copy {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.26rem);
  line-height: 1.55;
}

.hero-actions,
.hero-metrics,
.pricing,
.workflow,
.plan-strip {
  display: grid;
  gap: 16px;
}

.hero-actions {
  grid-template-columns: repeat(4, minmax(0, max-content));
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: var(--accent);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.12);
}

.button.outline {
  color: var(--forest);
  border-color: var(--line);
  background: var(--white);
}

.hero-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 620px;
  margin: 34px 0 0;
}

.hero-metrics div {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.26);
}

.hero-metrics dt {
  font-size: 1.35rem;
  font-weight: 900;
}

.hero-metrics dd {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.section {
  padding: clamp(58px, 8vw, 104px) clamp(18px, 5vw, 72px);
}

.section.compact {
  padding-top: 42px;
  padding-bottom: 42px;
}

.section.alt {
  background: var(--forest);
  color: var(--white);
}

.section-heading {
  display: grid;
  gap: 8px;
  max-width: 780px;
  margin-bottom: 34px;
}

.plan-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--white);
  border: 1px solid var(--line);
}

.plan-strip div {
  padding: 24px;
}

.plan-strip div + div {
  border-left: 1px solid var(--line);
}

.plan-strip strong,
.plan-strip span {
  display: block;
}

.plan-strip span {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.45;
}

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

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 100%;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.price-card.featured {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  transform: translateY(-8px);
}

.badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 6px 10px;
  color: var(--accent-dark);
  background: #ffe1c7;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
}

.price {
  margin: 0;
  font-size: 2.3rem;
  font-weight: 900;
}

.price span {
  color: var(--muted);
  font-size: 1rem;
}

.price-card p:not(.price) {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

ul {
  display: grid;
  gap: 10px;
  margin: 0 0 auto;
  padding-left: 20px;
}

li {
  line-height: 1.42;
}

.setup-note {
  margin: 20px 0 0;
  color: var(--muted);
}

code {
  padding: 2px 5px;
  background: rgba(0, 0, 0, 0.07);
  border-radius: 4px;
}

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

.demo-strip,
.demo-player {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 24px;
  align-items: center;
}

.demo-strip video,
.demo-player video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #111;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.demo-strip p,
.demo-player p {
  color: var(--muted);
  line-height: 1.55;
}

.workflow article {
  padding: 26px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.workflow span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  color: var(--forest);
  background: var(--gold);
  border-radius: 50%;
  font-weight: 900;
}

.workflow p,
.contact p {
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.55;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.7fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
  background: #27211d;
  color: var(--white);
}

form {
  display: grid;
  gap: 14px;
  padding: 24px;
  background: var(--white);
  border-radius: 8px;
  color: var(--ink);
}

label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  font: inherit;
  background: var(--white);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(18px, 5vw, 72px);
  color: var(--muted);
  background: var(--white);
}

.plain-page {
  background: var(--paper);
}

.plain-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px clamp(18px, 5vw, 72px);
  color: var(--ink);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.plain-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.plain-header .brand-mark {
  background: var(--accent);
  color: var(--white);
}

.onboarding {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(42px, 6vw, 82px) 0;
}

.onboarding-intro {
  max-width: 860px;
  margin-bottom: 34px;
}

.onboarding-intro h1 {
  color: var(--ink);
  font-size: clamp(2.2rem, 5vw, 4.6rem);
}

.onboarding-intro p,
.email-box p {
  color: var(--muted);
  line-height: 1.55;
}

.onboarding-intro a {
  color: var(--accent-dark);
  font-weight: 800;
}

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

.brief-grid article,
.email-box {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.brief-grid h2,
.email-box h2 {
  font-size: 1.35rem;
}

.email-box {
  margin-top: 16px;
}

.email-box form {
  padding: 0;
  border-radius: 0;
}

.inline-actions {
  grid-template-columns: repeat(2, minmax(0, max-content));
  margin-top: 18px;
}

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

.faq-list article {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

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

pre {
  overflow-x: auto;
  padding: 18px;
  color: #f4efe7;
  background: #211c18;
  border-radius: 8px;
  line-height: 1.5;
}

@media (max-width: 860px) {
  .topbar nav {
    display: none;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-actions,
  .hero-metrics,
  .plan-strip,
  .pricing,
  .workflow,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    align-items: stretch;
  }

  .plan-strip div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .price-card.featured {
    transform: none;
  }

  footer {
    flex-direction: column;
  }

  .plain-header {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .demo-strip,
  .demo-player {
    grid-template-columns: 1fr;
  }
}
