@font-face {
  font-family: "Hauora";
  src: url("assets/Hauora-Regular.ttf") format("truetype");
  font-display: swap;
}

:root {
  --ink: #111827;
  --muted: #667085;
  --paper: #ffffff;
  --soft: #f6f8fb;
  --line: #e3e8ef;
  --night: #07111f;
  --night-2: #111b2c;
  --teal: #1fb6aa;
  --mint: #a9e85f;
  --amber: #f3b647;
  --coral: #ef6f5e;
  --shadow: 0 18px 42px rgba(17, 24, 39, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  font-family: "Hauora", Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
summary {
  font: inherit;
}

.container {
  width: min(100% - 40px, 1180px);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  min-height: 72px;
  padding: 10px max(20px, calc((100vw - 1180px) / 2));
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(227, 232, 239, 0.9);
  backdrop-filter: blur(18px);
}

.brand img {
  width: 138px;
  height: auto;
}

.main-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 2px;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 13px;
  color: #3c4656;
  border-radius: 8px;
  transition: color 180ms ease, background 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--night);
  background: #edf2f7;
  outline: none;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  color: #ffffff;
  background: var(--night);
  border-radius: 8px;
  font-weight: 800;
  transition: background 180ms ease, transform 180ms ease;
}

.header-cta:hover,
.header-cta:focus-visible {
  background: #1c2a3d;
  transform: translateY(-1px);
  outline: none;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(7, 17, 31, 0.97) 0%, rgba(7, 17, 31, 0.9) 52%, rgba(7, 17, 31, 0.48) 100%),
    url("assets/subtle-pattern-1800.png") center / cover no-repeat;
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, var(--teal), var(--mint), var(--amber));
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
  gap: 56px;
  align-items: center;
  min-height: 620px;
  padding: 60px 0 42px;
}

.eyebrow {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  max-width: 100%;
  margin: 0 0 16px;
  color: var(--teal);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.24;
  text-transform: none;
}

.eyebrow::before {
  flex: 0 0 28px;
  width: 28px;
  height: 2px;
  content: "";
  background: currentColor;
  opacity: 0.74;
}

.hero h1,
.section-heading h2,
.product-copy h2,
.about-copy h2,
.contact-copy h2,
.cta-panel h2 {
  margin: 0;
  font-weight: 900;
  line-height: 1.03;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero h1 {
  max-width: 840px;
  font-size: 3.65rem;
  line-height: 1.02;
}

.lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.17rem;
}

.hero-actions,
.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.btn-primary {
  color: var(--night);
  background: var(--mint);
}

.btn-secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
}

.btn-plain {
  color: #ffffff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.24);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 720px;
  margin-top: 30px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.hero-facts div {
  min-height: 86px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.065);
}

.hero-facts strong {
  display: block;
  color: #ffffff;
  font-size: 1.72rem;
  line-height: 1;
}

.hero-facts span {
  display: block;
  max-width: 165px;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.94rem;
}

