:root {
  --ink: #05070a;
  --hero-bg: #03080a;
  --text: #122033;
  --muted: #657284;
  --paper: #f6f8fb;
  --panel: #ffffff;
  --line: #dbe5f0;
  --brand: #35669d;
  --brand-deep: #264f7e;
  --brand-soft: #89a6c8;
  --brand-pale: #e8f0f9;
  --shadow: 0 24px 70px rgba(18, 32, 51, 0.11);
  --radius: 8px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: "Roboto", "Open Sans", Arial, sans-serif;
  line-height: 1.6;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 82px;
  padding: 14px clamp(20px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(18, 32, 51, 0.1);
  backdrop-filter: blur(18px);
}

.brand img {
  width: clamp(150px, 18vw, 224px);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 30px);
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav a {
  position: relative;
  padding-block: 8px;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  content: "";
  background: var(--brand-soft);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.social-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-link {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: currentColor;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.82;
  transition: opacity 180ms ease, transform 180ms ease, background 180ms ease;
}

.social-link:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.site-nav .social-link {
  color: var(--brand);
}

.site-nav .social-link::after {
  display: none;
}

.social-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid rgba(18, 32, 51, 0.18);
  background: rgba(53, 102, 157, 0.07);
  cursor: pointer;
}

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

.hero {
  position: relative;
  min-height: 560px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #ffffff;
  background: var(--hero-bg);
}

.hero::after {
  content: "";
  display: none;
}

.hero-mark {
  display: none;
}

.hexagon {
  position: absolute;
  width: clamp(130px, 18vw, 260px);
  aspect-ratio: 1.15;
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  pointer-events: none;
}

.hexagon-left {
  bottom: 34px;
  left: -68px;
  background: rgba(53, 102, 157, 0.58);
}

.hexagon-right {
  top: -46px;
  right: 8vw;
  background: rgba(137, 166, 200, 0.82);
}

.hero .hexagon {
  opacity: 0.78;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
  padding: clamp(44px, 5vw, 60px) 0 clamp(38px, 5vw, 56px);
}

.promo-hero {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #ffffff;
  background: var(--hero-bg);
  border-top: 1px solid rgba(137, 166, 200, 0.2);
}

.promo-hero-inner {
  display: grid;
  grid-template-columns: minmax(480px, 0.95fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(20px, 3vw, 54px);
  width: min(100% - 40px, 1360px);
  padding-block: clamp(48px, 6vw, 82px);
}

.promo-hero-content {
  position: relative;
  z-index: 2;
}

.promo-eyebrow {
  margin: 0 0 18px;
  color: var(--brand-soft);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.promo-hero h2 {
  max-width: 640px;
  color: #ffffff;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: clamp(3.4rem, 4.2vw, 4.75rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.93;
  text-wrap: balance;
}

.promo-hero h2 span {
  display: block;
  margin-top: 0.08em;
  color: var(--brand-soft);
  font-weight: 400;
  white-space: nowrap;
}

.promo-hero-copy {
  max-width: 580px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.25vw, 1.16rem);
  line-height: 1.55;
}

.promo-hero-copy strong {
  color: #ffffff;
  font-weight: 400;
}

.promo-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding: 0;
  margin: 22px 0 0;
  color: #eef5ff;
  font-size: 0.94rem;
  font-weight: 400;
  list-style: none;
}

.promo-highlights li {
  position: relative;
  padding-left: 17px;
}

.promo-highlights li::before {
  position: absolute;
  top: 0.67em;
  left: 0;
  width: 7px;
  height: 2px;
  content: "";
  background: var(--brand-soft);
}

.promo-hero .hero-actions {
  margin-top: 28px;
}

.promo-hero .promo-primary {
  color: #ffffff !important;
  background: var(--brand);
  border-color: var(--brand);
  font-weight: 400;
}

.promo-hero .promo-primary:hover {
  background: #4075af;
  border-color: #4075af;
}

.promo-hero .promo-secondary {
  color: #ffffff !important;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.62);
  font-weight: 400;
}

.promo-hero .promo-secondary:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
}

.promo-note {
  max-width: 560px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
  line-height: 1.45;
}

