:root {
  --ink: #10242b;
  --muted-ink: #526a72;
  --paper: #fbfdff;
  --paper-strong: #ffffff;
  --soft: #eef8fd;
  --line: #d4edf7;
  --green: #0b9bd7;
  --green-dark: #0875a8;
  --gold: #ffcc00;
  --coral: #ffcc00;
  --shadow: 0 18px 45px rgba(16, 36, 43, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

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

[id] {
  scroll-margin-top: 96px;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
  background: var(--paper);
}

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

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

button,
a {
  letter-spacing: 0;
}

.container {
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 26px;
  background: rgba(251, 253, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  font-weight: 800;
}

.brand-logo {
  display: block;
  width: 156px;
  height: auto;
}

.brand-logo-header {
  width: auto;
  height: 42px;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--muted-ink);
  font-size: 14px;
}

.main-nav a {
  padding: 8px 10px;
  border-radius: var(--radius);
}

.main-nav a:hover {
  color: var(--green-dark);
  background: var(--soft);
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 10px;
  color: var(--green-dark);
  font-weight: 800;
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}

.menu-icon {
  display: grid;
  gap: 4px;
  width: 18px;
}

.menu-icon span {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex: 0 0 auto;
}

.lang-btn {
  min-width: 40px;
  height: 36px;
  color: var(--green-dark);
  font-weight: 700;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}

.lang-btn.active {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}

.header-mail {
  display: inline-flex;
  align-items: center;
  min-height: 0;
  padding: 0;
  color: var(--green-dark);
  background: transparent;
  font-size: 14px;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: calc(100vh - 68px);
  display: flex;
  align-items: center;
  isolation: isolate;
  color: #fff;
  background-image: url("assets/images/hero-playground-configurator.png");
  background-size: cover;
  background-position: center;
}

.hero::after {
  display: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(7, 33, 46, 0.88), rgba(7, 55, 77, 0.64) 48%, rgba(7, 55, 77, 0.18)),
    linear-gradient(0deg, rgba(7, 33, 46, 0.5), rgba(7, 55, 77, 0.18));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding: 86px 0 128px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

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

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

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

h1 {
  max-width: 820px;
  font-size: 76px;
}

h2 {
  font-size: 48px;
}

h3 {
  font-size: 21px;
}

.hero-text {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
}

.hero-contact {
  display: inline-grid;
  gap: 6px;
  margin-top: 34px;
  padding: 16px 18px;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(16, 36, 43, 0.64);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
}

.hero-contact strong {
  color: #fff;
  font-size: 22px;
}

.band,
.section,
.contact {
  padding: 86px 0;
}

.intro-band {
  position: relative;
  margin-top: 0;
  padding-top: 62px;
  background: var(--paper);
}

.intro-band::before {
  display: none;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: 44px;
  align-items: start;
  padding-bottom: 38px;
}

.intro-grid p:last-child {
  margin: 34px 0 0;
  color: var(--muted-ink);
  font-size: 19px;
}

.intro-demo {
  display: grid;
  place-items: center;
  padding: 12px 0 26px;
}

.laptop {
  width: min(920px, 100%);
}

.laptop-lid {
  position: relative;
  padding: 14px;
  background: linear-gradient(180deg, #12384a, #071923);
  border: 1px solid rgba(16, 36, 43, 0.3);
  border-radius: 8px 8px 6px 6px;
  box-shadow: 0 30px 70px rgba(16, 36, 43, 0.22);
}

.laptop-camera {
  width: 6px;
  height: 6px;
  margin: 0 auto 8px;
  background: #78aebe;
  border-radius: 50%;
}

.laptop-screen {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #f3f4ef;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
}

.laptop-screen video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.laptop-base {
  position: relative;
  width: 100%;
  height: 20px;
  margin: 0 auto;
  background: linear-gradient(180deg, #d8edf5, #a8c9d7);
  border-radius: 0 0 8px 8px;
  box-shadow: 0 18px 36px rgba(16, 36, 43, 0.16);
}

.laptop-base span {
  position: absolute;
  left: 50%;
  top: 3px;
  width: 110px;
  height: 6px;
  transform: translateX(-50%);
  background: rgba(16, 36, 43, 0.2);
  border-radius: 0 0 6px 6px;
}

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

.section-heading p {
  color: var(--muted-ink);
}

.section-heading .section-kicker {
  color: var(--green-dark);
}

.muted {
  background: var(--soft);
}

.tile-grid,
.feature-grid,
.pricing-grid,
.case-grid {
  display: grid;
  gap: 18px;
}

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

.info-tile,
.feature-card,
.pricing-card,
.case-card,
.faq-item,
.benefit-item {
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(16, 36, 43, 0.06);
}

.info-tile {
  min-height: 230px;
  padding: 24px;
}

.tile-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 24px;
  color: var(--green-dark);
  background: #eaf8fd;
  border: 1px solid #c7eaf7;
  border-radius: var(--radius);
  font-weight: 900;
}

.info-tile p,
.feature-card p,
.pricing-card p,
.case-card p,
.faq-item p,
.benefit-item p {
  margin: 12px 0 0;
  color: var(--muted-ink);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  counter-reset: step;
}

.step {
  position: relative;
  min-height: 280px;
  padding: 24px;
  background: var(--paper-strong);
  border-top: 6px solid var(--green);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  counter-increment: step;
}

.step::before {
  content: counter(step, decimal-leading-zero);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  color: var(--ink);
  background: var(--gold);
  border-radius: var(--radius);
  font-weight: 900;
}

.step p {
  color: var(--muted-ink);
}

.feature-layout,
.about-layout,
.impact-grid,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 42px;
  align-items: center;
}

.feature-copy p:last-child,
.about-layout p:last-child {
  color: var(--muted-ink);
  font-size: 18px;
}

.contact-layout p:last-child {
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
}

.feature-stack {
  display: grid;
  gap: 14px;
}

.feature-image {
  width: 100%;
  min-height: 230px;
  max-height: 320px;
  object-fit: contain;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-image-large {
  min-height: 430px;
  max-height: 560px;
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 34px;
}

.feature-card {
  min-height: 220px;
  padding: 22px;
}

.feature-card strong,
.pricing-card strong {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--green-dark);
}

.impact {
  color: #fff;
  background: linear-gradient(135deg, #08364b, #0b9bd7 52%, #ffcc00);
}

.impact .section-kicker,
.impact p {
  color: rgba(255, 255, 255, 0.82);
}

.impact h2 {
  color: #fff;
}

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

.benefit-item {
  padding: 22px;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: none;
}

.benefit-item p {
  color: rgba(255, 255, 255, 0.8);
}

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

.case-card {
  overflow: hidden;
}

.case-card img {
  width: 100%;
  height: 230px;
  object-fit: contain;
  background: #fff;
}

.case-card div {
  padding: 22px;
}

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

.pricing-card {
  min-height: 250px;
  padding: 24px;
}

.pricing-card ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted-ink);
}

.pricing-card li {
  position: relative;
  padding-left: 22px;
}

.pricing-card li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
}

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

