:root {
  color-scheme: light;
  --ink: #18201c;
  --muted: #5e6762;
  --line: #d9ded9;
  --surface: #f6f7f4;
  --surface-strong: #ffffff;
  --pine: #155b45;
  --pine-dark: #0f3d31;
  --copper: #b65f36;
  --sky: #dcebf4;
  --warning: #f4dfbf;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(20px, 5vw, 72px);
  background: rgba(246, 247, 244, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  text-decoration: none;
}

.brand img {
  border-radius: 7px;
}

nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
}

nav a {
  color: var(--muted);
  text-decoration: none;
}

nav a:hover {
  color: var(--ink);
}

.nav-download {
  color: var(--pine);
  font-weight: 700;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: min(760px, calc(100vh - 54px));
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: clamp(56px, 9vw, 104px) clamp(20px, 5vw, 72px) clamp(80px, 9vw, 120px);
  background: var(--sky) url("assets/SalesCaptureIcon.png") right 8vw center / min(46vw, 520px) auto no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(246, 247, 244, 0.84);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  height: 72px;
  background: var(--surface);
  clip-path: polygon(0 42%, 100% 0, 100% 100%, 0 100%);
}

.hero-visual {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--copper);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(48px, 9vw, 104px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 19px;
  line-height: 1.35;
}

.hero-copy {
  max-width: 680px;
  color: #35413b;
  font-size: clamp(18px, 2vw, 24px);
}

.hero-actions,
.download-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 800;
  text-decoration: none;
}

.primary-action {
  color: #ffffff;
  background: var(--pine);
}

.primary-action:hover {
  background: var(--pine-dark);
}

.secondary-action,
.checksum-link {
  color: var(--pine-dark);
  background: var(--surface-strong);
  border: 1px solid var(--line);
}

.release-strip {
  width: min(1120px, calc(100% - 40px));
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: -50px auto 0;
  position: relative;
  z-index: 2;
  border: 1px solid var(--line);
  background: var(--line);
}

.release-strip > div {
  min-height: 88px;
  padding: 18px;
  background: var(--surface-strong);
}

.label {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(72px, 9vw, 112px) 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading p,
.preview-copy p,
.download-copy p,
article p {
  color: var(--muted);
}

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

.feature-grid article,
.requirements-list article,
.download-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
}

.feature-grid article {
  padding: 24px;
}

.feature-icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border-radius: 8px;
  color: var(--pine-dark);
  background: var(--sky);
  font-weight: 800;
}

.product-preview {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: start;
}

.artifact-table {
  border: 1px solid var(--line);
  background: var(--surface-strong);
}

.artifact-table div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

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

.artifact-table span {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.requirements {
  border-top: 1px solid var(--line);
}

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

.requirements-list article {
  padding: 22px;
}

.requirements-list article:nth-child(3) {
  background: var(--warning);
}

.download-section {
  width: min(1120px, calc(100% - 40px));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
  margin: 0 auto clamp(72px, 9vw, 112px);
  padding: clamp(36px, 6vw, 56px);
  color: #ffffff;
  background: var(--pine-dark);
}

.download-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.download-panel {
  padding: 24px;
  color: var(--ink);
}

.primary-action.full {
  width: 100%;
}

.checksum-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 9px 14px;
  font-weight: 700;
  text-decoration: none;
}

.download-panel ol {
  width: 100%;
  margin: 10px 0 0;
  padding-left: 22px;
  color: var(--muted);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(20px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 820px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    flex-wrap: wrap;
  }

  .hero {
    min-height: auto;
    background: var(--sky) url("assets/SalesCaptureIcon.png") right -40px top 28px / 220px auto no-repeat;
  }

  .release-strip,
  .feature-grid,
  .product-preview,
  .requirements-list,
  .download-section {
    grid-template-columns: 1fr;
  }

  .release-strip {
    margin-top: -36px;
  }

  .site-footer {
    flex-direction: column;
  }
}