.promo-hero-visual {
  min-width: 0;
  margin: 0 -7vw 0 -3vw;
}

.promo-hero-visual img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 28px 38px rgba(0, 0, 0, 0.32));
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--brand-soft);
}

h1,
h2,
h3 {
  overflow-wrap: break-word;
}

p,
li,
summary {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
}

h1 {
  max-width: 980px;
  font-size: clamp(3rem, 6.2vw, 5.4rem);
  font-weight: 900;
}

h2 {
  font-size: clamp(2.2rem, 5vw, 4.35rem);
  font-weight: 900;
}

h3 {
  font-size: clamp(1.16rem, 1.5vw, 1.35rem);
}

.hero-line {
  max-width: 930px;
  margin: 18px 0 0;
  font-size: clamp(1.45rem, 3.2vw, 3rem);
  font-weight: 900;
  line-height: 1.12;
}

.hero-line-break {
  display: block;
}

.word-rotator {
  position: relative;
  display: inline-grid;
  min-width: 9.6ch;
  color: var(--brand-soft);
  vertical-align: baseline;
}

.word-rotator span {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(0.35em);
  animation: rotateWords 12s infinite;
}

.word-rotator span:nth-child(2) {
  animation-delay: 3s;
}

.word-rotator span:nth-child(3) {
  animation-delay: 6s;
}

.word-rotator span:nth-child(4) {
  animation-delay: 9s;
}

@keyframes rotateWords {
  0%,
  20% {
    opacity: 1;
    transform: translateY(0);
  }

  25%,
  95% {
    opacity: 0;
    transform: translateY(-0.35em);
  }

  96%,
  100% {
    opacity: 0;
    transform: translateY(0.35em);
  }
}

.hero-copy {
  max-width: 650px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.05rem, 1.4vw, 1.26rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.final-cta-inner .button {
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 19px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #ffffff !important;
  background: var(--brand);
  border-color: var(--brand);
}

.button-primary:hover {
  background: #4075af;
}

.button-secondary {
  color: var(--brand-deep) !important;
  background: #ffffff;
  border-color: rgba(53, 102, 157, 0.28);
}

.button-secondary:hover {
  border-color: rgba(53, 102, 157, 0.5);
  background: var(--brand-pale);
}

.hero .button-secondary,
.page-hero .button-secondary,
.article-header .button-secondary,
.brand-band .button-secondary,
.method .button-secondary,
.final-cta .button-secondary,
.cookie-banner .button-secondary {
  color: #ffffff !important;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.62);
}

.hero .button-secondary:hover,
.page-hero .button-secondary:hover,
.article-header .button-secondary:hover,
.brand-band .button-secondary:hover,
.method .button-secondary:hover,
.final-cta .button-secondary:hover,
.cookie-banner .button-secondary:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.stats {
  background: #ffffff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.stats article {
  min-height: 138px;
  padding: 30px;
  border-right: 1px solid var(--line);
}

.stats article:last-child {
  border-right: 0;
}

.stats strong {
  display: block;
  color: var(--brand);
  font-size: clamp(2.7rem, 5vw, 4rem);
  line-height: 1;
}

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

.section {
  padding: clamp(72px, 10vw, 124px) 0;
}

.about {
  background: var(--paper);
}

.about-intro {
  display: grid;
  gap: 28px;
}

.about-portrait {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(18, 32, 51, 0.1);
  border-radius: var(--radius);
  background: #dbe5f0;
  box-shadow: 0 18px 48px rgba(18, 32, 51, 0.1);
}

.about-portrait img {
  width: 100%;
  aspect-ratio: 4 / 5.15;
  object-fit: cover;
  object-position: center 16%;
}

.about-grid,
.brand-band-grid,
.software-grid,
.newsletter-grid,
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr);
  gap: clamp(34px, 7vw, 92px);
  align-items: start;
}

.role {
  margin: 14px 0 0;
  color: var(--brand);
  font-size: 1.18rem;
  font-weight: 900;
  text-transform: uppercase;
}

.rich-text {
  color: #2d3a4c;
  font-size: 1.04rem;
}

.rich-text p {
  margin: 0;
}

