:root {
  --ink: #202322;
  --muted: #686f6b;
  --paper: #f3f4f2;
  --panel: #fbfbf8;
  --line: #dedfda;
  --green: #2f5945;
  --soft-green: #eef5f0;
  --gold: #8c7847;
  --rose: #78635e;
  --shadow: 0 18px 46px rgba(33, 37, 34, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Avenir Next", "PingFang SC", "Hiragino Sans GB", sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(18px, 5vw, 64px);
  border-bottom: 1px solid rgba(23, 32, 27, 0.1);
  background: rgba(243, 244, 242, 0.92);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(28, 31, 30, 0.16);
  object-fit: cover;
}

.text-link {
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.language-switch {
  display: flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
}

.language-switch button {
  border: 0;
  border-radius: 999px;
  padding: 7px 11px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.language-switch button.is-active {
  background: var(--ink);
  color: var(--paper);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  min-height: auto;
  padding: clamp(54px, 8vw, 96px) clamp(18px, 7vw, 88px) clamp(42px, 7vw, 76px);
  overflow: hidden;
}

.hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(2.25rem, 5vw, 4.25rem);
  line-height: 1.08;
  font-weight: 750;
}

.document h1 {
  max-width: 850px;
  margin: 0 0 18px;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 1.08;
  font-weight: 750;
}

.hero-text,
.lead {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
}

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

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid #2c302d;
  border-radius: 12px;
  padding: 12px 20px;
  font-weight: 700;
  text-decoration: none;
}

.button.primary {
  background: var(--ink);
  color: var(--paper);
}

.button.secondary {
  background: transparent;
}

.phone-stage {
  position: relative;
  display: grid;
  gap: 16px;
  min-height: 500px;
  place-items: center;
}

.phone-frame {
  position: relative;
  width: min(78vw, 292px);
  aspect-ratio: 0.49;
  border: 10px solid #2a2d2b;
  border-radius: 38px;
  background: #111412;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.screen-carousel {
  position: absolute;
  inset: 0;
  background: #f1f3ef;
}

.screen-slide {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: #f1f3ef;
  color: var(--green);
  font-weight: 700;
  opacity: 0;
  text-align: center;
  transition: opacity 180ms ease;
}

.screen-slide.is-active {
  opacity: 1;
}

.screen-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.screenshot-tabs {
  display: flex;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(251, 251, 248, 0.86);
}

.screenshot-tabs button {
  min-width: 68px;
  border: 0;
  border-radius: 999px;
  padding: 7px 12px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.88rem;
  cursor: pointer;
}

.screenshot-tabs button.is-active {
  background: var(--ink);
  color: var(--paper);
}

.feature-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 0 clamp(18px, 7vw, 88px) clamp(42px, 7vw, 82px);
  border: 1px solid var(--line);
  background: var(--line);
}

.feature-band article,
.support-panel {
  background: var(--panel);
  padding: clamp(24px, 4vw, 42px);
}

.feature-index {
  color: var(--muted);
  font-weight: 800;
}

.feature-band h2,
.security-section h2,
.document h2 {
  margin: 10px 0;
  font-size: clamp(1.28rem, 2vw, 1.85rem);
  line-height: 1.18;
  font-weight: 720;
}

.feature-band p,
.security-section p,
.document p,
.plain-list {
  color: var(--muted);
}

.security-section {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(24px, 6vw, 72px);
  padding: clamp(42px, 7vw, 82px) clamp(18px, 7vw, 88px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #ebeeea;
}

.security-section > div:first-child {
  max-width: 640px;
}

.security-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.security-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: var(--panel);
}

.security-list h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.security-list p {
  margin: 0;
  color: var(--muted);
}

.document {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(44px, 7vw, 90px) clamp(18px, 6vw, 70px);
}

.document section {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.updated {
  color: var(--rose);
  font-weight: 700;
}



.plain-list {
  padding-left: 1.2rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 64px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

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

.footer-links a {
  color: var(--muted);
  text-underline-offset: 4px;
}

@media (max-width: 1160px) {
  .feature-band,
  .security-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .hero,
  .feature-band,
  .security-section,
  .security-list {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .phone-stage {
    min-height: 430px;
  }

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

  .footer-links {
    justify-content: flex-start;
  }
}
