:root {
  --color-primary: #015f5d;
  --color-primary-strong: #014846;
  --color-accent: #f55839;
  --color-accent-strong: #db4528;
  --color-ink: #30292f;
  --color-support: #00bf63;
  --color-surface: #f4efe8;
  --color-surface-alt: #fcfaf7;
  --color-line: rgba(48, 41, 47, 0.12);
  --color-white: #ffffff;
  --shadow-soft: 0 24px 60px rgba(32, 26, 31, 0.08);
  --shadow-strong: 0 30px 80px rgba(16, 12, 16, 0.22);
  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 34px;
  --container: min(1180px, calc(100vw - 2.4rem));
  --font-body: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-brand: "Cosmic Octo Brochure", "Barlow Condensed", "Arial Narrow", sans-serif;
}

@font-face {
  font-family: "Gabriel Sans Condensed Brochure";
  src: url("../assets/fonts/gabriel-sans-cond-bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Cosmic Octo Brochure";
  src: url("../assets/fonts/cosmic-octo-brochure.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background:
    radial-gradient(circle at top left, rgba(1, 95, 93, 0.08), transparent 22%),
    linear-gradient(180deg, #f6f3ee 0%, #ffffff 38%, #f3efe9 100%);
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

body.subpage .site-header {
  background: rgba(246, 243, 238, 0.84);
  box-shadow: 0 10px 30px rgba(33, 26, 31, 0.06);
  backdrop-filter: blur(18px);
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

textarea {
  resize: vertical;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section-shell {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
}

.skip-link {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--color-accent);
  color: var(--color-white);
  transform: translateY(-220%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 1.7rem;
  height: 2px;
  background: currentColor;
}

.eyebrow-light {
  color: rgba(255, 255, 255, 0.84);
}

.section-heading {
  margin-bottom: clamp(2.2rem, 4vw, 3.4rem);
}

.heading-grid {
  display: grid;
  gap: 1.2rem;
  align-items: start;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}

.section-heading h2,
.about-copy h2,
.quote-copy h2,
.final-cta h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 3.8rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.section-heading p:last-child,
.about-copy p,
.quote-copy p,
.footer-copy {
  margin: 0;
  font-size: 1.05rem;
  color: rgba(48, 41, 47, 0.78);
}

.section-heading-light h2,
.section-heading-light p:last-child {
  color: var(--color-white);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 3.2rem;
  padding: 0.9rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

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

.button:focus-visible,
.link-arrow:focus-visible,
.contact-card:focus-visible,
.site-nav a:focus-visible,
.footer-nav a:focus-visible,
.footer-meta a:focus-visible,
.quote-contact-strip a:focus-visible,
.brand:focus-visible {
  outline: 3px solid rgba(245, 88, 57, 0.25);
  outline-offset: 4px;
}

.button-primary {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 14px 30px rgba(1, 95, 93, 0.18);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--color-primary-strong);
}

.button-accent {
  background: var(--color-accent);
  color: var(--color-white);
  box-shadow: 0 14px 30px rgba(245, 88, 57, 0.24);
}

.button-accent:hover,
.button-accent:focus-visible {
  background: var(--color-accent-strong);
}

.button-ghost {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.24);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.08);
}

.button-secondary {
  background: transparent;
  color: var(--color-ink);
  border-color: rgba(48, 41, 47, 0.15);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(48, 41, 47, 0.28);
  background: rgba(48, 41, 47, 0.04);
}

.button-small {
  min-height: 2.8rem;
  padding-inline: 1.05rem;
}

.button-full {
  width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 1rem 0;
  transition:
    background-color 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    backdrop-filter 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(246, 243, 238, 0.84);
  box-shadow: 0 10px 30px rgba(33, 26, 31, 0.06);
  backdrop-filter: blur(18px);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.brand-text {
  display: block;
}

.brand-logo,
.footer-brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  height: auto;
  padding: 0;
  object-fit: contain;
}

.brand-logo-mark,
.footer-brand-logo-mark {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--color-primary);
  -webkit-mask: url("../assets/logo-onboard-original.png") center / contain no-repeat;
  mask: url("../assets/logo-onboard-original.png") center / contain no-repeat;
}

.brand-logo {
  width: 2.75rem;
  aspect-ratio: 396 / 352;
}

.brand-mark {
  font-family: var(--font-brand);
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.site-nav a {
  font-weight: 600;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.2rem;
  border: 1px solid rgba(48, 41, 47, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  min-height: 2rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lang-switch a.is-active {
  background: var(--color-primary);
  color: var(--color-white);
}

.site-nav a[aria-current="page"],
.footer-nav a[aria-current="page"] {
  color: var(--color-primary);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.28rem;
  width: 2.9rem;
  height: 2.9rem;
  padding: 0;
  border: 1px solid rgba(48, 41, 47, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
}

.nav-toggle span {
  width: 1.1rem;
  height: 2px;
  background: var(--color-ink);
  border-radius: 999px;
}

.hero-section {
  position: relative;
  overflow: hidden;
  --hero-cursor-x: 76%;
  --hero-cursor-y: 18%;
  padding: clamp(3.8rem, 7vw, 5.6rem) 0 clamp(5.4rem, 9vw, 7rem);
  background: linear-gradient(135deg, #015f5d 0%, #0b5654 52%, #2e282e 100%);
  color: var(--color-white);
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle 28rem at var(--hero-cursor-x) var(--hero-cursor-y), rgba(255, 255, 255, 0.18), transparent 44%),
    radial-gradient(circle 16rem at 14% 20%, rgba(245, 88, 57, 0.1), transparent 60%);
  pointer-events: none;
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 45%, rgba(255, 255, 255, 0.03));
  pointer-events: none;
}

.hero-grid,
.about-grid,
.quote-grid {
  display: grid;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
}

.hero-highlight {
  color: #f9e7de;
}

.hero-lead {
  max-width: 42rem;
  margin: 1.4rem 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  padding: 0;
  margin: 1.9rem 0 0;
  list-style: none;
}

.hero-pills li {
  padding: 0.7rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  color: rgba(255, 255, 255, 0.86);
}

.hero-facts {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2rem;
}

.fact-card {
  padding: 1.1rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
}

.fact-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  letter-spacing: 0.04em;
}

.fact-card span {
  display: block;
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.74);
}

.hero-visual {
  display: flex;
  align-items: stretch;
  min-height: 34rem;
}

.hero-motion-panel {
  position: relative;
  width: 100%;
  margin-inline: auto 0;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 2rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.08));
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-strong);
  --cursor-x: 54%;
  --cursor-y: 32%;
}

.hero-motion-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 18rem at var(--cursor-x) var(--cursor-y), rgba(255, 255, 255, 0.2), transparent 45%);
  pointer-events: none;
}