.rich-text p + p {
  margin-top: 22px;
}

.rich-text strong {
  color: var(--brand-deep);
}

.brand-band {
  color: #ffffff;
  background: var(--ink);
}

.band-logo {
  width: min(620px, 100%);
  margin: 0 auto clamp(46px, 6vw, 72px);
}

.brand-band .section-kicker {
  color: var(--brand-soft);
}

.brand-band p {
  color: rgba(255, 255, 255, 0.8);
}

.brand-band strong {
  color: #ffffff;
}

.pillars {
  background: #ffffff;
}

.pillar-grid,
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

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

.service-card {
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 16px 42px rgba(18, 32, 51, 0.06);
}

.service-card h3,
.service-card p {
  margin: 0;
}

.service-card p {
  margin-top: 12px;
  color: var(--muted);
}

.service-card a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--brand);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.service-link-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.inline-cta,
.article-cta {
  margin-top: 44px;
  padding: clamp(24px, 4vw, 34px);
  color: #ffffff;
  border-radius: var(--radius);
  background: var(--brand-deep);
}

.inline-cta h2,
.inline-cta p,
.article-cta h2,
.article-cta p {
  margin: 0;
  color: #ffffff;
}

.inline-cta p,
.article-cta p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.82);
}

.inline-cta .button,
.article-cta .button {
  margin-top: 20px;
  margin-right: 10px;
}

.pillar-card,
.blog-grid article,
.method-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 16px 42px rgba(18, 32, 51, 0.06);
}

.pillar-card {
  min-height: 320px;
  padding: 30px;
}

.pillar-card img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin-bottom: 24px;
}

.pillar-card p,
.method-grid p,
.blog-grid p,
.blog-grid h3 {
  margin-bottom: 0;
}

.pillar-card p,
.software-grid p,
.newsletter-grid p,
.final-cta p {
  color: var(--muted);
}

.section-heading {
  max-width: 820px;
  margin-bottom: clamp(34px, 5vw, 54px);
}

.method {
  color: #ffffff;
  background: var(--brand-deep);
}

.method .section-kicker {
  color: var(--brand-soft);
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.method-grid article {
  min-height: 260px;
  padding: 26px;
  color: #ffffff;
  background: rgba(5, 7, 10, 0.28);
  border-color: rgba(232, 240, 249, 0.14);
  box-shadow: none;
}

.method-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 24px;
  color: #ffffff;
  border: 1px solid rgba(137, 166, 200, 0.6);
  border-radius: 50%;
  font-size: 1.18rem;
  font-weight: 900;
}

.method-grid p {
  color: rgba(255, 255, 255, 0.75);
}

.software-preview {
  background: var(--brand-pale);
}

.feature-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 28px;
  color: var(--text);
  font-weight: 800;
}

.feature-list li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 10px;
  height: 10px;
  content: "";
  background: var(--brand);
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  transform: translateY(-50%);
}

.faq-section {
  background: #ffffff;
}

.pricing-section {
  background: #ffffff;
}

.pricing-section .section-heading p:not(.section-kicker) {
  max-width: 720px;
  color: var(--muted);
}

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

.price-card {
  display: grid;
  align-content: start;
  gap: 18px;
  min-height: 100%;
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 16px 42px rgba(18, 32, 51, 0.06);
}

.price-card-featured {
  border-color: rgba(53, 102, 157, 0.45);
  background: var(--brand-pale);
}

.price-card h3,
.price-card p {
  margin: 0;
}

.price-card > p:not(.article-meta):not(.price-value) {
  color: var(--muted);
}

.price-value {
  color: var(--brand-deep);
  font-size: clamp(2rem, 4vw, 3.35rem);
  font-weight: 900;
  line-height: 1;
}

.price-features {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
  color: var(--text);
  font-weight: 800;
}

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

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(18, 32, 51, 0.05);
}

.faq-list summary {
  cursor: pointer;
  padding: 20px 24px;
  color: var(--text);
  font-weight: 900;
  list-style-position: outside;
}

.faq-list p {
  max-width: 860px;
  margin: 0;
  padding: 0 24px 22px;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--brand);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.blog-preview {
  background: #ffffff;
}

