:root {
  color-scheme: light;
  --bg: #f4f7f6;
  --paper: #ffffff;
  --ink: #17211f;
  --muted: #60706b;
  --line: #dce5e1;
  --accent: #0f766e;
  --accent-strong: #0a5e58;
  --accent-soft: #dff3ef;
  --amber: #b7791f;
  --blue: #285e8e;
  --shadow: 0 18px 60px rgba(20, 35, 31, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #fbfcfb 0%, var(--bg) 52%, #edf3f1 100%);
  line-height: 1.65;
}

a {
  color: var(--accent-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.site-shell {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 760;
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(15, 118, 110, 0.22);
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 680;
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--accent-strong);
  background: var(--accent-soft);
}

.lang {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 400px);
  gap: 48px;
  align-items: center;
  padding: 56px 0 72px;
}

.kicker {
  margin: 0 0 14px;
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2.5rem, 6vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: 0;
}

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

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 650px;
  margin-top: 28px;
}

.hero-points span {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #2c3a36;
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  font-weight: 720;
}

.hero-visual {
  display: grid;
  justify-items: center;
  gap: 18px;
}

.device-row {
  width: min(100%, 318px);
}

.phone-frame {
  width: 100%;
  padding: 10px;
  border: 1px solid #29332f;
  border-radius: 34px;
  background: #101615;
  box-shadow: 0 24px 62px rgba(20, 35, 31, 0.24);
}

.phone-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
}

.visual-caption {
  width: min(100%, 318px);
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.visual-caption img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
}

.visual-caption strong {
  display: block;
  margin-top: 12px;
}

.visual-caption p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  color: #ffffff;
  background: var(--accent);
  font-weight: 760;
  text-decoration: none;
}

.button.secondary {
  color: var(--accent-strong);
  background: rgba(255, 255, 255, 0.58);
}

.product-preview,
.feature-section,
.faq-section {
  padding: 0 0 72px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-heading p {
  max-width: 430px;
  margin: 0;
  color: var(--muted);
}

.screenshot-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.screenshot {
  overflow: hidden;
  padding: 6px;
  border: 1px solid #29332f;
  border-radius: 26px;
  background: #101615;
  box-shadow: 0 16px 42px rgba(20, 35, 31, 0.13);
  margin: 0;
}

.zoom-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: transparent;
  cursor: zoom-in;
}

.screenshot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 19px;
}

.screenshot figcaption {
  padding: 10px 6px 6px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.78rem;
  font-weight: 720;
  line-height: 1.25;
  text-align: center;
}

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

.feature-card {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 34px rgba(20, 35, 31, 0.06);
}

.feature-card .feature-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 8px;
  color: #fff;
  background: var(--accent);
  font-weight: 820;
}

.feature-card:nth-child(2n) .feature-mark {
  background: var(--blue);
}

.feature-card:nth-child(3n) .feature-mark {
  background: var(--amber);
}

.feature-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

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

.faq-list details,
.guide-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.faq-list summary,
.guide-list summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--ink);
  font-weight: 760;
}

.faq-list details[open] summary,
.guide-list details[open] summary {
  border-bottom: 1px solid var(--line);
}

.faq-list p,
.guide-list p {
  margin: 0;
  padding: 16px 20px 20px;
  color: var(--muted);
}

.guide-list ol {
  margin: 0;
  padding: 16px 20px 20px 40px;
  color: var(--muted);
}

.guide-list li + li {
  margin-top: 8px;
}

.nested-guide {
  display: grid;
  gap: 10px;
  padding: 0 20px 20px;
}

.nested-guide details {
  background: #f8fbfa;
}

.nested-guide summary {
  padding: 14px 16px;
  font-size: 0.96rem;
}

.nested-guide p,
.nested-guide ol {
  padding: 12px 16px 16px;
}

.nested-guide ol {
  margin: 0;
  padding-left: 34px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(10, 16, 15, 0.76);
}

.lightbox[aria-hidden="false"] {
  display: flex;
}

.lightbox-content {
  position: relative;
  width: min(92vw, 430px);
  max-height: 92vh;
  padding: 10px;
  border-radius: 34px;
  background: #101615;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
}

.lightbox-content img {
  display: block;
  width: 100%;
  max-height: calc(92vh - 20px);
  object-fit: contain;
  border-radius: 24px;
}

.lightbox-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  color: #fff;
  background: #17211f;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}

.document {
  width: min(780px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 80px;
}

.document-card {
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.document-card h1 {
  font-size: clamp(2rem, 5vw, 3.7rem);
}

.document-card h2 {
  margin: 34px 0 8px;
  font-size: 1.24rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.document-card p,
.document-card li {
  color: #2c3a36;
}

.form-frame {
  width: 100%;
  height: 1380px;
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.meta {
  margin: 16px 0 28px;
  color: var(--muted);
}

.note {
  margin-top: 30px;
  padding: 16px 18px;
  border-left: 4px solid var(--amber);
  background: #fff8eb;
  color: #4a3820;
}

.footer {
  padding: 26px 0 42px;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 820px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 42px 0 52px;
  }

  .hero-points {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: auto;
  }

  .device-row {
    height: auto;
  }

  .visual-caption {
    width: auto;
  }

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

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .screenshot-strip {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
  }

  .screenshot {
    flex: 0 0 min(72vw, 280px);
    scroll-snap-align: start;
  }

  .document-card {
    padding: 28px 20px;
  }

  .form-frame {
    height: 1480px;
  }
}

@media (max-width: 520px) {
  .site-shell,
  .document {
    width: min(100% - 24px, 1080px);
  }

  .nav a {
    padding: 0 10px;
  }

  .actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