.hero-motion-header,
.hero-graph-meta,
.hero-progress-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.hero-motion-kicker,
.contact-label,
.demo-tag,
.service-tag {
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-motion-kicker {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.hero-motion-header strong {
  display: block;
  max-width: 30rem;
  margin-top: 0.4rem;
  color: var(--color-white);
  font-size: 1.55rem;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.hero-motion-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-graph-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.2rem;
}

.hero-graph-card {
  position: relative;
  display: grid;
  gap: 0.95rem;
  padding: 1.2rem;
  border: 1px solid rgba(48, 41, 47, 0.08);
  border-radius: 1.55rem;
  background: var(--color-white);
  box-shadow: 0 18px 42px rgba(19, 13, 19, 0.08);
  overflow: hidden;
  color: var(--color-primary);
  transform:
    perspective(1200px)
    rotateX(var(--card-rotate-x, 0deg))
    rotateY(var(--card-rotate-y, 0deg))
    translateY(var(--card-shift, 0px));
  transform-style: preserve-3d;
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    border-color 0.24s ease;
}

.hero-graph-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 11rem at var(--card-pointer-x, 50%) var(--card-pointer-y, 50%), rgba(1, 95, 93, 0.08), transparent 55%);
  opacity: 0;
  transition: opacity 0.24s ease;
}

.hero-graph-card > * {
  position: relative;
  z-index: 1;
}

.hero-graph-card.is-active {
  --card-shift: -4px;
  border-color: rgba(1, 95, 93, 0.18);
  box-shadow: 0 24px 52px rgba(19, 13, 19, 0.12);
}