.blog-grid article {
  min-height: 250px;
  padding: 28px;
}

.blog-grid p {
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.blog-grid h3 {
  margin-top: 14px;
  line-height: 1.2;
}

.blog-grid a {
  display: inline-flex;
  margin-top: 28px;
  color: var(--brand);
  font-weight: 900;
}

.newsletter {
  background: var(--paper);
}

.signup-form {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

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

label {
  display: grid;
  gap: 8px;
  color: #293648;
  font-weight: 800;
}

input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--text);
  border: 1px solid #cbd8e6;
  border-radius: 6px;
  background: #ffffff;
  font: inherit;
}

textarea,
select {
  width: 100%;
  padding: 12px 14px;
  color: var(--text);
  border: 1px solid #cbd8e6;
  border-radius: 6px;
  background: #ffffff;
  font: inherit;
}

input:focus {
  border-color: var(--brand);
  outline: 3px solid rgba(53, 102, 157, 0.18);
}

textarea:focus,
select:focus {
  border-color: var(--brand);
  outline: 3px solid rgba(53, 102, 157, 0.18);
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.checkbox-label input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 4px;
}

.privacy-note {
  margin: 0;
  font-size: 0.86rem;
}

.privacy-note[data-state="loading"] {
  color: var(--brand);
  font-weight: 800;
}

.privacy-note[data-state="success"] {
  color: #167c4f;
  font-weight: 800;
}

.privacy-note[data-state="error"] {
  color: #b42318;
  font-weight: 800;
}

.hidden-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.final-cta {
  color: #ffffff;
  background: var(--ink);
}

.final-cta .section-kicker {
  color: var(--brand-soft);
}

.final-cta-inner {
  max-width: 780px;
}

.final-cta p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.76);
}

.site-footer {
  padding: 34px 0;
  color: rgba(255, 255, 255, 0.78);
  background: #000000;
  border-top: 1px solid rgba(137, 166, 200, 0.18);
}

.site-footer img {
  width: min(240px, 100%);
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: min(320px, 100%);
  color: #ffffff;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 900;
  line-height: 1;
}

.footer-logo-image {
  width: min(300px, 100%);
  height: auto;
}

.footer-logo-text span:first-child {
  color: #ffffff;
}

.footer-logo-text span:last-child {
  color: var(--brand-soft);
}

.footer-hex {
  display: inline-block;
  width: 46px;
  aspect-ratio: 1.1;
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
}

.footer-hex-main {
  background: var(--brand);
}

.footer-hex-soft {
  width: 42px;
  background: var(--brand-soft);
}

.footer-grid {
  align-items: center;
}

.site-footer p {
  margin: 0 0 12px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  font-weight: 800;
}

.footer-social {
  margin-top: 18px;
  color: #ffffff;
}

.footer-social .social-link {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.58);
}

.footer-legal {
  max-width: 760px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
}

.page-hero {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  display: grid;
  align-items: center;
  padding: clamp(74px, 9vw, 118px) 0;
  color: #ffffff;
  background: var(--hero-bg);
}

.page-hero::before {
  position: absolute;
  top: -46px;
  right: 8vw;
  width: clamp(130px, 18vw, 260px);
  aspect-ratio: 1.15;
  content: "";
  background: rgba(137, 166, 200, 0.82);
  opacity: 0.78;
  pointer-events: none;
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
}

.page-hero::after {
  position: absolute;
  bottom: 34px;
  left: -68px;
  width: clamp(130px, 18vw, 260px);
  aspect-ratio: 1.15;
  content: "";
  background: rgba(53, 102, 157, 0.58);
  opacity: 0.78;
  pointer-events: none;
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  max-width: 820px;
  color: #ffffff;
  font-size: clamp(2.65rem, 4.8vw, 4.9rem);
  line-height: 1;
}

.page-hero .eyebrow {
  margin-bottom: 26px;
  color: var(--brand-soft);
}

.page-hero p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1rem, 1.2vw, 1.12rem);
}

.page-hero .button {
  margin-top: 26px;
}

.compact-page-hero {
  min-height: 560px;
  padding: clamp(74px, 9vw, 118px) 0;
}

