/* ==========================================================================
   Subpages — shared page hero, about, academy, analytics, news, auth
   ========================================================================== */

/* Page hero */
.page-hero {
  position: relative;
  padding: clamp(2.75rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3.5rem);
  overflow: clip;
}
.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}
.page-hero__copy { position: relative; z-index: 2; }
.crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 0.45rem; color: var(--muted-2); font-size: 0.68rem; font-weight: 700; margin-bottom: 1.3rem; }
.crumbs a:hover { color: var(--text); }
.crumbs svg { width: 11px; height: 11px; opacity: 0.6; }
.crumbs span { color: var(--text-soft); }
.page-title { margin-top: 1.1rem; font-size: clamp(2.2rem, 4.6vw, 4rem); font-weight: 600; line-height: 1.04; letter-spacing: -0.05em; overflow-wrap: anywhere; }
.page-lead { max-width: 55ch; margin-top: 1.2rem; color: var(--muted); font-size: clamp(0.95rem, 1.2vw, 1.06rem); line-height: 1.72; }
.page-hero .btn-row { margin-top: 1.8rem; }
.page-hero__side { position: relative; }
.page-hero__stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.7rem; }
.hero-stat-card {
  padding: 1.2rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--grad-panel);
  backdrop-filter: blur(16px);
}
.hero-stat-card strong { display: block; font-family: var(--font-display); font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.hero-stat-card span { display: block; margin-top: 0.4rem; color: var(--muted); font-size: 0.66rem; font-weight: 700; }
.hero-stat-card:nth-child(2) strong, .hero-stat-card:nth-child(4) strong { color: var(--brand-2); }

/* About */
.about-collage { position: relative; min-height: 430px; }
.about-collage__main, .about-collage__small {
  position: absolute;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-md);
}
.about-collage__main { inset: 0 12% 12% 0; border-radius: var(--radius-lg); }
.about-collage__small { width: 44%; aspect-ratio: 1.05; right: 0; bottom: 0; border-radius: var(--radius-md); }
.about-collage img { width: 100%; height: 100%; object-fit: cover; }
.about-collage__badge {
  position: absolute;
  z-index: 3;
  left: 7%;
  bottom: 5%;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface-solid);
  box-shadow: var(--shadow-sm);
  font-size: 0.68rem;
  font-weight: 800;
}
.about-collage__badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(53, 224, 161, 0.12); }
.about-mission { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.about-mission__card { padding: 1.5rem 1.4rem; }
.about-mission__num { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; color: var(--brand-2); letter-spacing: -0.04em; }
.about-mission__card h4 { margin-top: 0.8rem; font-size: 0.94rem; }
.about-mission__card p { margin-top: 0.4rem; color: var(--muted); font-size: 0.78rem; line-height: 1.65; }

.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.value-card { min-height: 230px; display: flex; flex-direction: column; }
.value-card__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: rgba(91, 124, 255, 0.1); border: 1px solid rgba(91, 124, 255, 0.2); color: #a9bbff; }
html[data-theme='light'] .value-card__icon { color: #3358f4; }
.value-card__icon svg { width: 20px; height: 20px; }
.value-card h3 { margin-top: 1.15rem; font-family: var(--font-body); font-size: 0.95rem; font-weight: 800; letter-spacing: -0.02em; }
.value-card p { margin-top: 0.45rem; color: var(--muted); font-size: 0.78rem; line-height: 1.65; flex: 1; }

.timeline { position: relative; display: grid; gap: 0; margin-top: 1rem; }
.timeline::before { content: ''; position: absolute; left: 89px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(180deg, var(--brand), var(--brand-2), transparent); opacity: 0.35; }
.timeline-item { display: grid; grid-template-columns: 70px 1fr; gap: 2.2rem; padding: 1rem 0; position: relative; }
.timeline-item::before { content: ''; position: absolute; left: 85px; top: 1.6rem; width: 9px; height: 9px; border-radius: 50%; background: var(--brand); border: 2px solid var(--bg); box-shadow: 0 0 0 4px rgba(91, 124, 255, 0.16); }
.timeline-year { padding-top: 0.35rem; font-family: var(--font-display); font-size: 0.9rem; font-weight: 600; color: var(--brand-2); }
.timeline-body b { display: block; font-size: 0.9rem; font-weight: 800; }
.timeline-body p { margin-top: 0.25rem; color: var(--muted); font-size: 0.8rem; line-height: 1.65; max-width: 60ch; }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.team-card { padding: 0; overflow: hidden; }
.team-photo { position: relative; aspect-ratio: 1.05; overflow: hidden; background: var(--surface-3); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.75); transition: transform 0.7s var(--ease), filter 0.4s ease; }
.team-card:hover .team-photo img { transform: scale(1.04); filter: saturate(1); }
.team-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(5, 8, 15, 0.55)); }
.team-info { padding: 1rem 1.1rem 1.2rem; }
.team-info b { display: block; font-size: 0.88rem; font-weight: 800; }
.team-info span { display: block; margin-top: 2px; color: var(--muted); font-size: 0.68rem; font-weight: 600; }
.team-info .chip { margin-top: 0.7rem; }

