:root {
  --background: #f7f7f2;
  --foreground: #18201d;
  --muted: #5c645e;
  --line: #d8d8cd;
  --panel: #ffffff;
  --panel-soft: #ecefe8;
  --accent: #1f6f5b;
  --accent-dark: #164d41;
  --warm: #b86b2d;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: Arial, Helvetica, sans-serif;
}
a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(24, 32, 29, 0.1);
  background: rgba(247, 247, 242, 0.92);
  padding: 18px clamp(20px, 5vw, 72px);
  backdrop-filter: blur(16px);
}
.brand, nav { display: flex; align-items: center; }
.brand { flex: 0 0 auto; }
.brand-logo {
  display: block;
  width: auto;
  height: clamp(62px, 7vw, 92px);
  max-width: min(360px, 58vw);
  object-fit: contain;
}
nav {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 22px;
  color: var(--muted);
  font-size: 0.94rem;
}
nav a:hover, footer a:hover { color: var(--accent); }

.hero, .section, .site-footer { padding-inline: clamp(20px, 5vw, 72px); }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  min-height: auto;
  padding-top: clamp(48px, 7vw, 82px);
  padding-bottom: clamp(48px, 7vw, 82px);
}
.hero-content { max-width: 790px; }
.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-dark);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 20px;
  font-size: clamp(2.05rem, 4.2vw, 3.85rem);
  font-weight: 700;
  line-height: 1.08;
  max-width: 820px;
}
h2 { margin-bottom: 18px; font-size: clamp(1.45rem, 2.4vw, 2.35rem); line-height: 1.16; }
h3 { margin-bottom: 10px; font-size: 1.05rem; }
.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  line-height: 1.72;
}
.practice-line {
  display: inline-flex;
  margin-bottom: 22px;
  border-left: 4px solid var(--warm);
  background: rgba(255, 255, 255, 0.68);
  padding: 12px 16px;
  color: var(--accent-dark);
  font-size: clamp(0.98rem, 1.1vw, 1.08rem);
  font-weight: 800;
  line-height: 1.35;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.primary-button, .secondary-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent);
  padding: 12px 18px;
  font-weight: 700;
}
.primary-button { background: var(--accent); color: #ffffff; }
.primary-button:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.secondary-button { background: transparent; color: var(--accent-dark); }
.secondary-button:hover { border-color: var(--warm); color: var(--warm); }

.program-hero {
  display: grid;
  gap: clamp(30px, 5vw, 64px);
  padding: clamp(54px, 8vw, 96px) clamp(20px, 5vw, 72px);
}

.program-intro {
  max-width: 920px;
}

.program-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 34px);
}

.program-choice-card,
.build-panel {
  display: grid;
  align-content: start;
  gap: 18px;
  overflow: hidden;
  min-height: 360px;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: 0 24px 60px rgba(24, 32, 29, 0.08);
}

.program-choice-card h2,
.build-panel h2 {
  margin-bottom: 0;
}

.program-choice-card p,
.build-panel p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.program-logo-wrap {
  display: flex;
  min-height: 76px;
  align-items: center;
  overflow: hidden;
  margin-bottom: 4px;
}

.program-logo {
  display: block;
  max-width: 100%;
  max-height: 78px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.program-logo-product {
  width: min(100%, 300px);
  max-height: 74px;
}

.build-logo-wrap {
  min-height: 72px;
  margin-bottom: 10px;
}

.build-logo-wrap .program-logo-product {
  width: min(100%, 340px);
  max-height: 82px;
}

.program-choice-card .primary-button,
.program-choice-card .secondary-button {
  align-self: end;
  justify-self: start;
  margin-top: 8px;
}

.program-choice-primary {
  border-color: rgba(31, 111, 91, 0.32);
  background:
    linear-gradient(135deg, rgba(31, 111, 91, 0.1), transparent 48%),
    var(--panel);
}

.build-page {
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.65fr);
  align-items: center;
}

.build-panel {
  min-height: auto;
  border-left: 5px solid var(--warm);
}

