:root {
  --bg: #fbf5ea;
  --paper: #fffdf8;
  --ink: #18212b;
  --muted: #586170;
  --line: #eadfcb;
  --accent: #f26a2c;
  --accent-deep: #cb4e17;
  --accent-soft: #fff0e6;
  --gold: #e7b363;
  --shadow: 0 22px 60px rgba(108, 71, 31, 0.12);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(242, 106, 44, 0.12), transparent 28%),
    radial-gradient(circle at top right, rgba(231, 179, 99, 0.2), transparent 24%),
    linear-gradient(180deg, #fffaf1 0%, #fbf5ea 45%, #f7efe1 100%);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

img {
  max-width: 100%;
  display: block;
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  z-index: 30;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
}

.promo-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  padding: 10px 16px;
  background: linear-gradient(90deg, #1f242c, #3d3128);
  color: #fff7ef;
  font-size: 13px;
}

.shell {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(251, 245, 234, 0.82);
  border-bottom: 1px solid rgba(234, 223, 203, 0.88);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 700;
}

.brand img {
  width: 38px;
  height: 38px;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
}

.main-nav a:hover,
.deep-link:hover,
.gallery-note a:hover {
  color: var(--accent-deep);
}

.nav-cta,
.hero-actions a,
.gallery-note a,
.cta-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 16px 34px rgba(242, 106, 44, 0.22);
}

.nav-cta:hover,
.hero-actions a:hover,
.gallery-note a:hover,
.cta-actions a:hover {
  background: var(--accent-deep);
}

.hero {
  padding: 32px 0 26px;
}

.hero-shell {
  display: block;
}

.hero-copy,
.hero-panel,
.info-card,
.metric-card,
.image-card,
.gallery-card,
.video-card,
.gallery-note,
.use-case-stack article,
.compare-table,
.deep-link,
.faq-item,
.cta-shell {
  background: rgba(255, 253, 248, 0.86);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-copy,
.hero-panel,
.cta-shell {
  border-radius: var(--radius-xl);
}

.hero-copy {
  max-width: 980px;
  margin: 0 auto;
  padding: 18px 0 0;
  text-align: center;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.hero-badge {
  margin-bottom: 16px;
}

.eyebrow,
.section-kicker,
.panel-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
.brand {
  letter-spacing: -0.03em;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
}

h1 {
  margin-top: 18px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 0.96;
}

.hero-lead,
.section-heading p,
.info-card p,
.use-case-stack p,
.faq-item p,
.cta-shell p,
.gallery-note p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-lead {
  margin: 22px auto 0;
  max-width: 920px;
  font-size: 18px;
}

.hero-actions,
.panel-links,
.cta-actions,
.hero-panel-footer,
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.metric-card strong,
.gallery-card strong,
.deep-link strong {
  display: block;
  font-size: 18px;
}

.metric-card span,
.gallery-card span,
.deep-link span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.55;
}

.hero-panel {
  max-width: 1040px;
  margin: 26px auto 0;
  padding: 20px;
}

.panel-top,
.panel-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.panel-pill.muted {
  background: #f5efe4;
  color: var(--muted);
}

.hero-panel-wide {
  background: rgba(255, 253, 248, 0.9);
}

.prompt-box {
  display: block;
  margin: 0;
  padding: 20px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
}

.prompt-hint {
  display: block;
  margin-bottom: 14px;
  color: #948476;
  font-size: 16px;
  line-height: 1.6;
}

.prompt-box textarea {
  width: 100%;
  min-height: 52px;
  resize: none;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  line-height: 1.5;
}

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

.panel-grid-six {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.panel-grid div {
  padding: 14px;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--line);
}

.panel-grid span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.panel-grid strong {
  display: block;
  margin-top: 6px;
  font-size: 16px;
}

.hero-panel-footer {
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
}

.chip-row {
  align-items: center;
}

.chip-label {
  color: #948476;
  font-size: 16px;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: #6f6457;
}

.hero-launch {
  width: 72px;
  height: 72px;
  padding: 0;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--accent) 0%, #dd7e3a 100%);
  color: #fff;
  font-size: 40px;
  line-height: 1;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.video-heading {
  display: block;
  max-width: 980px;
  margin: 0 auto 28px;
  text-align: center;
}

.video-heading .section-kicker {
  margin-bottom: 14px;
}

.video-heading h2 {
  margin-top: 0;
}

.video-heading p:last-child {
  margin: 16px auto 0;
  max-width: 860px;
  font-size: 18px;
}

.section-heading.narrow {
  max-width: 760px;
}

.section-heading h2 {
  margin-top: 12px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.02;
}

.gallery-section,
.video-section,
.overview-section,
.workflow-section,
.compare-section,
.links-section,
.faq-section,
.cta-section {
  padding: 28px 0;
}

.video-grid,
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.gallery-card,
.video-card,
.info-card,
.metric-card,
.image-card,
.deep-link,
.faq-item {
  border-radius: var(--radius-lg);
}

.gallery-card,
.image-card {
  overflow: hidden;
}

.gallery-card img,
.image-card img,
.video-card video {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
}

.gallery-card div,
.image-card div {
  padding: 16px;
}

.video-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px 24px;
}

