/* BisonView landing page (the home page). The chart itself is /chart. Dark only. */
@font-face { font-family: "Vazirmatn"; font-weight: 100 900; font-display: swap; src: url("../fonts/vazirmatn-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Vazirmatn"; font-weight: 100 900; font-display: swap; src: url("../fonts/vazirmatn-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0; }
@font-face { font-family: "Vazirmatn"; font-weight: 100 900; font-display: swap; src: url("../fonts/vazirmatn-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }

:root {
  --bg: #050e0a;
  --bg-2: #08150f;
  --card: #0d2219;
  --card-2: #133026;
  --line: rgba(138, 207, 167, .12);
  --line-2: rgba(138, 207, 167, .22);
  --text: #eef6f1;
  --text-2: #b6cabf;
  --muted: #829c92;
  --accent: #1da254;
  --accent-2: #67c08b;
  --gold: #e38c5f;          /* brand orange, lighter tint for text on dark */
  --orange: #db6b2f;
  --up: #22c39a;
  --down: #ff5b6b;
  --r: 14px;
  --font: Vazirmatn, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.75 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
.num { font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.wrap.narrow { width: min(820px, 100% - 40px); }
.sp { flex: 1; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 26px; border-radius: 12px;
  font: 600 15.5px var(--font); border: 1px solid transparent; cursor: pointer; transition: transform .15s, background .15s, border-color .15s; white-space: nowrap; }
.btn.sm { height: 38px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.btn.primary { background: linear-gradient(180deg, #26a06f, #18704e); color: #fff; box-shadow: 0 8px 24px rgba(29, 162, 84, .35); }
.btn.primary:hover { transform: translateY(-1px); background: linear-gradient(180deg, #2bab78, #1b7a55); }
.btn.ghost { background: rgba(255, 255, 255, .04); border-color: var(--line-2); color: var(--text); }
.btn.ghost:hover { background: rgba(255, 255, 255, .08); }

/* top bar */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(21, 71, 52, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, background .3s; }
.nav.scrolled { border-bottom-color: var(--line); background: rgba(5, 14, 10, .8); }   /* brand green over the hero, dark further down */
.nav-in { display: flex; align-items: center; gap: 22px; height: 66px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-size: 19px; letter-spacing: .2px; }
.logo b { font-weight: 800; direction: ltr; }
.links { display: flex; gap: 4px; }
.links a { padding: 8px 12px; border-radius: 8px; color: var(--text-2); font-size: 14.5px; }
.links a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.lang { color: var(--text-2); font-size: 13.5px; font-weight: 600; padding: 6px 10px; border: 1px solid var(--line-2); border-radius: 8px; }
.lang:hover { color: var(--text); }
.menu-btn { display: none; width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 10px; background: none; padding: 10px 9px; cursor: pointer; flex-direction: column; justify-content: space-between; }
.menu-btn i { display: block; height: 2px; background: var(--text); border-radius: 2px; }

/* hero: the sky and orrery are one canvas (js/landing-orrery.js); text, tags, chart card and strip sit on it */
.hero { position: relative; overflow: hidden; background: radial-gradient(ellipse 80% 70% at 50% 40%, #071510 0%, #030907 70%), #030907; }
.sky { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; animation: fadeIn 1.6s both; }
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 20px; align-items: center; min-height: min(600px, calc(100vh - 66px - 150px)); padding-top: 26px; }
.hero-text { position: relative; z-index: 2; }
.hero h1 { margin: 0 0 18px; font-weight: 850; line-height: 1.12; letter-spacing: -.5px; }
.hero h1 em { display: block; font-style: normal; font-size: clamp(54px, 7vw, 96px); color: #4fd08a;
  background: linear-gradient(90deg, #67c08b, #9fe3bd 45%, #4fd08a 60%, #67c08b); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: shine 14s linear infinite; text-shadow: none; }
.hero h1 span { display: block; font-size: clamp(36px, 4.7vw, 64px); color: #f3efe4; }
.lead { color: var(--text-2); font-size: 16.5px; margin: 0 0 28px; max-width: 470px; }
.btn.go { height: 54px; padding: 0 22px 0 26px; font-size: 17px; border-radius: 14px; gap: 14px;
  background: linear-gradient(180deg, rgba(37, 140, 92, .95), rgba(21, 90, 60, .95)); border: 1px solid rgba(103, 192, 139, .55);
  box-shadow: 0 10px 30px rgba(29, 162, 84, .28), inset 0 1px 0 rgba(255, 255, 255, .12); }
.btn.go:hover { background: linear-gradient(180deg, rgba(43, 156, 103, .98), rgba(24, 100, 67, .98)); }
.btn.go svg { width: 20px; height: 20px; }
[dir="ltr"] .btn.go svg { transform: scaleX(-1); }
.hero-art { position: relative; height: min(560px, 62vh); min-height: 420px; }

/* tags over the planets */
.orb-tags { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.orb-tag { position: absolute; top: 0; left: 0; pointer-events: auto; display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px 5px 9px; border-radius: 9px; cursor: pointer;
  font: 600 13px var(--font); color: #f2ead8; background: rgba(8, 20, 15, .78); border: 1px solid rgba(226, 184, 116, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, .35); direction: ltr; white-space: nowrap; will-change: transform; transition: border-color .15s, opacity .3s; }
.orb-tag:hover, .orb-tag.on { border-color: #e2b874; background: rgba(14, 34, 25, .9); }
.orb-tag b { font-weight: 700; letter-spacing: .2px; }
.orb-tag span { color: var(--text-2); font-weight: 500; font-size: 12.5px; }
.orb-tag span:empty, .orb-tag span:not([data-v]) { display: none; }

/* symbol icons (drawn in landing.js) */
.ic { display: inline-grid; place-items: center; width: 20px; height: 20px; flex: none; }
.ic svg { width: 100%; height: 100%; display: block; }

/* the chart card, on the orrery's lower corner */
.cc { position: absolute; z-index: 2; left: 0; bottom: 0; width: min(410px, 64%); padding: 12px 12px 10px; border-radius: 16px;
  background: linear-gradient(180deg, rgba(14, 34, 26, .82), rgba(6, 17, 12, .86)); border: 1px solid rgba(138, 207, 167, .22);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .06); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  animation: rise .9s .3s cubic-bezier(.2, .7, .2, 1) both; direction: ltr; }
.cc-head { display: flex; align-items: center; gap: 8px; padding: 0 2px 8px; }
.cc-head b { font-size: 14px; font-weight: 700; }
.cc-px { font-size: 14.5px; font-weight: 700; margin-inline-start: 6px; }
.pill { font-size: 12px; font-weight: 600; padding: 1px 7px; border-radius: 6px; }
.pill.up { color: #4fe0a6; background: rgba(34, 195, 154, .14); } .pill.down { color: #ff7a87; background: rgba(255, 91, 107, .14); }
.cc-tf { display: flex; gap: 4px; }
.cc-tf button { font: 600 12px var(--font); color: var(--text-2); background: rgba(255, 255, 255, .04); border: 1px solid rgba(138, 207, 167, .16); border-radius: 7px; padding: 3px 8px; cursor: pointer; }
.cc-tf button.on { color: #fff; border-color: rgba(103, 192, 139, .7); background: rgba(29, 162, 84, .22); }
.cc-chart { position: relative; display: block; height: 188px; border-radius: 10px; overflow: hidden; }
.cc-chart canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.cc-wait { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 13px; }

/* the live strip under the hero */
.strip { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); margin: 34px 0 30px; border-radius: 18px;
  background: linear-gradient(180deg, rgba(14, 34, 26, .66), rgba(6, 17, 12, .72)); border: 1px solid rgba(138, 207, 167, .2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .05); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  animation: rise .9s .45s cubic-bezier(.2, .7, .2, 1) both; }
.st { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; gap: 4px 16px; align-items: center; padding: 16px 24px; position: relative; transition: background .15s; }
.st:hover { background: rgba(255, 255, 255, .03); }
.st + .st::before { content: ""; position: absolute; inset-inline-start: 0; top: 18px; bottom: 18px; width: 1px; background: rgba(138, 207, 167, .16); }
.st:first-child { border-start-start-radius: 18px; border-end-start-radius: 18px; } .st:last-child { border-start-end-radius: 18px; border-end-end-radius: 18px; }
.st-name { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14.5px; direction: ltr; justify-content: flex-end; grid-column: 1; }
[dir="ltr"] .st-name { justify-content: flex-start; }
.st-name small { color: var(--muted); font-weight: 500; font-size: 12px; }
.st-px { grid-column: 1; display: flex; align-items: center; gap: 10px; justify-content: flex-end; }
[dir="ltr"] .st-px { justify-content: flex-start; }
.st-px [data-px] { font-size: 19px; font-weight: 700; }
.st canvas { grid-column: 2; grid-row: 1 / span 2; width: 100%; height: 46px; }

/* search in the top bar */
.search { position: relative; width: 300px; }
.search input { width: 100%; height: 40px; padding: 0 40px 0 64px; border-radius: 11px; border: 1px solid rgba(138, 207, 167, .22); background: rgba(255, 255, 255, .04);
  color: var(--text); font: 14px var(--font); outline: none; transition: border-color .15s, background .15s; }
[dir="ltr"] .search input { padding: 0 64px 0 40px; }
/* .cc and .s-kbd are ltr inside (numbers), so logical insets would flip: place them by the page direction */
[dir="ltr"] .s-kbd { left: auto; right: 9px; }
[dir="ltr"] .cc { left: auto; right: 0; }
.search input::placeholder { color: var(--muted); }
.search input:focus { border-color: rgba(103, 192, 139, .7); background: rgba(255, 255, 255, .07); }
.search input::-webkit-search-cancel-button { display: none; }
.s-ic { position: absolute; top: 10px; inset-inline-start: 12px; width: 20px; height: 20px; color: var(--text-2); pointer-events: none; }
.s-kbd { position: absolute; top: 9px; left: 9px; font: 600 11px var(--font); color: var(--text-2); padding: 2px 6px; border-radius: 6px; border: 1px solid rgba(138, 207, 167, .25); background: rgba(255, 255, 255, .04); direction: ltr; pointer-events: none; }
.s-res { position: absolute; top: 46px; inset-inline: 0; min-width: 340px; max-height: 420px; overflow: auto; z-index: 30; padding: 6px; border-radius: 12px;
  background: #0b1c15; border: 1px solid rgba(138, 207, 167, .25); box-shadow: 0 20px 50px rgba(0, 0, 0, .5); }
.s-res a { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 8px 10px; border-radius: 8px; }
.s-res a.on, .s-res a:hover { background: rgba(29, 162, 84, .16); }
.s-res b { font-size: 14px; direction: ltr; unicode-bidi: isolate; text-align: start; }
.s-res small { color: var(--muted); font-size: 12.5px; grid-column: 1; }
.s-res em { font-style: normal; color: var(--accent-2); font-size: 12px; grid-row: 1 / span 2; grid-column: 2; align-self: center; }
.s-res .none { padding: 12px; color: var(--muted); font-size: 13.5px; }
.s-btn { display: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-2); background: none; color: var(--text); padding: 9px; cursor: pointer; }
.s-btn svg { width: 100%; height: 100%; }
.acct { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 11px; border: 1px solid rgba(103, 192, 139, .45); color: var(--text); font-size: 14px; font-weight: 600; white-space: nowrap; max-width: 190px; }
.acct span { overflow: hidden; text-overflow: ellipsis; }
.acct:hover { background: rgba(29, 162, 84, .12); }
.acct svg { width: 20px; height: 20px; flex: none; }

/* price tape */
.tape { border-block: 1px solid var(--line); background: var(--bg-2); overflow: hidden; direction: ltr; }
.tape-in { display: flex; width: max-content; animation: tape 60s linear infinite; }
.tape:hover .tape-in { animation-play-state: paused; }
.tape a { display: inline-flex; gap: 10px; align-items: baseline; padding: 12px 22px; border-inline-end: 1px solid var(--line); font-size: 13.5px; white-space: nowrap; }
.tape a b { font-weight: 700; }
.tape a span { color: var(--text-2); }
@keyframes tape { to { transform: translateX(-50%); } }

/* sections */
.sec { padding: 90px 0; }
.sec.alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-block: 1px solid var(--line); }
.sec-head { text-align: center; margin-bottom: 40px; }
.sec-head h2 { font-size: clamp(26px, 3vw, 36px); margin: 0 0 8px; font-weight: 800; }
.sec-head p { margin: 0 auto; color: var(--text-2); max-width: 640px; }
.sec-head.row { display: flex; align-items: flex-end; justify-content: space-between; text-align: start; gap: 20px; }
.sec-head.row p { margin: 0; }

/* markets */
.mk-tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 18px; }
.mk-tabs button { font-size: 14px; padding: 7px 16px; border-radius: 99px; }
.mk-table { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.mk-row { display: grid; grid-template-columns: 1.6fr 1fr .8fr .8fr .9fr; align-items: center; gap: 10px; padding: 12px 20px; border-top: 1px solid var(--line); cursor: pointer; transition: background .12s; }
.mk-row:first-child { border-top: 0; }
.mk-row:hover { background: rgba(255, 255, 255, .035); }
.mk-row.head { cursor: default; color: var(--muted); font-size: 12.5px; background: rgba(255, 255, 255, .02); }
.mk-row.head:hover { background: rgba(255, 255, 255, .02); }
.mk-sym b { display: block; font-size: 14.5px; }
.mk-more { display: block; width: 100%; padding: 13px; background: rgba(255, 255, 255, .02); border: 0; border-top: 1px solid var(--line); color: var(--accent-2); font: 600 14px var(--font); cursor: pointer; }
.mk-more:hover { background: rgba(255, 255, 255, .05); }
.mk-sym small { color: var(--muted); font-size: 12.5px; }
.mk-row .num { text-align: end; }
.mk-row .px { font-weight: 650; }
.mk-row .go { justify-self: end; color: var(--accent-2); font-size: 13px; }
.flash-up { animation: fu .7s; } .flash-down { animation: fd .7s; }
@keyframes fu { from { color: var(--up); } } @keyframes fd { from { color: var(--down); } }

/* features */
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.feat { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; transition: border-color .15s, transform .15s; }
.feat:hover { border-color: var(--line-2); transform: translateY(-2px); }
.feat i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: rgba(29, 162, 84, .14); color: var(--accent-2); margin-bottom: 12px; }
.feat i svg { width: 22px; height: 22px; }
.feat h3 { font-size: 15.5px; margin: 0 0 4px; }
.feat p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.7; }

/* numbers */
.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.stat { text-align: center; padding: 26px 10px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.stat b { display: block; font-size: 36px; font-weight: 850; line-height: 1.2; background: linear-gradient(180deg, #fff, #aedec2); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--muted); font-size: 13.5px; }

/* spotlights */
.spots { display: grid; gap: 70px; }
.spot { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: center; }
.spot:nth-child(even) .spot-art { order: -1; }
.spot h3 { font-size: 26px; margin: 8px 0 12px; font-weight: 800; }
.spot .tag { color: var(--gold); font-size: 13px; font-weight: 600; }
.spot p { color: var(--text-2); margin: 0 0 14px; }
.spot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.spot li { display: flex; gap: 10px; color: var(--text-2); font-size: 14.5px; }
.spot li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 4px; border-radius: 50%; background: rgba(34, 195, 154, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322c39a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat; }
.spot-art { border-radius: 16px; border: 1px solid var(--line-2); background: var(--card); overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, .4); aspect-ratio: 16 / 10; position: relative; }
.spot-art img { width: 100%; height: 100%; object-fit: cover; object-position: top left; display: block; }

/* ideas */
.ideas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.idea { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: border-color .15s, transform .15s; }
.idea:hover { border-color: var(--line-2); transform: translateY(-2px); }
.idea img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #07120d; display: block; }
.idea div { padding: 14px 16px 16px; }
.idea h3 { margin: 0 0 6px; font-size: 15.5px; line-height: 1.6; }
.idea small { color: var(--muted); font-size: 12.5px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.side { font-weight: 700; padding: 1px 8px; border-radius: 6px; font-size: 12px; }
.side.long { color: var(--up); background: rgba(34, 195, 154, .12); } .side.short { color: var(--down); background: rgba(255, 91, 107, .12); } .side.neutral { color: var(--text-2); background: rgba(255, 255, 255, .06); }
.empty { grid-column: 1 / -1; text-align: center; padding: 40px 20px; border: 1px dashed var(--line-2); border-radius: var(--r); color: var(--muted); }
.empty a { color: var(--accent-2); font-weight: 600; }

/* plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 26px; display: flex; flex-direction: column; }
.plan.best { border-color: rgba(29, 162, 84, .6); background: linear-gradient(180deg, rgba(29, 162, 84, .13), var(--card) 45%); position: relative; }
.plan.best::before { content: attr(data-best); position: absolute; top: -12px; inset-inline-start: 24px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 99px; }
.plan h3 { margin: 0; font-size: 19px; }
.plan .price { margin: 10px 0 2px; font-size: 30px; font-weight: 850; }
.plan .price small { font-size: 14px; color: var(--muted); font-weight: 500; }
.plan .alt-price { color: var(--muted); font-size: 13px; min-height: 22px; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 9px; flex: 1; }
.plan li { display: flex; gap: 9px; font-size: 14.5px; color: var(--text-2); }
.plan li::before { content: "✓"; color: var(--up); font-weight: 800; }

/* faq */
.faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--card); margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 20px; font-weight: 650; list-style: none; display: flex; justify-content: space-between; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent-2); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--text-2); }

/* final call */
.final { padding: 80px 0; }
.final-in { text-align: center; padding: 56px 24px; border-radius: 22px; border: 1px solid var(--line-2);
  background: radial-gradient(ellipse at 50% 0%, rgba(29, 162, 84, .28), transparent 70%), var(--card); }
.final h2 { font-size: clamp(24px, 3vw, 34px); margin: 0 0 22px; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 46px 0 26px; background: var(--bg-2); }
.foot-in { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
.foot-brand p { color: var(--muted); font-size: 13.5px; max-width: 420px; }
.foot-col { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.foot-col b { margin-bottom: 4px; }
.foot-col a { color: var(--text-2); } .foot-col a:hover { color: var(--text); }
.foot-copy { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12.5px; }

/* hero entrance: one short rise, then still */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes shine { to { background-position: 220% 0; } }
.hero-text > * { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.hero-text > :nth-child(2) { animation-delay: .1s; }
.hero-text > :nth-child(3) { animation-delay: .2s; }

/* reveal on scroll */
.rv { opacity: 0; transform: translateY(16px); transition: opacity .6s, transform .6s; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; } .tape-in { animation: none; } html { scroll-behavior: auto; }
  .sky, .hero-text > *, .cc, .strip, .hero h1 em { animation: none; }
}

/* tablet */
@media (max-width: 1020px) {
  .hero-in { grid-template-columns: minmax(0, 1fr); gap: 10px; min-height: 0; padding-top: 34px; }
  .hero-text { text-align: center; } .lead { margin-inline: auto; }
  .hero-art { height: 520px; }
  .search { width: 220px; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .spot { grid-template-columns: 1fr; gap: 26px; } .spot:nth-child(even) .spot-art { order: 0; }
  .ideas, .plans { grid-template-columns: 1fr 1fr; }
}
/* phone */
@media (max-width: 720px) {
  body { font-size: 14.5px; }
  .nav-in { height: 58px; gap: 10px; }
  .links { display: none; position: absolute; top: 58px; inset-inline: 0; flex-direction: column; background: rgba(5, 14, 10, .97); border-bottom: 1px solid var(--line); padding: 8px 14px 14px; }
  .links.open { display: flex; }
  .links a { padding: 12px; font-size: 15.5px; }
  .menu-btn { display: flex; }
  .hero-in { padding-top: 26px; }
  .hero h1 { margin-bottom: 12px; }
  .lead { font-size: 15px; margin-bottom: 20px; }
  .hero-art { height: auto; min-height: 0; padding-top: 330px; }
  .cc { position: relative; width: 100%; inset: auto; }
  .cc-chart { height: 170px; }
  .cc-head { flex-wrap: wrap; row-gap: 6px; } .cc-px { font-size: 13.5px; }
  .strip { grid-template-columns: 1fr; margin: 16px 0 22px; }
  .st { padding: 12px 16px; }
  .st + .st::before { inset-inline: 16px; top: 0; bottom: auto; width: auto; height: 1px; }
  .search { display: none; position: absolute; top: 58px; inset-inline: 0; width: auto; padding: 10px 14px; background: rgba(5, 14, 10, .97); border-bottom: 1px solid var(--line); }
  .search.open { display: block; }
  .search .s-ic { top: 20px; inset-inline-start: 26px; } .s-kbd { display: none; }
  .search input { padding-inline-end: 12px; }
  .s-res { top: 56px; inset-inline: 14px; min-width: 0; }
  .s-btn { display: block; padding: 9px; }
  .acct { width: 40px; padding: 0; justify-content: center; } .acct span { display: none; }
  .btn { height: 46px; padding: 0 20px; }
  .hc-chart { height: 230px; }
  .hc-foot { flex-wrap: wrap; }
  .sec { padding: 60px 0; }
  .feat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .feat { padding: 14px; } .feat p { font-size: 12.5px; }
  .stats { grid-template-columns: 1fr 1fr; } .stat b { font-size: 30px; }
  .ideas, .plans { grid-template-columns: 1fr; }
  .mk-row { grid-template-columns: 1.5fr 1fr .9fr; padding: 11px 14px; }
  .mk-row .hide-m { display: none; }
  .sec-head.row { flex-direction: column; align-items: flex-start; }
  .foot-in { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; }
  .final-in { padding: 40px 18px; }
}
.links .only-m { display: none; }
@media (max-width: 420px) {
  .nav .lang { display: none; }
  .links .only-m { display: block; }
  .feat-grid { grid-template-columns: 1fr; }
  .feat { display: grid; grid-template-columns: 40px 1fr; gap: 0 12px; align-items: center; }
  .feat i { grid-row: span 2; margin: 0; }
}
.spot.no-art { grid-template-columns: 1fr; max-width: 760px; margin-inline: auto; }
