:root {
  --bg: #0B0F0C; --bg1: #111612; --bg2: #171D18; --bg3: #1E2620; --bg4: #28322A;
  --ink: #E6E9EF; --steel: #8A94A6; --steel-l: #C3CAD6;
  --lime: #5CDB6A; --lime-d: #2FB24C; --mint: #A8F06A; --coral: #FF4D6D;
  --paper: #F6F2E6;
  --r: 20px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: radial-gradient(1200px 600px at 20% -10%, #0F2A14 0%, transparent 60%), radial-gradient(900px 500px at 100% 10%, #0B1F12 0%, transparent 55%), var(--bg);
  color: var(--ink); line-height: 1.55; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0.5rem 0 0; }
em { color: var(--lime); font-style: normal; }
.section { max-width: 1120px; margin: 0 auto; padding: 72px 20px; }
.sub { color: var(--steel-l); max-width: 760px; font-size: 1.1rem; }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; backdrop-filter: blur(12px); background: rgba(11,13,16,0.7); border-bottom: 1px solid rgba(255,255,255,0.05); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 1.25rem; letter-spacing: -0.02em; }
.brand img { border-radius: 9px; }
.nav nav { display: flex; gap: 20px; align-items: center; color: var(--steel-l); font-weight: 500; font-size: 0.95rem; }
.nav nav a:hover { color: var(--ink); }
@media (max-width: 760px) { .nav nav a:not(.btn) { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: linear-gradient(135deg, var(--lime), var(--mint)); color: #06240D; font-weight: 800; border-radius: 16px; padding: 12px 20px; transition: transform .15s, box-shadow .15s, background .15s; box-shadow: 0 8px 30px rgba(92,219,106,0.18); }
.btn:hover { transform: translateY(-1px); background: #7FE68A; box-shadow: 0 12px 40px rgba(92,219,106,0.28); }
.btn-lg { padding: 16px 26px; font-size: 1.05rem; border-radius: 18px; }
.btn-sm { padding: 8px 14px; border-radius: 12px; font-size: 0.9rem; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--bg4); }
.btn-ghost:hover { background: var(--bg2); box-shadow: inset 0 0 0 1px var(--steel); }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 22px; }
.fineprint { color: var(--steel); font-size: 0.88rem; }
.eyebrow { color: var(--mint); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 14px; }

/* hero */
.hero { max-width: 1120px; margin: 0 auto; padding: 72px 20px 40px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; } }
.tagline { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 900; line-height: 1.02; letter-spacing: -0.04em; min-height: 2.1em; transition: opacity .35s; }
.tagline.fade { opacity: 0; }
.lede { font-size: 1.2rem; color: var(--steel-l); margin-top: 20px; max-width: 560px; }
.lede strong { color: var(--ink); }