.about-note {
  padding: 28px;
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-note ul {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  color: var(--muted-ink);
  list-style: none;
}

.about-note li {
  position: relative;
  padding-left: 24px;
}

.about-note li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 9px;
  height: 9px;
  background: var(--green);
  border-radius: 50%;
}

.about-copy {
  display: grid;
  gap: 18px;
}

.about-panel {
  padding: 34px;
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-text {
  display: grid;
  gap: 14px;
  color: var(--muted-ink);
  font-size: 18px;
}

.about-text p {
  margin: 0;
}

.about-list {
  display: grid;
  gap: 12px;
  margin: 4px 0 0;
  padding: 0;
  color: var(--ink);
  font-weight: 700;
  list-style: none;
}

.about-list li {
  position: relative;
  padding-left: 26px;
}

.about-list li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 10px;
  height: 10px;
  background: var(--gold);
  border-radius: 50%;
}

.about-media {
  overflow: hidden;
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.about-media img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

.faq-item {
  padding: 24px;
}

.contact {
  color: #fff;
  background: #10242b;
}

.contact .section-kicker {
  color: var(--gold);
}

.contact p {
  color: rgba(255, 255, 255, 0.88);
}

.mail-card {
  display: grid;
  gap: 12px;
  min-height: 190px;
  align-content: center;
  padding: 30px;
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius);
}

