:root {
  --bg: #070b0e;
  --bg-soft: #0d1317;
  --ink: #101417;
  --card: rgba(18, 24, 28, 0.86);
  --card-strong: rgba(10, 15, 18, 0.92);
  --line: rgba(255, 255, 255, 0.14);
  --line-dark: rgba(16, 20, 23, 0.12);
  --text: #f6f7f8;
  --muted: #c7ced3;
  --muted-2: #909aa2;
  --yellow: #ffc400;
  --yellow-2: #ffd84f;
  --cream: #f4f2ec;
  --shadow: rgba(0, 0, 0, 0.34);
  --max: 1200px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: clip;
}
body {
  margin: 0;
  color: var(--text);
  background: linear-gradient(180deg, #070b0e 0%, #0b1013 46%, #070b0e 100%);
  line-height: 1.55;
  overflow-x: clip;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.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;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 11, 14, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  min-height: 80px;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
  justify-content: space-between;
}
.nav.nav-collapsed {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.logo,
.footer-logo {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
}
.logo img {
  width: 260px;
  height: auto;
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: flex-end;
  font-weight: 700;
  font-size: 15px;
  flex-wrap: nowrap;
}
.nav-links a {
  text-decoration: none;
  color: #f5f5f5;
  opacity: 0.92;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  border-color: var(--yellow);
}
.nav-links .btn {
  padding: 10px 18px;
  min-height: 48px;
  border: 1px solid var(--yellow);
  border-bottom: 1px solid var(--yellow);
}
.nav-toggle {
  display: none;
  position: relative;
  width: 46px;
  height: 44px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span:not(.sr-only) {
  position: absolute;
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}
.nav-toggle span:nth-child(1) {
  transform: translateY(-7px);
}
.nav-toggle span:nth-child(3) {
  transform: translateY(7px);
}
.nav-toggle.is-open span:nth-child(1) {
  transform: rotate(45deg);
}
.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-open span:nth-child(3) {
  transform: rotate(-45deg);
}
.nav.nav-collapsed .nav-toggle {
  display: inline-flex;
  justify-self: end;
}
.nav.nav-collapsed .nav-links {
  grid-column: 1 / -1;
  display: none;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
  padding: 12px 0 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.nav.nav-collapsed .nav-links.is-open {
  display: flex;
}
.nav.nav-collapsed .nav-links a:not(.btn) {
  min-height: 44px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav.nav-collapsed .nav-links a.active {
  border-color: rgba(255, 196, 0, 0.54);
}
.nav.nav-collapsed .nav-links .btn {
  width: 100%;
  margin-top: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 24px;
  border-radius: 8px;
  font-weight: 850;
  text-decoration: none;
  border: 1px solid var(--yellow);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(180deg, var(--yellow-2), var(--yellow));
  color: #090d10;
  box-shadow: 0 12px 32px rgba(255, 196, 0, 0.2);
}
.btn-secondary {
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.06); }
.btn-account {
  background: rgba(0, 0, 0, 0.28);
  border-color: var(--yellow);
  border-bottom-color: var(--yellow);
  color: #fff;
  box-shadow: none;
}
.btn-account:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--yellow);
}
.btn:focus-visible,
.nav a:focus-visible,
.footer a:focus-visible,
.text-link:focus-visible,
.form-status a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--yellow-2);
  outline-offset: 3px;
}
.form-status:focus {
  outline: none;
}