.video-card {
  padding: 0;
  border-radius: 28px;
  background: #2d2a28;
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 24px 50px rgba(40, 30, 22, 0.2);
  overflow: hidden;
}

.video-card video {
  aspect-ratio: 9 / 16;
  background: #2f2c2b;
  border-radius: 28px;
}

.gallery-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
  padding: 22px 24px;
  border-radius: var(--radius-lg);
}

.gallery-note strong {
  display: block;
  margin-bottom: 6px;
  font-size: 20px;
}

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

.info-card,
.metric-card {
  padding: 22px;
}

.info-card h3,
.faq-item h3 {
  font-size: 24px;
}

.info-card p,
.faq-item p {
  margin: 12px 0 0;
}

.metric-card {
  background: linear-gradient(180deg, #fffaf0, #fff3de);
}

.image-card {
  background: linear-gradient(180deg, #fff7ec, #fffdf8);
}

.split-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 18px;
}

.split-copy,
.compare-table {
  padding: 8px 0;
}

.steps {
  margin: 24px 0 0;
  padding-left: 20px;
  line-height: 1.8;
  color: var(--muted);
}

.steps li + li {
  margin-top: 12px;
}

.steps strong {
  color: var(--ink);
}

.use-case-stack {
  display: grid;
  gap: 14px;
}

.use-case-stack article {
  padding: 22px;
  border-radius: var(--radius-lg);
}

.use-case-media {
  padding: 0 !important;
  overflow: hidden;
}

.use-case-media img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.use-case-stack h3 {
  font-size: 22px;
}

.use-case-stack p {
  margin: 10px 0 0;
}

.compare-table {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.compare-table > div {
  padding: 18px 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.86);
  line-height: 1.7;
}

.compare-table > div:nth-child(2n) {
  border-right: 0;
}

.compare-head {
  background: #f7efe1;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 700;
}

.compare-head.accent,
.compare-table .accent {
  background: #fff1e4;
}

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

.deep-link {
  padding: 24px;
}

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

.faq-item {
  padding: 22px;
}

.cta-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 32px;
}

.cta-shell h2 {
  margin-top: 12px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.04;
}

@media (max-width: 1080px) {
  .hero-shell,
  .split-shell,
  .gallery-grid,
  .overview-grid,
  .link-cards,
  .faq-list {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .hero-shell > :first-child,
  .split-copy,
  .gallery-note,
  .cta-shell {
    grid-column: 1 / -1;
  }

  .cta-shell,
  .gallery-note {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 820px) {
  .nav-shell,
  .main-nav,
  .hero-shell,
  .video-grid,
  .gallery-grid,
  .overview-grid,
  .split-shell,
  .link-cards,
  .faq-list {
    grid-template-columns: 1fr;
  }

  .nav-shell {
    display: grid;
  }

  .main-nav {
    display: none;
  }

  .brand {
    font-size: 20px;
  }

  .hero-copy,
  .hero-panel,
  .cta-shell {
    padding: 22px;
  }

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

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

  .hero-panel-footer {
    align-items: flex-start;
  }

  .hero-launch {
    width: 62px;
    height: 62px;
    border-radius: 20px;
  }

  .compare-table {
    grid-template-columns: 1fr;
  }

  .compare-table > div {
    border-right: 0;
  }

  .hero {
    padding-top: 24px;
  }
}
