/* AscendZ app page. Its own look, apart from the studio's paper style: dark ground, the new
   icon's mint, big centred type, real app screens in phone frames. Tokens come from the icon
   (mint #3ED6A0 on near-black #121618) and the app (deep green #0F7561). */

@font-face {
  font-family: "Geist";
  src: url("/assets/geist-sans.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #0b0f0d;
  --bg-2: #0f1412;
  --card: #131a17;
  --card-2: #18201c;
  --line: #222b27;
  --text: #eef3ef;
  --muted: #9aa69f;
  --mint: #3ed6a0;
  --mint-soft: rgba(62, 214, 160, 0.14);
  --deep: #0f7561;
  --radius: 22px;
  --shell: min(1160px, 100% - 40px);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 "Geist", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 99; background: var(--mint); color: #0b0f0d; padding: 8px 14px; border-radius: 10px; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 6px; }

/* ---- nav ---- */
.nav {
  position: sticky; top: 12px; z-index: 20;
  width: min(880px, 100% - 24px); margin: 12px auto 0;
  display: flex; align-items: center; gap: 18px;
  padding: 8px 8px 8px 14px;
  background: rgba(15, 20, 18, 0.72);
  border: 1px solid var(--line); border-radius: 16px;
  backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 650; text-decoration: none; letter-spacing: -0.01em; }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; font-size: 14px; color: var(--muted); }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--text); }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--text); color: #0b0f0d; text-decoration: none;
  font-weight: 600; font-size: 14px; padding: 9px 14px; border-radius: 11px;
}
.btn:hover { background: #fff; }

/* ---- hero ---- */
.hero { position: relative; text-align: center; padding: clamp(64px, 10vw, 120px) 0 0; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: auto 0 0 0; height: 70%;
  background: radial-gradient(60% 55% at 50% 100%, rgba(62, 214, 160, 0.22), transparent 70%);
  pointer-events: none;
}
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; margin: 0 0 22px;
}
.kicker b { color: var(--mint); font-weight: 600; }
h1 {
  font-size: clamp(42px, 7vw, 88px); line-height: 1.02; letter-spacing: -0.035em;
  font-weight: 750; margin: 0 auto; max-width: 13ch;
}
.dot { color: var(--mint); }
.sub { max-width: 560px; margin: 22px auto 0; color: var(--muted); font-size: clamp(17px, 1.6vw, 19px); }
.store { display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 30px 0 0; }
.store img { height: 54px; width: auto; }
.store small { color: var(--muted); font-size: 13px; }