.blog-list-section {
  background: #ffffff;
}

.lab-filter-bar {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.7fr) auto;
  align-items: end;
  gap: 14px;
  margin-bottom: 28px;
}

.lab-filter-bar .button {
  min-height: 48px;
}

.lab-empty {
  margin: 0 0 24px;
  color: var(--muted);
  font-weight: 800;
}

.blog-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-list-grid .article-card[hidden] {
  display: none;
}

.article-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(18, 32, 51, 0.07);
}

.article-card-cover {
  width: 100%;
  height: 170px;
  object-fit: cover;
  background: var(--brand-pale);
}

.article-card-fallback {
  display: grid;
  place-items: center;
}

.article-card-fallback span {
  width: 74px;
  aspect-ratio: 1.15;
  background: var(--brand);
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
}

.article-card-body {
  padding: 26px;
}

.article-card-body h3 {
  margin-top: 12px;
  line-height: 1.2;
}

.article-card-body p:last-of-type {
  color: var(--muted);
}

.article-card-body a {
  display: inline-flex;
  margin-top: 22px;
  color: var(--brand);
  font-weight: 900;
}

.article-meta {
  margin: 0;
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.article-header {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  display: grid;
  align-items: center;
  padding: clamp(74px, 9vw, 118px) 0;
  color: #ffffff;
  background: var(--hero-bg);
}

.article-header::before {
  position: absolute;
  top: -46px;
  right: 8vw;
  width: clamp(130px, 18vw, 260px);
  aspect-ratio: 1.15;
  content: "";
  background: rgba(137, 166, 200, 0.82);
  opacity: 0.78;
  pointer-events: none;
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
}

.article-header::after {
  position: absolute;
  bottom: 34px;
  left: -68px;
  width: clamp(130px, 18vw, 260px);
  aspect-ratio: 1.15;
  content: "";
  background: rgba(53, 102, 157, 0.58);
  opacity: 0.78;
  pointer-events: none;
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
}

.article-header .container {
  position: relative;
  z-index: 1;
}

.article-header h1 {
  max-width: 900px;
  margin-top: 20px;
  color: #ffffff;
  font-size: clamp(2.45rem, 4.3vw, 4.7rem);
  line-height: 1.02;
}

.article-header .article-meta,
.article-header .text-link {
  color: var(--brand-soft);
}

.article-header p:not(.article-meta) {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1rem, 1.2vw, 1.12rem);
}

.article-cover {
  width: 100%;
  max-height: 430px;
  margin-top: 34px;
  border-radius: var(--radius);
  object-fit: cover;
}

.article-content {
  max-width: 820px;
  padding-top: clamp(54px, 7vw, 84px);
  padding-bottom: clamp(70px, 10vw, 118px);
  color: #253247;
  font-size: 1.08rem;
}

.article-content h1,
.article-content h2,
.article-content h3 {
  margin-top: 44px;
  color: var(--text);
}

.article-content h1 {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1.05;
}

.article-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  line-height: 1.12;
}

.article-content h3 {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.2;
}

.article-content p,
.article-content li {
  margin-top: 18px;
}

.article-content a {
  color: var(--brand);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.article-inline-image {
  margin: 34px 0;
}

.article-inline-image img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
}

