:root {
  --bg: #f6f1ea;
  --surface: rgba(255, 253, 250, 0.88);
  --surface-strong: #fffdfa;
  --surface-tint: rgba(252, 246, 239, 0.96);
  --ink: #1a1816;
  --muted: #61584f;
  --line: rgba(50, 39, 30, 0.1);
  --line-strong: rgba(50, 39, 30, 0.16);
  --accent: #b4613b;
  --accent-dark: #8f492a;
  --shadow: 0 24px 60px rgba(60, 42, 24, 0.09);
  --shadow-soft: 0 10px 30px rgba(60, 42, 24, 0.06);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.92), transparent 28%),
    radial-gradient(circle at 85% 12%, rgba(227, 198, 170, 0.32), transparent 20%),
    linear-gradient(180deg, #efe4d7 0%, var(--bg) 30%, #f5efe8 100%);
}

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

.page-shell {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  padding: 1.2rem 0 5rem;
}

.topbar,
.hero-grid,
.two-column,
.flow,
.card-grid {
  display: grid;
}

.topbar {
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
  margin-bottom: 4rem;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.brand-kicker,
.eyebrow,
.mini-label,
.ghost-link,
.stat-label {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
}

.brand-name {
  font-size: 1rem;
  font-weight: 800;
}

.ghost-link {
  color: var(--ink);
  text-decoration: none;
  padding: 0.95rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
}

.hero {
  position: relative;
  padding: 1rem 0 4.8rem;
}

.hero-grid {
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  gap: 2.4rem;
  align-items: start;
  padding: 3rem;
  background:
    radial-gradient(circle at 50% 0%, rgba(224, 162, 127, 0.18), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.24)),
    rgba(255, 250, 245, 0.54);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 38px;
  box-shadow:
    0 30px 80px rgba(60, 42, 24, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
  overflow: hidden;
}

.hero-grid-centered {
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 2rem;
}

.hero-grid::after {
  content: "";
  position: absolute;
  top: -120px;
  right: -70px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(180, 97, 59, 0.18), transparent 68%);
  pointer-events: none;
}

.hero-copy h1,
.section-heading h2 {
  font-family: "Fraunces", Georgia, serif;
  line-height: 1.02;
  margin: 0;
}

.hero-copy h1 {
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  max-width: 10ch;
}

.hero-copy-centered {
  width: 100%;
  max-width: 860px;
  text-align: center;
}

.hero-copy-centered .eyebrow,
.hero-copy-centered .lead,
.hero-copy-centered .support {
  margin-left: auto;
  margin-right: auto;
}

.hero-copy-centered h1 {
  max-width: 13ch;
  margin-left: auto;
  margin-right: auto;
  text-wrap: balance;
}

.eyebrow {
  color: var(--accent-dark);
  margin-bottom: 1rem;
}

.lead,
.support,
.section-heading p,
.text-stack p,
.feature-card p,
.list-card p,
.cta-box p,
.hero-card p,
.hero-card li {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.lead {
  max-width: 54ch;
  margin: 1.5rem 0 0;
  font-size: 1.18rem;
}

.support {
  max-width: 52ch;
  margin-top: 0.9rem;
}

.hero-intro-media {
  width: 100%;
  padding: 0.95rem;
  border-radius: 32px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(240, 225, 211, 0.84)),
    rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.86);
  box-shadow:
    0 28px 70px rgba(60, 42, 24, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.hero-video {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  background:
    radial-gradient(circle at center, rgba(46, 32, 22, 0.55), rgba(9, 8, 8, 1) 70%);
  object-fit: contain;
}

.hero-media-focus {
  display: grid;
  gap: 1rem;
  align-self: stretch;
}

.hero-media-focus-centered {
  width: 100%;
  max-width: 760px;
  justify-items: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-actions-centered {
  justify-content: center;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.hero-points span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.72rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(50, 39, 30, 0.08);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
  box-shadow: var(--shadow-soft);
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  min-height: 54px;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.ghost-link:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fffaf6;
  background: linear-gradient(135deg, var(--accent) 0%, #d67642 100%);
  box-shadow: 0 20px 40px rgba(185, 92, 50, 0.28);
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line-strong);
}

.button-large {
  min-width: min(100%, 360px);
}

.hero-card,
.feature-card,
.list-card,
.stats-card,
.cta-box {
  background: var(--surface);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.hero-card {
  padding: 1.6rem;
}

.hero-card-main {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.44)),
    var(--surface-tint);
}

.hero-image {
  display: block;
  width: 100%;
  height: auto;
  min-height: 260px;
  max-height: 540px;
  margin-bottom: 1.2rem;
  border-radius: 18px;
  border: 1px solid rgba(50, 39, 30, 0.08);
  box-shadow: var(--shadow-soft);
  object-fit: cover;
}

.hero-card ul {
  padding-left: 1.1rem;
  margin: 1rem 0 0;
}

.section {
  padding: 2rem 0;
}

.section-frame {
  padding: 3rem;
  margin-top: 1.2rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.4)),
    rgba(255, 255, 255, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-xl);
  box-shadow:
    0 18px 40px rgba(60, 42, 24, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 2.2rem;
}

