/* Homepage. Uses the tokens from space.css. */
.wrap { padding-bottom: 0; }
.h-hero { padding: 72px 0 40px; }
.h-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.h-hero-copy .sp-tag { margin-bottom: 22px; }
.h-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok);  }
.h-hero h1 { font-size: clamp(40px, 5.4vw, 68px); font-weight: 600; line-height: 1.04; letter-spacing: -0.035em; }
.h-hero h1 em { font-style: normal; color: var(--accent); }
.lede { margin-top: 22px; font-size: 18.5px; color: var(--muted); max-width: 50ch; line-height: 1.6; }
.h-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.h-cta.center { justify-content: center; }
.h-proof { margin-top: 22px; color: var(--muted); font-size: 14.5px; min-height: 1em; }
.h-proof b { color: var(--ink); }

.h-stage { position: relative; padding: 24px 0 40px; }
.h-app { position: relative; z-index: 1; background: #0b0b14; border: 1px solid var(--line2); border-radius: 12px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(62, 216, 242, .06); overflow: hidden;  }
.h-app-bar { display: flex; align-items: center; gap: 10px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.h-app-bar img { width: 24px; height: 24px; border-radius: 7px; }
.h-app-bar b { font-family: var(--display); font-size: 15px; }
.h-app-bar .sp-tag { margin-left: auto; }
.h-app-body { padding: 20px; display: grid; gap: 16px; }
.h-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.h-stats div { background: rgba(255, 255, 255, .04); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.h-stats b { display: block; font: 700 24px var(--display); }
.h-stats span { color: var(--muted); font-size: 12.5px; }
.h-bars { display: grid; gap: 10px; }
.h-bars div { display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); }
.h-bars i { display: block; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .07); position: relative; overflow: hidden; }
.h-bars i::after { content: ""; position: absolute; inset: 0; width: var(--w); border-radius: 99px; background: linear-gradient(90deg, var(--bot), var(--link)); }
.h-ap { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; transition: opacity .3s, transform .3s; }
.h-ap b { display: block; font-size: 14px; }
.h-ap small { color: var(--muted); font-size: 12.5px; }
.h-ap-btns { display: flex; gap: 8px; }
.h-ap button { height: 34px; padding: 0 14px; border-radius: 99px; border: 1px solid transparent; background: var(--link); color: var(--link-ink); font: 600 13px var(--sans); cursor: pointer; }
.h-ap button.no { background: transparent; color: var(--muted); border-color: var(--line2); }
.h-ap.done { opacity: .5; }
.h-ap.done .h-ap-btns { display: none; }
.h-ap.done small::after { content: attr(data-result); }
.h-app-foot { padding: 10px 20px 16px; color: var(--text-faint); font-size: 12px; }
.h-feed { position: absolute; z-index: 2; left: -28px; bottom: -22px; width: 270px; background: #10101b; border: 1px solid var(--line2); border-radius: 12px; padding: 14px 16px; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .9); }
.h-feed-top { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.h-feed-top img { width: 20px; height: 20px; border-radius: 6px; }
.h-feed-top em { font-style: normal; font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 99px; background: var(--bot); color: var(--accent-ink); }
.h-feed ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.h-feed li::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--warn); }
.h-feed li.good::before { background: var(--ok); }
.h-feed li.new { animation: pop .4s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(-6px); } }

.h-sec { padding: 72px 0 0; }
.h-sec h2 { font-size: clamp(30px, 3.8vw, 46px); font-weight: 700; max-width: 22ch; line-height: 1.08; }
.h-sub { margin-top: 14px; color: var(--muted); font-size: 17px; max-width: 56ch; }
.h-two { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 36px; }
.h-prod { display: flex; flex-direction: column; gap: 18px; padding: 32px; }
.h-prod.bot { box-shadow: inset 0 1px 0 rgba(139, 124, 255, .35); }
.h-prod.link { box-shadow: inset 0 1px 0 rgba(62, 216, 242, .35); }
.h-ph { display: flex; align-items: center; gap: 12px; }
.h-ph img { width: 40px; height: 40px; border-radius: 12px; }
.h-ph h3 { font-size: 24px; }
.h-ph .sp-tag { margin-left: auto; }
.h-what { color: var(--muted); font-size: 16.5px; }
.h-prod ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; flex: 1; }
.h-prod li { color: var(--muted); font-size: 15px; padding-left: 18px; position: relative; }
.h-prod li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border-radius: 50%; }
.h-prod.bot li::before { background: var(--bot); } .h-prod.link li::before { background: var(--link); }
.h-prod li b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 2px; }
.h-prod .sp-btn { align-self: flex-start; }

.h-bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; }
.h-cell { padding: 24px; transition: transform .2s, border-color .2s; }
.h-cell:hover { transform: translateY(-3px); border-color: var(--line2); }
.h-cell h3 { font-size: 19px; margin-bottom: 8px; }
.h-cell p { color: var(--muted); font-size: 15px; }
.h-cell.free { border-color: rgba(74, 222, 156, .35); background: linear-gradient(180deg, rgba(74, 222, 156, .08), rgba(14, 16, 38, .85)); }
.h-cell.free b { color: var(--ok); }

.h-steps { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.h-steps .sp-card { display: flex; flex-direction: column; gap: 10px; }
.h-n { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(139, 124, 255, .18); color: #c9c2ff; font: 700 15px var(--display); }
.h-steps h3 { font-size: 19px; } .h-steps p { color: var(--muted); font-size: 15px; }
.h-dm { display: flex; gap: 10px; align-items: flex-start; margin-top: 6px; padding: 12px; border-radius: 10px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); font-size: 13px; }
.h-dm img { width: 28px; height: 28px; border-radius: 8px; }
.h-dm span { display: block; color: var(--muted); } .h-dm code { margin-top: 4px; display: inline-block; }

.h-prem { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; justify-content: space-between; padding: 34px; border-color: rgba(139, 124, 255, .35); }
.h-prem h2 { font-size: 30px; margin: 12px 0 8px; } .h-prem p { color: var(--muted); max-width: 56ch; }
.h-prem .sp-tag.live { color: var(--ok); border-color: rgba(74, 222, 156, .4); }
.h-pricebox { display: flex; gap: 14px; } .h-pc b { display: block; font: 700 24px var(--display); } .h-pc span { color: var(--muted); font-size: 13px; }
.h-close { text-align: center; padding: 56px 24px; background: rgba(255, 255, 255, .025); }
.h-close h2 { margin-inline: auto; } .h-close p { color: var(--muted); margin-top: 12px; } .h-close .small { font-size: 14px; }
.site-footer { margin-top: 72px; }

@media (max-width: 900px) {
  .h-hero { padding-top: 40px; } .h-hero-grid, .h-two, .h-steps { grid-template-columns: 1fr; gap: 28px; }
  .h-bento { grid-template-columns: 1fr 1fr; } .h-feed { left: 8px; bottom: -14px; } .h-orb { right: -40px; width: 260px; height: 260px; }
}
@media (max-width: 560px) { .h-bento { grid-template-columns: 1fr; } .sp-btn { width: 100%; } .h-cta { flex-direction: column; } .h-prod { padding: 24px; } .h-stats b { font-size: 20px; } .h-feed { width: 240px; } }

body.space { overflow-x: clip; }
.h-hero { overflow-x: clip; overflow-y: visible; }