/* demo */
.demo { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: center; }
@media (max-width: 520px) { .demo { grid-template-columns: 1fr; } .arrow { transform: rotate(90deg); } }
.arrow { color: var(--lime); font-size: 1.6rem; font-weight: 900; text-align: center; }
.phone { position: relative; background: var(--bg2); border: 1px solid var(--bg4); border-radius: 26px; padding: 14px; min-height: 290px; box-shadow: 0 30px 80px rgba(0,0,0,0.45); overflow: hidden; }
.phone.nail { border-color: rgba(92,219,106,0.45); background: linear-gradient(180deg, #10261a, var(--bg2)); }
.phone-top { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--steel); margin-bottom: 12px; font-weight: 600; }
.phone-top .dot { width: 10px; height: 10px; border-radius: 50%; background: #25D366; display: inline-block; }
.phone-top img { border-radius: 4px; }
.bubbles { display: flex; flex-direction: column; gap: 8px; }
.bubble { background: var(--bg3); border-radius: 16px 16px 16px 6px; padding: 10px 12px; font-size: 0.92rem; transition: all .5s; max-width: 100%; }
.bubble b { display: block; color: var(--mint); font-size: 0.75rem; margin-bottom: 2px; }
.bubble.gone { opacity: 0; transform: translateX(-20px) scale(0.95); max-height: 0; padding: 0 12px; margin: -4px 0 0; overflow: hidden; }
.bubble.nailed { box-shadow: inset 0 0 0 1px rgba(92,219,106,0.35); }
.bubble.nailed.hit { animation: hit .6s ease; }
@keyframes hit { 0% { transform: translateY(-6px) rotate(-1deg); } 60% { transform: translateY(2px); } 100% { transform: none; } }
.tag { display: inline-block; margin-top: 6px; font-size: 0.7rem; color: var(--coral); font-weight: 700; opacity: 0; transition: opacity .4s; }
.bubble.hit .tag, .bubble.show-tag .tag { opacity: 1; }
.deleted-note { margin-top: 8px; font-size: 0.8rem; color: var(--steel); font-style: italic; opacity: 0; transition: opacity .4s; }
.deleted-note.show { opacity: 1; }
.toast { position: absolute; left: 14px; right: 14px; bottom: 14px; background: linear-gradient(135deg, var(--lime), var(--mint)); color: #06240D; font-weight: 800; font-size: 0.85rem; padding: 10px 12px; border-radius: 12px; transform: translateY(60px); opacity: 0; transition: all .4s; }
.toast.show { transform: none; opacity: 1; }

/* buzz marquee */
.buzz { overflow: hidden; border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05); padding: 16px 0; background: rgba(255,255,255,0.015); }
.marquee { white-space: nowrap; }
.track { display: inline-block; animation: scroll 60s linear infinite; }
.track span { display: inline-block; margin: 0 28px; font-weight: 800; font-size: 1.1rem; color: var(--steel-l); }
.track span:nth-child(odd) { color: var(--lime); }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--bg1); border: 1px solid var(--bg4); border-radius: var(--r); padding: 24px; }
.num { width: 36px; height: 36px; border-radius: 12px; background: linear-gradient(135deg, var(--lime), var(--mint)); color: var(--bg); font-weight: 900; display: grid; place-items: center; margin-bottom: 14px; }
.step p { color: var(--steel-l); }

/* grid cards */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid, .grid.two { grid-template-columns: 1fr; } }
.card { background: var(--bg1); border: 1px solid var(--bg4); border-radius: var(--r); padding: 22px; transition: border-color .2s, transform .2s; }
.card:hover { border-color: rgba(92,219,106,0.35); transform: translateY(-2px); }
.card p { color: var(--steel-l); font-size: 0.97rem; }
.ic { font-size: 1.6rem; margin-bottom: 10px; }

/* apps */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.chips span { background: var(--bg2); border: 1px solid var(--bg4); border-radius: 999px; padding: 8px 14px; font-weight: 600; font-size: 0.92rem; color: var(--steel-l); }
.chips .more { border-style: dashed; color: var(--mint); }