.section-subtitle {
  max-width: 52ch;
  font-size: 1.08rem;
}

.section-heading .eyebrow {
  display: inline-block;
  padding: 0.45rem 0.7rem;
  background: rgba(180, 97, 59, 0.08);
  border: 1px solid rgba(180, 97, 59, 0.12);
  border-radius: 999px;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  margin-bottom: 1rem;
}

.two-column {
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 1.5rem;
  align-items: start;
}

.text-stack {
  display: grid;
  gap: 1rem;
}

.story-copy {
  max-width: 880px;
}

.story-emphasis {
  font-weight: 800;
  color: #2d221a;
}

.highlight-quote {
  margin: 2rem 0 2.2rem;
  padding: 1.5rem 1.6rem;
  color: #2b2119;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  line-height: 1.35;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.58));
  border: 1px solid rgba(180, 97, 59, 0.16);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
}

.social-proof {
  margin-top: 0.45rem;
}

.social-proof-label {
  margin: 0 0 0.8rem;
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.social-proof-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.social-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.8rem 1.05rem;
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid transparent;
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.social-button:hover {
  transform: translateY(-2px);
}

.social-linktree {
  background: linear-gradient(135deg, #2ccf7f 0%, #18a85f 100%);
}

.text-stack p {
  margin: 0;
}

.stats-card,
.cta-box {
  padding: 1.8rem;
}

.stats-card {
  display: grid;
  gap: 1rem;
  border-left: 4px solid rgba(180, 97, 59, 0.5);
}

.stat-label {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--accent-dark);
}

.stats-card strong {
  display: block;
  font-size: 1.05rem;
  line-height: 1.5;
}

.case-card {
  border-left: 4px solid rgba(180, 97, 59, 0.5);
}

.case-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
  line-height: 1.75;
}

.card-grid {
  gap: 1.25rem;
}

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

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

.feature-card,
.list-card {
  padding: 1.5rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.62));
  border: 1px solid rgba(52, 40, 30, 0.08);
  box-shadow:
    0 14px 30px rgba(60, 42, 24, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

.feature-card h3 {
  margin: 0 0 0.7rem;
  font-size: 1.18rem;
  line-height: 1.25;
  color: #2d221a;
}

.list-card p,
.feature-card p {
  margin: 0;
}

.list-card span {
  display: block;
  margin-top: 0.65rem;
  color: var(--muted);
  line-height: 1.6;
}

.section-accent {
  padding: 3rem;
  background:
    radial-gradient(circle at top center, rgba(212, 142, 100, 0.18), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.22)),
    rgba(189, 102, 54, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.flow {
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.9rem;
}

.flow span {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 78px;
  padding: 1rem;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(251, 244, 237, 0.92));
  border: 1px solid rgba(58, 44, 32, 0.08);
  font-weight: 700;
  box-shadow: var(--shadow-soft);
}

.section-tools .list-card {
  display: flex;
  align-items: center;
  min-height: 112px;
}

.section-tools .list-card p {
  font-size: 1rem;
  font-weight: 800;
  color: #2d221a;
}

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

.tool-card {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 1rem;
  align-items: start;
  min-height: 160px;
  padding: 1.35rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.62));
  border: 1px solid rgba(52, 40, 30, 0.08);
  border-radius: 24px;
  box-shadow:
    0 14px 30px rgba(60, 42, 24, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

.tool-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(180, 97, 59, 0.16), rgba(255, 255, 255, 0.95));
  border: 1px solid rgba(180, 97, 59, 0.14);
  color: var(--accent-dark);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  overflow: hidden;
}

.tool-icon span {
  position: absolute;
  display: block;
}

.tool-icon-chatgpt span:nth-child(1) {
  width: 24px;
  height: 24px;
  border: 3px solid #2ba76a;
  border-radius: 50%;
}

