:root {
  color-scheme: light;
  --ink: #13201b;
  --muted: #66736c;
  --paper: #fbfaf5;
  --panel: #ffffff;
  --line: #dde5df;
  --green: #176b57;
  --green-dark: #0f3f35;
  --amber: #bd7a22;
  --rose: #b64b4b;
  --blue: #356f95;
  --shadow: 0 22px 60px rgba(19, 32, 27, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

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

img {
  max-width: 100%;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px 32px;
  color: #ffffff;
  background: rgba(10, 22, 18, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
}

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

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #ffffff;
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  font-size: 14px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.86);
}

.nav-links a:hover {
  color: #ffffff;
}

.nav-cta {
  min-height: 38px;
  padding: 8px 13px;
  border-radius: 8px;
  background: #ffffff;
  color: var(--green-dark) !important;
  font-weight: 800;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 78svh;
  display: flex;
  align-items: center;
  padding: 120px 32px 70px;
  color: #ffffff;
  background: url("assets/retail-flyer-sample.jpg") center right / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  z-index: -1;
  width: min(820px, 100%);
  background: rgba(7, 16, 13, 0.78);
}

.hero-copy {
  width: min(680px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: #f7ca7a;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--amber);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 16px;
  font-size: 64px;
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: 38px;
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 600px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 20px;
}

.hero-actions,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button-primary {
  background: var(--green);
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(23, 107, 87, 0.22);
}

.button-primary:hover {
  background: var(--green-dark);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.94);
  color: var(--green-dark);
}

.button-outline {
  color: var(--green-dark);
  border-color: #b7c8bf;
  background: #ffffff;
}

.full-width {
  width: 100%;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 650px;
  margin: 34px 0 0;
}

.hero-stats div {
  min-height: 92px;
  padding: 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-stats dt {
  margin-bottom: 6px;
  font-weight: 900;
}

.hero-stats dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.intro-band {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.section-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.intro-grid,
.demo-grid,
.beta-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: center;
  padding: 44px 0;
}

.support-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.support-list span {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f7fbf8;
  color: var(--green-dark);
  font-weight: 700;
  font-size: 14px;
}

.section {
  padding: 74px 0;
}

.section:nth-of-type(odd) {
  background: #ffffff;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-copy {
  color: var(--muted);
  font-size: 17px;
}

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

.steps article,
.price-card,
.tool-panel,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.steps article {
  min-height: 250px;
  padding: 24px;
}

.steps p,
.price-card p,
.site-footer p,
.form-note {
  color: var(--muted);
}

.step-number {
  display: inline-flex;
  margin-bottom: 26px;
  color: var(--rose);
  font-weight: 900;
}

.demo-section {
  background: #f5f8f1;
}

.tool-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 16px;
}

.upload-card,
.output-card {
  min-width: 0;
}

.field-row {
  margin-bottom: 14px;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

label {
  display: block;
  margin-bottom: 6px;
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 800;
}

input,
select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #c9d6cf;
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
}

input:focus,
select:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(53, 111, 149, 0.28);
  outline-offset: 2px;
}

.output-card {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid #d7e1db;
  background: #101815;
  color: #f4fff9;
}

.output-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
}

.output-header strong {
  color: #f7ca7a;
}

pre {
  min-height: 248px;
  margin: 0;
  padding: 16px;
  overflow: auto;
  color: #d8f7e5;
  font-family: Consolas, Monaco, monospace;
  font-size: 13px;
  line-height: 1.55;
  white-space: pre-wrap;
}

.price-card {
  min-height: 270px;
  padding: 24px;
}

.price-card.featured {
  border-color: rgba(23, 107, 87, 0.42);
  background: #f7fbf8;
}

.plan-name {
  margin-bottom: 16px;
  color: var(--blue) !important;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 13px;
}

.beta-section {
  background: #ffffff;
}

.contact-form {
  padding: 22px;
}

.form-note {
  min-height: 22px;
  margin: 12px 0 0;
  font-size: 14px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 32px;
  color: #ffffff;
  background: #101815;
}

.site-footer p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.7);
}

.site-footer a {
  color: rgba(255, 255, 255, 0.82);
}

.legal-page {
  padding-top: 110px;
}

.legal-shell {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0 80px;
}

.legal-shell article {
  padding: 32px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.legal-shell p,
.legal-shell li {
  color: var(--muted);
}

@media (max-width: 900px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
    padding: 14px 20px;
  }

  .nav-links {
    gap: 10px;
    font-size: 13px;
  }

  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .hero {
    min-height: 76svh;
    padding: 112px 20px 54px;
    background: url("assets/retail-flyer-sample.jpg") center / cover no-repeat;
  }

  .hero::before {
    width: 100%;
    background: rgba(7, 16, 13, 0.82);
  }

  h1 {
    font-size: 46px;
  }

  h2 {
    font-size: 30px;
  }

  .hero-lede {
    font-size: 18px;
  }

  .intro-grid,
  .demo-grid,
  .beta-grid,
  .tool-panel,
  .steps,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 56px 0;
  }
}

@media (max-width: 580px) {
  .brand span:last-child {
    display: none;
  }

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

  .hero-stats div {
    min-height: 76px;
  }

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

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 28px 20px;
  }
}
