/* OptimAquae - shared design values. Change these to update the whole site. */
:root {
  color-scheme: dark;
  --bg: #080f1b;
  --surface: #0d1726;
  --card: #121f30;
  --text: #f2f6fa;
  --muted: #adbdcd;
  --accent: #36c9dd;
  --optimized: #00d084;
  --line: #27374b;
  --max-width: 1200px;
  --radius: 12px;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 100px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1rem/1.7 "Segoe UI", Arial, sans-serif; }
::selection { background: var(--accent); color: var(--bg); }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--accent); outline-offset: 6px; border-radius: 3px; }
img, svg { max-width: 100%; }
img { display: block; height: auto; }
figure, p, h1, h2, h3 { margin: 0; }
h1, h2, h3 { line-height: 1.15; font-weight: 600; }
h1 { font-size: clamp(2.75rem, 4.6vw, 4rem); letter-spacing: -.05em; }
h2 { font-size: clamp(2rem, 3.2vw, 2.8rem); letter-spacing: -.04em; }
h3 { font-size: 1.25rem; letter-spacing: -.02em; }
p { color: var(--muted); }
.container { width: min(var(--max-width), calc(100% - 96px)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 100; background: var(--accent); color: var(--bg); padding: 12px 20px; font-weight: 600; }
.skip-link:focus { top: 16px; }

/* Header and navigation remain usable without JavaScript, including on mobile. */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--bg); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand-lockup { display: inline-flex; align-items: center; gap: 15px; }
.brand-name { color: var(--text); font-size: 1rem; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; }
.logo-placeholder { display: inline-flex; min-width: 170px; min-height: 46px; align-items: center; justify-content: center; padding: 8px 14px; border-radius: 5px; color: var(--muted); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.logo-placeholder:hover { color: var(--text); border-color: var(--accent); }
nav { display: flex; flex-wrap: wrap; gap: 30px; }
nav a { font-size: .875rem; color: var(--muted); padding-block: 10px; }
nav a:hover, .site-footer a:hover { color: var(--accent); }

/* Opening: the brochure title, without additional illustrations. */
.hero { min-height: calc(74vh - 86px); min-height: calc(74svh - 86px); padding-block: 56px; display: grid; place-items: center; text-align: center; }
.hero-copy { max-width: 1050px; margin-inline: auto; }
.hero .actions { justify-content: center; }
.hero-company { color: var(--accent); font-size: clamp(1.35rem, 2.3vw, 2rem); font-weight: 600; line-height: 1.2; letter-spacing: -.025em; }
.hero h1 { margin-top: 20px; color: var(--text); font-size: clamp(2.4rem, 4.8vw, 4.4rem); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 26px; margin-top: 36px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 42px; padding: 9px 16px; border-radius: 6px; font-size: .875rem; font-weight: 600; }
.button-primary { background: var(--accent); color: var(--bg); border: 1px solid var(--accent); }
.button-primary:hover { background: #7ee4ef; border-color: #7ee4ef; }
.button-icon { width: 16px; height: 16px; filter: brightness(0) saturate(100%) invert(6%) sepia(28%) saturate(1721%) hue-rotate(180deg) brightness(94%) contrast(95%); }

/* Shared sections: new sections can reuse these layouts without extra CSS. */
.section { padding-block: 88px; }
.section-tinted { background: var(--surface); border-block: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 44px; }
.section-heading > p { max-width: 330px; }
.three-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.challenge { padding-right: 26px; }
.challenge + .challenge { padding-left: 28px; border-left: 1px solid var(--line); }
.feature-icon { width: 30px; height: 30px; margin-bottom: 22px; filter: brightness(0) saturate(100%) invert(78%) sepia(55%) saturate(948%) hue-rotate(142deg) brightness(91%) contrast(88%); }
.challenge h3 { margin-bottom: 14px; }
.challenge p { font-size: 1rem; }
.approach-layout { display: grid; grid-template-columns: 1.1fr 1fr; align-items: start; gap: 64px; }
.model-panel { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.panel-label { padding: 20px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; font-size: .875rem; }
.tag { color: var(--muted); font-size: .75rem; line-height: 1.5; border: 1px solid #35485d; border-radius: 4px; padding: 4px 8px; }
.model-image { margin-inline: 20px; }
.model-image img { width: 100%; border-radius: 4px; }
.model-image figcaption { font-size: .75rem; color: var(--muted); margin-top: 10px; }
.model-panel > p { padding: 18px 24px 24px; font-size: 1rem; }
.process-list { list-style: none; padding: 0; margin: 0; }
.process-list li { padding-block: 26px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 34px 1fr; gap: 20px; align-items: start; }
.process-icon { width: 30px; height: 30px; margin-top: 1px; filter: brightness(0) saturate(100%) invert(78%) sepia(55%) saturate(948%) hue-rotate(142deg) brightness(91%) contrast(88%); }
.process-list li:first-child { padding-top: 8px; }
.process-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.process-list h3 { margin-bottom: 12px; }
.process-list p { font-size: 1rem; }
.feature-card { padding: 32px; border: 1px solid var(--line); background: var(--card); border-radius: var(--radius); display: flex; flex-direction: column; }
.icon-tile { width: 46px; height: 46px; display: grid; place-items: center; background: #123749; border: 1px solid #205265; color: var(--accent); border-radius: 8px; margin-bottom: 27px; }
.icon-tile img { width: 24px; height: 24px; filter: brightness(0) saturate(100%) invert(78%) sepia(55%) saturate(948%) hue-rotate(142deg) brightness(91%) contrast(88%); }
.feature-card h3 { margin-bottom: 16px; }
.feature-card p { margin-bottom: 26px; font-size: 1rem; }

/* Source figures are HTML tables: accessible, selectable and easy to update. */
.case-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 46px; }
.case-card { padding: 32px; border: 1px solid var(--line); border-top: 2px solid var(--accent); border-radius: var(--radius); background: var(--bg); }
.case-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.case-heading h3 { font-size: 1.5rem; }
.case-heading h3 span { display: block; font-size: .875rem; color: var(--muted); font-weight: 400; margin-top: 7px; letter-spacing: 0; }
.case-heading .tag { text-align: right; }
.case-saving { display: flex; align-items: center; gap: 24px; margin-top: 28px; }
.case-saving strong { color: var(--accent); font-size: clamp(3.1rem, 4.8vw, 4.5rem); line-height: 1.1; font-weight: 600; letter-spacing: -.06em; }
.case-saving strong span { font-size: .56em; padding-left: 5px; }
.case-saving p { color: var(--text); font-size: 1.125rem; font-weight: 500; line-height: 1.35; }
.case-context { font-size: .8125rem; margin-block: 18px 26px; min-height: 3.4em; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
th { text-align: left; }
.cost-table { font-size: .875rem; }
.cost-table th, .cost-table td { padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.cost-table thead { color: var(--muted); font-size: .8125rem; }
.cost-table thead th { font-weight: 400; }
.cost-table tbody th { font-weight: 400; }
.cost-table tbody tr:first-child th, .cost-table tbody tr:first-child td { padding-top: 20px; }
.cost-table td, .cost-table th:not(:first-child) { text-align: right; }
.cost-table td:last-child { color: var(--optimized); }
.cost-table tfoot { font-weight: 600; }
.cost-table tfoot td, .cost-table tfoot th { border-bottom: 0; padding-top: 17px; }
.case-compute { display: flex; justify-content: space-between; gap: 16px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .75rem; color: var(--muted); }
.case-compute strong { display: block; color: var(--text); font-size: .875rem; font-weight: 600; }
.comparison-heading { margin-bottom: 22px; display: flex; justify-content: space-between; align-items: baseline; gap: 20px; }
.comparison-heading h3 { font-size: 1.125rem; }
.comparison-heading p { font-size: .8125rem; }
.table-hint { display: none; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; }
.comparison-table { min-width: 730px; font-size: .875rem; }
.comparison-table th, .comparison-table td { padding: 19px 22px; border-bottom: 1px solid var(--line); }
.comparison-table thead { background: var(--bg); color: var(--muted); font-size: .8125rem; }
.comparison-table thead th { font-weight: 400; }
.comparison-table tbody th { font-weight: 600; }
.comparison-table td:nth-child(2) { font-size: .8125rem; color: var(--muted); }
.comparison-table td:nth-child(n+3), .comparison-table th:nth-child(n+3) { text-align: right; white-space: nowrap; }
.comparison-table td:nth-child(4), .comparison-table td:last-child { color: var(--optimized); font-weight: 600; }
.comparison-table tr:last-child > * { border-bottom: 0; }
.reliability-grid .feature-card { background: var(--surface); }
.site-footer { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding-block: 38px 42px; border-top: 1px solid var(--line); }
.site-footer .logo-placeholder { min-width: 150px; min-height: 42px; }
.site-footer p, .footer-meta { font-size: .8125rem; color: var(--muted); }
.site-footer p { margin-top: 12px; }
.footer-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }

.contact-details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin: 0; }
.contact-details > div { padding-top: 22px; border-top: 1px solid var(--line); }
.contact-icon { width: 22px; height: 22px; flex: 0 0 auto; filter: brightness(0) saturate(100%) invert(78%) sepia(55%) saturate(948%) hue-rotate(142deg) brightness(91%) contrast(88%); }
.contact-details dt { display: flex; align-items: center; gap: 10px; color: var(--accent); font-size: .875rem; margin-bottom: 10px; }
.contact-details dd { margin: 0; color: var(--muted); overflow-wrap: anywhere; }
.contact-section .section-heading { margin-bottom: 32px; }

@media (max-width: 1100px) {
  .container { width: calc(100% - 64px); }
  .hero { min-height: auto; padding-block: 54px 48px; }
  .section-heading > p { max-width: 290px; }
  .approach-layout { gap: 36px; }
  .feature-card { padding: 25px; }
  .case-card { padding: 26px; }
  .case-heading .tag { max-width: 140px; }
}

@media (max-width: 800px) {
  .contact-details { grid-template-columns: 1fr; gap: 24px; }
  html { scroll-padding-top: 90px; }
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 76px; gap: 20px; }
  .brand-lockup .logo-placeholder { min-width: 132px; }
  nav { gap: 18px; }
  .hero { padding-block: 46px; }
  .section { padding-block: 64px; }
  .section-heading { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 34px; }
  .section-heading > p { max-width: 520px; }
  .three-columns { grid-template-columns: 1fr; gap: 18px; }
  .challenges { gap: 0; }
  .challenge, .challenge + .challenge { padding: 26px 0; border-left: 0; }
  .challenge + .challenge { border-top: 1px solid var(--line); }
  .challenge:first-child { padding-top: 0; }
  .challenge:last-child { padding-bottom: 0; }
  .feature-icon { margin-bottom: 14px; }
  .approach-layout { grid-template-columns: 1fr; }
  .process-list li:first-child { padding-top: 0; }
  .feature-card { padding: 28px; }
  .icon-tile { margin-bottom: 20px; }
  .case-grid { grid-template-columns: 1fr; }
  .case-card { padding: 30px; }
  .case-saving strong { font-size: 4rem; }
  .case-heading .tag { max-width: none; }
  .comparison-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .table-hint { display: block; font-size: .8125rem; margin-bottom: 12px; }
}

@media (max-width: 560px) {
  html { scroll-padding-top: 24px; }
  .site-header { position: relative; }
  .header-inner { flex-direction: column; align-items: flex-start; gap: 8px; padding-block: 20px 10px; }
  .brand-lockup { width: 100%; justify-content: space-between; }
  nav { width: 100%; display: flex; flex-wrap: wrap; gap: 4px 12px; padding-bottom: 4px; }
  nav a { flex: 0 1 auto; font-size: .78rem; padding-block: 6px; }
  .hero { padding-block: 34px; }
  .hero h1 { font-size: clamp(2.15rem, 10vw, 3rem); }
  .actions { gap: 10px 22px; margin-top: 26px; }
  .section { padding-block: 52px; }
  h2 { font-size: 2rem; }
  .panel-label { padding: 18px; }
  .model-image { margin-inline: 12px; }
  .model-panel > p { padding: 18px; }
  .feature-card { padding: 24px; }
  .case-card { padding: 22px; }
  .case-heading .tag { display: none; }
  .case-saving { gap: 22px; }
  .case-saving strong { font-size: clamp(2.9rem, 14vw, 3.7rem); }
  .cost-table { font-size: .8125rem; }
  .cost-table thead { font-size: .75rem; }
  .case-context { font-size: .8125rem; }
  .site-footer { align-items: flex-start; flex-direction: column; }
  .footer-meta { width: 100%; flex-direction: row; justify-content: space-between; align-items: center; }
}


@media (max-width: 560px) {
  .table-scroll { overflow: visible; border: 0; border-radius: 0; }
  .comparison-table { min-width: 0; border-collapse: separate; border-spacing: 0 14px; }
  .comparison-table thead { display: none; }
  .comparison-table tbody, .comparison-table tr, .comparison-table th, .comparison-table td { display: block; width: 100%; }
  .comparison-table tr { padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); }
  .comparison-table tbody th { padding: 0 0 14px; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .comparison-table td { display: flex; justify-content: space-between; gap: 18px; padding: 10px 0; border-bottom: 1px solid var(--line); text-align: right; white-space: normal; }
  .comparison-table td::before { content: attr(data-label); color: var(--muted); text-align: left; font-weight: 400; }
  .comparison-table td:last-child { border-bottom: 0; }
}
@media print {
  :root { color-scheme: light; --bg: #fff; --surface: #fff; --card: #fff; --text: #172031; --muted: #374151; --accent: #00697a; --line: #aab5c1; }
  body { font-size: 10pt; }
  .container { width: 100%; }
  .site-header { position: static; }
  nav, .actions, .footer-meta a, .skip-link, .table-hint { display: none; }
  .hero, .section { padding-block: 24px; }
  .hero { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32pt; }
  h2 { font-size: 22pt; }
  .section-heading { margin-bottom: 20px; }
  .feature-card, .case-card, .model-panel { break-inside: avoid; }
  .table-scroll { overflow: visible; }
  .comparison-table { min-width: 0; font-size: 9pt; }
  .comparison-table th, .comparison-table td { padding: 10px; }
  .icon-tile { background: transparent; }
}