.tool-icon-chatgpt span:nth-child(2) {
  width: 22px;
  height: 22px;
  border-top: 3px solid #2ba76a;
  border-right: 3px solid #2ba76a;
  border-radius: 50%;
  transform: rotate(32deg);
}

.tool-icon-chatgpt span:nth-child(3) {
  width: 8px;
  height: 8px;
  background: #2ba76a;
  border-radius: 50%;
}

.tool-icon-codex span:nth-child(1) {
  width: 26px;
  height: 18px;
  border: 3px solid #4b5cff;
  border-radius: 8px;
}

.tool-icon-codex span:nth-child(2) {
  width: 14px;
  height: 3px;
  background: #4b5cff;
  box-shadow: -6px -5px 0 #4b5cff;
  transform: rotate(-12deg);
}

.tool-icon-vscode span {
  width: 24px;
  height: 24px;
  border-left: 10px solid #2b7fff;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  transform: translateX(3px);
}

.tool-icon-vscode span::after {
  content: "";
  position: absolute;
  left: -15px;
  top: -10px;
  width: 14px;
  height: 20px;
  border: 3px solid #2b7fff;
  border-radius: 6px;
  transform: skewX(-18deg);
}

.tool-icon-visual span:nth-child(1) {
  width: 26px;
  height: 20px;
  border: 3px solid #c04e2d;
  border-radius: 7px;
}

.tool-icon-visual span:nth-child(2) {
  width: 12px;
  height: 12px;
  background: radial-gradient(circle, #ffb15f 0%, #ff7b32 68%);
  clip-path: polygon(50% 0%, 61% 36%, 100% 50%, 61% 64%, 50% 100%, 39% 64%, 0% 50%, 39% 36%);
  right: 10px;
  top: 10px;
}

.tool-icon-edit span:nth-child(1) {
  width: 26px;
  height: 6px;
  background: #111111;
  transform: rotate(38deg);
  border-radius: 999px;
}

.tool-icon-edit span:nth-child(2) {
  width: 26px;
  height: 6px;
  background: #111111;
  transform: rotate(-38deg);
  border-radius: 999px;
}

.tool-icon-app span:nth-child(1) {
  width: 20px;
  height: 28px;
  border: 3px solid #3ea55b;
  border-radius: 7px;
}

.tool-icon-app span:nth-child(2) {
  width: 8px;
  height: 8px;
  background: #6b59ff;
  border-radius: 3px;
  bottom: 12px;
  right: 11px;
}

.tool-copy p {
  margin: 0;
  color: #2d221a;
  font-size: 1rem;
  font-weight: 800;
}

.tool-copy span {
  display: block;
  margin-top: 0.55rem;
  color: var(--muted);
  line-height: 1.6;
}

.cta-section {
  padding-bottom: 1rem;
}

.cta-surface {
  padding: 3.2rem;
  margin-top: 1.5rem;
  background:
    radial-gradient(circle at top right, rgba(212, 118, 66, 0.22), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 248, 242, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 36px;
  box-shadow:
    0 28px 70px rgba(60, 42, 24, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

.cta-box {
  display: grid;
  gap: 1rem;
  justify-items: start;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(50, 39, 30, 0.08);
}

@media (max-width: 1024px) {
  .hero-grid,
  .two-column,
  .four-up,
  .three-up,
  .flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-grid-centered {
    grid-template-columns: 1fr;
  }

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

  .hero-copy h1 {
    max-width: none;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(calc(100% - 1.2rem), var(--max-width));
  }

  .topbar,
  .hero-grid,
  .two-column,
  .four-up,
  .three-up,
  .flow,
  .tools-grid {
    grid-template-columns: 1fr;
  }

  .section,
  .section-accent,
  .section-frame,
  .cta-surface {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .section {
    padding-top: 1.2rem;
    padding-bottom: 1.2rem;
  }

  .section-accent,
  .section-frame,
  .cta-surface,
  .hero-grid {
    border-radius: 24px;
  }

  .hero {
    padding-top: 0.4rem;
  }

  .topbar {
    margin-bottom: 2.5rem;
  }

  .hero-copy h1 {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .hero-actions,
  .cta-box {
    justify-items: stretch;
  }

  .hero-points {
    justify-content: center;
  }

  .hero-grid {
    padding: 1.5rem;
  }

  .hero-intro-media {
    width: 100%;
    padding: 0.65rem;
    border-radius: 24px;
  }

  .hero-video {
    border-radius: 18px;
  }

  .hero-media-note {
    max-width: none;
  }

  .button,
  .ghost-link {
    width: 100%;
  }
}