.quote-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(1.5rem, 3.5vw, 3rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(20, 34, 62, 0.6), rgba(8, 13, 24, 0.7));
}
html[data-theme='light'] .quote-panel { background: linear-gradient(145deg, #ffffff, #eef4fc); }
.quote-panel__mark { font-family: var(--font-display); font-size: clamp(4rem, 8vw, 7rem); line-height: 0.8; color: var(--brand); opacity: 0.28; }
.quote-panel blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(1.15rem, 2vw, 1.55rem); font-weight: 400; line-height: 1.45; letter-spacing: -0.03em; }
.quote-panel__author { display: flex; align-items: center; gap: 0.7rem; margin-top: 1.4rem; }
.quote-panel__author img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.quote-panel__author b { display: block; font-size: 0.8rem; }
.quote-panel__author span { display: block; color: var(--muted); font-size: 0.66rem; }

/* Academy */
.course-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.filters { display: flex; align-items: center; gap: 0.35rem; flex-wrap: wrap; }
.filter-btn {
  padding: 0.48rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.filter-btn:hover { color: var(--text); border-color: var(--line-strong); }
.filter-btn.is-active { color: #061124; background: var(--grad-brand); border-color: transparent; }
.course-search { display: flex; align-items: center; gap: 0.5rem; min-width: 220px; height: 40px; padding: 0 0.9rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-2); color: var(--muted); }
.course-search svg { width: 15px; height: 15px; flex: 0 0 auto; }
.course-search input { width: 100%; border: 0; background: none; outline: none; color: var(--text); font-size: 0.76rem; }
.course-search input::placeholder { color: var(--muted-2); }
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.course-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; transition: transform 0.4s var(--ease), border-color 0.3s ease; }
.course-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.course-thumb { position: relative; aspect-ratio: 16/9.5; overflow: hidden; background: linear-gradient(145deg, #101c34, #070d19); }
.course-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: 0.72; transition: transform 0.7s var(--ease), opacity 0.4s ease; }
.course-card:hover .course-thumb img { transform: scale(1.05); opacity: 0.9; }
.course-thumb::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 8, 15, 0.05), rgba(5, 8, 15, 0.65)); }
.course-thumb__art { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.course-thumb__art svg { width: 72%; height: 72%; }
.course-thumb__top { position: absolute; top: 0.8rem; left: 0.8rem; right: 0.8rem; display: flex; align-items: center; justify-content: space-between; z-index: 2; }
.course-thumb__top .chip { background: rgba(5, 8, 15, 0.6); border-color: rgba(255, 255, 255, 0.15); color: #fff; backdrop-filter: blur(8px); font-size: 0.58rem; }
.course-thumb__play { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.28); color: #fff; backdrop-filter: blur(10px); }
.course-thumb__play svg { width: 15px; height: 15px; }
.course-body { display: flex; flex-direction: column; flex: 1; padding: 1.2rem 1.25rem 1.35rem; }
.course-body h3 { font-family: var(--font-body); font-size: 0.96rem; font-weight: 800; line-height: 1.4; letter-spacing: -0.02em; }
.course-body p { margin-top: 0.45rem; color: var(--muted); font-size: 0.76rem; line-height: 1.6; flex: 1; }
.course-meta { display: flex; align-items: center; gap: 0.9rem; margin-top: 1rem; padding-top: 0.9rem; border-top: 1px solid var(--line); color: var(--muted-2); font-size: 0.64rem; font-weight: 700; flex-wrap: wrap; }
.course-meta span { display: inline-flex; align-items: center; gap: 0.3rem; }
.course-meta svg { width: 12px; height: 12px; }
.course-meta .level { margin-left: auto; color: var(--text-soft); }
.course-rating { position: absolute; right: 0.8rem; bottom: 0.8rem; z-index: 2; display: inline-flex; align-items: center; gap: 0.25rem; padding: 0.25rem 0.5rem; border-radius: 6px; background: rgba(5, 8, 15, 0.7); color: var(--lime); font-size: 0.6rem; font-weight: 800; backdrop-filter: blur(8px); }
.course-rating svg { width: 10px; height: 10px; fill: currentColor; }
.course-card.is-hidden { display: none; }
.course-empty { display: none; padding: 3rem; text-align: center; color: var(--muted); border: 1px dashed var(--line-strong); border-radius: var(--radius-md); }
.course-empty.is-visible { display: block; }

.featured-course {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
  margin-top: 1rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--grad-panel);
}
.featured-course__art { position: relative; min-height: 340px; background: linear-gradient(145deg, #0d1830, #060b16); overflow: hidden; }
.featured-course__art img { width: 100%; height: 100%; object-fit: cover; opacity: 0.5; }
.featured-course__art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 50%, rgba(7, 12, 22, 0.9)); }
.featured-course__tag { position: absolute; z-index: 2; top: 1.2rem; left: 1.2rem; }
.featured-course__body { padding: clamp(1.6rem, 3vw, 2.6rem); display: flex; flex-direction: column; justify-content: center; }
.featured-course__body h3 { margin-top: 0.8rem; font-size: clamp(1.35rem, 2.3vw, 1.9rem); }
.featured-course__body p { margin-top: 0.7rem; color: var(--muted); font-size: 0.86rem; line-height: 1.7; }
.featured-course__meta { display: flex; gap: 1.2rem; margin-top: 1.2rem; color: var(--muted); font-size: 0.7rem; font-weight: 700; flex-wrap: wrap; }
.featured-course__meta span { display: inline-flex; align-items: center; gap: 0.35rem; }
.featured-course__meta svg { width: 13px; height: 13px; color: var(--brand-2); }

.learning-panel { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 1rem; margin-top: 1rem; }
.learning-card { padding: 1.4rem; }
.learning-week { display: grid; gap: 0.45rem; margin-top: 1rem; }
.learning-day { display: flex; align-items: center; gap: 0.8rem; padding: 0.6rem 0.75rem; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); }
.learning-day__date { flex: 0 0 42px; text-align: center; padding-right: 0.7rem; border-right: 1px solid var(--line); }
.learning-day__date b { display: block; font-size: 0.9rem; font-weight: 800; line-height: 1; }
.learning-day__date span { color: var(--muted-2); font-size: 0.55rem; font-weight: 800; text-transform: uppercase; }
.learning-day__info { min-width: 0; }
.learning-day__info b { display: block; font-size: 0.72rem; font-weight: 800; }
.learning-day__info span { display: block; color: var(--muted); font-size: 0.6rem; font-weight: 600; margin-top: 1px; }
.learning-day__status { margin-left: auto; flex: 0 0 auto; }
.learning-progress { padding: 1.4rem; display: flex; flex-direction: column; justify-content: space-between; gap: 1.2rem; }
.learning-progress__ring { position: relative; width: 140px; height: 140px; margin: 0 auto; }
.learning-progress__ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.learning-progress__center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.learning-progress__center strong { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; letter-spacing: -0.04em; }
.learning-progress__center span { color: var(--muted); font-size: 0.58rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
.learning-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.learning-stat { padding: 0.65rem 0.7rem; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); text-align: center; }
.learning-stat b { display: block; font-size: 0.95rem; font-weight: 800; }
.learning-stat span { display: block; color: var(--muted); font-size: 0.55rem; font-weight: 700; margin-top: 1px; }