.hero-card {
  align-self: end;
  padding: 26px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.hero-card p {
  margin: 0 0 22px;
  color: var(--mint);
  font-weight: 900;
}

.hero-card ol {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-card li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
  color: rgba(255, 255, 255, 0.82);
}

.hero-card li + li {
  margin-top: 0;
}

.hero-card span {
  color: var(--teal);
  font-weight: 900;
}

.hero-card a {
  display: inline-flex;
  margin-top: 24px;
  color: #ffffff;
  font-weight: 900;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.section {
  padding: 92px 0;
}

.section-light {
  background: var(--paper);
}

.sales-section,
.about-section,
.faq-section {
  background: var(--soft);
}

.section-heading {
  max-width: 800px;
  margin-bottom: 38px;
}

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

.section-heading h2,
.product-copy h2,
.about-copy h2,
.contact-copy h2,
.cta-panel h2 {
  font-size: 2.55rem;
  line-height: 1.08;
}

.section-heading p:not(.eyebrow),
.product-copy p,
.about-copy p,
.contact-copy p,
.cta-panel p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.sales-grid,
.services-grid,
.workflow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.sales-card,
.service-card,
.workflow-step,
.feature-block,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.sales-card,
.service-card {
  min-height: 292px;
  padding: 24px;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.sales-card:hover,
.service-card:hover {
  transform: translateY(-2px);
  border-color: rgba(31, 182, 170, 0.42);
  box-shadow: var(--shadow);
}

.sales-card span,
.service-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 30px;
  margin-bottom: 24px;
  padding: 0 10px;
  color: var(--night);
  background: #eef4f3;
  border-radius: 8px;
  font-weight: 900;
}

.sales-card:nth-child(2) span,
.service-card:nth-child(2n) .service-index {
  background: #fff4db;
}

.sales-card:nth-child(3) span,
.service-card:nth-child(3n) .service-index {
  background: #edf7dd;
}

.sales-card h3,
.service-card h3,
.workflow-step h3,
.feature-block h3,
.contact-card h3 {
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.2;
  text-wrap: balance;
}

.sales-card p,
.service-card p,
.workflow-step p {
  margin: 14px 0 0;
  color: var(--muted);
}

details {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

summary {
  cursor: pointer;
  color: var(--night);
  font-weight: 900;
}

summary::marker {
  color: var(--teal);
}

details p {
  margin: 12px 0 0;
  color: var(--muted);
}

details ul,
.feature-block ul {
  margin: 14px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

li + li {
  margin-top: 8px;
}

.ib-section {
  background: #eef3f6;
}

.ib-workbench {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(330px, 0.88fr);
  gap: 18px;
  align-items: start;
}

.ib-form,
.ib-result {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.ib-form {
  display: grid;
  gap: 20px;
  padding: 26px;
}

.ib-form-head,
.ib-result-head {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}

.ib-form-head h3,
.ib-output h3,
.document-pack h3 {
  margin: 0;
  color: var(--night);
  font-size: 1.28rem;
  line-height: 1.2;
  text-wrap: balance;
}

.ib-form-head span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  color: #6f3f00;
  background: #fff4db;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 900;
}

.ib-form-head span.is-verified {
  color: #0b5f58;
  background: #dff8f2;
}

.ib-form fieldset {
  min-width: 0;
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.ib-form legend {
  padding: 0 8px;
  color: var(--night);
  font-weight: 900;
}

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

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

.field,
.checkbox-grid label {
  display: grid;
  gap: 8px;
}

.field-wide {
  grid-column: 1 / -1;
}

.field span {
  color: #2f3a4a;
  font-size: 0.92rem;
  font-weight: 900;
}

.field input {
  width: 100%;
  min-height: 46px;
  padding: 0 13px;
  color: var(--ink);
  border: 1px solid #cad3df;
  border-radius: 8px;
  background: #ffffff;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.field input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(31, 182, 170, 0.14);
}

.field input:disabled {
  color: #8b96a7;
  background: #f3f6f9;
}

.inline-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.code-control {
  grid-template-columns: minmax(116px, 1fr) auto;
}

.small-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  color: var(--night);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  font-weight: 900;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.small-action:hover,
.small-action:focus-visible {
  border-color: rgba(31, 182, 170, 0.5);
  background: #f5fbfa;
  outline: none;
  transform: translateY(-1px);
}

.small-action:disabled {
  cursor: not-allowed;
  opacity: 0.48;
  transform: none;
}

.field-note {
  color: var(--muted);
  line-height: 1.35;
}

.send-status {
  display: block;
  color: var(--muted);
  line-height: 1.35;
}

.field-note.is-error {
  color: #b42318;
}

.field-note.is-success,
.send-status.is-success {
  color: #087366;
}

.send-status.is-error {
  color: #b42318;
}

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

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

.checkbox-grid label {
  grid-template-columns: 18px 1fr;
  align-items: start;
  min-height: 50px;
  padding: 12px;
  color: #354052;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfe;
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.25;
}

.checkbox-grid input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--teal);
}

.form-actions,
.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.form-actions .btn-secondary {
  color: var(--night);
  background: #ffffff;
  border-color: var(--line);
}

.ib-result {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 22px;
  padding: 26px;
}

.ib-result-head .eyebrow {
  margin-bottom: 0;
}

.risk-meter {
  display: grid;
  justify-items: end;
  gap: 4px;
}

.risk-meter span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: uppercase;
}

.risk-meter strong {
  display: inline-grid;
  place-items: center;
  min-width: 58px;
  height: 44px;
  padding: 0 10px;
  color: #ffffff;
  border-radius: 8px;
  background: var(--night);
  font-size: 1.45rem;
  line-height: 1;
}

.ib-output,
.document-pack {
  display: grid;
  gap: 12px;
}

.ib-output p,
.document-pack p {
  margin: 0;
  color: var(--muted);
}

.ib-output ul,
.document-pack ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.ib-output li::marker,
.document-pack li::marker {
  color: var(--teal);
}

.recommendation-list {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}

.recommendation-item {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  background: #fbfcfe;
}

.recommendation-item strong {
  color: var(--night);
}

.recommendation-item span {
  color: var(--muted);
  font-size: 0.94rem;
}

.recommendation-item.high {
  border-left-color: var(--coral);
}

.recommendation-item.medium {
  border-left-color: var(--amber);
}

.recommendation-item.low {
  border-left-color: var(--teal);
}

.workflow-section {
  color: #ffffff;
  background: var(--night);
}

.workflow-section .eyebrow,
.workflow-section .section-heading p {
  color: var(--mint);
}

.workflow-step {
  min-height: 220px;
  padding: 24px;
  color: #ffffff;
  background: var(--night-2);
  border-color: rgba(255, 255, 255, 0.1);
}

.workflow-step span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  color: var(--night);
  background: var(--mint);
  border-radius: 8px;
  font-weight: 900;
}

.workflow-step p {
  color: rgba(255, 255, 255, 0.72);
}

.product-section {
  background: var(--paper);
}

.product-grid,
.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 48px;
  align-items: center;
}