.hero-graph-card.is-active::before {
  opacity: 1;
}

.hero-graph-heading {
  display: grid;
  gap: 0.35rem;
}

.hero-graph-heading span {
  display: block;
  color: rgba(1, 95, 93, 0.72);
  font-size: 0.88rem;
}

.hero-graph-heading strong,
.hero-progress-top strong {
  display: block;
  color: var(--color-primary);
  font-size: 1.35rem;
  line-height: 1.1;
}

.hero-graph-meta {
  color: rgba(1, 95, 93, 0.82);
  font-size: 0.92rem;
  font-weight: 600;
}

.hero-bars {
  display: grid;
  align-items: end;
  gap: 0.75rem;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  min-height: 11.25rem;
  padding-top: 1rem;
}

.hero-bar {
  display: block;
  height: var(--bar-base);
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, rgba(245, 88, 57, 0.96), rgba(245, 88, 57, 0.72));
  transition:
    height 0.34s ease,
    transform 0.34s ease,
    opacity 0.34s ease;
  opacity: 0.92;
}

.hero-bar:nth-child(2) {
  transition-delay: 0.02s;
}

.hero-bar:nth-child(3) {
  transition-delay: 0.04s;
}

.hero-bar:nth-child(4) {
  transition-delay: 0.06s;
}

.hero-bar:nth-child(5) {
  transition-delay: 0.08s;
}

.hero-bar:nth-child(6) {
  transition-delay: 0.1s;
}

.hero-graph-card-bars.is-active .hero-bar {
  height: var(--bar-hover);
  transform: translateY(-4px);
  opacity: 1;
}

