:root {
  color-scheme: light;
  --bg: #f7f8f5;
  --ink: #18201c;
  --muted: #5f6b63;
  --line: #dce4dc;
  --panel: #ffffff;
  --panel-soft: #eef5ef;
  --accent: #1c7c54;
  --accent-strong: #0e5f43;
  --blue: #2f6f9f;
  --rose: #b34f64;
  --shadow: 0 18px 60px rgba(24, 32, 28, 0.12);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(24, 32, 28, 0.14);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 15px;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 3px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted);
}

.language-switch a,
.language-switch span {
  min-width: 34px;
  border-radius: 6px;
  padding: 4px 8px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}

.language-switch span {
  background: var(--ink);
  color: white;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--accent-strong);
}

.hero {
  position: relative;
  min-height: 86vh;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 56px 0 72px;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(247, 248, 245, 0.96) 0%, rgba(247, 248, 245, 0.8) 48%, rgba(247, 248, 245, 0.56) 100%),
    url("assets/app-icon.png") right 10vw center / min(42vw, 560px) no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  z-index: -1;
  background: linear-gradient(0deg, var(--bg), rgba(247, 248, 245, 0));
}

.hero-inner,
.section,
.policy-page {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-strong);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
}

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(48px, 8vw, 96px);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy .lead {
  max-width: 610px;
  margin-bottom: 32px;
  color: #344039;
  font-size: clamp(19px, 2.2vw, 26px);
  line-height: 1.45;
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--line);
  padding: 10px 16px;
  font-weight: 700;
  background: var(--panel);
  box-shadow: 0 6px 20px rgba(24, 32, 28, 0.06);
}

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

.button:hover {
  transform: translateY(-1px);
}

.hero-strip {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(9, minmax(54px, 1fr));
  gap: 10px;
  max-width: 760px;
}

.key {
  min-height: 58px;
  border: 1px solid rgba(24, 32, 28, 0.08);
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 12px 28px rgba(24, 32, 28, 0.08);
  font-size: 25px;
  font-weight: 700;
}

.section {
  padding: 78px 0;
}

.section.compact {
  padding-top: 36px;
}

.section-header {
  max-width: 700px;
  margin-bottom: 28px;
}

.section-header h2,
.policy-page h1 {
  margin-bottom: 12px;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-header p,
.policy-lead,
.text-muted {
  color: var(--muted);
}

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

.feature,
.step,
.privacy-summary {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 22px;
  box-shadow: 0 10px 34px rgba(24, 32, 28, 0.06);
}

.feature h3,
.step h3,
.privacy-summary h2 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.3;
}

.feature p,
.step p,
.privacy-summary p,
.policy-section p,
.policy-section li {
  color: var(--muted);
}

.sample-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #17211c;
  color: white;
  padding: 44px 0;
}

.sample-track {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.sample {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.08);
  font-size: clamp(21px, 4vw, 38px);
  line-height: 1.2;
}

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

.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-grid;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 50%;
  background: var(--panel-soft);
  color: var(--accent-strong);
  font-weight: 800;
}

.notice {
  border-left: 4px solid var(--blue);
  background: #edf5f7;
  padding: 18px 20px;
  color: #214653;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 30px 0;
  color: var(--muted);
}

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

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

.policy-page {
  max-width: 880px;
  padding: 62px 0 86px;
}

.policy-meta {
  color: var(--muted);
  margin-bottom: 34px;
}

.privacy-summary {
  margin: 26px 0 34px;
  background: #fdfefe;
}

.policy-section {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  margin-top: 28px;
}

.policy-section h2 {
  font-size: 25px;
  line-height: 1.25;
  margin-bottom: 10px;
}

.policy-section ul {
  padding-left: 22px;
}

.policy-section li + li {
  margin-top: 8px;
}

.contact-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-soft);
  padding: 18px 20px;
}

@media (max-width: 820px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 14px 0;
    gap: 10px;
  }

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

  .language-switch {
    flex: 0 0 auto;
  }

  .hero {
    min-height: 78vh;
    padding-top: 42px;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(247, 248, 245, 0.92) 0%, rgba(247, 248, 245, 0.86) 62%, rgba(247, 248, 245, 0.7) 100%),
      url("assets/app-icon.png") right -76px top 42px / 280px no-repeat;
  }

  .hero-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 360px;
  }

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

  .section {
    padding: 54px 0;
  }
}

@media (max-width: 520px) {
  .actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-strip {
    gap: 8px;
  }

  .key {
    min-height: 50px;
    font-size: 22px;
  }
}
