:root {
  color-scheme: light;
  --display-font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  --ui-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  --bg: #f4efe5;
  --bg-deep: #ede4d6;
  --ink: #131417;
  --muted: #666973;
  --subtle: #8a8d96;
  --line: rgba(24, 25, 30, 0.08);
  --surface: rgba(255, 255, 255, 0.84);
  --shadow: 0 24px 60px rgba(42, 31, 16, 0.09);
  --shadow-strong: 0 28px 70px rgba(42, 31, 16, 0.14);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  color: var(--ink);
  font-family: var(--ui-font);
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 255, 255, 0.96), transparent 24%),
    radial-gradient(circle at 84% 14%, rgba(213, 116, 67, 0.16), transparent 22%),
    radial-gradient(circle at 74% 72%, rgba(213, 116, 67, 0.08), transparent 24%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.14), transparent 38%);
  pointer-events: none;
}

.page {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 24px 60px;
}

h1,
h2,
h3,
p,
ul {
  margin: 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(500px, 1.1fr);
  gap: 34px;
  align-items: start;
}

.hero-copy {
  padding-top: 10px;
}

.eyebrow,
.section-kicker,
.brand-name {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--subtle);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.76);
  box-shadow: 0 14px 28px rgba(42, 31, 16, 0.06);
}

h1 {
  margin-top: 18px;
  font-family: var(--display-font);
  max-width: 100%;
  font-size: clamp(42px, 4.7vw, 62px);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.07em;
}

h1 span {
  display: block;
}

h1 span:last-child,
.headline-lead {
  white-space: nowrap;
}

.headline-lead {
  font-size: 0.9em;
  letter-spacing: -0.06em;
}

.copy {
  max-width: 35ch;
  margin-top: 18px;
  font-size: 18px;
  line-height: 1.56;
  color: var(--muted);
}

.hero-pills,
.hero-actions,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-pills {
  margin-top: 22px;
}

.hero-pill,
.secondary-link,
.footer-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(24, 25, 30, 0.05);
  box-shadow: 0 12px 26px rgba(42, 31, 16, 0.06);
  font-size: 13px;
  font-weight: 600;
  color: #2a2d34;
  text-decoration: none;
}

.hero-actions {
  margin-top: 22px;
}

.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: #191b20;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 18px 32px rgba(19, 20, 24, 0.18);
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.primary-link:hover,
.secondary-link:hover,
.footer-link:hover {
  transform: translateY(-1px);
}

.primary-link:hover {
  background: linear-gradient(135deg, #2a2d34, #1b1d22);
  box-shadow: 0 24px 38px rgba(19, 20, 24, 0.22);
}

.secondary-link:hover,
.footer-link:hover {
  background: rgba(255, 255, 255, 0.92);
}

.preview-browser,
.story-card,
.how-it-works,
.assistants {
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-panel {
  display: grid;
  align-self: center;
}

.preview-browser {
  padding: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 239, 231, 0.94)),
    linear-gradient(135deg, rgba(213, 116, 67, 0.03), transparent 68%);
  box-shadow:
    0 24px 56px rgba(42, 31, 16, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.preview-body {
  position: relative;
  aspect-ratio: 288 / 180;
  border-radius: 22px;
  overflow: hidden;
  background: #111317;
}

.preview-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #111317;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 34px;
  align-items: stretch;
}

.story-card,
.how-it-works,
.assistants {
  padding: 24px;
  height: 100%;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.76)),
    linear-gradient(135deg, rgba(213, 116, 67, 0.06), transparent 58%);
}

.story-card h2,
.section-head h2 {
  margin-top: 10px;
  font-family: var(--display-font);
  font-size: clamp(28px, 2.8vw, 40px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.story-card p,
.step p,
.assistant-copy {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.56;
  color: var(--muted);
}

.story-what {
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.story-what-copy h2 {
  max-width: none;
  font-size: clamp(28px, 2.1vw, 34px);
  white-space: nowrap;
}

.story-what-copy p {
  max-width: 34ch;
}

.story-loop-band {
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(24, 25, 30, 0.08);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.58)),
    linear-gradient(135deg, rgba(213, 116, 67, 0.1), transparent 64%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.story-loop-kicker {
  margin-top: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--subtle);
}

.story-loop-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.story-loop-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(24, 25, 30, 0.08);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.benefit-stack {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.benefit-row {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px;
  border: 1px solid rgba(24, 25, 30, 0.08);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.56)),
    linear-gradient(135deg, rgba(213, 116, 67, 0.08), transparent 60%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.story-benefits {
  display: grid;
  grid-template-rows: auto auto 1fr;
}

.story-benefits h2 {
  max-width: none;
  font-size: clamp(24px, 1.7vw, 30px);
  white-space: nowrap;
}

.story-benefits .benefit-stack {
  margin-top: 22px;
}

.benefit-row h3 {
  font-size: 20px;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.benefit-row p {
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

.benefit-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(213, 116, 67, 0.18);
  color: #a85527;
  font-size: 14px;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.how-it-works,
.assistants {
  margin-top: 20px;
}

.assistants {
  margin-top: 34px;
}

.steps {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
  padding-top: 14px;
  border-top: 1px solid rgba(24, 25, 30, 0.08);
}

.step:first-child {
  padding-top: 0;
  border-top: 0;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #d57443;
  color: #fff;
  font-weight: 700;
}

.step h3 {
  font-size: 22px;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

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

.assistant-card {
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(24, 25, 30, 0.1);
  background: rgba(255, 255, 255, 0.72);
}

.assistant-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-shell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    inset 0 0 0 1px rgba(24, 25, 30, 0.08),
    0 12px 24px rgba(42, 31, 16, 0.07);
}

.brand-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.chatgpt-logo {
  width: 34px;
  height: 34px;
}

.assistant-card h3 {
  margin-top: 4px;
  font-size: 26px;
  font-family: var(--display-font);
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.assistant-headline {
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.assistant-chatgpt {
  color: #131417;
}

.assistant-claude {
  color: #6b341c;
  background:
    linear-gradient(180deg, rgba(255, 250, 246, 0.98), rgba(249, 241, 233, 0.96)),
    linear-gradient(135deg, rgba(213, 116, 67, 0.1), transparent 62%);
}

.assistant-gemini {
  color: #2f4ba1;
  background:
    linear-gradient(180deg, rgba(246, 248, 255, 0.98), rgba(239, 242, 255, 0.96)),
    linear-gradient(135deg, rgba(91, 108, 255, 0.1), transparent 62%);
}

.page-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
  padding: 18px 4px 0;
}

.footer-copy p:last-child {
  margin-top: 8px;
  color: var(--muted);
}

@media (max-width: 1120px) {
  .hero,
  .story-grid,
  .assistant-grid {
    grid-template-columns: 1fr;
  }

  .story-benefits h2 {
    white-space: normal;
  }
}

@media (max-width: 820px) {
  .page {
    padding: 28px 16px 44px;
  }

  h1 {
    font-size: clamp(40px, 14vw, 58px);
  }

  .copy {
    max-width: none;
    font-size: 17px;
  }

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