.fan {
  position: relative; display: flex; justify-content: center; align-items: flex-end;
  gap: 0; margin: clamp(40px, 6vw, 64px) auto 0; height: clamp(360px, 52vw, 620px);
}
.phone {
  width: clamp(170px, 22vw, 290px); aspect-ratio: 1179 / 2556;
  padding: 7px; border-radius: 38px; background: #050706;
  box-shadow: 0 0 0 1.5px #2b3531, 0 40px 90px rgba(0, 0, 0, 0.65);
  flex: none;
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 32px; }
.fan .phone { position: relative; }
.fan .left  { transform: translate(18%, 12%) rotate(-7deg); opacity: 0.92; }
.fan .right { transform: translate(-18%, 12%) rotate(7deg); opacity: 0.92; }
.fan .mid   { z-index: 2; transform: translateY(-2%); box-shadow: 0 0 0 1.5px #2b3531, 0 40px 90px rgba(0,0,0,.7), 0 0 120px rgba(62, 214, 160, 0.25); }

/* ---- trust strip ---- */
.trust { border-block: 1px solid var(--line); background: var(--bg-2); }
.trust ul {
  list-style: none; margin: 0; padding: 22px 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: center;
  color: var(--muted); font-size: 15px;
}
.trust li b { display: block; color: var(--text); font-weight: 600; }

/* ---- sections ---- */
section.block { padding: clamp(72px, 10vw, 128px) 0; }
.eyebrow { color: var(--mint); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; margin: 0 0 12px; text-align: center; }
h2 {
  font-size: clamp(34px, 4.6vw, 56px); line-height: 1.05; letter-spacing: -0.03em;
  font-weight: 720; margin: 0 auto; text-align: center; max-width: 18ch;
}
.lead { color: var(--muted); text-align: center; max-width: 620px; margin: 18px auto 0; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.step .n {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: var(--mint-soft); color: var(--mint); font-weight: 700; margin-bottom: 18px;
}
.step h3 { margin: 0 0 8px; font-size: 20px; letter-spacing: -0.01em; }
.step p { margin: 0; color: var(--muted); font-size: 15.5px; }

.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 48px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: grid; grid-template-columns: 1fr 42%; align-items: stretch; min-height: 300px;
}
.card .copy { padding: 26px; display: flex; flex-direction: column; justify-content: center; }
.card h3 { margin: 0 0 8px; font-size: 21px; letter-spacing: -0.015em; line-height: 1.2; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.card .shot {
  background: linear-gradient(180deg, var(--card-2), var(--card));
  padding: 22px 18px 0; display: flex; align-items: flex-end; justify-content: center;
}
.card .shot img {
  width: 100%; max-width: 210px; height: auto; aspect-ratio: 1179 / 1500; object-fit: cover; object-position: top;
  border-radius: 22px 22px 0 0; box-shadow: 0 0 0 1px #2b3531;
}
.tags { display: flex; gap: 6px; margin-bottom: 12px; }
.tag { font-size: 11px; font-weight: 650; letter-spacing: 0.08em; padding: 3px 8px; border-radius: 999px; background: var(--mint-soft); color: var(--mint); }
.tag.plus { background: rgba(238, 243, 239, 0.08); color: var(--text); }
.card.text-only { grid-template-columns: 1fr; min-height: 0; }
.card.wide { grid-column: 1 / -1; }
.card .copy a { color: var(--mint); }

/* ---- video ---- */
.video-wrap { display: grid; grid-template-columns: 1fr 360px; gap: 48px; align-items: center; }
.video-wrap h2, .video-wrap .lead { text-align: left; margin-left: 0; }
.video-wrap video { width: 100%; height: auto; border-radius: 26px; box-shadow: 0 0 0 1px var(--line), 0 30px 80px rgba(0,0,0,.6); background: #000; }

/* ---- guides ---- */
.guides { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 48px; }
@media (max-width: 1100px) { .guides { grid-template-columns: repeat(2, 1fr); } }
.guide {
  display: block; text-decoration: none; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px; transition: border-color .2s, transform .2s;
}
.guide:hover { border-color: #33423b; transform: translateY(-2px); }
.guide small { color: var(--mint); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.guide h3 { margin: 10px 0 8px; font-size: 19px; line-height: 1.3; letter-spacing: -0.01em; }
.guide p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---- faq ---- */
.faq { max-width: 760px; margin: 44px auto 0; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 4px; }
.faq summary { cursor: pointer; list-style: none; font-weight: 600; font-size: 18px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--mint); font-weight: 400; font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); margin: 12px 0 0; }

/* ---- cta + footer ---- */
.cta { text-align: center; }
.cta .icon { width: 96px; height: 96px; border-radius: 22px; margin: 0 auto 24px; box-shadow: 0 0 80px rgba(62, 214, 160, 0.35); }
footer { border-top: 1px solid var(--line); padding: 44px 0 56px; color: var(--muted); font-size: 14px; }
.foot { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 24px; }
.foot h4 { color: var(--text); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 12px; font-weight: 600; }
.foot a { display: block; text-decoration: none; margin: 6px 0; }
.foot a:hover { color: var(--text); }

/* ---- reveal ---- */
.rv { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---- small screens ---- */
@media (max-width: 900px) {
  .grid, .guides, .steps { grid-template-columns: 1fr; }
  .video-wrap { grid-template-columns: 1fr; }
  .video-wrap video { max-width: 360px; margin: 0 auto; }
  .trust ul { grid-template-columns: repeat(2, 1fr); }
  .foot { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav .btn { margin-left: auto; }
  .fan { height: 330px; }
  .phone { width: 150px; border-radius: 26px; padding: 5px; }
  .phone img { border-radius: 22px; }
  .card { grid-template-columns: 1fr; }
  .card .shot img { max-width: 240px; }
}