.hero {
  min-height: 720px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #070b0e;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(7, 11, 14, 0.99) 0%, rgba(7, 11, 14, 0.92) 34%, rgba(7, 11, 14, 0.46) 62%, rgba(7, 11, 14, 0.18) 100%),
    linear-gradient(180deg, rgba(7, 11, 14, 0.08) 0%, rgba(7, 11, 14, 0.08) 58%, rgba(7, 11, 14, 0.86) 100%);
}
.hero-image {
  position: absolute;
  inset: 0;
  background-image: url("assets/reference/hero.png");
  background-size: auto 104%;
  background-repeat: no-repeat;
  background-position: right center;
  opacity: 0.82;
  filter: saturate(0.96) contrast(1.03);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 12%, rgba(0, 0, 0, 0.34) 28%, #000 48%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, transparent 12%, rgba(0, 0, 0, 0.34) 28%, #000 48%, #000 100%);
}
.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 104px 24px 160px;
  position: relative;
  z-index: 2;
}
.hero-copy { max-width: 720px; }
.home-hero .hero-copy {
  max-width: 780px;
}
.home-hero .lead {
  max-width: 720px;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--yellow);
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
  font-size: 14px;
}
h1 {
  max-width: 720px;
  font-size: clamp(44px, 4.55vw, 62px);
  line-height: 1.02;
  margin: 0 0 24px;
  letter-spacing: 0;
}
h1 .accent,
.accent {
  color: var(--yellow);
  display: inline-block;
}
.lead {
  font-size: 21px;
  color: #edf0f2;
  margin: 0 0 34px;
  max-width: 590px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.cards {
  max-width: var(--max);
  margin: -64px auto 0;
  padding: 0 24px 58px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
  z-index: 3;
}
.situation-section {
  padding-top: 72px;
}
.situation-cards {
  max-width: none;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(3, 1fr);
}
.situation-cards .card {
  min-height: 144px;
}
.section-closing,
.section-lead {
  max-width: 820px;
  margin: 30px auto 0;
  color: var(--muted);
  font-size: 19px;
  text-align: center;
}
.home-service-highlights .step-number {
  align-self: start;
  margin: 0;
}
.home-service-highlights {
  margin-top: 0;
}
.card,
.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 20px 70px var(--shadow);
}
.card {
  padding: 22px;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  min-height: 154px;
}
.icon {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border: 2px solid var(--yellow);
  color: var(--yellow);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
}
.icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card h3,
.step h3,
.proof h3 {
  margin: 0 0 6px;
  font-size: 18px;
  line-height: 1.25;
}
.card p,
.step p,
.panel p {
  color: var(--muted);
  margin: 0;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 66px 24px;
}
.section-title {
  text-align: center;
  margin-bottom: 34px;
}
.section-title h2 {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.12;
  margin: 0 0 8px;
  letter-spacing: 0;
}
.section-title .underline {
  width: 84px;
  height: 3px;
  background: var(--yellow);
  margin: 12px auto 0;
}
.dark-eyebrow {
  color: #6a5200;
}
.position-section,
.integration-section,
.pricing-process {
  padding: 76px 24px;
}
.position-grid,
.integration-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 70px;
  align-items: start;
}
.position-grid h2,
.integration-grid h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.12;
}
.position-copy {
  font-size: 19px;
  color: #3e454a;
}
.position-copy p:first-child {
  margin-top: 0;
}
.position-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0 8px;
  padding: 0;
  list-style: none;
}
.position-benefits li {
  padding: 14px 14px 14px 16px;
  border-left: 3px solid var(--yellow);
  border-radius: 0 6px 6px 0;
  background: rgba(16, 20, 23, 0.055);
}
.position-benefits strong,
.position-benefits span {
  display: block;
}
.position-benefits strong {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.25;
}
.position-benefits span {
  margin-top: 5px;
  color: #4c555c;
  font-size: 14px;
  line-height: 1.4;
}
.text-link {
  display: inline-flex;
  gap: 8px;
  margin-top: 10px;
  color: #17130b;
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.dark-link {
  color: var(--text);
}

.light-section {
  background: var(--cream);
  color: var(--ink);
  padding: 72px 24px;
}
.light-section .section-title {
  max-width: var(--max);
  margin: 0 auto 34px;
}
.proof-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.proof {
  display: grid;
  grid-template-columns: 56px 1fr;
  column-gap: 18px;
  align-items: start;
}
.proof-mark {
  width: 50px;
  height: 50px;
  border: 2px solid var(--yellow);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #14110a;
  font-weight: 900;
  font-size: 25px;
  line-height: 1;
}
.proof p {
  grid-column: 2;
  margin: 0;
  color: #3e454a;
}

.process-section { padding-top: 72px; }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.step {
  position: relative;
  padding: 28px 20px 24px;
  background: rgba(16, 22, 26, 0.64);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.step-number {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--yellow);
  color: #0a0d10;
  font-weight: 900;
}
.section-link {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.cta-band {
  max-width: var(--max);
  margin: 0 auto 22px;
  padding: 0 24px;
}
.cta-inner {
  border: 1px solid rgba(255, 196, 0, 0.46);
  box-shadow: 0 0 30px rgba(255, 196, 0, 0.16);
  border-radius: 8px;
  padding: 26px 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--card-strong);
}
.cta-copy {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 25px;
  font-weight: 850;
  line-height: 1.22;
}

.footer {
  border-top: 1px solid rgba(16, 20, 23, 0.18);
  background: var(--yellow);
  color: var(--ink);
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 34px 24px 28px;
  display: grid;
  grid-template-columns: 1.7fr 1.2fr 1fr 1fr;
  gap: 54px;
}
.footer h3 {
  margin: 0 0 12px;
  font-size: 16px;
  color: var(--ink);
}
.footer p,
.footer a,
.footer li {
  color: var(--ink);
  text-decoration: none;
}
.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
}
.footer-logo img {
  width: 208px;
  height: auto;
}
.footer-logo {
  margin-bottom: 12px;
}
.footer-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-social-link {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
}
.footer-social-link:hover {
  background: var(--ink);
  color: var(--yellow);
}
.footer a.footer-social-link:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  background: #fff;
  color: var(--ink);
}
.footer-social-link svg {
  width: 22px;
  height: 22px;
  display: block;
  fill: currentColor;
}
.contact-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.contact-list .mark { color: #050708; }
.section .panel .contact-list .mark {
  color: var(--yellow);
  font-weight: 900;
}
.footer .contact-list li {
  align-items: center;
}
.footer .contact-list .mark {
  width: 24px;
  min-width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  color: #050708;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}
.footer .contact-list .logo-mark img {
  width: 24px;
  height: 24px;
  display: block;
  filter: brightness(0);
}
.legal {
  border-top: 1px solid rgba(16, 20, 23, 0.16);
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: rgba(16, 20, 23, 0.78);
  font-size: 14px;
}
.legal nav {
  display: flex;
  gap: 28px;
}

.page-hero {
  margin: 0;
  padding: 76px max(24px, calc((100vw - var(--max)) / 2 + 24px)) 76px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background-color: #05090c;
  background-image:
    linear-gradient(90deg, rgba(5, 9, 12, 0.22) 0%, rgba(5, 9, 12, 0.1) 48%, rgba(5, 9, 12, 0) 100%),
    url("assets/reference/hero_tausta.png");
  background-position: right top, right top;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: inset 0 -48px 64px rgba(0, 0, 0, 0.32);
}
.page-hero h1 { max-width: 850px; }

/* Miten palvelu toimii */
.service-hero {
  padding-bottom: 64px;
}
.service-hero-copy {
  max-width: var(--max);
  margin: 0 auto;
}
.service-hero h1 {
  max-width: 1050px;
}
.service-hero .lead {
  max-width: 920px;
  margin-bottom: 0;
}
.service-highlights {
  max-width: var(--max);
  margin: 46px auto 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
}
.service-highlights li {
  min-width: 0;
  padding: 22px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  border: 1px solid rgba(255, 196, 0, 0.32);
  border-radius: 8px;
  background: rgba(7, 11, 14, 0.78);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.24);
}
.service-highlight-mark {
  align-self: start;
  margin-bottom: 0;
  line-height: 1;
}
.service-highlights strong,
.service-highlights li div > span {
  display: block;
}
.service-highlights strong {
  margin-bottom: 7px;
  font-size: 18px;
  line-height: 1.22;
}
.service-highlights li div > span {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}
.service-page .section {
  padding-top: 82px;
  padding-bottom: 82px;
}
.service-section-heading {
  max-width: 900px;
  margin-bottom: 38px;
}
.service-section-heading h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
}
.service-section-heading h2::after {
  content: "";
  width: 78px;
  height: 3px;
  margin-top: 18px;
  display: block;
  background: var(--yellow);
}
.service-section-heading p {
  max-width: 820px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 19px;
}
.service-value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.service-value-card {
  min-width: 0;
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(16, 22, 26, 0.72);
  box-shadow: 0 20px 70px var(--shadow);
}
.service-card-mark {
  width: 44px;
  height: 44px;
  margin-bottom: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  font-size: 22px;
  font-weight: 900;
}
.service-value-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.2;
}
.service-value-card p {
  margin: 0;
  color: var(--muted);
}
.service-portal-section {
  padding-top: 84px;
  padding-bottom: 84px;
}
.service-portal-layout {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(330px, 0.78fr) minmax(0, 1.22fr);
  gap: 48px;
  align-items: center;
}
.service-portal-copy,
.service-portal-screenshot {
  min-width: 0;
}
.service-portal-copy {
  max-width: 500px;
}
.service-section-heading-light h2 {
  color: var(--ink);
}
.service-section-heading-light p {
  color: #3e454a;
}
.service-portal-features {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  list-style: none;
}
.service-portal-features li {
  padding-left: 18px;
  display: grid;
  gap: 3px;
  border-left: 3px solid var(--yellow);
}
.service-portal-features strong {
  color: var(--ink);
  font-size: 17px;
}
.service-portal-features span {
  color: #4c555c;
}
.service-portal-included {
  margin: 28px 0 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}
