@font-face {
  font-family: "Outfit"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(https://cdn.jsdelivr.net/fontsource/fonts/outfit@latest/latin-400-normal.woff2) format("woff2");
}
@font-face {
  font-family: "Outfit"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(https://cdn.jsdelivr.net/fontsource/fonts/outfit@latest/latin-500-normal.woff2) format("woff2");
}
@font-face {
  font-family: "Outfit"; font-style: normal; font-weight: 600; font-display: swap;
  src: url(https://cdn.jsdelivr.net/fontsource/fonts/outfit@latest/latin-600-normal.woff2) format("woff2");
}

:root {
  --bg: #f6f6f3;
  --bg-band: #eeeeea;
  --surface: #ffffff;
  --text: #1d201e;
  --text-soft: #52564f;
  --line: #dddcd6;
  --accent: #175c43;
  --accent-ink: #f2f0e9;
  --radius: 16px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #141614;
    --bg-band: #1b1e1b;
    --surface: #1f221f;
    --text: #e9ebe7;
    --text-soft: #a4a89f;
    --line: #32352f;
    --accent: #58c194;
    --accent-ink: #10231a;
  }
}
:root[data-theme="dark"] {
  --bg: #141614;
  --bg-band: #1b1e1b;
  --surface: #1f221f;
  --text: #e9ebe7;
  --text-soft: #a4a89f;
  --line: #32352f;
  --accent: #58c194;
  --accent-ink: #10231a;
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
a { color: inherit; }

/* ---- nav ---- */
header {
  position: sticky; top: 0; z-index: 10;
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { height: 64px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 17px; letter-spacing: -0.01em; white-space: nowrap; }
.brand svg { display: block; }
.nav-links { display: flex; gap: 28px; font-size: 15px; }
.nav-links a { text-decoration: none; color: var(--text-soft); transition: color .2s; }
.nav-links a:hover { color: var(--text); }

/* ---- hero ---- */
.hero { padding: 80px 0 96px; }
.hero-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 56px; align-items: center; }
.eyebrow { font-size: 14px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
h1 {
  font-size: clamp(2.2rem, 4.8vw, 3.6rem);
  font-weight: 600; letter-spacing: -0.03em; line-height: 1.06;
  max-width: 14ch;
}
.lede { margin-top: 22px; color: var(--text-soft); font-size: 1.12rem; max-width: 46ch; }
.cta-row { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block; text-decoration: none; font-weight: 500; font-size: 15px;
  padding: 12px 24px; border-radius: 999px; transition: transform .15s, opacity .2s, border-color .2s;
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { opacity: .9; }
.btn-ghost { border: 1px solid var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--text-soft); }
.btn-sm { font-size: 14px; padding: 8px 16px; }

.mosaic {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  max-width: 360px; margin: 0 auto;
}
.mosaic img {
  display: block; width: 100%; height: auto; aspect-ratio: 1;
  border-radius: 23%;
  box-shadow: 0 10px 28px rgba(20, 22, 20, .14);
}
.mosaic img:nth-child(2), .mosaic img:nth-child(5) { transform: translateY(18px); }

/* ---- sections ---- */
section { padding: 88px 0; }
.band { background: var(--bg-band); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.section-head { max-width: 60ch; margin-bottom: 44px; }
.section-head p { margin-top: 14px; color: var(--text-soft); }

/* ---- product cards ---- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column; align-items: flex-start;
}
.card-head { display: flex; align-items: center; gap: 14px; }
.app-icon { width: 56px; height: 56px; border-radius: 23%; flex: none; border: 1px solid var(--line); }
.card h3 { font-size: 1.15rem; font-weight: 600; line-height: 1.25; }
.kind { font-size: 13.5px; color: var(--text-soft); margin-top: 2px; }
.tag {
  display: inline-block; margin-top: 18px;
  font-size: 12.5px; font-weight: 500; padding: 3px 11px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--text-soft);
}
.tag-live { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.desc { margin-top: 12px; color: var(--text-soft); font-size: 0.97rem; flex: 1; }
.links { margin-top: 20px; display: flex; gap: 10px; flex-wrap: wrap; }
.legal { margin-top: 14px; font-size: 13.5px; color: var(--text-soft); }
.legal a { color: var(--text-soft); }
.legal a:hover { color: var(--text); }

/* ---- about ---- */
.about-grid { display: grid; grid-template-columns: 6fr 5fr; gap: 64px; align-items: start; }
.about-lede { margin-top: 16px; color: var(--text-soft); max-width: 50ch; }
.facts { display: grid; gap: 0; }
.facts > div { display: grid; grid-template-columns: 9.5em 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.facts > div:last-child { border-bottom: 1px solid var(--line); }
.facts dt { color: var(--text-soft); font-size: 15px; }
.facts dd { font-weight: 500; overflow-wrap: anywhere; }
.facts a { color: var(--accent); text-decoration: none; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 64px; }
.principles > div { border-left: 3px solid var(--accent); padding-left: 18px; }
.principles h3 { font-size: 1.05rem; font-weight: 600; }
.principles p { margin-top: 8px; color: var(--text-soft); font-size: 0.97rem; }

/* ---- contact ---- */
.contact p { color: var(--text-soft); max-width: 52ch; margin-top: 14px; }
.contact-mail {
  display: inline-block; margin-top: 28px; font-size: clamp(1.15rem, 2.6vw, 1.7rem);
  font-weight: 600; letter-spacing: -0.01em; color: var(--accent); overflow-wrap: anywhere;
  text-decoration: none; border-bottom: 2px solid color-mix(in srgb, var(--accent) 35%, transparent);
  transition: border-color .2s;
}
.contact-mail:hover { border-color: var(--accent); }

footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--text-soft); font-size: 14px; }
.foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.foot a { color: var(--text-soft); }

/* ---- legal pages ---- */
.doc { max-width: 720px; padding: 64px 20px 88px; margin: 0 auto; }
.doc h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); max-width: none; }
.doc .updated { margin-top: 10px; color: var(--text-soft); font-size: 15px; }
.doc h2 { font-size: 1.2rem; margin-top: 36px; }
.doc p, .doc li { margin-top: 12px; color: var(--text-soft); }
.doc ul { padding-left: 1.2em; }
.doc a { color: var(--accent); }

@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .hero { padding: 48px 0 64px; }
  .hero-grid, .about-grid { grid-template-columns: 1fr; gap: 44px; }
  .mosaic { max-width: 300px; }
  .principles { grid-template-columns: 1fr; gap: 28px; margin-top: 48px; }
  section { padding: 64px 0; }
  .nav-links { gap: 16px; font-size: 14px; }
}
@media (max-width: 620px) {
  .cards { grid-template-columns: 1fr; }
  .facts > div { grid-template-columns: 1fr; gap: 2px; }
}
@media (max-width: 430px) {
  .wrap { padding: 0 16px; }
  .brand { font-size: 15px; gap: 8px; }
  .brand svg { width: 24px; height: 24px; }
  .nav-links { gap: 12px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .nav-links a, .contact-mail { transition: none; }
}
