:root {
  color-scheme: light;
  --ink: #13201f;
  --muted: #63716f;
  --line: #dbe4df;
  --paper: #f7faf7;
  --panel: #ffffff;
  --teal: #0f766e;
  --teal-dark: #0c4f49;
  --mint: #d8f4ea;
  --amber: #d48b2a;
  --coral: #d85f4a;
  --blue: #2d6cdf;
  --shadow: 0 24px 60px rgba(15, 35, 31, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 11;
  display: flex;
  justify-content: center;
  min-height: 38px;
  padding: 8px clamp(18px, 4vw, 56px);
  background: var(--teal-dark);
}

.topbar-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 24px);
}

.topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

a.topbar-link:hover {
  color: #ffffff;
}

.topbar-link.active {
  color: #ffffff;
}

.topbar-link.disabled {
  color: rgba(255, 255, 255, 0.4);
  cursor: default;
}

.topbar-link.disabled small {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  opacity: 0.85;
}

.site-header {
  position: sticky;
  top: 38px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(247, 250, 247, 0.88);
  border-bottom: 1px solid rgba(219, 228, 223, 0.78);
  backdrop-filter: blur(18px);
}

.brand,
.nav,
.hero-actions,
.header-tools,
.language-switcher,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  flex: 0 0 auto;
  min-width: 0;
  color: #2f3433;
  font-size: 1.22rem;
  font-style: italic;
  font-weight: 850;
}

.brand-logo,
.contact-logo,
.footer-logo {
  display: block;
  height: auto;
}

.brand-logo {
  width: 44px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.nav {
  gap: clamp(14px, 2vw, 28px);
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a:hover,
.header-action:hover,
.language-button:hover {
  color: var(--teal-dark);
}

.header-tools {
  gap: 10px;
}

.language-switcher {
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.language-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 34px;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 850;
  cursor: pointer;
}

.language-button.active {
  color: white;
  background: var(--teal);
}

.header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--teal-dark);
  font-weight: 700;
  background: white;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.92fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  min-height: calc(100svh - 114px);
  padding: clamp(48px, 7vw, 96px) clamp(18px, 4vw, 56px) 28px;
}

.hero-copy {
  min-width: 0;
  max-width: 760px;
  container-type: inline-size;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(2.8rem, 18cqw, 9rem);
  line-height: 0.88;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.6vw, 4.6rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.06rem;
  line-height: 1.22;
}

.hero-lead {
  max-width: 680px;
  margin-bottom: 28px;
  color: #40504d;
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 800;
  white-space: nowrap;
}

.button.primary {
  color: white;
  background: var(--teal);
}

.button.secondary {
  color: var(--teal-dark);
  background: white;
  border: 1px solid var(--line);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
}

.hero-visual {
  min-width: 0;
  border: 1px solid rgba(19, 32, 31, 0.12);
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff, #edf7f2);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0 clamp(18px, 4vw, 56px);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
}

.proof-strip div {
  min-height: 118px;
  padding: 22px;
  background: white;
}

.proof-strip strong,
.proof-strip span {
  display: block;
}

.proof-strip strong {
  margin-bottom: 6px;
  font-size: 1rem;
}

.proof-strip span,
.feature-card p,
.stack-item p,
.timeline p,
.section-intro p,
.contact p,
.site-footer {
  color: var(--muted);
}

.hero,
.section,
.contact {
  scroll-margin-top: 124px;
}

.section {
  padding: clamp(72px, 10vw, 140px) clamp(18px, 4vw, 56px);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: start;
}

.section-intro {
  max-width: 780px;
}

.section-intro p:last-child {
  max-width: 680px;
  font-size: 1.06rem;
}

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

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

.feature-card,
.stack-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

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

.feature-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  border-radius: 8px;
  background: var(--mint);
  color: var(--teal-dark);
  font-size: 1.25rem;
}

.stack-section {
  background: #eef6f1;
}

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

.stack-item {
  min-height: 164px;
  padding: 22px;
}

.stack-item span {
  display: inline-flex;
  margin-bottom: 20px;
  color: var(--teal-dark);
  font-size: 1.15rem;
  font-weight: 850;
}

.process {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(32px, 5vw, 76px);
}

.timeline {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.timeline li > span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: #fbefd8;
  color: #8c5513;
  font-weight: 850;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  margin: 0 clamp(18px, 4vw, 56px) clamp(28px, 4vw, 56px);
  padding: clamp(32px, 5vw, 58px);
  border-radius: 8px;
  color: white;
  background: #14332f;
}

.contact .eyebrow,
.contact p {
  color: #bce9dc;
}

.contact h2 {
  max-width: 860px;
}

.contact-logo {
  width: min(280px, 70vw);
  margin-bottom: 24px;
  padding: 12px;
  border-radius: 8px;
  background: white;
}

.contact-panel {
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.contact-panel a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 8px;
  color: var(--ink);
  background: white;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.contact-panel p {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.site-footer {
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  font-weight: 760;
}

.footer-logo {
  width: 42px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 8px;
  mix-blend-mode: multiply;
}

.footer-trademark {
  flex-basis: 100%;
  margin: 4px 0 0;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--muted);
  opacity: 0.85;
}

@media (max-width: 920px) {
  .site-header {
    flex-wrap: wrap;
  }

  .header-tools {
    margin-left: auto;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    overflow-x: auto;
  }

  .hero,
  .section,
  .contact {
    scroll-margin-top: 168px;
  }

  .hero,
  .two-column,
  .process,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    max-width: 640px;
  }

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

@media (max-width: 680px) {
  .topbar {
    justify-content: flex-start;
  }

  .topbar-nav {
    gap: 14px;
  }

  .topbar-link {
    font-size: 0.7rem;
  }

  .header-action {
    display: none;
  }

  .brand {
    font-size: 1.06rem;
  }

  .language-button {
    min-width: 36px;
    min-height: 32px;
    padding: 0 9px;
  }

  .hero {
    padding-top: 36px;
  }

  h1 {
    font-size: clamp(2.8rem, 16vw, 4.2rem);
  }

  h2 {
    font-size: clamp(1.8rem, 10vw, 3rem);
  }

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

  .proof-strip,
  .contact {
    margin-right: 14px;
    margin-left: 14px;
  }

  .timeline li {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
