:root {
  color-scheme: light;
  --bg: #eef4ef;
  --surface: #ffffff;
  --ink: #17231f;
  --muted: #65736e;
  --line: #d8e1dc;
  --primary: #058461;
  --primary-dark: #036b50;
  --primary-soft: #dff4eb;
  --accent: #f4b942;
  --soft: #f7faf7;
  --radius: 8px;
  --shadow: 0 16px 45px rgba(22, 50, 39, 0.1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(5, 132, 97, 0.14), rgba(238, 244, 239, 0) 340px),
    repeating-linear-gradient(135deg, rgba(5, 132, 97, 0.045) 0 1px, transparent 1px 18px),
    var(--bg);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px max(18px, calc((100% - 1120px) / 2));
  border-bottom: 4px solid var(--accent);
  background: rgba(4, 111, 82, 0.96);
  color: white;
  box-shadow: 0 10px 30px rgba(4, 82, 61, 0.18);
  backdrop-filter: blur(16px);
}

.brand, nav, .hero-actions, .trust-strip {
  display: flex;
  align-items: center;
}

.brand { gap: 10px; font-weight: 800; }

.brand-mark, .app-icon {
  display: grid;
  place-items: center;
  background: var(--primary);
  color: white;
  font-weight: 800;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 8px;
  background: rgba(255,255,255,0.14);
}

nav { gap: 6px; font-size: 14px; font-weight: 700; }
nav a {
  border-radius: 999px;
  padding: 8px 11px;
  color: rgba(255,255,255,0.88);
}
nav a:hover { background: rgba(255,255,255,0.12); color: white; }

.nav-cta { background: var(--accent); color: #1d241f; }
.nav-cta:hover { background: #ffd36a; color: #1d241f; }

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

.hero {
  position: relative;
  overflow: hidden;
  margin-top: 26px;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.16) 0 18%, transparent 18% 32%, rgba(255,255,255,0.1) 32% 50%, transparent 50%),
    linear-gradient(135deg, #087a5c, #06a873);
  box-shadow: var(--shadow);
  color: white;
  padding: 42px 28px;
  text-align: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 20px;
  font-size: 54px;
  line-height: 1.02;
  letter-spacing: 0;
}

h2 { margin-bottom: 16px; font-size: 30px; line-height: 1.14; letter-spacing: 0; }
h3 { margin-bottom: 10px; font-size: 18px; line-height: 1.2; letter-spacing: 0; }

.lead {
  max-width: 720px;
  margin: 0 auto;
  color: rgba(255,255,255,0.86);
  font-size: 18px;
}

.download-card {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-width: min(100%, 420px);
  margin: 26px auto 0;
  border: 1px solid rgba(255,255,255,0.26);
  border-radius: 14px;
  background: rgba(255,255,255,0.14);
  padding: 14px;
  text-align: left;
}
.download-card h2 { margin: 0 0 3px; font-size: 22px; }
.download-card p { margin: 0; color: rgba(255,255,255,0.78); }

.app-icon {
  width: 78px;
  height: 78px;
  margin: 0;
  border: 3px solid rgba(255,255,255,0.72);
  border-radius: 18px;
  overflow: hidden;
  background: white;
  color: var(--primary);
  font-size: 36px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.18);
}
.app-icon img { width: 100%; height: 100%; object-fit: cover; }

.security-box {
  width: min(100%, 720px);
  margin: 22px auto 0;
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: 12px;
  background: rgba(0,0,0,0.12);
  padding: 14px;
}
.security-box h2 {
  margin: 0 0 10px;
  color: white;
  font-size: 18px;
}

.hero-actions { justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 800;
}

.button.primary { background: var(--accent); color: #1d241f; box-shadow: 0 10px 22px rgba(244, 185, 66, 0.24); }
.button.primary:hover { background: #ffd36a; }
.button.secondary { border: 1px solid rgba(255,255,255,0.36); background: rgba(255,255,255,0.12); color: white; }

.trust-strip { justify-content: center; flex-wrap: wrap; gap: 8px; }
.trust-strip span {
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
  padding: 7px 11px;
  color: white;
  font-size: 13px;
  font-weight: 650;
}

.toc-card, .panel, .content-section, .closing {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.toc-card {
  margin: 18px 0 22px;
  padding: 20px;
}
.toc-card h2 { margin-bottom: 14px; font-size: 22px; }
.toc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  counter-reset: toc;
}
.toc-grid a {
  counter-increment: toc;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  padding: 10px 12px;
  color: var(--primary-dark);
  font-weight: 700;
}
.toc-grid a::before {
  content: counter(toc);
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--primary);
  color: white;
  font-size: 12px;
}

.panel {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  padding: 26px;
  margin-bottom: 22px;
}

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

.info-row { border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.info-row dt { color: var(--muted); font-size: 12px; }
.info-row dd { margin: 4px 0 0; font-weight: 750; word-break: break-word; }

.content-section, .closing { margin: 22px 0; padding: clamp(22px, 4vw, 34px); }
.prose { color: var(--muted); font-size: 17px; }
.prose p:last-child { margin-bottom: 0; }

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

.feature-card { border: 1px solid var(--line); border-radius: 14px; padding: 18px; background: var(--soft); }
.feature-dot { display: block; width: 34px; height: 4px; border-radius: 999px; background: var(--accent); margin-bottom: 20px; }

.check-list, .steps { display: grid; gap: 10px; margin: 0; padding-left: 20px; color: var(--muted); }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }

.faq-list { display: grid; gap: 10px; }
details { border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 16px; }
summary { cursor: pointer; font-weight: 760; }
details p { margin: 12px 0 0; color: var(--muted); }

.closing { background: var(--ink); color: white; }
.closing .prose { color: rgba(255,255,255,0.76); }
.closing .button.secondary { color: white; }

footer {
  width: min(1120px, calc(100% - 32px));
  margin: 34px auto;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 860px) {
  .site-header, nav, footer { align-items: flex-start; flex-direction: column; }
  nav { gap: 10px; }
  .hero { padding: 32px 18px; }
  h1 { font-size: 38px; }
  h2 { font-size: 25px; }
  .panel, .split { grid-template-columns: 1fr; }
  .feature-grid, .info-grid, .toc-grid { grid-template-columns: 1fr; }
  .download-card { align-items: flex-start; flex-direction: column; text-align: center; }
}