.service-portal-included > span {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow);
  font-weight: 900;
}
.service-portal-screenshot {
  margin: 0;
  width: 100%;
  max-width: 690px;
  justify-self: end;
}
.service-portal-screenshot img {
  width: 100%;
  height: auto;
  overflow: hidden;
  border: 1px solid rgba(16, 20, 23, 0.16);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(16, 20, 23, 0.2);
}
.service-journey-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 22px;
  align-items: stretch;
}
.service-journey-card,
.service-scope-card {
  min-width: 0;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(16, 22, 26, 0.68);
}
.service-journey-card-primary {
  padding: 38px;
  border-color: rgba(255, 196, 0, 0.64);
  background:
    linear-gradient(135deg, rgba(255, 196, 0, 0.13), transparent 60%),
    rgba(16, 22, 26, 0.86);
  box-shadow: 0 0 36px rgba(255, 196, 0, 0.12);
}
.service-phase {
  margin: 0 0 10px !important;
  color: var(--yellow) !important;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}
.service-journey-card h3,
.service-scope-card h3 {
  margin: 0 0 16px;
  font-size: 25px;
  line-height: 1.2;
}
.service-journey-card > p:not(.service-phase):not(.service-journey-highlight),
.service-scope-card > p:not(.service-phase) {
  color: var(--muted);
}
.service-journey-highlight {
  margin: 26px 0 0;
  padding: 16px 18px;
  border-left: 3px solid var(--yellow);
  background: rgba(255, 196, 0, 0.08);
  color: var(--text);
  font-weight: 850;
}
.service-reuse-section {
  border-top: 1px solid rgba(16, 20, 23, 0.08);
  border-bottom: 1px solid rgba(16, 20, 23, 0.08);
}
.service-scope-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 22px;
  align-items: stretch;
}
.service-scope-included {
  border-color: rgba(255, 196, 0, 0.5);
  background: rgba(255, 196, 0, 0.07);
}
.service-scope-card ul {
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  list-style: none;
}
.service-scope-card li {
  position: relative;
  padding-left: 25px;
  color: var(--muted);
}
.service-scope-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--yellow);
  font-weight: 900;
}
.service-cta {
  margin-top: 28px;
  margin-bottom: 44px;
}
.service-cta-inner {
  padding: 38px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 40px;
}
.service-cta h2 {
  max-width: 760px;
  margin: 0 0 16px;
  font-size: clamp(30px, 4vw, 43px);
  line-height: 1.12;
}
.service-cta p {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}
.service-cta p + p {
  margin-top: 10px;
}
.service-cta .btn {
  min-width: 220px;
}
.pricing-hero {
  padding-bottom: 54px;
}
.company-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.72fr);
  gap: 54px;
  align-items: start;
}
.company-copy h1 {
  max-width: 760px;
}
.founder-card {
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  overflow: hidden;
  background: var(--card-strong);
  box-shadow: 0 24px 70px var(--shadow);
}
.founder-card img {
  width: 100%;
  aspect-ratio: 4 / 3.7;
  object-fit: cover;
  object-position: 58% 0%;
}
.founder-card figcaption {
  display: grid;
  gap: 4px;
  padding: 18px 20px 20px;
  color: var(--muted);
}
.founder-card strong {
  color: var(--text);
  font-size: 18px;
}
.story-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.story-block {
  padding: 28px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(16, 20, 23, 0.09);
}
.story-block .proof-mark {
  margin-bottom: 18px;
  background: #fff9df;
  font-size: 21px;
}
.story-block h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.22;
}
.story-block p {
  margin: 0;
  color: #3e454a;
}
.founder-story {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 56px;
  align-items: start;
}
.founder-story h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.12;
}
.founder-story p {
  color: var(--muted);
  margin-top: 0;
}
.pricing-summary {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
  padding-top: 24px;
}
.panel-kicker {
  margin-bottom: 8px !important;
  color: var(--yellow) !important;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}
