:root {
  --page: #eef0f5;
  --card: #dde2ed;
  --tile: #1d2232;
  --moon: #f1e8c8;
  --ink: #1d2232;
  --muted: #596075;
  --line: rgba(29, 34, 50, 0.1);
  --focus: #3b5bdb;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --page: #14171f;
    --card: #212636;
    --tile: #0e1017;
    --moon: #f1e8c8;
    --ink: #eceef4;
    --muted: #9ba2b5;
    --line: rgba(236, 238, 244, 0.1);
    --focus: #8ea2ff;
  }
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 960px; margin: 0 auto; padding: 64px 24px 40px; }

a { color: inherit; }
a:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Home header */
header.site { margin-bottom: 48px; }
header.site h1 {
  margin: 0 0 6px;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 600; letter-spacing: -0.03em; line-height: 1.1;
}
header.site p { margin: 0; color: var(--muted); }

/* Text sections */
.section { max-width: 62ch; margin: 0 0 64px; }
.section h2 {
  margin: 0 0 12px;
  font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em;
}
.section p { margin: 0 0 14px; color: var(--muted); }
.section ul { margin: 0; padding-left: 1.2em; color: var(--muted); }
.section li { margin-bottom: 6px; }

/* Product grid */
.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: 28px;
  display: flex; flex-direction: column; gap: 20px;
}
.card-top { display: flex; align-items: center; gap: 18px; }

.icon {
  flex: none; width: 72px; height: 72px; border-radius: 22px;
  background: var(--tile);
  display: grid; place-items: center; position: relative;
}
.icon svg { width: 40px; height: 40px; display: block; }

.card h3 {
  margin: 0; font-size: 1.375rem; font-weight: 600;
  letter-spacing: -0.02em; line-height: 1.2;
}
.card h3 a { text-decoration: none; }
.card h3 a:hover { text-decoration: underline; }
.card p { margin: 0; color: var(--muted); font-size: 1rem; max-width: 44ch; }

.button {
  align-self: flex-start; margin-top: auto;
  display: inline-block;
  padding: 11px 20px; border-radius: 999px;
  background: var(--ink); color: var(--page);
  font-weight: 500; font-size: 0.9375rem; text-decoration: none;
  transition: opacity 0.15s ease;
}
.button:hover { opacity: 0.85; }

/* Extension page */
.crumbs { font-size: 0.875rem; color: var(--muted); margin-bottom: 40px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span[aria-hidden] { margin: 0 6px; }

.hero { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; }
.hero .icon { width: 88px; height: 88px; border-radius: 26px; }
.hero .icon::after { inset: 6px; border-radius: 20px; }
.hero .icon svg { width: 48px; height: 48px; }
.hero h1 {
  margin: 0; font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600; letter-spacing: -0.03em; line-height: 1.1;
}
.lead { color: var(--muted); max-width: 62ch; margin: 0 0 28px; font-size: 1.0625rem; }

/* Footer */
footer {
  margin-top: 64px; padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  color: var(--muted); font-size: 0.875rem;
}
footer nav { display: flex; gap: 16px; }

@media (max-width: 720px) {
  .wrap { padding: 40px 16px 32px; }
  .products { grid-template-columns: 1fr; }
  .card { border-radius: 28px; padding: 24px; }
  .section { margin-bottom: 48px; }
  .hero .icon { width: 72px; height: 72px; border-radius: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
}

.addon-img {
	width: 64px;
	height: 64px;
}
/* FAQ */
.section h3 {
  margin: 24px 0 6px;
  font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3;
}
.section h2 + h3 { margin-top: 12px; }
