:root {
  --ink: #07313d;
  --ink-strong: #051f29;
  --muted: #49636a;
  --bg: #f5f8f6;
  --paper: #ffffff;
  --mist: #eaf3ef;
  --petrol: #073d4a;
  --teal: #0f6f68;
  --green: #7cc9a8;
  --coral: #ff7d61;
  --line: rgba(7, 49, 61, 0.14);
  --shadow: 0 24px 70px rgba(7, 49, 61, 0.13);
  --maxw: 1160px;
  --header-h: 74px;
  --pad-x: clamp(18px, 5vw, 72px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", system-ui, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

section[id] {
  scroll-margin-top: calc(var(--header-h) + 18px);
}

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 100;
  padding: 12px 16px;
  background: var(--petrol);
  color: #fff;
}

.skip-link:focus {
  left: 0;
}

.site-header {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto 0;
  height: var(--header-h);
  padding: 0 var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(245, 248, 246, 0.72);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: height 180ms ease, background 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  height: 64px;
  background: rgba(245, 248, 246, 0.94);
  border-color: var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  color: var(--ink-strong);
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--muted);
}

.site-nav a {
  text-decoration: none;
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--ink-strong);
}

.nav-cta {
  padding: 9px 14px;
  border: 1px solid rgba(15, 111, 104, 0.32);
  border-radius: 8px;
  color: var(--teal) !important;
  background: rgba(255, 255, 255, 0.65);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.language-switch a {
  display: inline-flex;
  min-width: 34px;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  padding: 6px 8px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
}

.language-switch a.is-current {
  background: var(--petrol);
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: center;
  padding: calc(var(--header-h) + 42px) var(--pad-x) 38px;
  overflow: hidden;
  background: #edf5f2;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(245, 248, 246, 0.99) 0%, rgba(245, 248, 246, 0.91) 31%, rgba(245, 248, 246, 0.55) 55%, rgba(245, 248, 246, 0.08) 100%),
    linear-gradient(180deg, rgba(245, 248, 246, 0.15), rgba(245, 248, 246, 0.8));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 690px;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 12.7ch;
  color: var(--ink-strong);
  font-size: clamp(3.1rem, 7vw, 5.4rem);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  color: var(--ink-strong);
  font-size: clamp(2rem, 4vw, 3.9rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  color: var(--ink-strong);
  font-size: 1.1rem;
  line-height: 1.25;
}

.hero-copy {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 19px;
  border: 1px solid transparent;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 850;
  line-height: 1.15;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button.primary {
  background: var(--coral);
  color: #32120c;
  box-shadow: 0 18px 40px rgba(255, 125, 97, 0.28);
}

.button.secondary {
  background: var(--petrol);
  color: #fff;
  box-shadow: 0 18px 40px rgba(7, 61, 74, 0.2);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--line);
  color: var(--ink);
}

.proof-strip {
  margin-top: -34px;
  padding: 0 var(--pad-x) 32px;
  position: relative;
  z-index: 5;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 820px;
  margin: 0;
}

.proof-grid div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 30px rgba(7, 49, 61, 0.08);
}

.proof-grid dt {
  font-weight: 900;
  color: var(--ink-strong);
}

.proof-grid dd {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  padding: clamp(70px, 10vw, 132px) var(--pad-x);
}

.section-inner {
  width: min(100%, var(--maxw));
  margin: 0 auto;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(280px, 0.96fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: center;
}

.section-copy p:not(.eyebrow),
.section-heading p:not(.eyebrow),
.demo-inner p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
}

.intro-band,
.trust-band {
  background: var(--paper);
}

.signal-list,
.trust-points {
  display: grid;
  gap: 12px;
}

.signal-list div,
.trust-points div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--mist);
}

.signal-list strong,
.trust-points strong {
  display: block;
  color: var(--ink-strong);
  font-size: 1rem;
}

.signal-list span,
.trust-points span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-heading p:not(.eyebrow) {
  max-width: 760px;
  margin-top: 16px;
}

.journey-grid,
.area-grid,
.example-grid {
  display: grid;
  gap: 16px;
}

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

.journey-step,
.area-card,
.example-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 12px 34px rgba(7, 49, 61, 0.07);
}

.journey-step {
  min-height: 260px;
  padding: 22px;
}

.journey-step span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
  border-radius: 8px;
  background: var(--petrol);
  color: #fff;
  font-weight: 900;
}

.journey-step p,
.area-card p,
.example-panel p {
  color: var(--muted);
}

.modules-band,
.value-band {
  background: #eef6f2;
}

.features-band,
.target-band,
.portfolio-band {
  background: var(--paper);
}

.modules-grid,
.portfolio-grid,
.value-grid {
  display: grid;
  gap: 16px;
}

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

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

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