.solution-grid {
  align-items: stretch;
}
.solution-panel {
  min-height: 220px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.solution-number {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 2px solid var(--yellow);
  border-radius: 50%;
  color: var(--yellow);
  font-weight: 900;
}
.solution-panel h3 {
  margin: 0 0 10px;
  font-size: 23px;
  line-height: 1.2;
}
.solution-showcase {
  padding-top: 26px;
}
.solution-showcase-intro,
.solution-group-heading,
.solution-case-inner {
  max-width: var(--max);
  margin: 0 auto;
}
.solution-showcase-intro {
  padding: 48px 24px 66px;
}
.solution-showcase-intro h2 {
  max-width: 760px;
  margin: 0 0 18px;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.1;
}
.solution-showcase-intro > p:last-child {
  max-width: 850px;
  margin: 0;
  color: var(--muted);
  font-size: 19px;
}
.solution-group-heading {
  padding: 58px 24px 30px;
}
.solution-group-heading h3 {
  max-width: 800px;
  margin: 0 0 12px;
  font-size: clamp(27px, 3vw, 36px);
  line-height: 1.15;
}
.solution-group-heading p {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}
.solution-case {
  padding: 62px 24px 68px;
  border-top: 1px solid var(--line);
}
.solution-case-dark {
  background: var(--bg-soft);
  color: var(--text);
}
.solution-case-light {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--line-dark);
}
.solution-case-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "head"
    "figure"
    "details";
  gap: 28px;
}
.solution-case-head {
  grid-area: head;
}
.solution-case-badge {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 196, 0, 0.6);
  border-radius: 999px;
  color: var(--yellow);
  background: rgba(255, 196, 0, 0.08);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}
.solution-case-light .solution-case-badge {
  color: #5f4900;
  background: rgba(255, 196, 0, 0.2);
}
.solution-case h4 {
  margin: 0 0 16px;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.12;
  overflow-wrap: break-word;
  hyphens: manual;
}
.solution-case-head p {
  margin: 0;
  color: var(--muted);
  font-size: 19px;
}
.solution-case-light .solution-case-head p {
  color: #3e454a;
}
.solution-case-figure {
  grid-area: figure;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #070b0e;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2);
}
.solution-case-figure img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.solution-case-figure figcaption {
  padding: 14px 16px 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}
.solution-case-details {
  grid-area: details;
  display: grid;
  gap: 16px;
}
.solution-story-step {
  min-width: 0;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}