.product-panel {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 24px 60px rgba(24, 32, 29, 0.12);
}
.panel-toolbar { display: flex; gap: 7px; border-bottom: 1px solid var(--line); padding: 14px; }
.panel-toolbar span { width: 10px; height: 10px; border-radius: 999px; background: var(--line); }
.panel-body {
  display: grid;
  min-height: 430px;
  align-content: end;
  background:
    linear-gradient(90deg, rgba(31, 111, 91, 0.07) 1px, transparent 1px),
    linear-gradient(rgba(31, 111, 91, 0.07) 1px, transparent 1px),
    var(--panel-soft);
  background-size: 34px 34px;
  padding: clamp(24px, 4vw, 42px);
}
.panel-label { color: var(--warm); font-size: 0.82rem; font-weight: 700; text-transform: uppercase; }
.panel-body h2 { max-width: 360px; font-size: clamp(1.45rem, 2.3vw, 2.15rem); }
.panel-body p:last-child { max-width: 390px; color: var(--muted); line-height: 1.65; }
.product-image-panel { overflow: hidden; }
.panel-image { background: #e8ece8; padding: 14px; }
.panel-image img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(24, 32, 29, 0.16);
}

.section {
  border-top: 1px solid var(--line);
  padding-top: clamp(58px, 8vw, 92px);
  padding-bottom: clamp(58px, 8vw, 92px);
}
.split {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(28px, 6vw, 80px);
}
.text-block { max-width: 860px; color: var(--muted); font-size: 1.06rem; line-height: 1.85; }
.section-heading { max-width: 740px; margin-bottom: 30px; }
.companion-section { background: #ffffff; }
.companion-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1.2fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}
.companion-copy {
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.8;
}
.companion-shots {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 14px;
  align-items: start;
}
.companion-shots figure {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--panel);
}
.companion-shots img {
  display: block;
  width: 100%;
  height: clamp(480px, 46vw, 680px);
  object-fit: cover;
  object-position: top center;
  background: #eef3f6;
  border-bottom: 1px solid var(--line);
}
.companion-shots figcaption {
  min-height: 54px;
  padding: 12px 14px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
}
.about-section { background: #fbfbf7; }
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.about-grid article {
  min-height: 220px;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 24px;
}
.about-grid p { color: var(--muted); line-height: 1.7; }
.audience-section { background: #ffffff; }
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.audience-grid article {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 24px;
  border-radius: 8px;
}
.audience-grid h3 { margin-top: 0; }
.audience-grid p { color: var(--muted); line-height: 1.7; }
.audience-keywords {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.7;
}
.workflow-grid, .feature-grid { display: grid; gap: 14px; }
.workflow-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.workflow-grid article, .feature-grid article, .request-card {
  border: 1px solid var(--line);
  background: var(--panel);
}
.workflow-grid article { min-height: 230px; padding: 24px; }
.workflow-grid span { display: block; margin-bottom: 52px; color: var(--warm); font-weight: 800; }
.workflow-grid p { color: var(--muted); line-height: 1.65; }
.feature-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feature-grid article { min-height: 112px; padding: 22px; font-weight: 700; line-height: 1.35; }

.gallery-section { background: #f2f4ef; }
.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.screenshot-grid figure {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--panel);
}
.screenshot-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
  border-bottom: 1px solid var(--line);
}
.screenshot-grid figcaption {
  min-height: 54px;
  padding: 14px 16px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
}
.wide-shot { grid-column: span 3; }
.wide-shot img { aspect-ratio: 21 / 8; }
.print-section { background: #ffffff; }
.print-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.print-grid article {
  border-left: 4px solid var(--warm);
  background: var(--panel-soft);
  padding: 24px;
}
.print-grid p { color: var(--muted); line-height: 1.7; }
.text-link {
  display: inline-flex;
  margin-top: 6px;
  color: var(--accent-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.text-link:hover { color: var(--warm); }

.pricing-section { background: #fbfbf7; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 1120px;
}
.pricing-grid article { border: 1px solid var(--line); background: var(--panel); padding: clamp(24px, 4vw, 34px); }
.pricing-grid h3 {
  margin-bottom: 8px;
  color: var(--accent-dark);
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1;
}
.pricing-grid p { margin-bottom: 0; color: var(--muted); }
.plan-label { margin-bottom: 22px; color: var(--foreground) !important; font-weight: 800; }
.highlight-plan { border-color: rgba(31, 111, 91, 0.45) !important; background: #eef4ee !important; }
.included-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; max-width: 900px; }
.included-row span {
  border: 1px solid rgba(31, 111, 91, 0.22);
  background: rgba(31, 111, 91, 0.08);
  padding: 10px 13px;
  color: var(--accent-dark);
  font-size: 0.94rem;
  font-weight: 800;
}
.pricing-note { max-width: 760px; margin-top: 18px; margin-bottom: 0; color: var(--muted); line-height: 1.7; }

.request-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
  background: #eef1ea;
}
.request-copy { max-width: 760px; color: var(--muted); font-size: 1.05rem; line-height: 1.8; }
.request-copy h2 { color: var(--foreground); }
.fine-print { margin-top: 24px; color: var(--accent-dark); font-weight: 700; }
.software-scope-note {
  border-left: 4px solid var(--warm);
  background: rgba(255, 255, 255, 0.7);
  padding: 14px 16px;
  color: var(--accent-dark) !important;
  font-weight: 700;
}
.request-card { padding: 28px; }
.request-card p, .request-card li { color: var(--muted); }
.request-card ul { display: grid; gap: 10px; margin: 18px 0 26px; padding-left: 20px; }
.full { width: 100%; }
.download-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
  background: #ffffff;
}
.download-copy {
  max-width: 700px;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.75;
}
.download-copy h2 { color: var(--foreground); }
.download-panel {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: clamp(22px, 4vw, 34px);
  box-shadow: 0 18px 45px rgba(24, 32, 29, 0.08);
}
.download-panel p { color: var(--muted); line-height: 1.65; }
.download-panel h4 {
  margin: 0 0 14px;
  color: var(--accent-dark);
  font-size: 1.12rem;
}
.inline-login { max-width: none; }
.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 16px 0 0;
}
.compact { background: var(--accent-dark); color: #ffffff; }
.quote {
  max-width: 920px;
  margin-bottom: 0;
  font-size: clamp(1.45rem, 3vw, 2.75rem);
  font-weight: 680;
  line-height: 1.18;
}
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid var(--line);
  padding-top: 42px;
  padding-bottom: 42px;
}
.site-footer h2 { margin-bottom: 8px; font-size: 1.2rem; }
.site-footer p { margin-bottom: 0; color: var(--muted); }
address { display: grid; gap: 8px; color: var(--muted); font-style: normal; text-align: right; }
.footer-admin {
  margin-top: 12px;
  color: #7b817b;
  font-size: 0.9rem;
}

.legal-page .section {
  max-width: 980px;
  margin: 0 auto;
}

.legal-page h1 {
  margin-bottom: 34px;
}

.legal-block {
  border-top: 1px solid var(--line);
  padding: 26px 0;
}

.legal-block:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.legal-block h2 {
  margin-bottom: 12px;
  font-size: clamp(1.18rem, 1.7vw, 1.55rem);
}

.legal-block p {
  max-width: 820px;
  color: var(--muted);
  line-height: 1.75;
}

.legal-block a {
  color: var(--accent-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.portal-body {
  min-height: 100vh;
  background: #eef1ea;
}

.portal-shell {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 44px 0;
}

.portal-back {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--accent-dark);
  font-weight: 800;
}

.portal-card {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: clamp(24px, 5vw, 42px);
  box-shadow: 0 18px 45px rgba(24, 32, 29, 0.1);
}

.portal-card h1 {
  font-size: clamp(1.8rem, 3vw, 2.65rem);
}

.portal-card h2 {
  margin-top: 26px;
  font-size: 1.35rem;
}

.portal-form {
  display: grid;
  gap: 16px;
  max-width: 560px;
  margin-top: 22px;
}

.portal-form label {
  display: grid;
  gap: 8px;
  color: var(--foreground);
  font-weight: 800;
}

.portal-form input,
.portal-form textarea,
.portal-form select {
  width: 100%;
  border: 1px solid var(--line);
  background: #ffffff;
  padding: 12px 13px;
  color: var(--foreground);
  font: inherit;
}

.portal-form textarea {
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: minmax(90px, 0.35fr) minmax(0, 0.65fr);
  gap: 12px;
}

.request-form {
  max-width: none;
}

.request-form + .secondary-button {
  margin-top: 12px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.portal-error,
.portal-notice {
  border-left: 4px solid var(--warm);
  padding: 12px 14px;
  font-weight: 800;
}

.portal-error {
  background: #f7e8e0;
  color: #8a391c;
}

.portal-notice {
  background: #e6f2e9;
  color: var(--accent-dark);
}

.download-box {
  border: 1px solid var(--line);
  background: var(--panel-soft);
  padding: 22px;
}

.version-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.version-list article {
  border: 1px solid var(--line);
  background: #fbfbf7;
  padding: 16px;
}

.version-list code {
  overflow-wrap: anywhere;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.stats-grid article {
  border: 1px solid var(--line);
  background: #fbfbf7;
  padding: 18px;
}

.stats-grid span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-weight: 800;
}

.stats-grid strong {
  display: block;
  color: var(--accent-dark);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.stats-panel {
  margin-top: 28px;
  border: 1px solid var(--line);
  background: #fbfbf7;
}

.stats-panel summary {
  display: flex;
  cursor: pointer;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  color: var(--accent-dark);
  font-weight: 800;
}

.stats-panel summary::marker {
  color: var(--warm);
}

.stats-panel summary strong {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.stats-panel[open] {
  padding: 0 18px 18px;
}

.stats-panel[open] summary {
  margin: 0 -18px 18px;
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.stats-panel h2 {
  margin-top: 22px;
}

.stats-hint {
  max-width: 720px;
  color: var(--muted);
  line-height: 1.6;
}

.stats-table-wrap {
  overflow-x: auto;
  margin-top: 12px;
  border: 1px solid var(--line);
  background: #ffffff;
}

.stats-table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.stats-table th,
.stats-table td {
  border-bottom: 1px solid var(--line);
  padding: 11px 12px;
  text-align: left;
  vertical-align: top;
}

.stats-table th {
  background: #fbfbf7;
  color: var(--accent-dark);
  font-weight: 800;
}

.stats-table td {
  color: var(--muted);
}

.stats-bars {
  display: grid;
  grid-template-columns: repeat(14, minmax(42px, 1fr));
  gap: 8px;
  overflow-x: auto;
  border: 1px solid var(--line);
  background: #ffffff;
  padding: 16px;
}

.stats-bars article {
  display: grid;
  gap: 6px;
  min-width: 42px;
  text-align: center;
}

.stats-bar-box {
  display: flex;
  align-items: flex-end;
  height: 94px;
  border: 1px solid rgba(31, 111, 91, 0.18);
  background: #eef4ee;
}

.stats-bar-box span {
  display: block;
  width: 100%;
  background: var(--accent);
}

.stats-bars strong {
  color: var(--accent-dark);
  font-size: 0.9rem;
}

.stats-bars small {
  color: var(--muted);
  font-size: 0.78rem;
}

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

.stats-insights article {
  border: 1px solid var(--line);
  background: #fbfbf7;
  padding: 18px;
}

.stats-insights h3 {
  margin-bottom: 14px;
  color: var(--accent-dark);
}

.stats-insights p {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 8px;
  color: var(--muted);
  line-height: 1.45;
}

.stats-insights p:last-child {
  margin-bottom: 0;
}

.stats-insights span {
  overflow-wrap: anywhere;
}

.stats-insights strong {
  color: var(--foreground);
}

.access-form {
  border: 1px solid var(--line);
  background: #fbfbf7;
  padding: 18px;
}

.access-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.access-list article {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--line);
  background: #ffffff;
  padding: 16px;
}

.access-list h3 {
  margin-bottom: 8px;
}

.access-list p {
  margin-bottom: 6px;
}

.access-list code {
  overflow-wrap: anywhere;
}

.access-actions {
  display: grid;
  gap: 10px;
  min-width: min(320px, 100%);
}

.access-password-form {
  display: grid;
  gap: 8px;
}

.access-password-form label {
  display: grid;
  gap: 6px;
  font-weight: 800;
}

.access-password-form input {
  width: 100%;
  border: 1px solid var(--line);
  background: #ffffff;
  padding: 10px 11px;
  color: var(--foreground);
  font: inherit;
}

@media (max-width: 980px) {
  .hero, .split, .request-section, .download-section, .companion-grid, .program-choice-grid, .build-page { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .workflow-grid, .feature-grid, .pricing-grid, .about-grid, .audience-grid, .print-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-grid, .stats-insights { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .screenshot-grid { grid-template-columns: 1fr; }
  .wide-shot { grid-column: auto; }
  .wide-shot img { aspect-ratio: 16 / 10; }
}
@media (max-width: 680px) {
  .site-header, .site-footer { align-items: flex-start; flex-direction: column; }
  nav { justify-content: flex-start; }
  .hero { padding-top: 40px; }
  .product-panel { min-width: 0; }
  .panel-body { min-height: 300px; }
  .workflow-grid, .feature-grid, .pricing-grid, .about-grid, .audience-grid, .print-grid, .companion-shots { grid-template-columns: 1fr; }
  .workflow-grid article { min-height: auto; }
  .workflow-grid span { margin-bottom: 28px; }
  .stats-grid, .stats-insights { grid-template-columns: 1fr; }
  .stats-panel summary { align-items: flex-start; flex-direction: column; }
  .access-list article { flex-direction: column; }
  .access-actions { width: 100%; }
  address { text-align: left; }
}