.article-inline-image figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.article-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.article-comments {
  display: grid;
  gap: 22px;
  margin-top: 54px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.article-comments h2 {
  margin-top: 8px;
}

.comment-list {
  display: grid;
  gap: 14px;
}

.comment-item {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.comment-item header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.comment-item time,
.comment-empty {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.comment-item p {
  margin-top: 10px;
}

.comment-form {
  display: grid;
  gap: 16px;
}

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

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: start;
}

.contact-panel {
  padding: clamp(26px, 4vw, 38px);
  border-radius: var(--radius);
  background: var(--ink);
  color: #ffffff;
}

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

.contact-detail {
  margin-top: 20px;
  font-weight: 900;
}

.contact-form .button {
  width: max-content;
}

.legal-page {
  background: #ffffff;
}

.cookie-open-button {
  margin-top: 22px;
}

.cookie-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: grid;
  gap: 16px;
  width: min(560px, calc(100% - 36px));
  padding: 20px;
  color: #ffffff;
  border: 1px solid rgba(137, 166, 200, 0.38);
  border-radius: var(--radius);
  background: rgba(5, 7, 10, 0.96);
  box-shadow: var(--shadow);
}

.cookie-banner-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.cookie-close {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  padding: 0;
  color: #ffffff;
  border: 1px solid rgba(137, 166, 200, 0.42);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1;
}

.cookie-banner p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.cookie-banner a {
  width: max-content;
  color: var(--brand-soft);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.cookie-actions,
.cookie-preferences {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-preferences {
  padding-top: 12px;
  border-top: 1px solid rgba(137, 166, 200, 0.22);
}

.cookie-banner .button {
  min-height: 42px;
}

@media (max-width: 900px) {
  .site-header {
    min-height: 72px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    color: #eef5ff;
    background: rgba(5, 7, 10, 0.98);
    border: 1px solid rgba(137, 166, 200, 0.24);
    border-radius: var(--radius);
  }

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

  .site-nav a {
    padding: 14px;
  }

  .header-social {
    justify-content: flex-start;
    padding: 12px 14px 4px;
  }

  .header-social .social-link {
    color: #eef5ff;
  }

  .hero,
  .page-hero,
  .compact-page-hero,
  .article-header {
    min-height: 500px;
  }

  .promo-hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    padding-block: 54px 42px;
  }

  .promo-hero-content {
    max-width: 720px;
  }

  .promo-hero-visual {
    margin: 0 -5vw -20px;
  }

  .stats-grid,
  .about-grid,
  .brand-band-grid,
  .software-grid,
  .newsletter-grid,
  .footer-grid,
  .service-area-grid,
  .pillar-grid,
  .blog-grid,
  .lab-filter-bar,
  .method-grid,
  .blog-list-grid,
  .contact-grid,
  .price-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-grid > *,
  .site-footer nav {
    min-width: 0;
    max-width: 100%;
  }

  .stats article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stats article:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 620px) {
  .container,
  .hero-inner {
    width: min(100% - 28px, var(--container));
  }

  .site-header {
    padding-inline: 14px;
  }

  .brand img {
    width: 150px;
  }

  h1 {
    font-size: clamp(2.15rem, 10vw, 3.25rem);
    line-height: 1.03;
  }

  h2 {
    font-size: clamp(1.85rem, 9vw, 2.75rem);
    line-height: 1.05;
  }

  .hero h1 {
    font-size: clamp(2.1rem, 9.5vw, 3.2rem);
    overflow-wrap: break-word;
    white-space: normal;
  }

  .hero {
    min-height: auto;
  }

  .promo-hero h2 {
    font-size: clamp(2.65rem, 14vw, 4.2rem);
    line-height: 0.96;
  }

  .promo-hero h2 span {
    white-space: normal;
  }

  .promo-highlights {
    display: grid;
    gap: 8px;
  }

  .promo-hero-visual {
    overflow: hidden;
    margin: 0 -14px -12px;
  }

  .promo-hero-visual img {
    width: 168%;
    max-width: none;
    transform: translateX(-39%);
  }

  .page-hero,
  .compact-page-hero,
  .article-header {
    min-height: auto;
    padding-block: 72px 56px;
  }

  .page-hero h1,
  .article-header h1 {
    font-size: clamp(2.05rem, 9.2vw, 3.1rem);
    line-height: 1.04;
  }

  .hero-line {
    font-size: clamp(1.25rem, 7vw, 2rem);
  }

  .word-rotator {
    display: grid;
    margin-top: 4px;
  }

  .hero-actions,
  .form-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .inline-cta .button,
  .article-cta .button {
    margin-right: 0;
  }

  .contact-form .button,
  .cookie-banner .button {
    width: 100%;
  }

  .section {
    padding-block: 64px;
  }

  .hexagon-right {
    right: -80px;
  }

  .pillar-card,
  .blog-grid article,
  .method-grid article {
    min-height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }

  .word-rotator span:first-child {
    opacity: 1;
    transform: none;
  }
}