/* buycrypt.com/updated — app tour with real screen recordings. Palette follows the app (lib/app_theme.dart). */
:root {
  --app-bg: #060611;
  --app-green: #30BF73;
  --app-sky: #3290FF;
  --line: #1F1F26;
}

.u-wrap { max-width: 1120px; margin: 0 auto; padding-inline: 20px; }
@media (min-width: 1024px) { .u-wrap { padding-inline: 32px; } }

.u-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 11.5px/1 'JetBrains Mono', monospace; letter-spacing: .12em; text-transform: uppercase;
  color: #9CB8FF; padding: 7px 12px; border-radius: 999px;
  background: rgba(39, 103, 229, .12); border: 1px solid rgba(50, 144, 255, .25);
}
.u-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--app-green); box-shadow: 0 0 10px var(--app-green); }
.u-lead { color: rgba(255,255,255,.7); font-size: clamp(.98rem, 1.2vw, 1.08rem); line-height: 1.6; max-width: 58ch; margin: 0; }
.u-grad { background: linear-gradient(92deg, #fff 0%, #9CB8FF 45%, #3290FF 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ── phone: a fixed box sized to the recordings (588×1278) ── */
.t-phone {
  --w: 272px; cursor: pointer;
  position: relative; width: var(--w); max-width: calc(100% - 18px); margin-inline: auto;
  aspect-ratio: 588 / 1278; box-sizing: content-box; padding: 9px; border-radius: 46px; isolation: isolate;
  background: linear-gradient(160deg, #2b303e, #0c0e14 42%, #1b1f2a);
  box-shadow: 0 34px 80px -34px rgba(39, 103, 229, .55), 0 0 0 1px rgba(255,255,255,.06) inset, 0 24px 50px -20px rgba(0,0,0,.85);
}
.t-phone video { position: absolute; inset: 9px; width: calc(100% - 18px); height: calc(100% - 18px); border-radius: 37px; object-fit: cover; background: var(--app-bg); display: block; }
.t-phone::after { content: ''; position: absolute; inset: -20% -35%; z-index: -1; background: radial-gradient(closest-side, rgba(39,103,229,.26), transparent); filter: blur(30px); pointer-events: none; }
@media (max-width: 400px) { .t-phone { --w: 236px; } }

/* ── hero ── */
.t-hero { position: relative; overflow: hidden; padding-block: 52px 44px; }
@media (min-width: 1024px) { .t-hero { padding-block: 72px 56px; } }
.t-hero::before { content: ''; position: absolute; inset: -10% -10% auto; height: 620px; z-index: -1; background: radial-gradient(40% 50% at 72% 40%, rgba(39,103,229,.32), transparent 70%), radial-gradient(30% 40% at 15% 25%, rgba(48,191,115,.12), transparent 70%); }
.t-hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .t-hero-grid { grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; } }
.t-hero-copy { min-width: 0; display: grid; gap: 20px; justify-items: start; }
.t-hero h1 { font-weight: 900; letter-spacing: -.033em; line-height: 1; font-size: clamp(2.3rem, 5.4vw, 4.1rem); color: #fff; text-wrap: balance; margin: 0; }
.t-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.t-link { color: #9CB8FF; font-weight: 600; font-size: 14px; padding: 8px 4px; }
.t-link:hover { color: #fff; }
.t-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: 100%; max-width: 520px; margin: 4px 0 0; padding: 0; list-style: none; }
.t-facts li { padding: 12px 14px; border-radius: 14px; background: #0d0e14; border: 1px solid var(--line); min-width: 0; }
.t-facts b { display: block; color: #fff; font-weight: 800; font-size: 20px; letter-spacing: -.01em; }
.t-facts span { display: block; color: rgba(255,255,255,.58); font-size: 12.5px; line-height: 1.35; margin-top: 2px; }

/* ── new in 3.9.5 ── */
.t-new { padding-block: 8px 56px; }
.t-new-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 14px; }
.t-pill { display: inline-flex; padding: 6px 11px; border-radius: 999px; background: rgba(48,191,115,.14); color: var(--app-green); font-weight: 700; font-size: 13px; }
.t-new-sub { color: rgba(255,255,255,.5); font-size: 13px; }
.t-new-grid { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .t-new-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.t-new-card {
  display: grid; gap: 4px; align-content: start; text-align: left; padding: 14px 16px; border-radius: 16px; cursor: pointer; min-width: 0;
  background: linear-gradient(180deg, #101118, #0b0c11); border: 1px solid var(--line); color: #fff; font: inherit;
  transition: border-color .2s;
}
.t-new-card:hover, .t-new-card:focus-visible { border-color: rgba(50,144,255,.5); outline: none; }
.t-new-card b { font-weight: 700; font-size: 15px; }
.t-new-card span { color: rgba(255,255,255,.58); font-size: 13px; line-height: 1.4; }

/* ── chapters ── */
.t-ch { padding-block: 56px; border-top: 1px solid var(--line); scroll-margin-top: 72px; }
@media (min-width: 1024px) { .t-ch { padding-block: 72px; } }
.t-ch-grid { display: grid; gap: 22px; grid-template-areas: "head" "phone" "body"; }
.t-ch-head { grid-area: head; min-width: 0; }
.t-ch-phone { grid-area: phone; }
.t-ch-body { grid-area: body; min-width: 0; }
.t-ch-body .t-items { margin-top: 0; }
@media (min-width: 900px) {
  .t-ch-grid { grid-template-columns: 320px minmax(0, 1fr); grid-template-rows: 1fr 1fr; grid-template-areas: "phone head" "phone body"; column-gap: 64px; row-gap: 22px; align-items: start; }
  .t-ch-head { align-self: end; }
  .t-ch-body { align-self: start; }
  .t-ch.flip .t-ch-grid { grid-template-columns: minmax(0, 1fr) 320px; grid-template-areas: "head phone" "body phone"; }
  .t-ch-phone { align-self: center; }
}
.t-num { display: block; font: 600 12px 'JetBrains Mono', monospace; letter-spacing: .12em; text-transform: uppercase; color: #9CB8FF; }
.t-h2 { font-weight: 900; letter-spacing: -.025em; line-height: 1.05; font-size: clamp(1.75rem, 3.4vw, 2.6rem); color: #fff; text-wrap: balance; margin: 10px 0 0; }
.t-lead { color: rgba(255,255,255,.68); font-size: 15.5px; line-height: 1.6; max-width: 60ch; margin: 12px 0 0; }
.t-items { display: grid; gap: 8px; margin-top: 22px; }
.t-item {
  position: relative; overflow: hidden; display: grid; gap: 3px; text-align: left; width: 100%;
  padding: 13px 16px 15px; border-radius: 14px; cursor: pointer; font: inherit; color: #fff;
  background: #0d0e14; border: 1px solid var(--line); transition: background .2s, border-color .2s;
}
.t-item:hover { border-color: #2a2f3d; }
.t-item:focus-visible { outline: 2px solid var(--app-sky); outline-offset: 2px; }
.t-item.on { background: linear-gradient(180deg, #131826, #0f121b); border-color: rgba(50,144,255,.45); }
.t-item b { font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.t-item b em { font-style: normal; font-size: 11px; font-weight: 700; color: var(--app-green); background: rgba(48,191,115,.14); padding: 2px 7px; border-radius: 6px; }
.t-item > span:last-child { color: rgba(255,255,255,.58); font-size: 13.5px; line-height: 1.45; }
.t-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; }
.t-bar i { display: block; height: 100%; width: 0; background: var(--app-sky); }
.t-item:not(.on) .t-bar i { width: 0 !important; }
.t-ticks { display: grid; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.t-ticks li { position: relative; padding-left: 24px; color: rgba(255,255,255,.66); font-size: 14px; line-height: 1.5; }
.t-ticks li::before { content: ''; position: absolute; left: 2px; top: 6px; width: 12px; height: 7px; border-left: 2px solid var(--app-green); border-bottom: 2px solid var(--app-green); transform: rotate(-45deg); }

/* ── end ── */
.t-end { padding-block: 40px 72px; border-top: 1px solid var(--line); }
.u-cta { position: relative; overflow: hidden; border-radius: 28px; padding: clamp(28px, 5vw, 56px); text-align: center; background: radial-gradient(60% 80% at 50% 0%, rgba(39,103,229,.38), transparent 70%), #0b0c12; border: 1px solid rgba(50,144,255,.25); }
.u-cta .t-lead { margin-inline: auto; }