.solution-case-light .solution-story-step {
  border-color: var(--line-dark);
  background: rgba(255, 255, 255, 0.72);
}
.solution-story-outcome {
  border-left: 4px solid var(--yellow);
}
.solution-story-title {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  margin-bottom: 12px;
}
.solution-story-mark {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--yellow);
  font-size: 21px;
  font-weight: 900;
  line-height: 1;
}
.solution-case-details h5 {
  min-width: 0;
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
}
.solution-case-details .solution-story-summary {
  margin-bottom: 12px;
  color: var(--text);
  font-size: 17px;
  line-height: 1.4;
}
.solution-case-light .solution-case-details .solution-story-summary {
  color: var(--ink);
}
.solution-case-details p {
  margin: 0 0 12px;
  color: var(--muted);
}
.solution-case-light .solution-case-details p {
  color: #3e454a;
}
.solution-case-details p:last-child {
  margin-bottom: 0;
}
.solution-case-details ul {
  margin: 10px 0 14px;
  padding-left: 22px;
}
.solution-case-details li + li {
  margin-top: 6px;
}
@media (min-width: 960px) {
  .solution-case-inner {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.98fr);
    grid-template-areas:
      "head figure"
      "details figure";
    column-gap: 58px;
    row-gap: 38px;
    align-items: start;
  }
  .solution-case-figure {
    align-self: start;
  }
}
.integration-grid {
  margin-bottom: 34px;
}
.light-lead {
  max-width: 590px;
  color: #3e454a;
  font-size: 19px;
}
.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.feature-list li {
  min-height: 112px;
  padding: 18px;
  display: grid;
  align-content: start;
  gap: 5px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(16, 20, 23, 0.08);
}
.feature-list strong {
  color: var(--ink);
}
.feature-list span {
  color: #4c555c;
}
.example-card {
  max-width: var(--max);
  margin: 0 auto;
  padding: 26px 30px;
  border: 1px solid #d8b02d;
  border-radius: 8px;
  background: #171d21;
  box-shadow: 0 18px 44px rgba(16, 20, 23, 0.14);
  color: var(--text);
}
.example-card h3 {
  margin: 0 0 8px;
  font-size: 24px;
}
.example-card p:last-child {
  margin: 0;
  color: var(--muted);
}
.decision-section .position-grid {
  gap: 50px;
}
.decision-section .position-copy {
  color: var(--muted);
}
.price-panel {
  padding: 32px;
}
.price-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}
.accent-panel {
  border-color: rgba(255, 196, 0, 0.42);
  box-shadow: 0 0 30px rgba(255, 196, 0, 0.14);
}
.license-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.license-card {
  min-height: 100%;
  padding: 28px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(16, 20, 23, 0.09);
}
.license-card .proof-mark {
  margin-bottom: 18px;
  background: #fff9df;
}
.license-card h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.22;
}
.license-card p {
  margin: 0 0 18px;
  color: #3e454a;
}
.license-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #273039;
}
.license-card li {
  position: relative;
  padding-left: 24px;
}
.license-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #11161a;
  font-weight: 900;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-scope {
  padding-top: 42px;
}
.service-scope .section-lead {
  margin-top: -12px;
  margin-bottom: 32px;
}
.service-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 20px 70px var(--shadow);
}
.service-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  background: rgba(16, 22, 26, 0.72);
}
.service-table th,
.service-table td {
  width: 50%;
  padding: 17px 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.service-table th:last-child,
.service-table td:last-child {
  border-right: 0;
}
.service-table tr:last-child td {
  border-bottom: 0;
}
.service-table th {
  background: rgba(255, 196, 0, 0.12);
  color: var(--yellow-2);
  font-size: 18px;
}
.service-table td::before {
  content: "✓";
  margin-right: 10px;
  color: var(--yellow);
  font-weight: 900;
}
.service-table td:nth-child(2)::before {
  content: "+";
}
.service-note {
  margin-top: 24px;
}
.service-note strong {
  color: var(--text);
}
.panel { padding: 26px; }
.panel h2,
.panel h3 { margin-top: 0; }
.price {
  font-size: 34px;
  font-weight: 900;
  color: var(--yellow);
  margin: 12px 0;
}
.form {
  display: grid;
  gap: 14px;
}
.form label {
  display: grid;
  gap: 7px;
}
.form-panel .form label[for] {
  display: block;
}
.form label small {
  color: var(--muted-2);
  font-weight: 500;
}
.form-required-note,
.form-help {
  margin: 0;
  color: var(--muted-2);
  font-weight: 500;
}
.form-suggestions {
  font-size: 14px;
}
.form-suggestions strong {
  color: var(--text);
}
.form-suggestions ul {
  margin: 8px 0 0;
  padding-left: 20px;
}
.form-suggestions li + li {
  margin-top: 4px;
}
.form-submit-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}
.form-submit-row .btn {
  width: 100%;
  min-width: 0;
  white-space: normal;
}
.form-submit-row .form-status {
  display: block;
  min-width: 0;
  min-height: calc(2 * 1.45em);
  margin: 0;
  color: #fff;
  font-size: 14px;
  line-height: 1.45;
  overflow-wrap: anywhere;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: none;
}
.optional {
  color: var(--muted-2);
  font-size: 14px;
  font-weight: 600;
}
.form-status.is-visible {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.form-status.is-error {
  color: #ffb4b4;
  font-weight: 650;
}
.form-status.is-fading {
  opacity: 0;
  transition: opacity 1s ease;
}
@media (prefers-reduced-motion: reduce) {
  .form-submit-row .form-status {
    transition: none;
  }
}
@media (max-width: 480px) {
  .form-submit-row .form-status {
    min-height: calc(4 * 1.45em);
  }
}
@media (max-width: 360px) {
  .form-submit-row .form-status {
    min-height: calc(5 * 1.45em);
  }
}
.form-panel .form-field-error {
  margin: -7px 0 0;
  color: #ffb4b4;
  font-size: 14px;
  font-weight: 650;
}
.form-field-error[hidden] {
  display: none;
}
.form input[aria-invalid="true"] {
  border-color: #ff6b6b;
}
.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
label { font-weight: 750; }
input,
textarea,
select {
  width: 100%;
  background: #0b1013;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  font: inherit;
}
textarea { min-height: 150px; }
.form-panel textarea {
  min-height: 112px;
  resize: vertical;
}
.form-privacy {
  margin: 4px 0;
  color: var(--muted);
  font-size: 14px;
}
.form-privacy a {
  color: var(--yellow-2);
}
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  gap: 22px;
  align-items: start;
}
.mapping-panel,
.form-panel {
  padding: 32px;
}
.mapping-list {
  display: grid;
  gap: 20px;
  margin: 26px 0 38px;
  padding: 0;
  list-style: none;
}
.mapping-list li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.mapping-list li > span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 900;
}
.mapping-list strong {
  display: block;
  margin-bottom: 4px;
}
.mapping-list p {
  margin: 0;
  color: var(--muted);
}
.direct-contact {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}
.notice {
  border-left: 3px solid var(--yellow);
  padding: 14px 16px;
  background: rgba(255, 196, 0, 0.08);
  color: var(--muted);
}