.hero-line-chart {
  width: 100%;
  height: auto;
  border-radius: 1.15rem;
  background:
    linear-gradient(rgba(48, 41, 47, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(48, 41, 47, 0.06) 1px, transparent 1px);
  background-size: 100% 3.1rem, 3.5rem 100%;
}

.hero-line-area {
  fill: rgba(1, 95, 93, 0.1);
  opacity: 0.72;
  transition: opacity 0.34s ease, transform 0.34s ease;
}

.hero-line-path {
  fill: none;
  stroke: var(--color-primary);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 420;
  stroke-dashoffset: 38;
  transition: stroke-dashoffset 0.42s ease, transform 0.42s ease;
}

.hero-line-dot {
  fill: var(--color-accent);
  transform-origin: center;
  transition: transform 0.32s ease;
}

.hero-graph-card-line.is-active .hero-line-area {
  opacity: 1;
  transform: translateY(-4px);
}

.hero-graph-card-line.is-active .hero-line-path {
  stroke-dashoffset: 0;
  transform: translateY(-4px);
}

.hero-graph-card-line.is-active .hero-line-dot {
  transform: scale(1.15);
}

.hero-radials {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.hero-radial-stat {
  display: grid;
  gap: 0.7rem;
  justify-items: center;
}

.hero-radial {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 9.5rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(var(--ring-color) 0 var(--progress-base), rgba(48, 41, 47, 0.08) 0 100%);
  transition:
    transform 0.34s ease,
    box-shadow 0.34s ease,
    background 0.34s ease;
}

.hero-radial::before {
  content: "";
  position: absolute;
  inset: 16%;
  border-radius: 50%;
  background: var(--color-white);
}

.hero-radial span,
.hero-radial span {
  position: relative;
  z-index: 1;
  text-align: center;
  display: block;
  color: var(--color-primary);
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
}

.hero-radial-caption {
  display: block;
  color: rgba(1, 95, 93, 0.82);
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
}

.hero-graph-card-radial.is-active .hero-radial {
  transform: translateY(-4px) rotate(-5deg);
  box-shadow: 0 16px 30px rgba(19, 13, 19, 0.12);
  background: conic-gradient(var(--ring-color) 0 var(--progress-hover), rgba(48, 41, 47, 0.08) 0 100%);
}

.hero-progress-list {
  display: grid;
  gap: 0.95rem;
}

.hero-progress-row {
  display: grid;
  gap: 0.42rem;
}

.hero-progress-top {
  color: rgba(1, 95, 93, 0.82);
  font-size: 0.92rem;
}

.hero-progress-track {
  position: relative;
  height: 0.72rem;
  border-radius: 999px;
  background: rgba(48, 41, 47, 0.08);
  overflow: hidden;
}

.hero-progress-fill {
  display: block;
  height: 100%;
  width: var(--fill-base);
  border-radius: 999px;
  background: var(--color-primary);
  transition: width 0.34s ease, transform 0.34s ease;
}

.hero-progress-row:nth-child(2) .hero-progress-fill {
  background: rgba(1, 95, 93, 0.78);
}

.hero-progress-row:nth-child(3) .hero-progress-fill {
  background: var(--color-accent);
}

.hero-graph-card-progress.is-active .hero-progress-fill {
  width: var(--fill-hover);
  transform: translateX(2px);
}

.hero-graph-note {
  margin: 0;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(48, 41, 47, 0.08);
  color: rgba(1, 95, 93, 0.82);
  font-weight: 600;
}

.value-section {
  position: relative;
  margin-top: -3.6rem;
  z-index: 2;
}

.value-grid,
.services-grid,
.contact-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.value-card,
.service-card,
.process-card,
.about-card,
.demo-card,
.contact-card,
.process-summary,
.quote-form-card,
.faq-list details {
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

.value-card {
  padding: 1.5rem;
}

.value-index,
.about-card-index {
  margin: 0;
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.value-card h2,
.service-card h3,
.process-card h3,
.demo-card h3,
.about-card h3 {
  margin: 0.55rem 0 0.6rem;
  font-size: 1.25rem;
  line-height: 1.1;
}

.value-card p:last-child,
.service-card p,
.process-card p,
.demo-card p,
.about-card p {
  margin: 0;
  color: rgba(48, 41, 47, 0.74);
}

.services-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0));
}

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

.service-card {
  display: grid;
  gap: 1rem;
  padding: 1.55rem;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(1, 95, 93, 0.18);
  box-shadow: 0 30px 60px rgba(22, 18, 22, 0.11);
}

.service-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.service-tag {
  color: var(--color-primary);
  font-size: 0.92rem;
  font-weight: 700;
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 50%;
  background: rgba(245, 88, 57, 0.12);
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.service-list,
.quote-points {
  padding: 0;
  margin: 0;
  list-style: none;
}

.service-list li,
.quote-points li {
  position: relative;
  padding-left: 1.1rem;
}

.service-list li + li,
.quote-points li + li {
  margin-top: 0.42rem;
}

.service-list li::before,
.quote-points li::before {
  content: "";
  position: absolute;
  top: 0.6rem;
  left: 0;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--color-accent);
}

.service-example {
  padding-top: 1rem;
  border-top: 1px solid rgba(48, 41, 47, 0.08);
  font-size: 0.97rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  color: var(--color-primary);
  font-weight: 700;
}

.link-arrow::after {
  content: "→";
  transition: transform 0.18s ease;
}

.link-arrow:hover::after,
.link-arrow:focus-visible::after {
  transform: translateX(3px);
}

.process-grid {
  position: relative;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.process-grid::before {
  display: none;
}

.process-card {
  position: relative;
  z-index: 1;
  padding: 1.55rem 1.65rem;
  min-height: 100%;
}

.process-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--color-accent), #d8472b);
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.process-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.process-heading span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-width: max-content;
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  background: rgba(1, 95, 93, 0.08);
  color: var(--color-primary);
  font-weight: 700;
  white-space: nowrap;
}

.process-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.2rem;
  padding: 1.25rem 1.4rem;
}

.process-summary strong {
  font-size: 1.05rem;
}

.process-summary p {
  margin: 0;
  max-width: 34rem;
  color: rgba(48, 41, 47, 0.74);
}

.demos-section {
  background:
    radial-gradient(circle at 85% 18%, rgba(245, 88, 57, 0.22), transparent 18%),
    linear-gradient(135deg, #30292f 0%, #211b20 100%);
}

.demo-carousel {
  display: grid;
  gap: 1.25rem;
}

.demo-carousel-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.demo-carousel-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
}

.demo-carousel-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.demo-carousel-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
  font-size: 1.2rem;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.demo-carousel-button:hover,
.demo-carousel-button:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.24);
}

.demo-carousel-viewport {
  overflow: hidden;
}

