/* ─── changelog.css ───────────────────────────────────────────────────────
   Page-specific styles for /changelog. Sits on top of site.css (tokens,
   header, footer, final-cta, buttons) and app-ui.css (so the embedded
   app-blocks render the same way they do in features grids).
   ─────────────────────────────────────────────────────────────────────── */

/* HERO ---------------------------------------------------------------- */
.cl-hero {
    max-width: 760px;
    margin: 0 auto;
    padding: 96px 24px 36px;
    text-align: center;
    position: relative;
}
.cl-hero::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 720px;
    height: 360px;
    background: radial-gradient(ellipse, rgba(108, 99, 255, .14) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}
.cl-hero > * { position: relative; z-index: 1; }
.cl-hero-title {
    font-size: clamp(48px, 6.4vw, 88px);
    font-weight: 800;
    letter-spacing: -3px;
    line-height: .95;
    color: var(--head);
    margin: 14px 0 18px;
    font-family: 'Times New Roman', Times, ui-serif, Georgia, Cambria, serif;
    font-style: italic;
    letter-spacing: -2.5px;
}
.cl-hero-sub {
    font-size: 17px;
    color: var(--muted);
    line-height: 1.6;
    max-width: 520px;
    margin: 0 auto;
}

/* FILTER pills -------------------------------------------------------- */
.cl-filter-wrap {
    display: flex;
    justify-content: center;
    margin: 24px auto 60px;
    padding: 0 24px;
}
.cl-filter {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 100px;
    padding: 6px;
}
.cl-filter-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
    padding: 8px 18px;
    border-radius: 100px;
    transition: color .2s, background .2s;
    letter-spacing: .03em;
    font-family: inherit;
}
.cl-filter-btn:hover { color: var(--text); }
.cl-filter-btn.active {
    color: var(--head);
    background: rgba(255, 255, 255, .07);
}

/* TIMELINE layout ----------------------------------------------------- */
.cl-timeline {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
}

/* Year divider */
.cl-year {
    display: grid;
    grid-template-columns: 140px 24px 1fr;
    align-items: center;
    margin: 24px 0 24px;
    gap: 24px;
}
.cl-year-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-2);
    letter-spacing: .14em;
    text-transform: uppercase;
    text-align: right;
}
.cl-year-line {
    height: 1px;
    background: rgba(255, 255, 255, .07);
    grid-column: 2 / 4;
}

/* Each entry: date col | line col | card col */
.cl-entry {
    display: grid;
    grid-template-columns: 140px 24px 1fr;
    gap: 24px;
    align-items: flex-start;
    margin-bottom: 48px;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .55s cubic-bezier(.4, 0, .2, 1), transform .55s cubic-bezier(.4, 0, .2, 1);
}
.cl-entry.in-view { opacity: 1; transform: translateY(0); }
.cl-date {
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    text-align: right;
    padding-top: 8px;
    letter-spacing: .04em;
}