.product-logo-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 26px;
  border-radius: 8px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.product-logo-link:hover,
.product-logo-link:focus-visible {
  transform: translateY(-2px);
  outline: none;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.08);
}

.product-logo {
  width: 214px;
  height: auto;
}

.product-copy p {
  max-width: 580px;
}

.product-copy .btn-secondary {
  color: var(--night);
  background: #ffffff;
  border-color: var(--line);
}

.product-details {
  display: grid;
  gap: 14px;
}

.feature-block {
  padding: 26px;
  background: #fbfcfe;
}

.product-page {
  background: var(--soft);
}

.product-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(7, 17, 31, 0.97), rgba(7, 17, 31, 0.84)),
    url("assets/subtle-pattern-1800.png") center / cover no-repeat;
}

.product-hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, var(--teal), var(--mint), var(--amber));
}

.product-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
  gap: 56px;
  align-items: center;
  min-height: 560px;
  padding: 70px 0 58px;
}

.product-hero-logo {
  width: 220px;
  height: auto;
  margin: 0 0 28px;
}

.product-hero h1 {
  max-width: 860px;
  margin: 0;
  color: #ffffff;
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.02;
  text-wrap: balance;
}

.product-summary-card {
  display: grid;
  gap: 22px;
  align-self: end;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.product-summary-card > span {
  color: var(--mint);
  font-weight: 900;
}

.product-summary-card dl {
  display: grid;
  gap: 18px;
  margin: 0;
}

.product-summary-card div {
  display: grid;
  gap: 4px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.product-summary-card dt,
.support-details span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
  font-weight: 900;
}

.product-summary-card dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
}

.product-content-grid,
.purchase-grid,
.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 48px;
  align-items: start;
}

.architecture-section,
.support-section {
  color: #ffffff;
  background: var(--night);
}

.architecture-section .eyebrow,
.support-section .eyebrow {
  color: var(--mint);
}

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

.architecture-card {
  min-height: 240px;
  padding: 26px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: var(--night-2);
}

.architecture-card span {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  height: 30px;
  margin-bottom: 28px;
  padding: 0 10px;
  color: var(--night);
  border-radius: 8px;
  background: var(--mint);
  font-weight: 900;
}

.architecture-card h3 {
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.2;
  text-wrap: balance;
}

.architecture-card p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.function-list {
  display: grid;
  gap: 10px;
}

.function-list div {
  padding: 16px 18px;
  color: #354052;
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  background: #fbfcfe;
  font-weight: 800;
}

.purchase-section {
  background: var(--soft);
}

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

.document-card {
  display: grid;
  gap: 14px;
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.document-card:hover,
.document-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(31, 182, 170, 0.42);
  outline: none;
  box-shadow: var(--shadow);
}

.document-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 48px;
  height: 32px;
  padding: 0 10px;
  color: var(--night);
  border-radius: 8px;
  background: #eef4f3;
  font-weight: 900;
}

.document-card strong {
  color: var(--night);
  font-size: 1.18rem;
  line-height: 1.22;
  text-wrap: balance;
}

.document-card small {
  align-self: end;
  color: var(--teal);
  font-weight: 900;
}

.support-details {
  display: grid;
  gap: 12px;
}

.support-details div {
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.support-details strong {
  color: #ffffff;
  font-size: 1.06rem;
  line-height: 1.35;
}

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

.partners-grid img {
  width: 100%;
  height: 112px;
  object-fit: contain;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.portrait {
  display: grid;
  justify-items: center;
  margin: 0;
}

.portrait-frame {
  display: block;
  width: min(100%, 320px);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 8px solid #ffffff;
  border-radius: 50%;
  box-shadow: var(--shadow);
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 28%;
}

.portrait figcaption {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.96rem;
  text-align: center;
}

blockquote {
  margin: 26px 0 0;
  padding: 20px 0 20px 24px;
  color: var(--night);
  border-left: 4px solid var(--teal);
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1.25;
}

.expertise-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.expertise-list span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  color: var(--night);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  font-weight: 800;
}

.cta-section {
  padding: 0 0 92px;
  background: var(--soft);
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 32px;
  align-items: center;
  padding: 42px;
  color: #ffffff;
  border-radius: 8px;
  background: var(--night);
}

.cta-panel .eyebrow {
  color: var(--mint);
}

.cta-panel p:not(.eyebrow) {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.76);
}

