:root {
  color-scheme: light;
  --bg: #f8f9f6;
  --surface: #ffffff;
  --surface-soft: #eef5ef;
  --ink: #17201b;
  --muted: #627068;
  --line: #dce3dd;
  --brand: #276749;
  --brand-dark: #1f513a;
  --accent: #0f6f8f;
  --warn: #b86b1d;
  --shadow: 0 24px 70px rgba(23, 32, 27, 0.12);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.72;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  color: var(--brand-dark);
  text-decoration: underline;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(220, 227, 221, 0.8);
  background: rgba(247, 248, 245, 0.86);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 760;
  letter-spacing: 0;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 7px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 15px;
}

.nav-links a {
  flex: 0 0 auto;
  color: var(--muted);
  white-space: nowrap;
}

.nav-links a[aria-current="page"] {
  color: var(--ink);
  font-weight: 650;
}

.nav-links .button {
  color: #fff;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.language-switch a {
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.language-switch a:hover {
  color: var(--ink);
  text-decoration: none;
}

.language-switch a[aria-current="page"] {
  color: #fff;
  background: var(--brand);
}

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius);
  font-weight: 700;
  border: 1px solid transparent;
}

.button {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 12px 26px rgba(39, 103, 73, 0.18);
}

.button:hover {
  color: #fff;
  background: var(--brand-dark);
  text-decoration: none;
}

.button-secondary {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.button-secondary:hover {
  color: var(--ink);
  border-color: #b9c8bd;
  text-decoration: none;
}

.hero {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  min-height: min(760px, calc(100svh - 68px));
  padding: 68px 0 52px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
  gap: 58px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 760;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  font-size: clamp(40px, 6vw, 68px);
}

h2 {
  font-size: clamp(26px, 3.2vw, 38px);
}

h3 {
  font-size: 19px;
}

.lead {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 19px;
}

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

.meta-row {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--muted);
  font-size: 14px;
}

.meta-row span {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.64);
}

.product-visual {
  position: relative;
  min-height: 460px;
  display: grid;
  place-items: center;
}

.app-icon-large {
  position: absolute;
  top: 0;
  right: -4px;
  z-index: 3;
  width: 92px;
  height: 92px;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.device {
  width: min(100%, 520px);
  aspect-ratio: 4 / 3;
  border: 1px solid #cfd8d1;
  border-radius: 28px;
  padding: 18px;
  background: #1c231f;
  box-shadow: var(--shadow);
}

.tablet-device {
  transform: translateX(18px);
}

.phone-device {
  position: absolute;
  left: -2px;
  bottom: 8px;
  width: 142px;
  aspect-ratio: 9 / 19.5;
  padding: 7px;
  border: 1px solid #cfd8d1;
  border-radius: 28px;
  background: #1c231f;
  box-shadow: 0 22px 54px rgba(23, 32, 27, 0.22);
}

.phone-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  padding: 24px 10px 36px;
  border-radius: 21px;
  background: #f7f8f5;
}

.phone-status {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 42px;
  height: 9px;
  border-radius: 999px;
  background: #1c231f;
  transform: translateX(-50%);
}

.phone-heading {
  width: 58%;
  height: 10px;
  margin-bottom: 10px;
  border-radius: 999px;
  background: #9ab9a8;
}