.privacy-page .section {
  max-width: 1080px;
}
.privacy-updated {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 4px 12px;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 196, 0, 0.48);
  border-radius: 999px;
  color: var(--yellow);
  font-size: 14px;
  font-weight: 850;
}
.privacy-intro {
  display: grid;
  gap: 20px;
}
.privacy-toc {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.privacy-toc a {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
}
.privacy-section {
  display: grid;
  gap: 20px;
}
.privacy-section h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.12;
}
.privacy-section .lead-text {
  margin: 0;
  max-width: 780px;
  color: var(--muted);
  font-size: 19px;
}
.privacy-list {
  margin: 14px 0 0;
  padding-left: 20px;
  color: var(--muted);
}
.privacy-list li + li {
  margin-top: 8px;
}
.privacy-note {
  border: 1px solid rgba(255, 196, 0, 0.34);
  border-radius: 8px;
  padding: 20px;
  background: rgba(255, 196, 0, 0.08);
  color: var(--text);
}
.privacy-note p {
  margin: 0;
}

.docs-page .page-hero {
  min-height: 360px;
}
.docs-hero .lead {
  max-width: 720px;
}
.docs-section {
  max-width: 980px;
}
.docs-title {
  text-align: left;
}
.docs-title .underline {
  margin-left: 0;
}
.document-list {
  display: grid;
  gap: 14px;
}
.document-link {
  min-height: 104px;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(16, 22, 26, 0.72);
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.16);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}
.document-link:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 196, 0, 0.54);
  background: rgba(18, 25, 29, 0.9);
}
.document-link strong {
  display: block;
  margin-bottom: 4px;
  font-size: 20px;
  line-height: 1.25;
}
.document-link small {
  color: var(--muted);
  font-size: 15px;
}
.document-icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border: 2px solid var(--yellow);
  border-radius: 8px;
  color: var(--yellow);
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}

