/* MineAI - dark theme, grass-top green accent, Alegreya, live bubbles. No gradients. */
@font-face { font-family:'Alegreya'; font-style:normal; font-weight:400; font-display:swap;
  src:url('assets/fonts/alegreya-400-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family:'Alegreya'; font-style:normal; font-weight:400; font-display:swap;
  src:url('assets/fonts/alegreya-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family:'Alegreya'; font-style:normal; font-weight:700; font-display:swap;
  src:url('assets/fonts/alegreya-700-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family:'Alegreya'; font-style:normal; font-weight:700; font-display:swap;
  src:url('assets/fonts/alegreya-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --bg: #141210;
  --bg2: #1d1a16;
  --panel: #221e18;
  --line: #000000;
  --tx: #ece7dc;
  --tx-dim: #a89e8c;
  --grass: #6b993c;
  --grass-hi: #86b854;
  --grass-lo: #4c6f28;
  --tx-on-grass: #10240a;
}
* { box-sizing: border-box; }
html { color-scheme: dark; }
img, .sec-h .chip, .ticks li::before, .soc .dot, .step::before, nav a.on, .btn.grass, .bubble .skin { image-rendering: pixelated; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--tx);
  font-family: 'Alegreya', Georgia, serif;
  font-size: 17px;
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.wrap { width: min(1080px, calc(100% - 40px)); margin: 0 auto; position: relative; }
a { color: var(--grass-hi); text-decoration: none; }
a:hover { color: #a5d076; }
h1, h2, h3 { line-height: 1.2; }
h1 em, h2 em { font-style: italic; color: var(--grass-hi); }
.label {
  font-size: 12px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  font-family: Georgia, serif;
}

/* ---------- header ---------- */
header.top { position: relative; z-index: 5; background: var(--bg2); border-bottom: 3px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; min-height: 66px; }
.brand { font-weight: 700; font-size: 26px; letter-spacing: 0.06em; color: var(--tx); }
.brand span { color: var(--grass); }
nav { display: flex; gap: 8px; }
nav a {
  padding: 7px 15px; font-size: 13.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--tx-dim); border: 2px solid transparent; border-radius: 9px;
}
nav a:hover { color: var(--tx); background: #2a251d; }
nav a.on { color: #16290d; background: url("assets/grass.png") center / 44px 44px; }
.burger { display: none; background: var(--panel); border: 2px solid var(--line); border-radius: 8px; padding: 9px 8px; cursor: pointer; }
.burger i { display: block; width: 20px; height: 3px; background: var(--tx); margin: 3px 0; }

/* ---------- hero ---------- */
main { flex: 1; }
.hero-home {
  position: relative;
  min-height: calc(100vh - 69px);
  display: flex; align-items: center;
  background: url("assets/hero.jpg") center / cover no-repeat;
}
.hero-home::before { content: ""; position: absolute; inset: 0; background: rgba(10, 13, 8, .55); }
.hero-home .wrap { position: relative; padding: 70px 0; }
.hero-home .txt { max-width: 720px; }
.hero-home h1 { font-size: clamp(34px, 5.2vw, 56px); margin: 0 0 18px; text-shadow: 0 2px 14px rgba(0,0,0,.6); }
.hero-home .lead { color: #e6e0d2; text-shadow: 0 1px 8px rgba(0,0,0,.7); }
.divider {
  height: 12px;
  background: url("assets/grass.png") repeat-x;
  background-size: auto 100%;
  image-rendering: pixelated;
  border-top: 3px solid var(--line);
  border-bottom: 3px solid var(--line);
}
.hero { display: flex; align-items: center; gap: 48px; padding: 70px 0 50px; }
.hero .txt { flex: 1; }
.soon {
  display: inline-block; margin-bottom: 22px; padding: 6px 14px;
  background: var(--panel); border: 2px solid var(--grass-lo); border-radius: 9px;
  color: var(--grass-hi); font-size: 13px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
}
.ver { margin-left: 10px; color: var(--tx-dim); letter-spacing: 0.08em; }
.hero h1 { font-size: clamp(32px, 5vw, 52px); margin: 0 0 18px; }
.lead { max-width: 640px; font-size: 18px; color: #cfc7b8; margin: 0 0 30px; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 11px 22px; border-radius: 10px;
  background: #cfe3f0; color: #16222c;
  font-weight: 700; font-size: 14px; letter-spacing: 0.06em;
  border: 2px solid #8fb3c7;
}
.btn:hover { color: #0d161d; background: #e2f0f9; border-color: #b3d0e0; }
.btn.grass { background: url("assets/grass.png") center / 88px 88px; color: #16290d; border-color: var(--grass); }
.btn.grass:hover { background-color: var(--grass-hi); color: #16290d; border-color: var(--grass-hi); }

/* ---------- sections ---------- */
.sec { padding: 46px 0 8px; }
.sec-h { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.sec-h .chip { width: 18px; height: 18px; background: url("assets/grass.png") center / 100% 100%; border: 2px solid var(--line); }
.sec-h h2 { margin: 0; font-size: 27px; }
.sec-sub { color: var(--tx-dim); margin: 0 0 26px; max-width: 720px; }

/* ---------- live bubbles ---------- */
.bubbles { display: flex; flex-wrap: wrap; gap: 44px; justify-content: center; padding: 34px 0 60px; }
.bubble { position: relative; width: 272px; height: 272px; cursor: pointer; transition: transform .35s ease-out; }
.bubble .bob { width: 100%; height: 100%; animation: bob 8s ease-in-out infinite; }
.bubble:nth-child(2n) .bob { animation-duration: 9.5s; animation-delay: -2.6s; }
.bubble:nth-child(3n) .bob { animation-duration: 7.2s; animation-delay: -4.1s; }
.bubble .skin {
  position: absolute; inset: 0; overflow: hidden;
  background: url("assets/grass.png") repeat;
  background-size: 136px 136px;
  border: 3px solid var(--line);
  border-radius: 52% 48% 55% 45% / 48% 55% 45% 52%;
  box-shadow: 0 12px 26px rgba(0,0,0,.45);
  animation: morph 9s ease-in-out infinite;
  transition: transform .25s ease-out;
}
.bubble:nth-child(2n) .skin { animation-duration: 11s; animation-delay: -3s; }
.bubble:nth-child(3n) .skin { animation-duration: 8s; animation-delay: -5s; }
.bubble .in {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 46px 40px;
}
.bubble h3 { margin: 0 0 8px; font-size: 18px; font-weight: 700; color: #0b1704; letter-spacing: 0.1em; }
.bubble p { margin: 0; font-size: 14.5px; line-height: 1.45; font-weight: 700; color: #0d1c05; }
.bubble .more { display: none; margin-top: 8px; font-style: italic; font-weight: 700; font-size: 13.5px; color: #101f06; }
.bubble .tap { position: absolute; bottom: 26px; left: 0; right: 0; font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(0,0,0,.7); }
.bubble:hover .skin { transform: scale(1.06); }
.bubble.open { z-index: 6; }
.bubble.open .skin {
  animation: none;
  border-radius: 24px;
  transform: scale(1.42);
}
.bubble.open .in { padding: 30px 30px; }
.bubble.open .more { display: block; }
.bubble.open .tap { display: none; }
@keyframes bob {
  0%, 100% { translate: 0 0; rotate: 0deg; }
  25% { translate: 6px -10px; rotate: 1.2deg; }
  50% { translate: -4px -16px; rotate: -1deg; }
  75% { translate: -8px -6px; rotate: 0.8deg; }
}
@keyframes morph {
  0%, 100% { border-radius: 52% 48% 55% 45% / 48% 55% 45% 52%; }
  33% { border-radius: 46% 54% 48% 52% / 55% 46% 54% 45%; }
  66% { border-radius: 56% 44% 46% 54% / 44% 52% 48% 56%; }
}
@media (prefers-reduced-motion: reduce) { .bubble .bob, .bubble .skin { animation: none; } }

/* ---------- panels / lists ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 26px 0 10px; }
.panel { background: var(--panel); border: 2px solid #37302454; border-left: 4px solid var(--grass-lo); border-radius: 10px; padding: 24px 24px 18px; }
.panel h3 { margin: 0 0 10px; }
.panel p { margin: 0 0 10px; color: #cfc7b8; font-size: 15.5px; }
.ticks { margin: 0; padding: 0; list-style: none; }
.ticks li { padding: 8px 0 8px 26px; position: relative; border-top: 1px solid #322c22; color: #cfc7b8; font-size: 15px; }
.ticks li:first-child { border-top: 0; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 12px; height: 12px;
  background: url("assets/grass.png") center / 100% 100%; border: 2px solid var(--line); }
.steps { counter-reset: st; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 34px 0; }
.step { position: relative; padding: 24px 20px 18px; background: var(--panel); border: 1px solid #322c22; border-top: 4px solid var(--grass-lo); border-radius: 10px; }
.step::before { counter-increment: st; content: counter(st);
  position: absolute; top: -17px; left: 14px; width: 32px; height: 32px;
  background: url("assets/grass.png") center / 100% 100%; border: 2px solid var(--line); border-radius: 50%;
  color: #10240a; font-weight: 700;
  display: flex; align-items: center; justify-content: center; }
.step h3 { margin: 6px 0 6px; font-size: 17px; }
.step p { margin: 0; font-size: 14.5px; color: var(--tx-dim); }

/* ---------- socials ---------- */
.socials { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 26px 0; }
.soc { padding: 22px 16px; text-align: center; background: var(--panel); border: 1px solid #322c22; border-radius: 12px; }
.soc .dot { display: block; width: 36px; height: 36px; margin: 0 auto 12px; border: 2px solid var(--line);
  background: url("assets/grass.png") center / 100% 100%; border-radius: 50%; }
.soc b { display: block; font-size: 16px; }
.soc span.soon-tag { display: inline-block; margin-top: 8px; padding: 3px 10px; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--grass-hi); border: 1px solid var(--grass-lo); border-radius: 8px; }

/* ---------- faq ---------- */
.faq { margin: 26px 0; }
details { background: var(--panel); border: 1px solid #322c22; border-radius: 10px; margin-bottom: 12px; overflow: hidden; }
summary { cursor: pointer; padding: 14px 18px; font-weight: 700; font-size: 16.5px; }
summary:hover { color: var(--grass-hi); }
details p { margin: 0; padding: 0 18px 16px; color: var(--tx-dim); font-size: 15.5px; }

/* ---------- inner pages ---------- */
.crumbs { margin: 52px 0 12px; color: var(--grass); font-size: 13px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; }
h1.pt { margin: 0 0 24px; font-size: clamp(28px, 4vw, 42px); }
.prose { max-width: 760px; margin-bottom: 30px; }
.prose p { color: #cfc7b8; margin: 0 0 14px; }

/* ---------- footer ---------- */
footer.foot { margin-top: 60px; background: var(--bg2); border-top: 3px solid var(--line); }
.foot-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0 24px; color: #8a7f6b; font-size: 14px; flex-wrap: wrap; }
.foot-soc { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-soc span { color: #a9a08c; font-size: 14.5px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .split, .steps, .socials { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .hero-home .wrap { padding: 90px 0; }
  .hero { text-align: center; padding-top: 42px; }
  .actions { justify-content: center; }
  .burger { display: block; }
  nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--bg2); border-bottom: 3px solid var(--line); z-index: 9;
  }
  nav.open { display: flex; }
  nav a { padding: 14px 20px; border: 0; border-bottom: 1px solid #2c261d; border-radius: 0; }
  .split, .steps, .socials { grid-template-columns: 1fr; }
  .bubble { width: 244px; height: 244px; }
  .bubble .in { padding: 38px 32px; }
}