.cta-actions {
  display: grid;
  gap: 12px;
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 48px;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  margin: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.contact-section {
  color: #ffffff;
  background: var(--night);
}

.contact-section .contact-copy p {
  color: rgba(255, 255, 255, 0.74);
}

.contact-section .eyebrow {
  color: var(--mint);
}

.contact-actions {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-link {
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.contact-link span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
}

.contact-link strong {
  color: #ffffff;
  font-size: 1.12rem;
}

.contact-card {
  padding: 30px;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.contact-card dl {
  display: grid;
  gap: 14px;
  margin: 22px 0;
}

.contact-card dl div {
  display: grid;
  grid-template-columns: 126px 1fr;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.contact-card dt {
  color: var(--muted);
  font-weight: 900;
}

.contact-card dd {
  margin: 0;
}

.map-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  color: var(--night);
  background: var(--mint);
  border-radius: 8px;
  font-weight: 900;
}

.site-footer {
  padding: 26px 0;
  color: rgba(255, 255, 255, 0.68);
  background: #050b14;
}

.footer-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
}

.footer-brand img {
  width: 116px;
  height: auto;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: rgba(255, 255, 255, 0.8);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.hero .reveal {
  opacity: 1;
  transform: none;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .sales-grid,
  .services-grid,
  .workflow,
  .architecture-grid,
  .document-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ib-workbench {
    grid-template-columns: 1fr;
  }

  .ib-result {
    position: static;
  }

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

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .main-nav {
    position: fixed;
    top: 72px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px 20px 28px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    justify-content: center;
    min-height: 52px;
  }

  .hero-grid,
  .product-hero-grid,
  .product-content-grid,
  .purchase-grid,
  .support-grid,
  .product-grid,
  .about-grid,
  .contact-grid,
  .cta-panel,
  .faq-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-grid {
    gap: 34px;
    min-height: auto;
    padding: 56px 0 44px;
  }

  .product-hero-grid {
    gap: 34px;
    min-height: auto;
    padding: 58px 0 48px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .product-hero h1 {
    font-size: 2.9rem;
  }

  .hero-card,
  .product-summary-card {
    display: none;
  }

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

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

  .portrait-frame {
    width: min(100%, 300px);
  }

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

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    min-height: 68px;
    padding: 8px 14px;
  }

  .brand img {
    width: 126px;
  }

  .main-nav {
    top: 68px;
  }

  .hero {
    background:
      linear-gradient(90deg, rgba(7, 17, 31, 0.94), rgba(7, 17, 31, 0.72)),
      url("assets/subtle-pattern-1800.png") center / cover no-repeat;
  }

  .hero-grid {
    padding: 40px 0 34px;
  }

  .hero h1 {
    font-size: 2.28rem;
  }

  .lead {
    font-size: 1rem;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 26px;
  }

  .btn {
    width: 100%;
  }

  .hero-facts {
    display: none;
  }

  .hero-card {
    display: none;
  }

  .product-summary-card {
    display: none;
  }

  .section {
    padding: 62px 0;
  }

  .product-hero-grid {
    padding: 42px 0 36px;
  }

  .product-hero-logo {
    width: 188px;
    margin-bottom: 22px;
  }

  .product-hero h1 {
    font-size: 2.26rem;
  }

  .section-heading h2,
  .product-copy h2,
  .about-copy h2,
  .contact-copy h2,
  .cta-panel h2 {
    font-size: 2.05rem;
  }

  .sales-card h3,
  .service-card h3,
  .workflow-step h3,
  .feature-block h3,
  .contact-card h3,
  .ib-form-head h3,
  .ib-output h3,
  .document-pack h3 {
    font-size: 1.2rem;
  }

  .sales-grid,
  .services-grid,
  .workflow,
  .architecture-grid,
  .document-grid,
  .product-details,
  .partners-grid,
  .cta-actions,
  .form-grid,
  .metrics-grid,
  .checkbox-grid,
  .compact-grid {
    grid-template-columns: 1fr;
  }

  .ib-form,
  .ib-result {
    padding: 20px;
  }

  .ib-form fieldset {
    padding: 16px;
  }

  .inline-control,
  .code-control {
    grid-template-columns: 1fr;
  }

  .small-action {
    width: 100%;
  }

  .sales-card,
  .service-card,
  .architecture-card,
  .document-card {
    min-height: 0;
  }

  .partners-grid img {
    height: 104px;
  }

  blockquote {
    font-size: 1.22rem;
  }

  .cta-section {
    padding: 0 0 62px;
  }

  .cta-panel,
  .contact-card {
    padding: 24px;
  }

  .contact-card dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