/* Analytics */
.analytics-hero { padding-bottom: 1.5rem; }
.analytics-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.analytics-status { display: flex; align-items: center; gap: 0.8rem; color: var(--muted); font-size: 0.7rem; font-weight: 700; flex-wrap: wrap; }
.analytics-status .badge-live { font-size: 0.6rem; }
.analytics-status time { font-variant-numeric: tabular-nums; }
.market-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.7rem; margin-bottom: 1rem; }
.market-mini-card { padding: 0.9rem 1rem; }
.market-mini-card__top { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.market-mini-card__name { font-size: 0.74rem; font-weight: 800; }
.market-mini-card__tag { color: var(--muted-2); font-size: 0.54rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.market-mini-card__bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 0.5rem; margin-top: 0.55rem; }
.market-mini-card__price { font-size: 1.05rem; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -0.03em; }
.market-mini-card__change { font-size: 0.64rem; font-weight: 800; color: var(--green); }
.market-mini-card__change.is-down { color: var(--red); }
.market-mini-card__spark { width: 100%; height: 30px; margin-top: 0.35rem; }
.market-mini-card__spark path { fill: none; stroke: var(--green); stroke-width: 1.6; }
.market-mini-card.is-down .market-mini-card__spark path { stroke: var(--red); }

.analytics-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.85fr); gap: 1rem; }
.chart-panel { overflow: hidden; }
.chart-panel__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.chart-panel__head h3 { font-family: var(--font-body); font-size: 0.88rem; font-weight: 800; }
.chart-panel__head p { color: var(--muted-2); font-size: 0.62rem; font-weight: 600; margin-top: 2px; }
.symbol-select { display: flex; align-items: center; gap: 0.4rem; padding: 0.25rem; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); }
.symbol-select select { border: 0; background: transparent; color: var(--text); font-size: 0.7rem; font-weight: 800; padding: 0.3rem 0.5rem; outline: none; cursor: pointer; }
.symbol-select select option { background: var(--surface-solid); color: var(--text); }
.analytics-chart { position: relative; height: 380px; padding: 0.8rem 0.9rem 0; }
.analytics-chart svg { width: 100%; height: 100%; overflow: visible; }
.chart-big-price { position: absolute; top: 0.9rem; left: 1rem; z-index: 2; }
.chart-big-price strong { display: block; font-size: 1.45rem; font-weight: 800; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.chart-big-price span { color: var(--green); font-size: 0.7rem; font-weight: 800; }
.chart-big-price span.is-down { color: var(--red); }
.analytics-side { display: grid; gap: 1rem; grid-template-rows: auto auto; }
.side-panel { overflow: hidden; }
.sentiment-panel { padding: 1.2rem; }
.sentiment-gauge { position: relative; width: 170px; height: 100px; margin: 1rem auto 0; }
.sentiment-gauge svg { width: 100%; height: 100%; }
.sentiment-value { position: absolute; inset: auto 0 0; text-align: center; }
.sentiment-value strong { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; letter-spacing: -0.03em; }
.sentiment-value span { display: block; color: var(--green); font-size: 0.62rem; font-weight: 800; }
.sentiment-scale { display: flex; justify-content: space-between; color: var(--muted-2); font-size: 0.55rem; font-weight: 800; margin-top: 0.4rem; }
.sentiment-bars { display: grid; gap: 0.55rem; margin-top: 1rem; }
.sentiment-bar__top { display: flex; justify-content: space-between; color: var(--muted); font-size: 0.62rem; font-weight: 700; margin-bottom: 0.25rem; }
.sentiment-bar__top b { color: var(--text); }
.sentiment-bar { height: 5px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.sentiment-bar i { display: block; height: 100%; border-radius: inherit; background: var(--green); }
.sentiment-bar i.short { background: var(--red); }
.sentiment-bar i.mid { background: var(--amber); }

.signals-table { margin-top: 1rem; }
.signal-row { display: grid; grid-template-columns: 1.1fr 0.7fr 0.8fr 0.7fr; gap: 0.6rem; align-items: center; padding: 0.65rem 1.2rem; border-top: 1px solid var(--line); font-size: 0.7rem; font-weight: 700; }
.signal-row:first-child { border-top: 0; background: var(--surface-2); color: var(--muted-2); font-size: 0.56rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.signal-row .sym { font-weight: 800; }
.signal-row .dir { font-size: 0.6rem; font-weight: 900; }
.signal-row .dir.up { color: var(--green); }
.signal-row .dir.down { color: var(--red); }
.signal-row .conf { color: var(--text-soft); font-variant-numeric: tabular-nums; }
.signal-row .status { justify-self: start; }
.signal-row .chip { font-size: 0.52rem; padding: 0.2rem 0.45rem; }

.analytics-bottom { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 1rem; margin-top: 1rem; }
.heatmap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.45rem; padding: 1rem 1.2rem 1.2rem; }
.heat-cell { padding: 0.75rem 0.7rem; border-radius: 9px; border: 1px solid var(--line); background: var(--surface-2); }
.heat-cell b { display: block; font-size: 0.68rem; font-weight: 800; }
.heat-cell span { display: block; margin-top: 0.15rem; font-size: 0.7rem; font-weight: 800; }
.heat-cell.up { background: rgba(53, 224, 161, 0.08); border-color: rgba(53, 224, 161, 0.15); }
.heat-cell.up span { color: var(--green); }
.heat-cell.down { background: rgba(255, 93, 122, 0.07); border-color: rgba(255, 93, 122, 0.14); }
.heat-cell.down span { color: var(--red); }
.calendar-list { padding: 0.2rem 1.2rem 0.8rem; }
.calendar-list__item { display: flex; align-items: center; gap: 0.8rem; padding: 0.7rem 0; border-top: 1px solid var(--line); }
.calendar-list__item:first-child { border-top: 0; }
.calendar-list__time { flex: 0 0 38px; color: var(--text-soft); font-size: 0.7rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.calendar-list__info { min-width: 0; flex: 1; }
.calendar-list__info b { display: block; font-size: 0.7rem; font-weight: 800; }
.calendar-list__info span { display: block; color: var(--muted-2); font-size: 0.56rem; font-weight: 700; margin-top: 1px; }
.calendar-list .chip { font-size: 0.48rem; padding: 0.15rem 0.4rem; }
.analytics-disclaimer { display: flex; align-items: flex-start; gap: 0.5rem; margin-top: 1rem; color: var(--muted-2); font-size: 0.66rem; line-height: 1.6; }
.analytics-disclaimer svg { width: 13px; height: 13px; flex: 0 0 auto; margin-top: 2px; color: var(--amber); }

/* News */
.news-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 1.5rem; align-items: start; min-width: 0; }
.news-layout > * { min-width: 0; }
.news-feature { display: grid; grid-template-columns: 1.15fr 0.85fr; overflow: hidden; margin-bottom: 1.5rem; }
.news-feature__media { position: relative; min-height: 290px; overflow: hidden; background: var(--surface-3); }
.news-feature__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.news-feature:hover .news-feature__media img { transform: scale(1.04); }
.news-feature__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, var(--surface-solid)); }
.news-feature__body { padding: 1.6rem; display: flex; flex-direction: column; justify-content: center; }
.news-feature__body h2 { font-size: clamp(1.25rem, 2vw, 1.7rem); line-height: 1.2; }
.news-feature__body p { margin-top: 0.7rem; color: var(--muted); font-size: 0.82rem; line-height: 1.7; }
.news-feature__meta { display: flex; align-items: center; gap: 0.8rem; margin-top: 1.1rem; color: var(--muted-2); font-size: 0.64rem; font-weight: 700; flex-wrap: wrap; }
.news-feature__meta span { display: inline-flex; align-items: center; gap: 0.3rem; }
.news-feature__meta svg { width: 12px; height: 12px; }
.news-feature__body .link-arrow { margin-top: 1.2rem; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.news-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; cursor: pointer; transition: transform 0.35s var(--ease), border-color 0.25s ease; }
.news-feature { cursor: pointer; }
.popular-item { cursor: pointer; }
.news-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.news-card__media { position: relative; aspect-ratio: 16/9.5; overflow: hidden; background: linear-gradient(145deg, #101c34, #070d19); }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.78; transition: transform 0.7s var(--ease), opacity 0.35s ease; }
.news-card:hover .news-card__media img { transform: scale(1.05); opacity: 0.92; }
.news-card__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(5, 8, 15, 0.55)); }
.news-card__media .chip { position: absolute; z-index: 2; top: 0.75rem; left: 0.75rem; background: rgba(5, 8, 15, 0.62); border-color: rgba(255, 255, 255, 0.14); color: #fff; backdrop-filter: blur(8px); font-size: 0.54rem; }
.news-card__body { padding: 1.05rem 1.1rem 1.15rem; display: flex; flex-direction: column; flex: 1; }
.news-card__date { color: var(--muted-2); font-size: 0.6rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.news-card__body h3 { margin-top: 0.4rem; font-family: var(--font-body); font-size: 0.9rem; font-weight: 800; line-height: 1.4; letter-spacing: -0.02em; }
.news-card__body p { margin-top: 0.4rem; color: var(--muted); font-size: 0.72rem; line-height: 1.6; flex: 1; }
.news-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 0.8rem; padding-top: 0.7rem; border-top: 1px solid var(--line); color: var(--muted-2); font-size: 0.6rem; font-weight: 700; }
.news-card__foot span { display: inline-flex; align-items: center; gap: 0.3rem; }
.news-card__foot svg { width: 11px; height: 11px; }
.news-card__foot .read { color: var(--text-soft); }

.news-sidebar { position: sticky; top: calc(var(--header-h) + 1.2rem); display: grid; gap: 1rem; }
.sidebar-panel { padding: 1.2rem; }
.sidebar-panel h4 { font-family: var(--font-body); font-size: 0.8rem; font-weight: 800; margin-bottom: 0.9rem; display: flex; align-items: center; gap: 0.4rem; }
.sidebar-panel h4 svg { width: 14px; height: 14px; color: var(--brand-2); }
.popular-item { display: flex; gap: 0.7rem; padding: 0.65rem 0; border-top: 1px solid var(--line); cursor: pointer; }
.popular-item:first-of-type { border-top: 0; }
.popular-item__num { font-family: var(--font-display); font-size: 0.9rem; font-weight: 600; color: var(--brand-2); opacity: 0.8; line-height: 1.4; }
.popular-item__info b { display: block; font-size: 0.72rem; font-weight: 800; line-height: 1.45; }
.popular-item__info span { display: block; color: var(--muted-2); font-size: 0.56rem; font-weight: 700; margin-top: 2px; }
.popular-item:hover b { color: var(--brand-2); }
.sidebar-cta { padding: 1.3rem; overflow: hidden; position: relative; }
.sidebar-cta::before { content: ''; position: absolute; top: -60px; right: -60px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(91, 124, 255, 0.35), transparent 68%); }
.sidebar-cta h4 { font-family: var(--font-body); font-size: 0.86rem; font-weight: 800; }
.sidebar-cta p { margin-top: 0.4rem; color: var(--muted); font-size: 0.7rem; line-height: 1.6; }
.sidebar-cta .btn { margin-top: 0.9rem; }
.newsletter-mini { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.8rem; }
.newsletter-mini input { height: 40px; padding: 0 0.9rem; border: 1px solid var(--line); border-radius: 9px; background: var(--surface-2); color: var(--text); font-size: 0.72rem; outline: none; }
.newsletter-mini input:focus { border-color: var(--brand); }