.mail-card span {
  color: var(--muted-ink);
}

.mail-card strong {
  color: var(--green-dark);
  font-size: 36px;
  overflow-wrap: anywhere;
}

.mail-card small {
  color: #385e6d;
  font-size: 15px;
}

.site-footer {
  padding: 34px 0;
  color: var(--muted-ink);
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.footer-layout {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) minmax(220px, 0.8fr) minmax(320px, 1.4fr);
  align-items: start;
  gap: 24px;
}

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

.footer-copy {
  display: grid;
  gap: 8px;
}

.footer-copy p {
  margin: 0;
}

.footer-copy span {
  color: var(--green-dark);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.footer-legal {
  display: grid;
  gap: 8px 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

.footer-legal div {
  display: grid;
  gap: 2px;
}

.footer-legal div:last-child {
  grid-column: 1 / -1;
}

.footer-legal dt {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.footer-legal dd {
  margin: 0;
  overflow-wrap: anywhere;
}

@media (max-width: 1080px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
  }

  .tile-grid.four,
  .steps,
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  h1 {
    font-size: 58px;
  }

  h2 {
    font-size: 40px;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 82px;
  }

  [id] {
    scroll-margin-top: 82px;
  }

  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px 12px;
    padding: 12px 16px;
  }

  .site-header.menu-open {
    max-height: 100vh;
    max-height: 100dvh;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 142px;
  }

  .brand-logo-header {
    width: auto;
    height: 38px;
  }

  .menu-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .main-nav {
    order: initial;
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    max-height: 0;
    padding: 0;
    overflow: hidden;
    opacity: 0;
    border-top: 0 solid transparent;
    transition: max-height 180ms ease, opacity 180ms ease, padding 180ms ease;
  }

  .site-header.menu-open .main-nav {
    max-height: calc(100vh - 126px);
    max-height: calc(100dvh - 126px);
    padding-top: 10px;
    overflow-y: auto;
    opacity: 1;
    border-top: 1px solid var(--line);
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .main-nav a {
    padding: 10px 12px;
    background: var(--paper-strong);
    border: 1px solid var(--line);
  }

  .header-actions {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    max-height: 0;
    padding: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 180ms ease, opacity 180ms ease, padding 180ms ease;
  }

  .site-header.menu-open .header-actions {
    max-height: 120px;
    padding-top: 8px;
    opacity: 1;
  }

  .header-mail {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .hero {
    min-height: 720px;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(7, 33, 46, 0.88), rgba(7, 55, 77, 0.58));
  }

  .hero-content {
    padding-top: 62px;
    padding-bottom: 112px;
  }

  .hero-text {
    font-size: 18px;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 32px;
  }

  .mail-card strong {
    font-size: 26px;
  }

  .intro-grid,
  .feature-layout,
  .about-layout,
  .impact-grid,
  .contact-layout,
  .tile-grid.four,
  .steps,
  .feature-grid,
  .pricing-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .intro-band {
    margin-top: 0;
    padding-top: 52px;
  }

  .band,
  .section,
  .contact {
    padding: 62px 0;
  }

  .intro-demo {
    padding-bottom: 10px;
  }

  .laptop-lid {
    padding: 8px;
  }

  .laptop-camera {
    margin-bottom: 6px;
  }

  .laptop-base {
    height: 13px;
  }

  .laptop-base span {
    width: 68px;
    height: 4px;
  }

  .feature-image {
    min-height: 210px;
  }

  .feature-image-large {
    min-height: 280px;
  }

  .info-tile,
  .feature-card,
  .pricing-card,
  .step {
    min-height: auto;
  }

  .footer-layout,
  .footer-legal {
    grid-template-columns: 1fr;
  }

  .footer-legal div:last-child {
    grid-column: auto;
  }
}
