:root {
  --ink: #17151a;
  --muted: #625b64;
  --paper: #faf6ef;
  --surface: #fffdf8;
  --line: #dfd6ca;
  --red: #ff343f;
  --red-dark: #be1e28;
  --cyan: #0ea7c8;
  --blue: #315c9c;
  --violet: #684a86;
  --yellow: #fff29a;
  --green: #3d8460;
  --shadow: 0 24px 70px rgba(34, 22, 16, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

img {
  max-width: 100%;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(20px, 5vw, 64px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 52, 63, 0.94);
  color: white;
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 18px;
  white-space: nowrap;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.18);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  opacity: 0.88;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  opacity: 1;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 8px;
  background: white;
  color: var(--red-dark);
  opacity: 1 !important;
}

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 0 clamp(20px, 6vw, 76px) 84px;
  background: #120f16;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.78;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 13, 18, 0.88) 0%, rgba(16, 13, 18, 0.58) 44%, rgba(16, 13, 18, 0.10) 100%),
    linear-gradient(0deg, rgba(16, 13, 18, 0.92) 0%, rgba(16, 13, 18, 0.06) 42%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 780px;
  color: white;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--yellow);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow.red {
  color: var(--red);
}

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

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

.eyebrow.violet {
  color: var(--violet);
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
}

h1,
h2 {
  font-family: "Newsreader", Georgia, serif;
  font-weight: 700;
}

.hero h1 {
  font-size: clamp(72px, 13vw, 164px);
  line-height: 0.92;
  max-width: 900px;
}

.hero-lede {
  max-width: 680px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.24;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}

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

.button.light {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.12);
  color: white;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  height: 48px;
}

.store-badge img {
  display: block;
  width: 188px;
  height: auto;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.76);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
}

.hero-meta span {
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.20);
}

.mode-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.mode {
  min-height: 168px;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.mode:last-child {
  border-right: 0;
}

.mode strong {
  display: block;
  margin-bottom: 10px;
  color: var(--red-dark);
  font-size: 18px;
}

.mode span {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 98px clamp(20px, 5vw, 64px);
}

.split.reverse {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}

.section-copy h2,
.band-copy h2,
.section-heading h2,
.download h2,
.guide-hero h1 {
  font-size: clamp(42px, 6vw, 82px);
  line-height: 0.92;
}

.section-copy p,
.band-copy p,
.download p,
.guide-hero p,
.guide-card p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.section-copy p {
  margin: 24px 0 0;
}

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

.check-list li {
  position: relative;
  padding-left: 25px;
  color: var(--muted);
  line-height: 1.45;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 11px;
  height: 11px;
  border-radius: 3px;
  background: var(--red);
}

.shot {
  margin: 0;
}

.product-shot {
  display: block;
  width: 100%;
  border: 1px solid rgba(23, 21, 26, 0.12);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.workflow-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  padding: 86px clamp(20px, 5vw, 64px);
  background: #17151a;
  color: white;
}

.workflow-band p {
  color: rgba(255, 255, 255, 0.72);
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.facts-grid div,
.feature-grid article,
.guide-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.facts-grid div {
  min-height: 160px;
  padding: 24px;
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
}

.facts-grid strong,
.feature-grid h3,
.guide-card h2,
.table-like strong {
  display: block;
  margin-bottom: 10px;
  font-size: 21px;
}

.facts-grid span {
  color: rgba(255, 255, 255, 0.70);
  line-height: 1.45;
}

.mini-panel {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-top: 28px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.mini-panel img {
  border-radius: 8px;
}

.mini-panel strong,
.mini-panel span {
  display: block;
}

.mini-panel span {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.4;
}

.feature-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 82px clamp(20px, 5vw, 64px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.section-heading {
  grid-column: 1 / -1;
  max-width: 820px;
  margin-bottom: 20px;
}

.feature-grid article {
  min-height: 220px;
  padding: 26px;
}

.feature-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.ai-section {
  background: #f1ece4;
  max-width: none;
  padding-left: clamp(20px, 5vw, 64px);
  padding-right: clamp(20px, 5vw, 64px);
}

.ai-section > * {
  max-width: 620px;
}

.ai-section .shot {
  max-width: 780px;
}

.download {
  max-width: 900px;
  margin: 0 auto;
  padding: 104px 20px 112px;
  text-align: center;
}

.download img {
  width: 96px;
  height: 96px;
  margin-bottom: 24px;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.download p {
  max-width: 620px;
  margin: 22px auto 0;
}

.download-badge {
  margin-top: 30px;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  padding: 34px 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.footer-store {
  display: inline-flex;
  align-items: center;
  margin: -8px 2px;
}

.footer-store img {
  display: block;
  width: 132px;
  height: auto;
}

.footer span:first-child {
  color: var(--ink);
  font-weight: 800;
}

.guide {
  padding-bottom: 80px;
}

.guide-hero {
  max-width: 960px;
  margin: 0 auto;
  padding: 88px 24px 54px;
  text-align: center;
}

.guide-hero.compact {
  padding-bottom: 28px;
}

.guide-hero p {
  max-width: 760px;
  margin: 24px auto 0;
}

.guide-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 28px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  align-items: start;
}

.toc {
  position: sticky;
  top: 94px;
  display: grid;
  gap: 2px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.toc a {
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
}

.toc a:hover {
  background: #f0e9df;
  color: var(--ink);
}

.guide-content {
  display: grid;
  gap: 18px;
}

.guide-card {
  padding: 30px;
}

.guide-card p {
  margin: 0;
}

.guide-card h2 + p {
  margin-top: 14px;
}

.table-like {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.table-like div {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.table-like div:last-child {
  border-bottom: 0;
}

.table-like span {
  color: var(--muted);
  line-height: 1.45;
}

.media-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 1.1fr);
  gap: 24px;
  align-items: center;
}

.media-card img {
  display: block;
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.sample-showcase {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 24px 96px;
  display: grid;
  gap: 28px;
}

.sample-showcase figure {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 28px;
  align-items: center;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.sample-showcase img {
  display: block;
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(34, 22, 16, 0.12);
}

.sample-showcase figcaption strong,
.sample-showcase figcaption span {
  display: block;
}

.sample-showcase figcaption strong {
  font-size: 30px;
  line-height: 1;
  font-family: "Newsreader", Georgia, serif;
}

.sample-showcase figcaption span {
  margin-top: 12px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
}

@media (max-width: 980px) {
  .mode-strip,
  .split,
  .split.reverse,
  .workflow-band,
  .feature-grid,
  .guide-layout,
  .media-card,
  .sample-showcase figure {
    grid-template-columns: 1fr;
  }

  .mode-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .mode {
    border-bottom: 1px solid var(--line);
  }

  .feature-grid article {
    min-height: 0;
  }

  .toc {
    position: static;
  }
}

@media (max-width: 720px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    flex-wrap: wrap;
    gap: 10px 16px;
  }

  .hero {
    min-height: 660px;
    padding-bottom: 52px;
  }

  .hero h1 {
    font-size: clamp(60px, 22vw, 104px);
  }

  .mode-strip,
  .facts-grid {
    grid-template-columns: 1fr;
  }

  .mode {
    min-height: auto;
    border-right: 0;
  }

  .mini-panel,
  .table-like div {
    grid-template-columns: 1fr;
  }

  .section-copy h2,
  .band-copy h2,
  .section-heading h2,
  .download h2,
  .guide-hero h1 {
    font-size: clamp(38px, 13vw, 58px);
  }
}