/* download */
.dl-card { display: flex; gap: 26px; align-items: flex-start; background: linear-gradient(135deg, #0f2e18, var(--bg1) 60%); border: 1px solid rgba(92,219,106,0.3); border-radius: 28px; padding: 32px; box-shadow: 0 30px 90px rgba(0,0,0,0.5); }
@media (max-width: 700px) { .dl-card { flex-direction: column; } }
.dl-card img { border-radius: 18px; flex: none; }
.dl-copy p { color: var(--steel-l); }
.counter { color: var(--steel); font-size: 0.9rem; font-weight: 600; }
.install { color: var(--steel-l); margin: 22px 0 0; padding-left: 20px; }
.install li { margin: 6px 0; }
.versions-title { margin-top: 40px; color: var(--steel-l); }
.versions { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 0.95rem; }
.versions th { text-align: left; color: var(--steel); font-weight: 600; padding: 10px 12px; border-bottom: 1px solid var(--bg4); }
.versions td { padding: 12px; border-bottom: 1px solid var(--bg3); vertical-align: top; color: var(--steel-l); }
.versions td:first-child { color: var(--ink); font-weight: 800; }
.versions .latest::after { content: "latest"; margin-left: 8px; font-size: 0.7rem; background: var(--lime); color: var(--bg); padding: 2px 8px; border-radius: 999px; vertical-align: middle; }
.versions a.dl { color: var(--lime); font-weight: 700; }
@media (max-width: 700px) { .versions th:nth-child(3), .versions td:nth-child(3), .versions th:nth-child(5), .versions td:nth-child(5) { display: none; } }

/* faq */
details { background: var(--bg1); border: 1px solid var(--bg4); border-radius: 16px; padding: 16px 20px; margin-top: 12px; }
summary { cursor: pointer; font-weight: 700; }
details p { color: var(--steel-l); }

/* ad */
.ad { display: flex; align-items: center; gap: 14px; border-radius: 16px; padding: 14px 18px; background: var(--bg2); border: 1px solid transparent; background-image: linear-gradient(var(--bg2), var(--bg2)), linear-gradient(90deg, rgba(92,219,106,0.7), rgba(168,240,106,0.35), rgba(92,219,106,0.1)); background-origin: border-box; background-clip: padding-box, border-box; color: var(--steel-l); }
.ad b { color: var(--ink); }
.ad-badge { background: linear-gradient(135deg, var(--lime), var(--mint)); color: var(--bg); font-weight: 900; font-size: 0.75rem; padding: 8px 10px; border-radius: 10px; }

/* footer */
.footer { max-width: 1120px; margin: 0 auto; padding: 30px 20px 60px; display: flex; gap: 14px; align-items: center; color: var(--steel); font-size: 0.85rem; border-top: 1px solid rgba(255,255,255,0.05); }
.footer img { border-radius: 8px; }

.install .pp { background: var(--bg2); border: 1px solid rgba(255,77,109,0.35); border-radius: 12px; padding: 10px 12px; list-style-position: inside; margin-left: -20px; }
.install code { background: var(--bg3); padding: 1px 6px; border-radius: 6px; }

/* brand header */
.brand { gap: 12px; }
.brand .wm { display: flex; flex-direction: column; line-height: 1.05; }
.brand .wm b { font-size: 1.25rem; letter-spacing: -0.02em; }
.brand .wm b span { background: linear-gradient(135deg, var(--lime), var(--mint)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand .wm small { font-size: 0.72rem; color: var(--steel); font-weight: 600; letter-spacing: 0.02em; }
.domain-line { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; color: var(--steel-l); font-weight: 600; font-size: 0.95rem; }
.domain-line .pill { background: linear-gradient(135deg, var(--lime), var(--mint)); color: #06240D; border-radius: 999px; padding: 4px 10px; font-weight: 900; font-size: 0.8rem; letter-spacing: 0.02em; }
.hero-logo { width: 96px; height: 96px; border-radius: 24px; margin-bottom: 18px; box-shadow: 0 20px 60px rgba(47,178,76,0.35); }
.track span:nth-child(odd) { color: var(--lime); }

/* mobile fixes */
.domain-line { flex-wrap: wrap; }
.domain-line .pill { white-space: nowrap; flex: none; }
.btn { white-space: nowrap; }
.nav .btn-sm { flex: none; }
@media (max-width: 760px) { .brand .wm small { display: none; } }

.chips a span:hover { border-color: var(--lime); color: var(--ink); }
a.card { display:block; }

/* tighter hero on phones */
@media (max-width: 900px) { .hero { padding: 20px 20px 32px; gap: 28px; } .hero-logo { margin-bottom: 12px; width: 80px; height: 80px; } .tagline { min-height: 0; } .section { padding: 48px 20px; } }