.phone-feature {
  height: 58px;
  margin-bottom: 9px;
  border: 1px solid #dce3dd;
  border-radius: 9px;
  background: linear-gradient(135deg, #dbe7e0, #8ba999);
}

.phone-assets {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
}

.phone-assets span {
  height: 48px;
  border: 1px solid #dce3dd;
  border-radius: 7px;
  background: linear-gradient(135deg, #d7d4c8, #6f8ca0);
}

.phone-assets span:nth-child(2) {
  background: linear-gradient(135deg, #c8dde0, #d7a75d);
}

.phone-assets span:nth-child(3) {
  background: linear-gradient(135deg, #bcc9d8, #64816c);
}

.phone-assets span:nth-child(4) {
  background: linear-gradient(135deg, #dfd8cc, #a95f4c);
}

.phone-tabbar {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  border-top: 1px solid #d9e1dc;
  background: #edf2ee;
}

.phone-tabbar span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #9ab9a8;
}

.screen {
  height: 100%;
  overflow: hidden;
  border-radius: 18px;
  background: #f7f8f5;
  display: grid;
  grid-template-columns: 30% 70%;
}

.sidebar {
  padding: 18px 12px;
  background: #edf2ee;
  border-right: 1px solid #d9e1dc;
}

.folder-line {
  height: 10px;
  margin: 0 0 14px;
  border-radius: 999px;
  background: #c9d5cd;
}

.folder-line:nth-child(2) {
  width: 72%;
  background: #9ab9a8;
}

.folder-line:nth-child(3) {
  width: 58%;
}

.folder-line:nth-child(4) {
  width: 84%;
}

.grid-preview {
  padding: 18px;
}

.toolbar-preview {
  height: 28px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.search-pill {
  width: 46%;
  height: 18px;
  border-radius: 999px;
  background: #dbe7e0;
}

.dot-group {
  display: flex;
  gap: 8px;
}

.dot-group span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: var(--brand);
}

.asset-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.asset-tile {
  min-height: 70px;
  border-radius: 7px;
  background: #fff;
  border: 1px solid #dce3dd;
  overflow: hidden;
}

.asset-tile::before {
  content: "";
  display: block;
  height: 74%;
  background: linear-gradient(135deg, #cedbd1, #87a597);
}

.asset-tile:nth-child(2)::before {
  background: linear-gradient(135deg, #d7d4c8, #6f8ca0);
}

.asset-tile:nth-child(3)::before {
  background: linear-gradient(135deg, #c8dde0, #d7a75d);
}

.asset-tile:nth-child(4)::before {
  background: linear-gradient(135deg, #bcc9d8, #64816c);
}

.asset-tile:nth-child(5)::before {
  background: linear-gradient(135deg, #dfd8cc, #a95f4c);
}

.asset-tile:nth-child(6)::before {
  background: linear-gradient(135deg, #cad8ce, #386a7b);
}

.section {
  padding: 76px 0;
  border-top: 1px solid var(--line);
}

.section.alt {
  background: #ffffff;
}

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

.section-heading {
  max-width: 820px;
  margin-bottom: 36px;
}

.section-heading.compact {
  margin-bottom: 24px;
}

.section-heading p,
.page-header p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.section-link {
  margin: 24px 0 0;
  font-weight: 700;
}

.screenshots {
  padding-top: 28px;
  border-top: 0;
}

.carousel-shell {
  position: relative;
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 14px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(39, 103, 73, 0.12), transparent 42%),
    linear-gradient(45deg, rgba(15, 111, 143, 0.1), transparent 55%),
    #fff;
  box-shadow: 0 18px 48px rgba(23, 32, 27, 0.08);
}

.slide-placeholder {
  min-height: 100%;
  padding: 26px;
  border: 1px dashed #b9c8bd;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: rgba(247, 248, 245, 0.72);
}

.slide-placeholder.active {
  background: #17201b;
  color: #fff;
  border-style: solid;
}

.slide-placeholder span {
  margin-bottom: auto;
  color: var(--accent);
  font-weight: 800;
}

.slide-placeholder.active span,
.slide-placeholder.active p {
  color: #d8e2db;
}

.slide-placeholder p {
  margin: 10px 0 0;
  color: var(--muted);
}

.carousel-dots {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.carousel-dots span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #c5d0c8;
}

.carousel-dots span:first-child {
  width: 28px;
  background: var(--brand);
}

.feature-grid,
.link-grid,
.doc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-card,
.link-card,
.doc-card,
.notice,
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.feature-card,
.link-card,
.doc-card {
  padding: 22px;
}

.feature-card p,
.link-card p,
.doc-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.feature-kicker {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--warn);
  font-size: 13px;
  font-weight: 760;
}

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

.step {
  position: relative;
  padding: 24px;
  border-left: 3px solid var(--brand);
  background: #fff;
  counter-increment: steps;
}

.step::before {
  content: counter(steps, decimal-leading-zero);
  display: block;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

.step p {
  margin: 10px 0 0;
  color: var(--muted);
}

.notice {
  padding: 28px;
  background: var(--surface-soft);
}

.notice p {
  margin: 10px 0 0;
  color: var(--muted);
}

.cloud-access-notice {
  margin-top: 24px;
}

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

.faq-item {
  padding: 22px 24px;
}

.faq-item p {
  margin: 10px 0 0;
  color: var(--muted);
}

.page-header {
  padding: 64px 0 38px;
  border-bottom: 1px solid var(--line);
}

.page-layout {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 78px;
}

.content-block {
  margin-bottom: 50px;
}

.doc-toc {
  position: sticky;
  top: 84px;
  z-index: 1;
  margin: -18px 0 42px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.doc-toc a {
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 14px;
  background: #f4f7f5;
}

.doc-toc a:hover {
  color: var(--ink);
  text-decoration: none;
  background: #e7efe9;
}

.content-block h2 {
  font-size: 27px;
}

.content-block h3 {
  margin-top: 24px;
  font-size: 18px;
}

.content-block p,
.content-block li {
  color: var(--muted);
  font-size: 16px;
}

.content-block ul,
.content-block ol {
  padding-left: 22px;
}

.content-block li + li {
  margin-top: 8px;
}

.term-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 20px;
}

.term-grid article,
.callout {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.term-grid article {
  padding: 22px;
}

.term-grid p {
  margin: 10px 0 0;
}

.callout {
  margin: 22px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--brand);
  background: var(--surface-soft);
}

.callout.warning {
  border-left-color: var(--warn);
  background: #fff8ef;
}

.callout p {
  margin: 8px 0 0;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

th,
td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  color: var(--ink);
  background: #f0f4f1;
  font-size: 14px;
}

td {
  color: var(--muted);
}

tr:last-child td {
  border-bottom: 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #17201b;
  color: #d8e2db;
}

.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer a {
  color: #d8e2db;
}

.footer-meta {
  color: #a8b6ad;
  font-size: 14px;
}

@media (max-width: 900px) {
  .nav {
    min-height: auto;
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    min-height: auto;
    padding-top: 48px;
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .product-visual {
    min-height: 410px;
  }

  .app-icon-large {
    width: 72px;
    height: 72px;
    border-radius: 16px;
  }

  .feature-grid,
  .link-grid,
  .doc-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .carousel-shell {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .slide-placeholder {
    min-height: 220px;
  }

  .footer-inner {
    flex-direction: column;
  }

  .doc-toc {
    position: static;
  }

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

@media (max-width: 560px) {
  .nav-links {
    gap: 16px;
    font-size: 14px;
  }

  .hero {
    padding-bottom: 36px;
  }

  .lead {
    font-size: 18px;
  }

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

  .hero-actions .button,
  .hero-actions .button-secondary {
    width: 100%;
  }

  .device {
    border-radius: 18px;
    padding: 10px;
  }

  .tablet-device {
    transform: translateX(10px);
  }

  .phone-device {
    left: 2px;
    bottom: 16px;
    width: 112px;
    border-radius: 23px;
  }

  .phone-screen {
    padding: 22px 8px 32px;
    border-radius: 17px;
  }

  .phone-feature {
    height: 45px;
  }

  .phone-assets span {
    height: 36px;
  }

  .screen {
    border-radius: 12px;
  }

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

  .section {
    padding: 58px 0;
  }
}