/* Article modal */
.article-modal {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.article-modal.is-open { visibility: visible; opacity: 1; }
.article-modal__backdrop { position: absolute; inset: 0; background: rgba(2, 5, 12, 0.8); backdrop-filter: blur(8px); }
.article-modal__dialog {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--surface-solid);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6);
  transform: translateY(20px) scale(0.98);
  transition: transform 0.4s var(--ease);
}
.article-modal.is-open .article-modal__dialog { transform: none; }
.article-modal__media { position: relative; height: 250px; overflow: hidden; }
.article-modal__media img { width: 100%; height: 100%; object-fit: cover; }
.article-modal__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, var(--surface-solid)); }
.article-modal__close { position: absolute; top: 1rem; right: 1rem; z-index: 3; background: rgba(5, 8, 15, 0.6); color: #fff; border-color: rgba(255, 255, 255, 0.2); }
.article-modal__body { padding: 0 clamp(1.25rem, 3vw, 2.5rem) clamp(1.5rem, 3vw, 2.5rem); margin-top: -2rem; position: relative; z-index: 2; }
.article-modal__meta { display: flex; align-items: center; gap: 0.8rem; color: var(--muted-2); font-size: 0.64rem; font-weight: 700; flex-wrap: wrap; }
.article-modal__body h2 { margin-top: 0.6rem; font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.18; }
.article-modal__lead { margin-top: 0.8rem; color: var(--text-soft); font-size: 0.9rem; line-height: 1.7; }
.article-modal__content { margin-top: 1.2rem; display: grid; gap: 0.85rem; }
.article-modal__content p { color: var(--muted); font-size: 0.85rem; line-height: 1.75; }
.article-modal__content h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 800; margin-top: 0.5rem; }
.article-modal__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; padding-top: 1.2rem; border-top: 1px solid var(--line); flex-wrap: wrap; }
.article-modal__foot .btn { min-height: 42px; font-size: 0.76rem; }