.portal-body {
  background: #080c0f;
}
.portal-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: 76px;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 11, 14, 0.96);
  backdrop-filter: blur(14px);
}
.portal-user {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-weight: 750;
}
.portal-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: calc(100vh - 76px);
}
.portal-sidebar {
  position: sticky;
  top: 76px;
  align-self: start;
  height: calc(100vh - 76px);
  padding: 28px 22px;
  border-right: 1px solid var(--line);
  background: #0b1013;
}
.portal-sidebar nav {
  display: grid;
  gap: 6px;
}
.portal-sidebar a {
  min-height: 44px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  border-radius: 8px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 800;
}
.portal-sidebar a:hover,
.portal-sidebar a.active {
  background: rgba(255, 196, 0, 0.1);
  color: var(--yellow);
}
.portal-note {
  margin-top: 32px;
  padding: 16px;
  border: 1px solid rgba(255, 196, 0, 0.3);
  border-radius: 8px;
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 14px;
}
.portal-note strong {
  color: var(--text);
}
.portal-main {
  padding: 44px 36px 70px;
}
.portal-heading {
  max-width: 1180px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 28px;
  align-items: end;
}
.portal-heading h1 {
  margin-bottom: 18px;
}
.portal-heading .lead {
  max-width: 760px;
  margin-bottom: 0;
}
.portal-org {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  display: grid;
  gap: 4px;
}
.portal-org span,
.portal-org small {
  color: var(--muted);
}
.portal-org strong {
  font-size: 24px;
}
.portal-metrics {
  max-width: 1180px;
  margin: 30px 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.portal-metrics article,
.portal-section,
.portal-panel,
.software-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(16, 22, 26, 0.72);
}
.portal-metrics article {
  min-height: 126px;
  padding: 20px;
  display: grid;
  align-content: start;
  gap: 6px;
}
.portal-metrics span,
.portal-metrics small {
  color: var(--muted);
}
.portal-metrics strong {
  font-size: 34px;
  line-height: 1;
}
.portal-section {
  max-width: 1180px;
  margin-top: 18px;
  padding: 26px;
}
.portal-section h2 {
  margin: 0 0 8px;
  font-size: 28px;
  line-height: 1.15;
}
.portal-section p {
  margin: 0;
  color: var(--muted);
}
.portal-section-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.portal-link {
  color: var(--yellow);
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
}
.portal-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.portal-row {
  display: grid;
  grid-template-columns: 1.15fr 0.75fr 0.9fr 0.8fr;
  gap: 16px;
  padding: 14px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.portal-row:first-child {
  border-top: 0;
}
.portal-row-head {
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-weight: 850;
}
.status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}
.status.ok {
  background: rgba(60, 208, 125, 0.13);
  color: #74e7a9;
}
.status.attention {
  background: rgba(255, 196, 0, 0.13);
  color: var(--yellow);
}
.portal-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
}
.software-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
.software-list article {
  padding: 18px;
}
.software-list h3 {
  margin: 12px 0 6px;
}
.portal-panel {
  padding: 22px;
}
.license-summary,
.portal-profile dl {
  display: grid;
  gap: 12px;
  margin: 16px 0 0;
}
.license-summary div,
.portal-profile dl div {
  display: grid;
  gap: 2px;
}
.license-summary dt,
.portal-profile dt {
  color: var(--muted);
  font-weight: 800;
}
.license-summary dd,
.portal-profile dd {
  margin: 0;
  font-weight: 850;
}
.updates-timeline {
  display: grid;
  gap: 18px;
  margin-top: 20px;
}
.updates-timeline article {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 14px;
}
.timeline-dot {
  width: 12px;
  height: 12px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 5px rgba(255, 196, 0, 0.12);
}
.muted-dot {
  background: var(--muted-2);
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.08);
}
.updates-timeline strong {
  display: block;
  margin-bottom: 4px;
}
.portal-profile {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
}
.action-strip {
  max-width: 1180px;
  margin: 28px 0 0;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(255, 196, 0, 0.32);
  border-radius: 8px;
  background: rgba(255, 196, 0, 0.07);
  color: var(--muted);
}
.portal-row-5 {
  grid-template-columns: 1.15fr 0.85fr 1fr 0.9fr 0.85fr;
}
.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.detail-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
}
.software-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 1080px) {
  .hero-image {
    left: 0;
    background-size: auto 100%;
    background-position: right center;
  }
  .cards,
  .proof-grid,
  .story-grid,
  .portal-metrics,
  .license-grid,
  .steps,
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .situation-cards { grid-template-columns: repeat(2, 1fr); }
  .home-service-highlights { grid-template-columns: 1fr; }
  .pricing-summary { grid-template-columns: 1fr; }
  .company-hero,
  .founder-story,
  .position-grid,
  .integration-grid,
  .contact-layout,
  .portal-heading,
  .portal-columns,
  .portal-profile,
  .detail-grid,
  .software-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .service-portal-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .service-portal-copy {
    max-width: 820px;
  }
  .service-portal-screenshot {
    max-width: 820px;
    justify-self: stretch;
  }
}

