:root {
  color-scheme: light;
  --bg: #f6f7f4;
  --surface: #ffffff;
  --ink: #17211b;
  --muted: #5a675f;
  --line: #dfe6e1;
  --accent: #276c4f;
  --accent-strong: #173f31;
  --accent-soft: #e6f2ed;
  --blue: #245a78;
  --gold: #b87924;
  --focus: #b87924;
  --shadow: 0 20px 48px rgba(23, 33, 27, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(39, 108, 79, 0.12), transparent 28rem),
    linear-gradient(180deg, #fbfcfb 0%, var(--bg) 44rem);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a {
  color: var(--accent);
  font-weight: 650;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.site-header {
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.page-shell,
.header-inner,
.page,
.site-footer {
  width: min(calc(100% - 32px), 1040px);
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

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

.brand-text {
  display: grid;
  gap: 1px;
}

.brand-name {
  font-size: 1rem;
  font-weight: 760;
}

.brand-subtitle {
  color: var(--muted);
  font-size: 0.88rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

.nav a {
  color: var(--muted);
  font-size: 0.93rem;
  text-decoration: none;
}

.nav a:hover {
  color: var(--accent);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: 56px;
  min-height: 640px;
  padding: 72px 0 64px;
}

.hero-copy {
  max-width: 700px;
}

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

h1 {
  font-size: 3.45rem;
  line-height: 1.05;
  letter-spacing: 0;
  margin-bottom: 18px;
}

h2 {
  font-size: 2rem;
  line-height: 1.16;
  letter-spacing: 0;
  margin-bottom: 14px;
}

h3 {
  font-size: 1.22rem;
  line-height: 1.25;
  letter-spacing: 0;
  margin-bottom: 8px;
}

p,
li {
  font-size: 1rem;
  overflow-wrap: anywhere;
}

.lead {
  color: var(--muted);
  font-size: 1.14rem;
  max-width: 760px;
}

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

.button {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  text-decoration: none;
}

.button.primary {
  background: var(--accent-strong);
  color: #ffffff;
}

.button.secondary {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
}

.hero-visual {
  aspect-ratio: 1 / 1;
  background:
    linear-gradient(145deg, rgba(36, 90, 120, 0.1), rgba(184, 121, 36, 0.09)),
    #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  overflow: hidden;
  padding: 26px;
  position: relative;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(39, 108, 79, 0.16);
  border-radius: 8px;
}

.visual-panel {
  align-self: end;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(23, 33, 27, 0.08);
  display: grid;
  gap: 4px;
  max-width: 320px;
  padding: 18px;
  position: relative;
  z-index: 1;
}

.visual-label {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 760;
  text-transform: uppercase;
}

.visual-panel strong {
  font-size: 1.25rem;
}

.visual-panel span:last-child {
  color: var(--muted);
  font-size: 0.9rem;
}

.visual-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  inset: 84px 32px 32px 96px;
  opacity: 0.75;
  position: absolute;
}

.visual-grid span {
  background: linear-gradient(150deg, rgba(39, 108, 79, 0.24), rgba(36, 90, 120, 0.18));
  border-radius: 8px;
}

.section-band {
  background: #ffffff;
  border-block: 1px solid var(--line);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: 56px;
  padding: 72px 0;
}

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

.feature-list li {
  border-left: 3px solid var(--accent);
  display: grid;
  gap: 4px;
  padding-left: 18px;
}

.feature-list span {
  color: var(--muted);
}

.app-section {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(320px, 1fr);
  gap: 56px;
  padding: 72px 0 92px;
}

.app-card {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 20px;
  padding: 24px;
}

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

.app-card img,
.product-summary img {
  border-radius: 8px;
  width: 74px;
  height: 74px;
}

.page {
  padding: 56px 0 72px;
}

.section-label {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 760;
  letter-spacing: 0;
  margin: 0;
  text-transform: uppercase;
}

.document {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 48px;
}

.document h2 {
  border-top: 1px solid var(--line);
  font-size: 1.34rem;
  line-height: 1.25;
  margin: 34px 0 12px;
  padding-top: 26px;
}

.doc-topline {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.language-switcher {
  align-items: center;
  background: #f7f9f7;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
}

.language-switcher a {
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.88rem;
  min-height: 34px;
  padding: 6px 10px;
  text-decoration: none;
}

.language-switcher a[aria-current="true"] {
  background: var(--accent);
  color: #ffffff;
}

.updated {
  background: var(--accent-soft);
  border: 1px solid #c6ded4;
  border-radius: 8px;
  color: #214c3b;
  display: inline-flex;
  font-size: 0.92rem;
  font-weight: 680;
  margin: 18px 0 26px;
  padding: 7px 11px;
}

.product-summary {
  align-items: center;
  border-block: 1px solid var(--line);
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 18px;
  margin: 30px 0;
  padding: 22px 0;
}

.product-summary h2 {
  border: 0;
  font-size: 1.25rem;
  margin: 0 0 4px;
  padding: 0;
}

.product-summary p {
  color: var(--muted);
  margin: 0;
}

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

.link-list a {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  min-height: 56px;
  padding: 14px 16px;
  text-decoration: none;
}

.link-list a:hover {
  border-color: #adcabc;
  color: var(--accent);
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
  padding: 24px 0 36px;
}

@media (max-width: 820px) {
  .header-inner,
  .doc-topline {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero,
  .split-section,
  .app-section {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero {
    min-height: 0;
    padding: 52px 0 46px;
  }

  h1 {
    font-size: 2.55rem;
  }

  h2 {
    font-size: 1.62rem;
  }

  .hero-visual {
    aspect-ratio: 4 / 3;
  }

  .document {
    padding: 28px;
  }
}

@media (max-width: 540px) {
  .page-shell,
  .header-inner,
  .page,
  .site-footer {
    width: min(calc(100% - 24px), 1040px);
  }

  h1 {
    font-size: 2.18rem;
  }

  .app-card,
  .product-summary {
    grid-template-columns: 1fr;
  }

  .language-switcher {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }

  .language-switcher a {
    flex: 1;
    text-align: center;
  }
}