/* Auth */
.auth-page { position: relative; min-height: 100svh; display: flex; flex-direction: column; }
.auth-topbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 0; }
.auth-topbar .back-link { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--muted); font-size: 0.74rem; font-weight: 700; }
.auth-topbar .back-link:hover { color: var(--text); }
.auth-topbar .back-link svg { width: 14px; height: 14px; }
.auth-main { flex: 1; display: grid; place-items: center; padding: 1.5rem 0 3rem; }
.auth-shell {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  width: min(1040px, 100%);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--grad-panel);
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow-md);
}
.auth-form-side { padding: clamp(1.8rem, 4vw, 3.2rem); }
.auth-logo { display: inline-flex; align-items: center; gap: 0.6rem; }
.auth-logo img { width: 38px; height: 38px; border-radius: 11px; }
.auth-logo span { font-family: var(--font-display); font-size: 0.86rem; font-weight: 600; letter-spacing: -0.03em; }
.auth-form-side h1 { margin-top: 1.8rem; font-size: clamp(1.65rem, 2.8vw, 2.2rem); line-height: 1.1; }
.auth-form-side > p { margin-top: 0.6rem; color: var(--muted); font-size: 0.82rem; line-height: 1.65; }
.auth-form { display: grid; gap: 0.85rem; margin-top: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.form-field label { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.35rem; color: var(--text-soft); font-size: 0.7rem; font-weight: 700; }
.form-field label a { color: var(--muted); font-size: 0.65rem; font-weight: 600; }
.form-field label a:hover { color: var(--brand-2); }
.input-wrap { position: relative; display: flex; align-items: center; }
.input-wrap > svg { position: absolute; left: 0.85rem; width: 15px; height: 15px; color: var(--muted-2); pointer-events: none; }
.input-wrap input {
  width: 100%;
  height: 48px;
  padding: 0 2.6rem 0 2.4rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 600;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.input-wrap input::placeholder { color: var(--muted-2); font-weight: 500; }
.input-wrap input:focus { border-color: var(--brand); background: var(--surface); box-shadow: 0 0 0 3px rgba(91, 124, 255, 0.12); }
.input-wrap input[type='password'] { letter-spacing: 0.08em; }
.input-action { position: absolute; right: 0.55rem; display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 8px; background: transparent; color: var(--muted-2); }
.input-action:hover { color: var(--text); background: var(--surface-3); }
.input-action svg { width: 15px; height: 15px; }
.form-field--error input { border-color: var(--red); }
.form-check { display: flex; align-items: flex-start; gap: 0.5rem; color: var(--muted); font-size: 0.68rem; line-height: 1.5; cursor: pointer; }
.form-check input { position: absolute; opacity: 0; }
.form-check__box { width: 16px; height: 16px; flex: 0 0 auto; margin-top: 1px; border: 1px solid var(--line-strong); border-radius: 4px; background: var(--surface-2); transition: background 0.2s ease, border-color 0.2s ease; }
.form-check input:checked + .form-check__box { background: var(--brand); border-color: var(--brand); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='m2.5 6 2.2 2.2L9.5 3.5' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-size: 11px; background-repeat: no-repeat; background-position: center; }
.form-check a { color: var(--text-soft); text-decoration: underline; text-underline-offset: 2px; }
.auth-divider { display: flex; align-items: center; gap: 0.7rem; margin: 0.4rem 0; color: var(--muted-2); font-size: 0.62rem; font-weight: 700; }
.auth-divider::before, .auth-divider::after { content: ''; height: 1px; flex: 1; background: var(--line); }
.social-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.social-btn { display: flex; align-items: center; justify-content: center; gap: 0.45rem; height: 44px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface-2); color: var(--text-soft); font-size: 0.72rem; font-weight: 700; transition: background 0.2s ease, border-color 0.2s ease; }
.social-btn:hover { background: var(--surface-3); border-color: var(--line-strong); }
.social-btn svg { width: 16px; height: 16px; }
.auth-foot { margin-top: 1.2rem; color: var(--muted); font-size: 0.72rem; text-align: center; }
.auth-foot a { color: var(--brand-2); font-weight: 700; }
.auth-note { display: flex; align-items: flex-start; gap: 0.5rem; margin-top: 1rem; padding: 0.65rem 0.8rem; border: 1px solid rgba(34, 211, 238, 0.16); border-radius: 9px; background: rgba(34, 211, 238, 0.05); color: var(--muted); font-size: 0.64rem; line-height: 1.55; }
.auth-note svg { width: 13px; height: 13px; flex: 0 0 auto; margin-top: 1px; color: var(--brand-2); }

.pw-meter { display: flex; align-items: center; gap: 4px; margin-top: 0.45rem; }
.pw-meter i { flex: 1; height: 3px; border-radius: 99px; background: var(--surface-3); transition: background 0.25s ease; }
.pw-meter i:nth-child(1) { background: color-mix(in srgb, var(--red) calc(var(--score, 0) * 25%), var(--surface-3)); }
.pw-meter span { flex: 0 0 auto; margin-left: 0.35rem; color: var(--muted-2); font-size: 0.56rem; font-weight: 700; }
.pw-meter.is-weak span { color: var(--red); }

/* Legal */
.legal-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.legal-nav { position: sticky; top: calc(var(--header-h) + 1.5rem); padding: 1.1rem; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface-2); }
.legal-nav h4 { font-family: var(--font-body); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 0.7rem; }
.legal-nav a { display: block; padding: 0.45rem 0.6rem; border-radius: 7px; color: var(--muted); font-size: 0.76rem; font-weight: 700; }
.legal-nav a:hover { color: var(--text); background: var(--surface-3); }
.legal-content { display: grid; gap: 1rem; }
.legal-block { padding: clamp(1.3rem, 2.5vw, 2rem); }
.legal-block h2 { font-size: clamp(1.3rem, 2vw, 1.7rem); }
.legal-block h3 { font-family: var(--font-body); font-size: 0.9rem; font-weight: 800; margin-top: 1.15rem; }
.legal-block p, .legal-block li { color: var(--muted); font-size: 0.82rem; line-height: 1.75; }
.legal-block p { margin-top: 0.6rem; }
.legal-block ul { display: grid; gap: 0.35rem; margin-top: 0.6rem; padding-left: 1.1rem; list-style: disc; }
.legal-block li::marker { color: var(--brand-2); }
.legal-updated { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 0.8rem; color: var(--muted-2); font-size: 0.62rem; font-weight: 700; }
.auth-success { display: none; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-height: 360px; }
.auth-success.is-visible { display: flex; }
.auth-success__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: rgba(53, 224, 161, 0.1); border: 1px solid rgba(53, 224, 161, 0.25); color: var(--green); margin-bottom: 1.2rem; }
.auth-success__icon svg { width: 28px; height: 28px; }
.auth-success h2 { font-size: 1.5rem; }
.auth-success p { margin-top: 0.6rem; max-width: 36ch; color: var(--muted); font-size: 0.82rem; line-height: 1.65; }
.auth-success .btn { margin-top: 1.2rem; }