.demo-carousel-track {
  display: flex;
  transition: transform 0.45s ease;
  will-change: transform;
}

.demo-slide {
  flex: 0 0 100%;
  min-width: 100%;
  opacity: 0.65;
  transition: opacity 0.25s ease;
}

.demo-slide.is-active {
  opacity: 1;
}

.downloads-section {
  background:
    radial-gradient(circle at top left, rgba(1, 95, 93, 0.08), transparent 18%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(244, 239, 232, 0.85));
}

.library-page-main {
  padding-top: 1.2rem;
}

.library-page-hero {
  min-height: calc(100vh - 6rem);
  padding-top: clamp(2rem, 4vw, 3.2rem);
}

.library-hero-card {
  display: grid;
  gap: 1.6rem;
  margin-bottom: 2rem;
  padding: clamp(1.6rem, 3vw, 2.3rem);
  border: 1px solid rgba(1, 95, 93, 0.12);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top right, rgba(245, 88, 57, 0.14), transparent 20%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(244, 239, 232, 0.92));
  box-shadow: var(--shadow-soft);
}

.library-hero-card h1 {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4.9rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.library-hero-copy {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.library-hero-copy p {
  margin: 0;
  font-size: 1.05rem;
  color: rgba(48, 41, 47, 0.78);
}

.library-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
  color: var(--color-primary);
  font-weight: 700;
}

.back-link::before {
  content: "←";
}

.back-link:hover,
.back-link:focus-visible {
  color: var(--color-primary-strong);
}

.downloads-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.download-card {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.download-card:hover {
  transform: translateY(-6px);
  border-color: rgba(1, 95, 93, 0.18);
  box-shadow: 0 30px 60px rgba(22, 18, 22, 0.11);
}

.download-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.file-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.4rem;
  padding: 0.42rem 0.75rem;
  border-radius: 999px;
  background: rgba(1, 95, 93, 0.1);
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.download-label {
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.download-card h2,
.download-card h3 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.1;
}

.download-card p {
  margin: 0;
  color: rgba(48, 41, 47, 0.74);
}

.download-meta {
  padding: 0;
  margin: 0;
  list-style: none;
}

.download-meta li {
  position: relative;
  padding-left: 1.1rem;
}

.download-meta li + li {
  margin-top: 0.4rem;
}

.download-meta li::before {
  content: "";
  position: absolute;
  top: 0.62rem;
  left: 0;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--color-accent);
}

.download-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.1rem;
  margin-top: auto;
  padding: 0.9rem 1.15rem;
  border-radius: 999px;
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: 700;
  box-shadow: 0 14px 30px rgba(1, 95, 93, 0.18);
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.download-link::after {
  content: "↓";
  font-size: 1rem;
}

.download-link:hover,
.download-link:focus-visible {
  transform: translateY(-2px);
  background: var(--color-primary-strong);
}

.download-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.2rem;
  padding: 1.25rem 1.4rem;
  border: 1px solid rgba(48, 41, 47, 0.08);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-soft);
}

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

.download-note p {
  margin: 0;
  max-width: 36rem;
  color: rgba(48, 41, 47, 0.74);
}

.download-note code {
  padding: 0.1rem 0.35rem;
  border-radius: 0.45rem;
  background: rgba(48, 41, 47, 0.08);
  font-size: 0.95em;
}

.demo-card {
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-white);
}

.demo-card-large {
  min-height: 100%;
}

.demo-copy {
  padding: 1.3rem 1.35rem 1.45rem;
}

.demo-copy-large {
  padding: 1.45rem 1.55rem 1.65rem;
}

.demo-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.demo-tag {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  font-weight: 700;
}

.demo-media {
  padding: 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.demo-media-large {
  padding: 1.35rem;
}

.demo-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 1.55rem;
  background: var(--color-primary);
  object-fit: cover;
}

.demo-screen {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 15rem;
  padding: 1rem;
  border-radius: 1.4rem;
  background:
    radial-gradient(circle at top right, rgba(245, 88, 57, 0.24), transparent 28%),
    linear-gradient(145deg, rgba(1, 95, 93, 0.95), rgba(1, 72, 70, 0.95));
}