.module-card,
.portfolio-card,
.value-item {
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 12px 34px rgba(7, 49, 61, 0.07);
}

.module-card span {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border-radius: 8px;
  background: var(--petrol);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 900;
}

.module-card p,
.portfolio-card p,
.value-item span,
.integration-list span {
  color: var(--muted);
}

.portfolio-card {
  background: #f8fbfa;
}

.portfolio-card h3,
.module-card h3 {
  margin-bottom: 10px;
}

.value-item strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink-strong);
}

.product-band {
  background: linear-gradient(135deg, #073d4a 0%, #0d5c61 55%, #dff0e7 55%, #dff0e7 100%);
  color: #fff;
}

.product-band .section-copy h2,
.product-band .section-copy p,
.product-band .eyebrow {
  color: #fff;
}

.product-band .section-copy p,
.product-band .check-list {
  color: rgba(255, 255, 255, 0.86);
}

.product-split {
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.08fr);
}

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

.integration-list div {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 42px rgba(7, 49, 61, 0.12);
}

.integration-list strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ink-strong);
}

.mockup {
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.mockup-top {
  display: flex;
  gap: 6px;
  padding: 14px;
  background: #0a3340;
}

.mockup-top span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #9edfc6;
}

.mockup-body {
  display: grid;
  gap: 18px;
  padding: 22px;
  color: var(--ink);
}

.mockup-note,
.mockup-report {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfa;
}

.mockup-note p,
.mockup-report p {
  margin: 0 0 8px;
  color: var(--teal);
  font-weight: 900;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mockup-note strong {
  font-size: 1.05rem;
}

.mockup-arrow {
  justify-self: center;
  color: var(--coral);
  font-size: 2.2rem;
  line-height: 1;
}

.mockup-report span {
  display: block;
  height: 11px;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0f6f68, #cfe8df);
}

.mockup-report span.short {
  width: 62%;
}

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

.check-list li {
  position: relative;
  padding-left: 30px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.43em;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: var(--green);
  box-shadow: inset 0 0 0 4px rgba(7, 61, 74, 0.18);
}

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

.example-panel {
  padding: clamp(22px, 4vw, 34px);
}

.example-panel.output {
  background: #073d4a;
  color: #fff;
}

.example-panel.output h3,
.example-panel.output p {
  color: #fff;
}

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

.area-card {
  padding: 22px;
}

.demo {
  background: var(--petrol);
  color: #fff;
}

.demo-inner {
  max-width: 900px;
}

.demo h2,
.demo p,
.demo .eyebrow {
  color: #fff;
}

.demo p {
  max-width: 780px;
}

.owner-line {
  margin-top: 20px;
  font-size: 0.94rem !important;
  opacity: 0.78;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px var(--pad-x);
  color: var(--muted);
  background: #f0f5f2;
  border-top: 1px solid var(--line);
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer strong {
  color: var(--ink-strong);
}

.site-footer nav {
  display: flex;
  gap: 18px;
}

.site-footer a {
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
}

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

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

.legal-main {
  padding: calc(var(--header-h) + 54px) var(--pad-x) 82px;
}

.legal-content {
  width: min(100%, 860px);
  margin: 0 auto;
  padding: clamp(22px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.legal-content h1 {
  max-width: none;
  font-size: clamp(2.4rem, 6vw, 4rem);
}

.legal-content h2 {
  margin-top: 34px;
  font-size: 1.45rem;
}

.legal-content h3 {
  margin-top: 26px;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
}

.legal-note {
  padding: 14px;
  border-radius: 8px;
  background: var(--mist);
}

@media (max-width: 980px) {
  .journey-grid,
  .area-grid,
  .modules-grid,
  .portfolio-grid,
  .value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split,
  .product-split {
    grid-template-columns: 1fr;
  }

  .product-band {
    background: var(--petrol);
  }
}

@media (max-width: 920px) {
  :root {
    --header-h: 66px;
  }

  .site-header {
    height: var(--header-h);
  }

  .brand span {
    font-size: 0.98rem;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 12px auto 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 13px 12px;
  }

  .language-switch {
    justify-content: center;
    margin-top: 8px;
  }

  .language-switch a {
    padding: 9px 11px;
  }

  .nav-cta {
    margin-top: 4px;
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-h) + 42px);
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(245, 248, 246, 0.98) 0%, rgba(245, 248, 246, 0.9) 56%, rgba(245, 248, 246, 0.72) 100%),
      rgba(245, 248, 246, 0.35);
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.7rem, 11.6vw, 4rem);
  }

  .proof-grid,
  .example-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .journey-grid,
  .area-grid,
  .modules-grid,
  .portfolio-grid,
  .value-grid {
    grid-template-columns: 1fr;
  }

  .journey-step {
    min-height: 0;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

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