:root {
  --paper: #f7f7f4;
  --white: #ffffff;
  --ink: #171a1d;
  --muted: #60666b;
  --line: #d8dad7;
  --blue: #2e74b5;
  --blue-dark: #1f4d78;
  --blue-pale: #eaf2f8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid rgba(46, 116, 181, .38); outline-offset: 4px; }

.site-header {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { border-radius: 9px; }
.brand span { display: flex; flex-direction: column; line-height: 1.2; }
.brand strong { font-size: 15px; letter-spacing: .01em; }
.brand small { margin-top: 4px; color: var(--muted); font-size: 11px; }
nav { display: flex; align-items: center; gap: 28px; font-size: 14px; }
nav a:last-child { color: var(--blue-dark); font-weight: 700; }

.hero {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 92px 0 96px;
  display: grid;
  grid-template-columns: .85fr 1.25fr;
  gap: 72px;
  align-items: center;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--blue-dark);
  font-size: clamp(38px, 4.5vw, 60px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.04em;
  text-transform: none;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2 {
  margin-bottom: 25px;
  color: var(--blue);
  font-size: clamp(20px, 2.25vw, 30px);
  line-height: 1.25;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero-intro { max-width: 560px; margin-bottom: 30px; color: #42484d; font-size: 19px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.guide-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--blue-dark);
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.button {
  min-height: 48px;
  padding: 11px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--blue-dark);
  font-size: 14px;
  font-weight: 700;
}
.button.primary { background: var(--blue-dark); color: var(--white); }
.button.secondary { background: transparent; color: var(--blue-dark); }
.button:hover { transform: translateY(-1px); }
.quiet-line { margin: 18px 0 0; color: var(--muted); font-size: 12px; }
.requirements-line { margin: 3px 0 0; color: var(--muted); font-size: 11px; }
.hero-visual { position: relative; }
.hero-visual::before {
  content: "";
  position: absolute;
  inset: -22px 28px 22px -22px;
  border: 1px solid #b6c7d5;
  z-index: -1;
}
.hero-visual img { width: 100%; border: 1px solid #aeb4b8; box-shadow: 0 20px 55px rgba(31, 44, 55, .13); }

.statement { background: var(--blue-dark); color: var(--white); }
.statement p {
  width: min(950px, calc(100% - 48px));
  margin: 0 auto;
  padding: 54px 0;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.35;
  letter-spacing: -.02em;
  text-align: center;
}

.section { width: min(1080px, calc(100% - 48px)); margin: 0 auto; padding: 112px 0; position: relative; }
.back-to-top {
  width: 34px;
  height: 34px;
  position: absolute;
  top: 34px;
  right: max(24px, calc((100% - 1080px) / 2));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
}
.section > .back-to-top { right: 0; }
.back-to-top:hover { border-color: var(--blue); color: var(--blue-dark); }
.section-heading { max-width: 800px; margin-bottom: 62px; }
.section-heading.compact { max-width: 650px; margin-bottom: 44px; }
.section-heading > h2 + p { color: var(--muted); font-size: 18px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.feature-grid article { padding: 30px 30px 36px 0; border-bottom: 1px solid var(--line); }
.feature-grid article + article { padding-left: 30px; border-left: 1px solid var(--line); }
.feature-number { color: var(--blue); font-size: 12px; font-weight: 700; }
h3 { margin: 18px 0 10px; font-size: 22px; line-height: 1.25; }
.feature-grid p { margin: 0; color: var(--muted); }
.language-details { margin-top: 24px; border: 1px solid var(--line); background: rgba(255,255,255,.45); }
.language-details summary { padding: 16px 48px 16px 18px; color: var(--blue-dark); }
.language-details summary::after { right: 18px; }
.language-details p { max-width: none; margin: 0; padding: 0 18px 18px; font-size: 14px; }
.product-figure { margin: 72px 0 0; }
.product-figure img { border: 1px solid #aeb4b8; box-shadow: 0 14px 42px rgba(31, 44, 55, .1); }
.product-figure figcaption { padding-top: 12px; color: var(--muted); font-size: 13px; text-align: center; }

.use-section {
  position: relative;
  padding: 110px max(24px, calc((100% - 1080px) / 2));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  background: var(--white);
}
.use-list { border-top: 1px solid var(--line); }
.use-list p { margin: 0; padding: 20px 0; display: grid; grid-template-columns: 115px 1fr; border-bottom: 1px solid var(--line); }
.use-list span { color: var(--muted); }

.resources { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
.resource-links { border-top: 1px solid var(--line); }
.resource-links a {
  padding: 24px 2px;
  display: grid;
  grid-template-columns: 1fr auto;
  border-bottom: 1px solid var(--line);
}
.resource-links span { font-size: 18px; font-weight: 700; }
.resource-links small { grid-column: 1; color: var(--muted); }
.resource-links b { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: var(--blue-dark); font-size: 13px; }
.resource-links a:hover b { transform: translateY(2px); }

.installation-section {
  position: relative;
  padding: 110px max(24px, calc((100% - 1080px) / 2));
  background: var(--white);
}
.install-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.install-grid article { padding: 28px 28px 32px 0; border-bottom: 1px solid var(--line); }
.install-grid article + article { padding-left: 28px; border-left: 1px solid var(--line); }
.install-grid article > span {
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.install-grid h3 { margin-top: 14px; }
.install-grid p { margin: 0; color: var(--muted); }
.install-grid .recommended { box-shadow: inset 0 3px 0 var(--blue); }
.install-note { margin: 24px 0 0; color: var(--muted); font-size: 13px; }

.demo-section {
  position: relative;
  padding: 110px max(24px, calc((100% - 1080px) / 2));
  background: var(--paper);
}
.demo-panel {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 54px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.demo-panel h3 { margin-top: 0; }
.demo-copy > p { max-width: 650px; color: var(--muted); }
.demo-limits {
  margin: 26px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.demo-limits span {
  padding: 9px 13px;
  border: 1px solid #aac1d4;
  background: var(--blue-pale);
  color: var(--blue-dark);
  font-size: 13px;
}
.demo-limits strong { margin-right: 3px; font-size: 17px; }
.preview-explanation { margin-bottom: 0; font-size: 14px; }
.demo-downloads {
  padding-left: 32px;
  border-left: 1px solid var(--line);
}
.demo-downloads > p {
  margin-bottom: 14px;
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 700;
}
.demo-download {
  margin-top: 9px;
  padding: 13px 14px;
  display: flex;
  flex-direction: column;
  border: 1px solid #aac1d4;
  background: var(--white);
  color: var(--blue-dark);
  line-height: 1.35;
}
.demo-download span { font-size: 14px; font-weight: 700; }
.demo-download small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.demo-download:hover { border-color: var(--blue); background: var(--blue-pale); }
.demo-download.recommended {
  border-color: var(--blue-dark);
  background: var(--blue-dark);
  color: var(--white);
}
.demo-download.recommended small { color: rgba(255, 255, 255, .76); }

.download-section {
  position: relative;
  padding: 90px max(24px, calc((100% - 1080px) / 2));
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 90px;
  align-items: center;
  background: var(--blue-pale);
}
.download-section h2 { max-width: 700px; }
.download-section > div:first-child > p:last-child { max-width: 660px; color: var(--muted); font-size: 18px; }
.purchase-area { padding-left: 40px; border-left: 1px solid #aac1d4; }
.purchase-area .availability { margin-bottom: 14px; color: var(--blue-dark); font-weight: 700; }
.delivery-note { margin: -5px 0 18px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.price-card { padding: 22px; border: 1px solid #aac1d4; background: rgba(255,255,255,.58); }
.price-card h3 { min-height: 52px; margin: 0 0 8px; font-size: 18px; }
.price-card h3 small { color: var(--muted); font-size: 13px; font-weight: 400; }
.price-card .price { margin-bottom: 10px; color: var(--blue-dark); font-size: 31px; font-weight: 700; line-height: 1; }
.price-card .price span { margin-right: 2px; font-size: 17px; vertical-align: top; }
.price-card > p:not(.price) { min-height: 52px; margin-bottom: 14px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.buy-button {
  width: 100%;
  min-height: 50px;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-dark);
  color: white;
  font-weight: 700;
  text-align: center;
}
.buy-button:hover { background: var(--blue); }
.price-note { display: block; margin-top: 13px; color: var(--muted); font-size: 10px; line-height: 1.45; }
.price-note a { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 2px; }

.faq { display: grid; grid-template-columns: .7fr 1.3fr; gap: 90px; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { padding: 22px 32px 22px 0; position: relative; cursor: pointer; font-weight: 700; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; color: var(--blue); font-size: 22px; font-weight: 400; }
details[open] summary::after { content: "−"; }
details p { max-width: 650px; padding: 0 36px 22px 0; color: var(--muted); }

.developer-section {
  position: relative;
  padding: 110px max(24px, calc((100% - 1080px) / 2));
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 90px;
  background: var(--white);
}
.developer-story { max-width: 700px; }
.developer-story > p { color: var(--muted); }
.developer-story > p:not(.developer-signature) { margin: 0 0 10px; }
.developer-signature { margin: 30px 0 0; }
.developer-signature strong,
.developer-signature span { display: block; }
.developer-signature strong { color: var(--ink); }
.developer-signature span { margin-top: 2px; font-size: 13px; }

footer {
  width: min(1180px, calc(100% - 48px));
  min-height: 130px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 30px;
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
footer p { margin: 0; }
footer > div:last-child { display: flex; justify-content: flex-end; gap: 20px; }

@media (max-width: 900px) {
  nav a:nth-child(-n + 4) { display: none; }
  .hero { padding-top: 64px; grid-template-columns: 1fr; gap: 64px; }
  .hero-copy { max-width: 720px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid article + article { padding-left: 0; border-left: 0; }
  .use-section, .resources, .download-section, .faq, .developer-section { grid-template-columns: 1fr; gap: 44px; }
  .demo-panel { grid-template-columns: 1fr; }
  .demo-downloads { padding: 28px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .install-grid { grid-template-columns: 1fr; }
  .install-grid article + article { padding-left: 0; border-left: 0; }
  .purchase-area { padding: 28px 0 0; border-top: 1px solid #aac1d4; border-left: 0; }
  footer { grid-template-columns: 1fr auto; }
  footer p { grid-column: 1 / -1; grid-row: 2; padding-bottom: 24px; }
}

@media (max-width: 600px) {
  .site-header, .hero, .section, footer { width: min(100% - 30px, 1180px); }
  .site-header { min-height: 78px; }
  .brand small { display: none; }
  nav { gap: 12px; }
  .hero { padding: 54px 0 70px; }
  .hero-intro { font-size: 17px; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .hero-visual::before { inset: -12px 12px 12px -12px; }
  .statement p { width: calc(100% - 30px); padding: 40px 0; text-align: left; }
  .section { padding: 80px 0; }
  .section-heading { margin-bottom: 42px; }
  .eyebrow { font-size: 40px; }
  h1, h2 { font-size: 20px; }
  .use-section, .installation-section, .demo-section, .download-section, .developer-section { padding: 78px 15px; }
  .back-to-top { top: 24px; right: 15px; }
  .section > .back-to-top { right: 0; }
  .use-list p { grid-template-columns: 90px 1fr; gap: 12px; }
  .resource-links a { grid-template-columns: 1fr; }
  .resource-links b { grid-column: 1; grid-row: auto; margin-top: 8px; }
  .price-grid { grid-template-columns: 1fr; }
  .price-card h3, .price-card > p:not(.price) { min-height: 0; }
  footer { padding: 28px 0; grid-template-columns: 1fr; }
  footer > div:last-child { justify-content: flex-start; }
  footer p { grid-column: 1; grid-row: auto; padding: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