.demo-screen-large {
  min-height: clamp(18rem, 40vw, 32rem);
  border-radius: 1.55rem;
}

.demo-screen-accent {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.16), transparent 30%),
    linear-gradient(145deg, #f55839, #b63d27);
}

.demo-screen-dark {
  background:
    radial-gradient(circle at top right, rgba(245, 88, 57, 0.2), transparent 25%),
    linear-gradient(145deg, #3b333a, #161114);
}

.play-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-bottom: auto;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.88);
  font-weight: 700;
}

.screen-lines {
  display: grid;
  gap: 0.75rem;
}

.screen-lines span {
  display: block;
  height: 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
}

.screen-lines span:nth-child(1) {
  width: 90%;
}

.screen-lines span:nth-child(2) {
  width: 68%;
}

.screen-lines span:nth-child(3) {
  width: 82%;
}

.demo-carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
}

.demo-dot {
  width: 0.9rem;
  height: 0.9rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    width 0.2s ease;
}

.demo-dot.is-active {
  width: 2.2rem;
  background: var(--color-accent);
}

.demo-dot:focus-visible,
.demo-carousel-button:focus-visible {
  outline: 3px solid rgba(245, 88, 57, 0.25);
  outline-offset: 4px;
}

.about-panel {
  display: grid;
  gap: 1rem;
}

.about-quote {
  margin: 1.4rem 0 0;
  padding: 1rem 1.15rem;
  border-left: 4px solid var(--color-accent);
  border-radius: 0 1rem 1rem 0;
  background: rgba(245, 88, 57, 0.06);
  font-size: 1.05rem;
  font-weight: 600;
}

.about-card {
  padding: 1.4rem;
}

.faq-section {
  background: linear-gradient(180deg, rgba(1, 95, 93, 0.05), rgba(255, 255, 255, 0));
}

.faq-list {
  display: grid;
  gap: 0.9rem;
}

.faq-list details {
  padding: 0;
}

.faq-list summary {
  cursor: pointer;
  padding: 1.2rem 1.35rem;
  list-style: none;
  font-weight: 700;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--color-accent);
  font-size: 1.4rem;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin: 0;
  padding: 0 1.35rem 1.25rem;
  color: rgba(48, 41, 47, 0.74);
}

.quote-section {
  color: var(--color-white);
  background:
    radial-gradient(circle at 14% 18%, rgba(245, 88, 57, 0.24), transparent 18%),
    linear-gradient(145deg, #015f5d 0%, #014846 52%, #30292f 100%);
}

.quote-copy p,
.quote-copy li,
.quote-contact-strip a {
  color: rgba(255, 255, 255, 0.8);
}

.quote-points {
  margin-top: 1.4rem;
}

.quote-contact-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.2rem;
  margin-top: 1.5rem;
}

.quote-contact-strip a {
  font-weight: 700;
}

.quote-form-card {
  padding: 1.35rem;
  color: var(--color-ink);
  background: rgba(255, 255, 255, 0.96);
}

.quote-form {
  display: grid;
  gap: 1rem;
}

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

.form-grid label {
  display: grid;
  gap: 0.45rem;
}

.form-grid span {
  font-weight: 700;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  min-height: 3.3rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(48, 41, 47, 0.12);
  border-radius: 1rem;
  background: var(--color-surface-alt);
  color: var(--color-ink);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.form-grid textarea {
  min-height: 7rem;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  outline: none;
  border-color: rgba(245, 88, 57, 0.5);
  box-shadow: 0 0 0 5px rgba(245, 88, 57, 0.12);
  background: var(--color-white);
}

.form-span-2 {
  grid-column: 1 / -1;
}

.form-note {
  margin: 0;
  color: rgba(48, 41, 47, 0.66);
  font-size: 0.95rem;
}

.form-status {
  margin: 0.85rem 0 0;
  min-height: 1.5rem;
  font-weight: 600;
}

.form-status.is-success {
  color: #0d8f51;
}

.form-status.is-error {
  color: #b9361d;
}

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

.contact-card {
  padding: 1.45rem;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.contact-card:hover {
  transform: translateY(-6px);
  border-color: rgba(1, 95, 93, 0.2);
  box-shadow: 0 30px 60px rgba(22, 18, 22, 0.1);
}

.contact-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: rgba(1, 95, 93, 0.08);
  color: var(--color-primary);
}

.contact-icon svg {
  width: 1.2rem;
  height: 1.2rem;
}

.contact-label {
  color: var(--color-primary);
  font-size: 0.92rem;
  font-weight: 700;
}

.contact-card strong {
  display: block;
  margin-top: 0.35rem;
  font-size: 1.18rem;
}

.contact-card span:last-child {
  display: block;
  margin-top: 0.35rem;
  color: rgba(48, 41, 47, 0.68);
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  margin-top: 1.4rem;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(1, 95, 93, 0.09), rgba(245, 88, 57, 0.1));
}