.auth-visual {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(500px 400px at 80% 10%, rgba(34, 211, 238, 0.2), transparent 65%),
    radial-gradient(500px 400px at 0% 100%, rgba(91, 124, 255, 0.28), transparent 65%),
    linear-gradient(160deg, #0a1428, #060a12);
}
.auth-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000, transparent 80%);
}
.auth-visual > * { position: relative; z-index: 2; }
.auth-visual__top { display: flex; align-items: center; justify-content: space-between; }
.auth-visual__top .chip { color: rgba(255, 255, 255, 0.7); border-color: rgba(255, 255, 255, 0.15); background: rgba(255, 255, 255, 0.06); font-size: 0.56rem; }
.auth-visual__quote h3 { color: #fff; font-size: clamp(1.4rem, 2.2vw, 1.85rem); line-height: 1.25; max-width: 22ch; }
.auth-visual__quote p { margin-top: 0.8rem; color: rgba(255, 255, 255, 0.55); font-size: 0.8rem; line-height: 1.65; max-width: 38ch; }
.auth-visual__chart { position: relative; height: 210px; margin: 1.5rem 0; }
.auth-visual__chart svg { width: 100%; height: 100%; overflow: visible; }
.auth-visual__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 1.2rem; }
.auth-visual__stat small { display: block; color: rgba(255, 255, 255, 0.4); font-size: 0.54rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.auth-visual__stat strong { display: block; margin-top: 0.25rem; color: #fff; font-size: 1.05rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.auth-visual__stat strong.green { color: var(--green); }
.auth-visual__author { display: flex; align-items: center; gap: 0.65rem; margin-top: 1.2rem; }
.auth-visual__author img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 1px solid rgba(255, 255, 255, 0.2); }
.auth-visual__author b { display: block; color: #fff; font-size: 0.7rem; }
.auth-visual__author span { display: block; color: rgba(255, 255, 255, 0.45); font-size: 0.58rem; }
.auth-visual__legal { color: rgba(255, 255, 255, 0.32); font-size: 0.56rem; line-height: 1.55; }

/* Simple static helper */
.empty-state { padding: 3rem; text-align: center; color: var(--muted); }

.ai-workspace { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr); gap: 1rem; }
.ai-gate { padding: 2rem; text-align: center; }
.ai-upload { min-height: 390px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; border: 1px dashed var(--line-strong); }
.ai-upload.dragover { border-color: var(--brand-2); background: rgba(34,211,238,.08); }
.ai-upload__icon { display:grid; place-items:center; width:58px; height:58px; border-radius:20px; background:var(--grad-brand); color:#061124; font-size:1.8rem; }
.ai-upload h2 { margin-top:1rem; font-size:1.2rem; }.ai-upload p { margin:.35rem 0 1.2rem; color:var(--muted); font-size:.75rem; }
.ai-upload__preview { max-width:100%; max-height:230px; margin-top:1.2rem; overflow:hidden; border-radius:14px; }.ai-upload__preview img { max-width:100%; max-height:230px; object-fit:contain; }
.ai-result { padding:1.3rem; }.ai-result__head { display:flex; justify-content:space-between; align-items:center; gap:.5rem; }.ai-result__empty { min-height:180px; display:grid; place-items:center; text-align:center; color:var(--muted); font-size:.8rem; }.ai-direction { margin:2rem 0 .8rem; font-family:var(--font-display); font-size:2.5rem; color:var(--brand-2); }.ai-direction.up { color:var(--green); }.ai-direction.down { color:var(--red); }.ai-confidence { display:flex; justify-content:space-between; color:var(--muted); font-size:.72rem; }.ai-result p { margin-top:1rem; font-size:.9rem; line-height:1.6; }.ai-result small { display:block; margin-top:.5rem; color:var(--muted); line-height:1.5; }.ai-disclaimer { color:var(--muted-2)!important; font-size:.62rem!important; line-height:1.5!important; }.ai-history { margin-top:1rem; padding:1.2rem; }.ai-history .card__title { margin-bottom:.8rem; }.ai-history-row { display:flex; justify-content:space-between; gap:1rem; padding:.75rem 0; border-top:1px solid var(--line); font-size:.75rem; }.ai-history-row b { color:var(--brand-2); }
@media (max-width: 760px) { .ai-workspace { grid-template-columns:1fr; }.ai-upload { min-height:300px; } }

/* ==========================================================================
   Account (личный кабинет)
   ========================================================================== */
.acc-gate { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:1rem; min-height:260px; text-align:center; }
.acc-gate__spinner { width:36px; height:36px; border:3px solid var(--line-strong); border-top-color:var(--brand-2); border-radius:50%; animation:spin .7s linear infinite; }
@keyframes spin { to { transform:rotate(360deg); } }

.acc-hero { padding:2rem 0 0; }
.acc-hero__row { display:flex; align-items:center; justify-content:space-between; gap:1rem; flex-wrap:wrap; padding-bottom:1.5rem; border-bottom:1px solid var(--line); }
.acc-hero__left { display:flex; align-items:center; gap:1rem; }
.acc-hero__right { display:flex; align-items:center; gap:.75rem; }
.acc-avatar { display:grid; place-items:center; flex:0 0 48px; width:48px; height:48px; border-radius:50%; background:var(--grad-brand); color:#061124; font-family:var(--font-display); font-size:1.3rem; font-weight:700; }
.acc-hero__name { font-size:1.35rem; font-family:var(--font-display); margin:0; }
.acc-hero__email { color:var(--muted); font-size:.78rem; margin:.15rem 0 0; }

.acc-layout { display:grid; grid-template-columns:minmax(0,1.4fr) minmax(280px,1fr); gap:1.2rem; padding-top:1.2rem; }
.acc-main { display:flex; flex-direction:column; gap:1.2rem; }
.acc-side { display:flex; flex-direction:column; gap:1.2rem; }

/* Pocket card */
.acc-pocket__head { display:flex; justify-content:space-between; align-items:flex-start; gap:1rem; margin-bottom:1.2rem; }
.acc-pocket__head h2 { font-size:1.1rem; margin:.2rem 0 0; }
.acc-status-badge { flex:0 0 auto; padding:.3rem .8rem; border-radius:20px; font-size:.7rem; font-weight:600; letter-spacing:.04em; text-transform:uppercase; background:rgba(255,255,255,.06); color:var(--muted); }
.acc-status-badge.verified { background:rgba(52,211,153,.15); color:#34d399; }
.acc-status-badge.pending { background:rgba(251,191,36,.12); color:#fbbf24; }
.acc-status-badge.rejected { background:rgba(239,68,68,.12); color:#ef4444; }
.acc-pocket__desc { font-size:.88rem; line-height:1.65; margin-bottom:1.2rem; color:var(--muted); }
.acc-pocket__desc b { color:var(--text); }
.acc-pocket__hint { margin-top:.9rem; font-size:.72rem; color:var(--muted); line-height:1.6; }

.acc-pocket__steps { display:flex; flex-direction:column; gap:.75rem; margin-bottom:1.2rem; }
.acc-step { display:flex; align-items:flex-start; gap:.85rem; opacity:.45; }
.acc-step--done { opacity:1; }
.acc-step--active { opacity:1; }
.acc-step__num { display:grid; place-items:center; flex:0 0 28px; width:28px; height:28px; border-radius:50%; border:1.5px solid var(--line-strong); font-size:.72rem; font-weight:700; color:var(--muted); }
.acc-step--done .acc-step__num { background:var(--grad-brand); border-color:transparent; color:#061124; }
.acc-step--active .acc-step__num { border-color:var(--brand-2); color:var(--brand-2); }
.acc-step b { display:block; font-size:.82rem; }
.acc-step span { display:block; font-size:.72rem; color:var(--muted); margin-top:.15rem; line-height:1.5; }

.acc-deposit-row { display:grid; grid-template-columns:1fr 1fr; gap:1rem; }
.acc-deposit-stat span { display:block; font-size:.72rem; color:var(--muted); margin-bottom:.3rem; }
.acc-deposit-stat strong { font-size:1.25rem; font-family:var(--font-display); }

/* AI card */
.acc-ai__head { display:flex; justify-content:space-between; align-items:flex-start; margin-bottom:1rem; }
.acc-ai__head h2 { font-size:1.1rem; margin:.2rem 0 0; }
.acc-ai__desc { font-size:.88rem; color:var(--muted); line-height:1.65; margin-bottom:1rem; }

.acc-progress { margin-top:1rem; }
.acc-progress__bar { height:6px; border-radius:6px; background:var(--line-strong); overflow:hidden; }
.acc-progress__fill { height:100%; border-radius:6px; background:var(--grad-brand); transition:width .5s ease; }
.acc-progress__labels { display:flex; justify-content:space-between; font-size:.7rem; color:var(--muted); margin-top:.4rem; }

/* Predictions list */
.acc-pred-row { display:grid; grid-template-columns:80px 48px 1fr auto; align-items:center; gap:.75rem; padding:.7rem 0; border-top:1px solid var(--line); font-size:.78rem; }
.acc-pred-row:first-child { border-top:none; }
.acc-pred-dir { font-family:var(--font-display); font-weight:700; font-size:.9rem; color:var(--brand-2); }
.acc-pred-dir.up { color:var(--green); }
.acc-pred-dir.down { color:var(--red); }
.acc-pred-conf { color:var(--muted); }
.acc-pred-text { color:var(--muted); line-height:1.4; }
.acc-pred-date { color:var(--muted-2); font-size:.68rem; white-space:nowrap; }

/* Side nav */
.acc-nav { display:flex; flex-direction:column; gap:.25rem; }
.acc-nav a { display:flex; align-items:center; gap:.65rem; padding:.6rem .75rem; border-radius:10px; font-size:.85rem; color:var(--text); text-decoration:none; transition:background .15s; }
.acc-nav a:hover { background:var(--surface-2); }
.acc-nav a svg { flex:0 0 16px; width:16px; height:16px; color:var(--muted); }

@media (max-width:860px) {
  .acc-layout { grid-template-columns:1fr; }
  .acc-side { order:-1; }
  .acc-deposit-row { grid-template-columns:1fr; gap:.6rem; }
}
@media (max-width:560px) {
  .acc-hero__row { flex-direction:column; align-items:flex-start; }
  .acc-pred-row { grid-template-columns:70px 40px 1fr; }
  .acc-pred-date { display:none; }
}