/* Vertical line + dot in middle column */
.cl-line-col {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.cl-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    margin-top: 14px;
    flex-shrink: 0;
    border: 2px solid var(--bg);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .12);
    background: var(--muted-2);
}
.cl-dot--new { background: var(--green-2); box-shadow: 0 0 0 1px rgba(52, 211, 153, .3), 0 0 12px rgba(52, 211, 153, .35); }
.cl-dot--improvement { background: var(--accent-2); box-shadow: 0 0 0 1px rgba(166, 128, 255, .3), 0 0 12px rgba(166, 128, 255, .35); }
.cl-dot--fix { background: #fb923c; box-shadow: 0 0 0 1px rgba(251, 146, 60, .3), 0 0 12px rgba(251, 146, 60, .35); }
.cl-line {
    width: 1px;
    background: rgba(255, 255, 255, .07);
    flex: 1;
    margin-top: 4px;
}

/* CARD --------------------------------------------------------------- */
.cl-card {
    border-radius: 18px;
    overflow: hidden;
    background:
        radial-gradient(ellipse 90% 70% at 50% 100%, rgba(255, 255, 255, .03), transparent 70%),
        linear-gradient(180deg, #181818 0%, #0d0d0d 100%);
    border: 1px solid rgba(255, 255, 255, .075);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
    transition: border-color .25s, transform .25s;
}
.cl-card:hover { border-color: rgba(166, 128, 255, .25); transform: translateY(-2px); }

/* Visual preview at TOP of card - overflow-cropped */
.cl-visual {
    position: relative;
    background: linear-gradient(180deg, rgba(166, 128, 255, .04), rgba(0, 0, 0, 0));
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    height: 320px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.cl-visual--app-block {
    /* tighter padding for app-block embeds */
    padding: 20px 28px 0;
    align-items: flex-start;
}
.cl-visual--app-block > * {
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    /* let the bottom flow off-screen for a "window into the app" feel */
    transform: translateY(0);
}

/* Card body (under the visual, or whole card when no visual) */
.cl-card-body { padding: 22px 26px 26px; }
.cl-card-body p { font-size: 15px; color: var(--muted); line-height: 1.6; margin-top: 10px; }

/* Tag */
.cl-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 12px 4px 9px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.cl-tag-dot { width: 6px; height: 6px; border-radius: 50%; }
.cl-tag--new { background: rgba(52, 211, 153, .1); border: 1px solid rgba(52, 211, 153, .28); color: var(--green-2); }
.cl-tag--new .cl-tag-dot { background: var(--green-2); }
.cl-tag--improvement { background: rgba(166, 128, 255, .1); border: 1px solid rgba(166, 128, 255, .28); color: var(--accent-2); }
.cl-tag--improvement .cl-tag-dot { background: var(--accent-2); }
.cl-tag--fix { background: rgba(251, 146, 60, .1); border: 1px solid rgba(251, 146, 60, .28); color: #fb923c; }
.cl-tag--fix .cl-tag-dot { background: #fb923c; }

.cl-entry-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--head);
    letter-spacing: -.5px;
    margin: 12px 0 4px;
}

.cl-bullets {
    list-style: none;
    padding: 0;
    margin: 14px 0 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}
.cl-bullets li {
    font-size: 14.5px;
    color: var(--text);
    line-height: 1.55;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}
.cl-bullets li::before {
    content: '';
    flex-shrink: 0;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent-2);
    margin-top: 9px;
}

/* ─── VISUAL PREVIEW HELPERS ─────────────────────────────────────────── */

/* Trading Journal preview: lighter, table-only crop */
.cl-vis-journal {
    width: 100%;
    background:
        radial-gradient(ellipse 70% 50% at 50% 0%, rgba(166, 128, 255, .08), transparent 65%),
        linear-gradient(180deg, #161616 0%, #0d0d0d 100%);
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 12px;
    padding: 14px 16px;
    overflow: hidden;
}
.cl-vis-journal table { width: 100%; border-collapse: collapse; font-size: 12px; }
.cl-vis-journal th {
    text-align: left;
    color: var(--muted-2);
    font-size: 10.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: 0 10px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, .05);
}
.cl-vis-journal td {
    padding: 9px 10px;
    color: var(--text);
    border-bottom: 1px solid rgba(255, 255, 255, .035);
    font-variant-numeric: tabular-nums;
}
.cl-vis-journal tr:last-child td { border-bottom: none; }
.cl-vis-journal .clv-side {
    display: inline-block;
    padding: 2px 9px;
    font-size: 10.5px;
    font-weight: 700;
    border-radius: 5px;
    letter-spacing: .04em;
}
.cl-vis-journal .clv-side--buy { background: rgba(52, 211, 153, .14); color: var(--green-2); }
.cl-vis-journal .clv-side--sell { background: rgba(239, 68, 68, .14); color: #f87171; }
.cl-vis-journal .clv-res {
    display: inline-block;
    padding: 2px 9px;
    font-size: 10.5px;
    font-weight: 700;
    border-radius: 5px;
    letter-spacing: .04em;
}
.cl-vis-journal .clv-res--won { background: rgba(52, 211, 153, .14); color: var(--green-2); }
.cl-vis-journal .clv-res--lost { background: rgba(239, 68, 68, .14); color: #f87171; }
.cl-vis-journal .pos { color: var(--green-2); font-weight: 700; }
.cl-vis-journal .neg { color: #f87171; font-weight: 700; }
.cl-vis-journal .clv-tag {
    display: inline-block;
    padding: 2px 9px;
    font-size: 10.5px;
    font-weight: 600;
    border-radius: 5px;
    letter-spacing: .02em;
}
.cl-vis-journal .clv-tag--cyan { background: rgba(34, 211, 238, .14); color: #22d3ee; }
.cl-vis-journal .clv-tag--blue { background: rgba(96, 165, 250, .14); color: #60a5fa; }
.cl-vis-journal .clv-tag--orange { background: rgba(251, 146, 60, .14); color: #fb923c; }

/* Broker integration preview (OANDA + Bybit cards) */
.cl-vis-broker {
    display: flex;
    gap: 14px;
    align-items: stretch;
    width: 100%;
    max-width: 480px;
}
.cl-vis-broker-card {
    flex: 1;
    padding: 18px 16px;
    border-radius: 12px;
    background:
        linear-gradient(180deg, #161616 0%, #0d0d0d 100%);
    border: 1px solid rgba(255, 255, 255, .06);
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.cl-vis-broker-logo { height: 22px; width: auto; display: block; }
.cl-vis-broker-row {
    display: flex;
    justify-content: space-between;
    font-size: 11.5px;
    color: var(--muted);
}
.cl-vis-broker-row .pos { color: var(--green-2); font-weight: 600; }
.cl-vis-broker-status {
    margin-top: 4px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10.5px;
    font-weight: 600;
    color: var(--green-2);
    padding: 3px 8px;
    background: rgba(52, 211, 153, .1);
    border: 1px solid rgba(52, 211, 153, .25);
    border-radius: 100px;
    align-self: flex-start;
    letter-spacing: .05em;
    text-transform: uppercase;
}
.cl-vis-broker-status .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--green-2); box-shadow: 0 0 6px var(--green-2); }
.cl-vis-broker-beta {
    display: inline-block;
    margin-left: auto;
    padding: 2px 8px;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--accent-2);
    background: rgba(166, 128, 255, .1);
    border: 1px solid rgba(166, 128, 255, .28);
    border-radius: 5px;
}
.cl-vis-broker-head {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Sidebar nav preview */
.cl-vis-snav {
    display: flex;
    gap: 14px;
    width: 100%;
    max-width: 460px;
    height: 100%;
}
.cl-vis-snav-sidebar {
    width: 56px;
    border-radius: 12px;
    background: linear-gradient(180deg, #161616 0%, #0d0d0d 100%);
    border: 1px solid rgba(255, 255, 255, .06);
    padding: 14px 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}
.cl-vis-snav-item {
    width: 38px; height: 38px;
    border-radius: 9px;
    background: rgba(255, 255, 255, .04);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
}
.cl-vis-snav-item--active {
    background: linear-gradient(135deg, rgba(166, 128, 255, .25), rgba(108, 99, 255, .25));
    border: 1px solid rgba(166, 128, 255, .35);
    color: var(--accent-2);
}
.cl-vis-snav-item svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }
.cl-vis-snav-body {
    flex: 1;
    border-radius: 12px;
    background: linear-gradient(180deg, #161616 0%, #0d0d0d 100%);
    border: 1px solid rgba(255, 255, 255, .06);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.cl-vis-snav-title { font-size: 13px; font-weight: 700; color: var(--head); }
.cl-vis-snav-sub { font-size: 11px; color: var(--muted); }

/* Trial perks preview */
.cl-vis-trial {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}
.cl-vis-trial-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 100px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .07);
    font-size: 13px;
    color: var(--text);
}
.cl-vis-trial-pill svg { width: 16px; height: 16px; }
.cl-vis-trial-pill img { height: 16px; width: auto; }
.cl-vis-trial-pill.accent {
    background: linear-gradient(135deg, rgba(166, 128, 255, .12), rgba(108, 99, 255, .08));
    border-color: rgba(166, 128, 255, .35);
    color: var(--accent-2);
    font-weight: 600;
}

/* Sync banner preview */
.cl-vis-sync {
    width: 100%;
    max-width: 480px;
    border-radius: 12px;
    background: linear-gradient(180deg, #161616 0%, #0d0d0d 100%);
    border: 1px solid rgba(255, 255, 255, .06);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.cl-vis-sync-spinner {
    width: 14px; height: 14px;
    border: 2px solid rgba(166, 128, 255, .2);
    border-top-color: var(--accent-2);
    border-radius: 50%;
    animation: cl-spin 1s linear infinite;
}
@keyframes cl-spin { to { transform: rotate(360deg); } }
.cl-vis-sync-text { font-size: 13px; color: var(--text); flex: 1; }
.cl-vis-sync-progress { font-size: 12px; color: var(--accent-2); font-weight: 600; }

/* Calendar preview */
.cl-vis-cal {
    width: 100%;
    max-width: 400px;
    border-radius: 12px;
    background: linear-gradient(180deg, #161616 0%, #0d0d0d 100%);
    border: 1px solid rgba(255, 255, 255, .06);
    padding: 16px;
}
.cl-vis-cal-head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 12px;
}
.cl-vis-cal-month { font-size: 13px; font-weight: 700; color: var(--head); }
.cl-vis-cal-net { font-size: 12.5px; color: var(--green-2); font-weight: 700; }
.cl-vis-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}
.cl-vis-cal-day {
    aspect-ratio: 1;
    border-radius: 5px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .04);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: var(--muted);
}
.cl-vis-cal-day.win { background: rgba(52, 211, 153, .14); border-color: rgba(52, 211, 153, .28); color: var(--green-2); font-weight: 700; }
.cl-vis-cal-day.loss { background: rgba(239, 68, 68, .14); border-color: rgba(239, 68, 68, .28); color: #f87171; font-weight: 700; }
.cl-vis-cal-day.empty { background: transparent; border-color: transparent; }

/* Onboarding preview */
.cl-vis-onb {
    width: 100%;
    max-width: 420px;
    border-radius: 12px;
    background: linear-gradient(180deg, #161616 0%, #0d0d0d 100%);
    border: 1px solid rgba(255, 255, 255, .06);
    padding: 20px;
}
.cl-vis-onb-steps {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
}
.cl-vis-onb-step {
    width: 24px; height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    display: flex; align-items: center; justify-content: center;
    color: var(--muted);
    font-size: 11px; font-weight: 700;
}
.cl-vis-onb-step.done { background: rgba(52, 211, 153, .15); border-color: rgba(52, 211, 153, .35); color: var(--green-2); }
.cl-vis-onb-step.active { background: linear-gradient(135deg, rgba(166, 128, 255, .25), rgba(108, 99, 255, .25)); border-color: rgba(166, 128, 255, .5); color: var(--accent-2); }
.cl-vis-onb-bar {
    flex: 1; height: 2px; background: rgba(255, 255, 255, .05); border-radius: 1px;
}
.cl-vis-onb-bar.done { background: rgba(52, 211, 153, .35); }
.cl-vis-onb-title { font-size: 14px; font-weight: 700; color: var(--head); }
.cl-vis-onb-sub { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* iPhone mockup — Mobile redesign --------------------------------------
   Realistic iPhone 15/16 Pro frame in titanium-dark. Pure CSS (no images).
   The phone is taller than the .cl-visual it sits in. Anchored to the TOP
   of the container so the dynamic island + status bar + greeting are
   ALWAYS visible at any container height; `overflow:hidden` on the wrap
   clips the bottom, making the phone look like it's rising from below
   the canvas. Works at every responsive breakpoint (200–320px container). */
.cl-vis-iphone-wrap {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
    padding-top: 8px;
}
.cl-vis-iphone {
    width: 248px;
    height: 520px;            /* taller than any .cl-visual breakpoint → bottom is clipped */
    position: relative;
    background:
        linear-gradient(160deg, #3a3a3c 0%, #1d1d1f 55%, #161618 100%);
    border-radius: 38px;
    padding: 6px;
    box-shadow:
        0 30px 80px -20px rgba(0, 0, 0, .85),
        0 0 0 1.5px rgba(255, 255, 255, .07) inset,    /* outer edge highlight */
        0 0 0 5px #0a0a0b inset;                       /* bezel ring */
}
/* Side buttons — action+volumes on left, power on right */
.cl-vis-iphone::before {
    /* power button (right) */
    content: '';
    position: absolute;
    right: -2px; top: 132px;
    width: 3px; height: 64px;
    background: linear-gradient(90deg, #1a1a1c, #2a2a2c);
    border-radius: 0 2px 2px 0;
    box-shadow: -1px 0 0 rgba(0,0,0,.4);
}
.cl-vis-iphone::after {
    /* left-side stack: action (top) + vol+ + vol- */
    content: '';
    position: absolute;
    left: -2px; top: 86px;
    width: 3px; height: 20px;
    background: linear-gradient(90deg, #2a2a2c, #1a1a1c);
    border-radius: 2px 0 0 2px;
    box-shadow:
        1px 0 0 rgba(0,0,0,.4),
        0 38px 0 -1px linear-gradient(90deg,#2a2a2c,#1a1a1c),     /* (boxshadow fallback) */
        0 38px 0 #1a1a1c,
        0 90px 0 #1a1a1c;
}
/* Extra left buttons via inner element (cleaner than ::after multi-shadow) */
.cl-vis-iphone-buttons {
    position: absolute;
    left: -2px; top: 0; width: 3px; height: 100%;
    pointer-events: none;
}
.cl-vis-iphone-buttons span {
    position: absolute;
    left: 0; width: 100%;
    background: linear-gradient(90deg, #2a2a2c, #1a1a1c);
    border-radius: 2px 0 0 2px;
    box-shadow: 1px 0 0 rgba(0,0,0,.4);
}
.cl-vis-iphone-buttons span:nth-child(1) { top: 86px;  height: 20px; }  /* action button */
.cl-vis-iphone-buttons span:nth-child(2) { top: 124px; height: 44px; }  /* volume up */
.cl-vis-iphone-buttons span:nth-child(3) { top: 180px; height: 44px; }  /* volume down */

.cl-vis-iphone-screen {
    width: 100%;
    height: 100%;
    /* Exact body bg from the real app's .style77-dark */
    background: linear-gradient(206deg, #262626 50%, #333 93%, #3d3d3d 100%);
    border-radius: 32px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}
/* Dynamic Island — true pill, properly sized (124pt × 35pt at iPhone scale) */
.cl-vis-iphone-island {
    position: absolute;
    top: 9px;
    left: 50%;
    transform: translateX(-50%);
    width: 86px;
    height: 22px;
    background: #000;
    border-radius: 100px;
    z-index: 2;
    box-shadow: 0 0 0 1px rgba(0,0,0,.6);
}
.cl-vis-iphone-island::after {
    /* Subtle camera lens hint inside the island */
    content: '';
    position: absolute;
    right: 8px; top: 50%;
    transform: translateY(-50%);
    width: 6px; height: 6px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #1a1a1c 0%, #0a0a0b 60%, #000 100%);
    box-shadow: 0 0 0 0.5px rgba(255,255,255,.04);
}

/* Status bar (time on left, indicators on right) */
.cl-vis-iphone-statusbar {
    height: 38px;
    padding: 0 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: -.1px;
    flex-shrink: 0;
}
.cl-vis-iphone-statusbar .sb-time { padding-top: 4px; }
.cl-vis-iphone-statusbar .sb-icons {
    display: inline-flex; align-items: center; gap: 4px;
    padding-top: 4px;
}
.cl-vis-iphone-statusbar .sb-icons svg { width: 12px; height: 12px; fill: #fff; }

/* App content — REPLICATES the real mobile dashboard layout exactly.
   Selectors mirror the real app's structure ratios:
     greeting (.style81) → subtitle "Records from…" (.style1402) →
     stat cards (.style1353-dark) in order: Net P&L · Win Rate · Net ROI · PF
   Numbers are taken from the user's real screenshot for authenticity.
   Note: account picker + date range chip are intentionally omitted in the
   mockup — they live on the real app but were dropped here so the visible
   half can prioritise the KPI cards. */
.cl-vis-iphone-app {
    flex: 1;
    padding: 0 14px;
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: transparent;     /* let the screen gradient show through */
}

/* Greeting — ONE line, smaller so it fits cleanly */
.cl-vis-iphone-greeting {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -.3px;
    line-height: 1.2;
    margin: 20px 0 0;
    white-space: nowrap;
}

/* Subtitle "Records from …" — small, single line, directly below greeting.
   Font sized to fit "Records from DD, Month YYYY to DD, Month YYYY"
   inside the 232px-wide screen with the side padding. */
.cl-vis-iphone-subtitle {
    font-size: 8px;
    font-weight: 400;
    color: rgba(255,255,255,.55);
    letter-spacing: 0;
    margin: 3px 0 16px;
    white-space: nowrap;
    overflow: visible;
}

/* Stat cards stacked — match the real .style1353-dark spec */
.cl-vis-iphone-stat {
    background: linear-gradient(180deg, #2C2C2E 0%, #1c1c1e 100%);
    border: 1px solid #4f4f4f;
    border-radius: 12px;
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-bottom: 7px;
    flex-shrink: 0;
}
.cl-vis-iphone-stat-label {
    font-size: 9.5px;
    font-weight: 500;
    color: rgba(255, 255, 255, .55);
    letter-spacing: .08em;
    text-transform: uppercase;
}
.cl-vis-iphone-stat-value {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -.4px;
    line-height: 1;
}
.cl-vis-iphone-stat-value.pos { color: #4ade80; }
.cl-vis-iphone-stat-value.neg { color: #f87171; }

/* RESPONSIVE ---------------------------------------------------------- */
@media (max-width: 720px) {
    .cl-year { grid-template-columns: 56px 24px 1fr; gap: 16px; }
    .cl-entry { grid-template-columns: 56px 24px 1fr; gap: 16px; margin-bottom: 36px; }
    .cl-date { font-size: 12px; padding-top: 6px; }
    .cl-visual { height: 240px; padding: 18px; }
    .cl-visual--app-block { padding: 14px 16px 0; }
    .cl-card-body { padding: 20px; }
    .cl-entry-title { font-size: 19px; }
}
@media (max-width: 480px) {
    .cl-hero { padding: 64px 20px 28px; }
    .cl-filter-wrap { margin-bottom: 36px; }
    .cl-visual { height: 200px; }
}