@media (max-width: 720px) {
  .nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
  }
  .logo {
    display: inline-flex;
  }
  .logo img {
    width: min(220px, 68vw);
    height: auto;
  }
  .nav-toggle {
    display: inline-flex;
    justify-self: end;
  }
  .nav-links {
    grid-column: 1 / -1;
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .nav-links.is-open {
    display: flex;
  }
  .nav-links a:not(.btn) {
    min-height: 44px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .nav-links .btn { width: 100%; }
  .hero { min-height: 0; }
  .hero::before {
    background:
      linear-gradient(180deg, rgba(7, 11, 14, 0.34) 0%, rgba(7, 11, 14, 0.72) 36%, #070b0e 78%),
      linear-gradient(90deg, rgba(7, 11, 14, 0.78), rgba(7, 11, 14, 0.32));
  }
  .hero-image {
    inset: 0;
    height: 430px;
    background-size: 700px auto;
    background-position: center top;
    opacity: 0.86;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 68%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 68%, transparent 100%);
  }
  .hero-inner { padding: 296px 20px 64px; }
  h1 { font-size: clamp(32px, 9vw, 38px); }
  h1 .accent,
  .accent { display: inline; }
  .lead { font-size: 18px; }
  .home-page .home-hero .hero-image {
    height: 310px;
    background-size: 580px auto;
  }
  .home-page .home-hero .hero-inner {
    padding: 150px 20px 48px;
  }
  .home-page .home-hero .eyebrow {
    margin-bottom: 10px;
    font-size: 12px;
  }
  .home-page .home-hero h1 {
    margin-bottom: 18px;
    font-size: clamp(32px, 8.7vw, 36px);
  }
  .home-page .home-hero .lead {
    margin-bottom: 20px;
    max-width: 100%;
    font-size: 16px;
    line-height: 1.48;
  }
  .home-page .home-hero .actions {
    gap: 10px;
  }
  .page-hero { padding: 56px 24px 20px; }
  .section { padding: 44px 24px; }
  .actions .btn,
  .cta-inner .btn { width: 100%; }
  .cards,
  .situation-cards,
  .proof-grid,
  .story-grid,
  .license-grid,
  .steps,
  .privacy-toc,
  .grid-2,
  .grid-3,
  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .pricing-summary,
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .price-panel,
  .service-scope,
  .pricing-process,
  .service-cta,
  .service-cta-inner,
  .service-cta-inner > div,
  .form-panel,
  .mapping-panel,
  .form-panel .form,
  .form-panel .form > * {
    min-width: 0;
  }
  .pricing-hero,
  .pricing-summary,
  .service-scope,
  .pricing-process,
  .service-cta,
  .contact-layout {
    overflow-wrap: anywhere;
  }
  .cards {
    margin-top: 0;
    padding-top: 24px;
  }
  .card {
    min-height: 0;
  }
  .position-section,
  .integration-section,
  .pricing-process {
    padding: 54px 24px;
  }
  .position-grid,
  .integration-grid {
    gap: 28px;
  }
  .position-benefits {
    grid-template-columns: 1fr;
  }
  .feature-list {
    grid-template-columns: 1fr;
  }
  .solution-panel {
    min-height: 0;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 14px;
  }
  .solution-number {
    width: 44px;
    height: 44px;
  }
  .solution-showcase {
    padding-top: 10px;
  }
  .solution-showcase-intro {
    padding: 42px 24px 52px;
  }
  .solution-showcase-intro > p:last-child,
  .solution-group-heading p,
  .solution-case-head p {
    font-size: 17px;
  }
  .solution-group-heading {
    padding: 48px 24px 26px;
  }
  .solution-case {
    padding: 46px 24px 52px;
  }
  .solution-case h4 {
    font-size: 28px;
  }
  .solution-story-step {
    padding: 18px;
  }
  .solution-case-details h5 {
    overflow-wrap: anywhere;
  }
  .mapping-panel,
  .form-panel {
    padding: 24px;
  }
  .form-panel .btn {
    width: 100%;
    min-width: 0;
    white-space: normal;
  }
  .document-link {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .document-link strong {
    font-size: 18px;
  }
  .proof { grid-template-columns: 48px minmax(0, 1fr); }
  .proof p { grid-column: 1 / -1; }
  .cta-inner,
  .legal {
    display: block;
  }
  .cta-copy {
    align-items: flex-start;
    margin-bottom: 20px;
    font-size: 22px;
  }
  .legal nav {
    margin-top: 8px;
    flex-wrap: wrap;
  }
  .portal-topbar {
    position: static;
    display: grid;
    padding: 16px 20px;
  }
  .portal-user {
    display: grid;
    gap: 10px;
  }
  .portal-shell {
    grid-template-columns: 1fr;
  }
  .portal-sidebar {
    position: static;
    height: auto;
    padding: 18px 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .portal-sidebar nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .portal-main {
    padding: 36px 20px 54px;
  }
  .portal-metrics,
  .portal-row,
  .portal-row-5 {
    grid-template-columns: 1fr;
  }
  .action-strip {
    display: grid;
  }
  .portal-section-head {
    display: grid;
  }
  .portal-link {
    white-space: normal;
  }
  .service-hero {
    padding-bottom: 40px;
  }
  .service-hero h1 {
    max-width: 100%;
    font-size: clamp(28px, 7.8vw, 31px);
    overflow-wrap: anywhere;
    hyphens: manual;
  }
  .service-page main h1,
  .service-page main h2,
  .service-page main h3,
  .service-page main p,
  .service-page main li,
  .service-page main strong,
  .service-page main span,
  .service-page main a {
    max-width: 100%;
    overflow-wrap: anywhere;
  }
  .service-highlights,
  .service-value-grid,
  .service-journey-grid,
  .service-scope-grid {
    grid-template-columns: 1fr;
  }
  .service-highlights {
    margin-top: 34px;
  }
  .service-highlights li {
    padding: 18px;
  }
  .service-page .section,
  .service-portal-section {
    padding-top: 56px;
    padding-bottom: 56px;
  }
  .service-section-heading {
    margin-bottom: 30px;
  }
  .service-section-heading p {
    font-size: 17px;
  }
  .service-value-card,
  .service-journey-card,
  .service-journey-card-primary,
  .service-scope-card {
    min-height: 0;
    padding: 24px;
  }
  .service-portal-layout {
    gap: 34px;
  }
  .service-scope-card ul {
    grid-template-columns: 1fr;
  }
  .service-cta {
    margin-top: 16px;
    margin-bottom: 30px;
  }
  .service-cta-inner {
    padding: 26px 24px;
  }
  .home-cta .service-cta-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .service-cta .btn {
    min-width: 0;
    margin-top: 26px;
  }
  .home-cta .btn {
    width: 100%;
    margin-top: 0;
  }
}

@media (max-width: 720px) and (max-height: 760px) {
  .hero-image {
    height: 330px;
    background-size: 560px auto;
  }

  .hero-inner {
    padding: 190px 16px 48px;
  }

  .hero .eyebrow {
    margin-bottom: 10px;
    font-size: 12px;
  }

  .hero h1 {
    margin-bottom: 16px;
    font-size: 30px;
  }

  .hero .lead {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.45;
  }

  .hero .actions {
    gap: 10px;
  }

  .hero .actions .btn {
    min-height: 44px;
    padding: 10px 14px;
    font-size: 15px;
  }
}