.final-cta p {
  margin-top: 0;
}

.final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.site-footer {
  padding: 2.3rem 0 2.7rem;
  color: rgba(255, 255, 255, 0.74);
  background: #1b161a;
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
  align-items: start;
  grid-template-columns: 1.3fr 0.8fr 0.9fr;
}

.footer-brand {
  margin: 0;
  color: var(--color-accent);
  font-family: var(--font-brand);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: 0.09em;
}

.footer-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.footer-brand-logo {
  width: 2.6rem;
  aspect-ratio: 396 / 352;
}

.footer-brand-logo-mark {
  background: var(--color-white);
}

.footer-copy {
  margin-top: 0.6rem;
  color: rgba(255, 255, 255, 0.68);
}

.footer-nav,
.footer-meta {
  display: grid;
  gap: 0.55rem;
}

.footer-nav a,
.footer-meta a {
  width: fit-content;
}

.footer-meta p {
  margin: 0.4rem 0 0;
}

.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;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}

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

@media (max-width: 1040px) {
  .heading-grid,
  .hero-grid,
  .about-grid,
  .quote-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: auto;
  }

  .hero-motion-panel {
    margin-inline: 0;
  }

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

  .process-grid::before {
    display: none;
  }

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

@media (max-width: 920px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.8rem);
    left: 1.2rem;
    right: 1.2rem;
    display: grid;
    gap: 0.8rem;
    padding: 1rem;
    border: 1px solid rgba(48, 41, 47, 0.12);
    border-radius: 1.4rem;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 26px 50px rgba(26, 20, 25, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition:
      opacity 0.2s ease,
      visibility 0.2s ease,
      transform 0.2s ease;
  }

  .site-nav .lang-switch {
    width: fit-content;
  }

  body.nav-open .site-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav .button {
    width: 100%;
  }

  .hero-copy h1 {
    font-size: clamp(2.8rem, 10vw, 4.6rem);
  }

  .demo-carousel-topbar {
    flex-direction: column;
    align-items: stretch;
  }

  .demo-carousel-controls {
    justify-content: flex-end;
  }

  .services-grid,
  .value-grid,
  .process-grid,
  .downloads-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .process-summary,
  .download-note,
  .final-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-facts,
  .hero-graph-grid {
    grid-template-columns: 1fr;
  }

  .hero-motion-panel {
    padding: 1.35rem;
  }

  .hero-motion-header,
  .hero-graph-meta,
  .hero-progress-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-span-2 {
    grid-column: auto;
  }
}

@media (max-width: 820px) {
  .hero-section::before {
    display: none;
  }

  .hero-section::after {
    display: none;
  }

  .hero-visual,
  .hero-motion-panel {
    display: none !important;
  }

  .value-section {
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  .section-shell {
    padding: 4.2rem 0;
  }

  .hero-section {
    padding-top: 3.2rem;
  }

  .header-bar {
    gap: 0.7rem;
  }

  .brand-logo {
    width: 2.4rem;
  }

  .brand-mark {
    font-size: 1.45rem;
  }

  .button {
    width: 100%;
  }

  .hero-actions,
  .final-cta-actions,
  .library-actions {
    flex-direction: column;
  }

  .demo-carousel-controls {
    width: 100%;
    justify-content: space-between;
  }

  .hero-pills {
    flex-direction: column;
  }

  .hero-motion-panel,
  .value-card,
  .service-card,
  .download-card,
  .about-card,
  .quote-form-card,
  .contact-card {
    border-radius: 1.35rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
