:root {
  color-scheme: dark;
  --bg: #050706;
  --surface: #0b100d;
  --surface-2: #101712;
  --line: #243129;
  --line-soft: rgba(255, 255, 255, 0.08);
  --text: #f4f7f5;
  --muted: #9ba8a0;
  --green: #20c875;
  --green-bright: #6ce69d;
  --green-dark: #0d5f39;
  --max: 1180px;
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 78% 8%, rgba(32, 200, 117, .13), transparent 29rem),
    radial-gradient(circle at 9% 32%, rgba(32, 200, 117, .06), transparent 24rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
.wrap { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: rgba(5, 7, 6, .84);
  backdrop-filter: blur(18px);
}
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-size: 1.22rem; font-weight: 850; letter-spacing: -.04em; }
.brand img { width: 42px; height: 42px; border-radius: 11px; object-fit: cover; background: #000; }
.brand-brick { color: var(--green); }
.brand-intel { color: #fff; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: #cad2cd; text-decoration: none; font-size: .92rem; font-weight: 650; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; }
.nav-cta { padding: 10px 17px; border: 1px solid #2f8358; border-radius: 999px; color: var(--green-bright) !important; }
.menu-button { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; color: #fff; background: var(--surface); font-size: 1.25rem; }

.hero { position: relative; overflow: hidden; padding: 94px 0 86px; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .25;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(380px, .98fr); align-items: center; gap: 56px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 22px; color: var(--green-bright); font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 18px var(--green); }
h1, h2, h3 { margin: 0; line-height: 1.05; letter-spacing: -.045em; }
h1 { max-width: 700px; font-size: clamp(3.25rem, 7vw, 6.4rem); }
.hero h1 span { color: var(--green); }
.lead { max-width: 620px; margin: 28px 0 0; color: #b5c0b9; font-size: clamp(1.07rem, 1.8vw, 1.25rem); line-height: 1.72; }
.actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 9px; padding: 0 21px; border-radius: 14px; text-decoration: none; font-weight: 780; }
.button-primary { color: #03150c; background: var(--green-bright); box-shadow: 0 12px 40px rgba(32, 200, 117, .16); }
.button-primary:hover { background: #83edac; transform: translateY(-1px); }
.button-secondary { color: #e8eeea; border: 1px solid var(--line); background: rgba(15,22,17,.75); }
.release-note { display: flex; align-items: center; gap: 10px; margin-top: 24px; color: #829087; font-size: .88rem; }
.release-note::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

.hero-visual { position: relative; min-height: 620px; display: grid; place-items: center; }
.halo { position: absolute; width: 470px; height: 470px; border-radius: 50%; background: radial-gradient(circle, rgba(32,200,117,.22), transparent 68%); filter: blur(4px); }
.phone { position: absolute; width: 268px; padding: 8px; border: 1px solid #34443a; border-radius: 38px; background: #050706; box-shadow: 0 35px 90px rgba(0,0,0,.66); overflow: hidden; }
.phone img { width: 100%; border-radius: 30px; }
.phone-main { transform: rotate(2deg); z-index: 2; }
.phone-back { transform: translate(-145px, 28px) rotate(-8deg) scale(.88); opacity: .72; z-index: 1; }
.phone-detail { transform: translate(150px, 40px) rotate(8deg) scale(.84); opacity: .78; z-index: 1; }
.metric-float { position: absolute; z-index: 5; padding: 14px 17px; border: 1px solid rgba(108,230,157,.3); border-radius: 15px; background: rgba(10, 16, 12, .9); box-shadow: 0 15px 38px rgba(0,0,0,.4); backdrop-filter: blur(12px); }
.metric-float strong { display: block; font-size: 1.22rem; letter-spacing: -.03em; }
.metric-float span { color: var(--green-bright); font-size: .72rem; font-weight: 750; text-transform: uppercase; letter-spacing: .09em; }
.metric-top { top: 66px; right: 9px; }
.metric-bottom { bottom: 75px; left: 6px; }

.trust-row { border-block: 1px solid var(--line-soft); background: rgba(255,255,255,.012); }
.trust-grid { min-height: 98px; display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; }
.trust-item { padding: 10px 28px; border-right: 1px solid var(--line-soft); }
.trust-item:first-child { padding-left: 0; }
.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; font-size: 1rem; }
.trust-item span { color: var(--muted); font-size: .86rem; }

.section { padding: 112px 0; }
.section-compact { padding: 86px 0; }
.section-heading { display: grid; grid-template-columns: 1fr .8fr; align-items: end; gap: 40px; margin-bottom: 48px; }
.section-heading h2 { font-size: clamp(2.35rem, 5vw, 4.25rem); }
.section-heading p { margin: 0; color: var(--muted); font-size: 1.04rem; }
.green { color: var(--green); }

.feature-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.feature-card { position: relative; min-height: 290px; padding: 30px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(18,27,21,.96), rgba(8,12,9,.96)); }
.feature-card h3 { margin-top: 54px; font-size: 1.55rem; }
.feature-card p { max-width: 460px; margin: 14px 0 0; color: var(--muted); }
.feature-card-large { grid-column: span 7; }
.feature-card-small { grid-column: span 5; }
.feature-number { position: absolute; top: 28px; right: 30px; color: #526158; font: 700 .78rem/1 ui-monospace, monospace; }
.feature-icon { width: 45px; height: 45px; display: grid; place-items: center; border: 1px solid rgba(108,230,157,.23); border-radius: 13px; color: var(--green-bright); background: rgba(32,200,117,.07); font-size: 1.12rem; }
.feature-accent { position: absolute; width: 230px; height: 230px; border-radius: 50%; right: -90px; bottom: -130px; border: 1px solid rgba(108,230,157,.18); box-shadow: 0 0 0 34px rgba(32,200,117,.025), 0 0 0 68px rgba(32,200,117,.018); }

.showcase { border-block: 1px solid var(--line-soft); background: #080b09; }
.showcase-grid { display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; gap: 80px; }
.showcase-copy h2 { font-size: clamp(2.5rem, 5vw, 4.4rem); }
.showcase-copy p { margin: 22px 0 0; color: var(--muted); font-size: 1.07rem; }
.check-list { display: grid; gap: 16px; margin: 30px 0 0; padding: 0; list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; color: #d9e0dc; }
.check-list li::before { content: "✓"; flex: 0 0 auto; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; color: #03150c; background: var(--green); font-size: .78rem; font-weight: 900; }
.showcase-image { position: relative; padding: 28px; }
.showcase-image::before { content: ""; position: absolute; inset: 8% 0; border-radius: 50%; background: rgba(32,200,117,.1); filter: blur(70px); }
.screenshot-shell { position: relative; max-width: 380px; margin-inline: auto; padding: 9px; border: 1px solid #35463c; border-radius: 40px; background: #050706; box-shadow: 0 45px 100px rgba(0,0,0,.6); transform: rotate(2deg); }
.screenshot-shell img { border-radius: 31px; }

.collection-books {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 48%, rgba(32, 200, 117, .13), transparent 30rem),
    linear-gradient(180deg, #050706, #07100b 55%, #050706);
}
.collection-books::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(90deg, transparent, black 45%, black 85%, transparent);
}
.collection-books-grid { position: relative; display: grid; grid-template-columns: .78fr 1.22fr; align-items: center; gap: 72px; }
.collection-books-copy h2 { max-width: 560px; font-size: clamp(2.55rem, 5vw, 4.7rem); }
.collection-books-copy > p { max-width: 570px; margin: 22px 0 0; color: var(--muted); font-size: 1.07rem; }
.premium-label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 18px;
  padding: 0 11px;
  border: 1px solid rgba(108, 230, 157, .38);
  border-radius: 999px;
  color: var(--green-bright);
  background: rgba(32, 200, 117, .08);
  font-size: .69rem;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.collection-books-copy .eyebrow { display: flex; width: max-content; }
.books-preview { position: relative; min-height: 690px; display: grid; place-items: center; }
.books-preview::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: rgba(32,200,117,.11); filter: blur(85px); }
.book-shot { position: absolute; width: 282px; padding: 8px; border: 1px solid #31443a; border-radius: 36px; background: #050706; box-shadow: 0 38px 90px rgba(0,0,0,.62); overflow: hidden; }
.book-shot img { width: 100%; border-radius: 28px; }
.book-shot-main { z-index: 3; transform: translateY(-2px); }
.book-shot-left { z-index: 1; transform: translate(-170px, 30px) rotate(-8deg) scale(.86); opacity: .78; }
.book-shot-right { z-index: 2; transform: translate(174px, 34px) rotate(8deg) scale(.86); opacity: .82; }

.gallery-card {
  appearance: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  transition:
    transform .72s cubic-bezier(.22, 1, .36, 1),
    opacity .52s ease,
    filter .52s ease,
    border-color .3s ease,
    box-shadow .52s ease;
  will-change: transform, opacity;
}
.phone-back:hover, .phone-detail:hover, .book-shot-left:hover, .book-shot-right:hover {
  opacity: .96;
  filter: brightness(1.08);
  border-color: rgba(108,230,157,.62);
}
.gallery-card:focus-visible {
  outline: 3px solid var(--green-bright);
  outline-offset: 5px;
}
.phone-main, .book-shot-main { cursor: default; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: steps; }
.step { counter-increment: steps; padding: 30px; border-top: 1px solid #365344; background: linear-gradient(180deg, rgba(16,24,19,.72), transparent); }
.step::before { content: "0" counter(steps); display: block; margin-bottom: 28px; color: var(--green); font: 800 .83rem/1 ui-monospace, monospace; letter-spacing: .1em; }
.step h3 { font-size: 1.35rem; }
.step p { margin: 12px 0 0; color: var(--muted); }

.cta-panel { position: relative; overflow: hidden; padding: 64px; border: 1px solid #2e5c43; border-radius: 30px; background: linear-gradient(120deg, #0d2016, #0b100d 62%); }
.cta-panel::after { content: "BI"; position: absolute; right: -12px; bottom: -56px; color: rgba(32,200,117,.06); font-size: 13rem; font-weight: 950; line-height: 1; letter-spacing: -.12em; }
.cta-panel h2 { position: relative; z-index: 1; max-width: 670px; font-size: clamp(2.4rem, 5vw, 4.2rem); }
.cta-panel p { position: relative; z-index: 1; max-width: 600px; margin: 19px 0 0; color: #adc0b4; }
.cta-panel .actions { position: relative; z-index: 1; }

.site-footer { padding: 56px 0 38px; border-top: 1px solid var(--line-soft); }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 50px; align-items: start; }
.footer-copy { max-width: 470px; margin: 18px 0 0; color: #7f8b83; font-size: .86rem; }
.footer-links { display: grid; grid-template-columns: repeat(2, minmax(130px, 1fr)); gap: 12px 30px; }
.footer-links a { color: #aab5ae; text-decoration: none; font-size: .9rem; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-soft); color: #68736c; font-size: .78rem; }

.page-hero { padding: 76px 0 50px; }
.page-hero h1 { max-width: 900px; font-size: clamp(2.8rem, 7vw, 5.3rem); }
.page-hero p { max-width: 680px; margin: 22px 0 0; color: var(--muted); font-size: 1.08rem; }
.content-shell { padding-bottom: 100px; }
.content-card { padding: clamp(26px, 5vw, 52px); border: 1px solid var(--line); border-radius: 26px; background: rgba(12,18,14,.86); }
.legal-content { max-width: 840px; }
.legal-content h2 { margin: 42px 0 14px; font-size: 1.52rem; letter-spacing: -.025em; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: #bdc7c1; }
.legal-content ul { padding-left: 22px; }
.legal-content a { color: var(--green-bright); }
.meta-line { margin: 0 0 32px; padding-bottom: 22px; border-bottom: 1px solid var(--line-soft); color: #7f8b83 !important; font-size: .86rem; }
.support-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 24px; }
.support-card { padding: 30px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.support-card h2 { font-size: 1.45rem; }
.support-card p { color: var(--muted); }
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.faq summary { cursor: pointer; padding: 19px 22px; font-weight: 740; }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--muted); }
.danger-card { padding: clamp(28px, 5vw, 52px); border: 1px solid #68403a; border-radius: 26px; background: linear-gradient(145deg, #1c1110, #0f0c0b); }
.danger-card h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
.danger-card p { max-width: 690px; color: #c6b8b5; }
.button-danger { margin-top: 14px; color: #fff; background: #9f3b32; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .menu-button { display: grid; place-items: center; }
  .nav-links { position: absolute; top: 76px; left: 20px; right: 20px; display: none; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: #0b100d; box-shadow: 0 22px 50px rgba(0,0,0,.45); }
  .nav-links.open { display: grid; }
  .hero { padding-top: 66px; }
  .hero-grid, .showcase-grid, .collection-books-grid, .section-heading, .support-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 560px; }
  .section-heading { gap: 18px; }
  .feature-card-large, .feature-card-small { grid-column: span 12; }
  .showcase-grid { gap: 36px; }
  .collection-books-grid { gap: 42px; }
  .books-preview { min-height: 620px; }
}

@media (max-width: 660px) {
  .wrap { width: min(calc(100% - 28px), var(--max)); }
  .hero { padding: 54px 0 58px; }
  h1 { font-size: clamp(2.95rem, 14vw, 4.6rem); }
  .hero-visual { min-height: 470px; margin-top: 12px; }
  .phone { width: 220px; }
  .phone-back { transform: translate(-82px, 36px) rotate(-7deg) scale(.82); }
  .phone-detail { transform: translate(85px, 42px) rotate(8deg) scale(.77); }
  .metric-float { padding: 10px 12px; }
  .metric-top { top: 30px; right: 0; }
  .metric-bottom { bottom: 35px; left: 0; }
  .trust-grid { grid-template-columns: 1fr; padding: 16px 0; }
  .trust-item, .trust-item:first-child { padding: 16px 0; border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .trust-item:last-child { border-bottom: 0; }
  .section { padding: 78px 0; }
  .section-compact { padding: 62px 0; }
  .steps { grid-template-columns: 1fr; }
  .books-preview { min-height: 500px; }
  .book-shot { width: 220px; }
  .book-shot-left { transform: translate(-84px, 35px) rotate(-7deg) scale(.78); }
  .book-shot-right { transform: translate(88px, 38px) rotate(7deg) scale(.76); }
  .cta-panel { padding: 38px 26px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
