@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:wght@400;500;600;700&family=Sora:wght@400;500;600;700&display=swap');

:root { --bg:#f7f8f5; --surface:#fff; --ink:#202723; --muted:#7f8983; --soft:#eef1ed; --line:#e3e8e2; --sage:#8aa997; --sage-dark:#4e725c; --sage-soft:#e7efe9; --red:#c36e61; --mono:'DM Mono',monospace; --sans:'DM Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif; --display:'Sora',var(--sans); --radius:14px; }
* { box-sizing:border-box; } html { min-width:320px; scroll-behavior:smooth; } body { margin:0; min-width:320px; min-height:100vh; background:var(--bg); color:var(--ink); font-family:var(--sans); } button,input { font:inherit; } button { cursor:pointer; } button:focus-visible,input:focus-visible,a:focus-visible { outline:2px solid var(--sage-dark); outline-offset:3px; }
.brand { display:flex; align-items:center; gap:10px; color:var(--ink); } .brand img { width:29px; height:29px; border-radius:8px; } .brand span { font-size:14px; font-weight:700; letter-spacing:.18em; }
.eyebrow { display:block; color:var(--muted); font-family:var(--mono); font-size:9px; letter-spacing:.13em; text-transform:uppercase; }
.button { display:inline-flex; align-items:center; justify-content:center; gap:10px; min-height:44px; padding:0 16px; border:1px solid var(--line); border-radius:8px; color:var(--ink); background:var(--surface); font-size:12px; font-weight:600; transition:transform var(--spring-response) ease var(--spring-damping),background var(--spring-response) ease var(--spring-damping),border-color var(--spring-response) ease var(--spring-damping),color var(--spring-response) ease var(--spring-damping); } .button:hover { transform:translateY(-2px); border-color:#c7d4c9; background:var(--sage-soft); } .button:active { transform:scale(.98); } .button span { font-size:16px; font-weight:400; } .button-dark { color:#f9fbf9; background:var(--ink); border-color:var(--ink); } .button-dark:hover { color:#fff; background:var(--sage-dark); border-color:var(--sage-dark); } .button-light { background:var(--soft); border-color:var(--soft); } .full { width:100%; }

/* Public entry */
.landing-page { min-height:100vh; background:var(--bg); } .landing-header { max-width:1380px; margin:0 auto; min-height:82px; padding:0 32px; display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid var(--line); } .landing-links { display:flex; align-items:center; gap:28px; font-size:12px; } .landing-links a { color:var(--muted); text-decoration:none; } .landing-links a:hover { color:var(--ink); } .link-button { border:0; border-bottom:1px solid var(--ink); padding:8px 0; color:var(--ink); background:transparent; font-size:12px; } .link-button span { color:var(--sage-dark); margin-left:6px; }
.landing-hero { max-width:1380px; margin:0 auto; padding:clamp(70px,9vw,130px) 32px 110px; display:grid; grid-template-columns:minmax(0,.88fr) minmax(420px,1.12fr); align-items:center; gap:clamp(40px,7vw,120px); } .landing-copy { max-width:640px; animation:fade-up .8s cubic-bezier(.22,.8,.2,1) both; } .landing-copy h1 { margin:15px 0 0; max-width:620px; font-size:clamp(46px,6.6vw,88px); font-weight:600; line-height:1.02; letter-spacing:-.075em; text-wrap:balance; } .landing-copy p:not(.eyebrow) { max-width:480px; margin:25px 0 0; color:var(--muted); font-size:15px; line-height:1.65; } .landing-cta { display:flex; align-items:center; gap:17px; margin-top:34px; } .landing-cta > span { color:var(--muted); font-family:var(--mono); font-size:9px; line-height:1.5; }
.landing-art { min-height:500px; position:relative; display:grid; place-items:center; animation:art-in 1s cubic-bezier(.22,.8,.2,1) .08s both; } .art-orbit { position:absolute; border:1px solid #dce5de; border-radius:50%; transform:rotate(-16deg); } .orbit-one { width:94%; height:60%; } .orbit-two { width:67%; height:88%; transform:rotate(48deg); border-color:#e8ece7; } .art-card { position:absolute; background:rgba(255,255,255,.95); border:1px solid var(--line); border-radius:16px; box-shadow:0 20px 55px rgba(63,84,69,.09); } .art-card-main { width:min(88%,450px); min-height:310px; padding:23px; transform:rotate(-3deg); animation:card-float 8s ease-in-out infinite; } .art-card-top,.art-card-bottom { display:flex; justify-content:space-between; color:var(--muted); font-family:var(--mono); font-size:9px; } .art-total { margin:55px 0 20px; display:grid; gap:5px; } .art-total small { color:var(--muted); font-family:var(--mono); font-size:9px; } .art-total strong { font-size:34px; letter-spacing:-.06em; font-weight:500; } .art-total span { color:var(--muted); font-family:var(--mono); font-size:9px; } .art-chart { display:flex; align-items:end; height:64px; gap:7px; border-bottom:1px solid var(--line); padding-bottom:7px; } .art-chart i { display:block; flex:1; border-radius:4px 4px 0 0; background:var(--sage-soft); animation:bar-grow .9s ease both; } .art-chart i:nth-child(1){height:28%}.art-chart i:nth-child(2){height:44%;animation-delay:.06s}.art-chart i:nth-child(3){height:33%;animation-delay:.12s}.art-chart i:nth-child(4){height:58%;animation-delay:.18s}.art-chart i:nth-child(5){height:50%;animation-delay:.24s}.art-chart i:nth-child(6){height:70%;animation-delay:.30s}.art-chart i:nth-child(7){height:63%;animation-delay:.36s}.art-chart i:nth-child(8){height:83%;animation-delay:.42s;background:#c4d9c8}.art-chart i:nth-child(9){height:96%;animation-delay:.48s;background:var(--sage)} .art-card-bottom strong { color:var(--sage-dark); font-weight:500; } .art-card-small { right:0; bottom:45px; width:168px; padding:18px; display:grid; gap:6px; transform:rotate(4deg); animation:small-float 6s ease-in-out infinite; } .mini-label { color:var(--muted); font-family:var(--mono); font-size:8px; } .art-card-small strong { font-size:16px; } .art-card-small em { position:absolute; top:19px; right:18px; color:var(--sage-dark); font-family:var(--mono); font-size:24px; font-style:normal; } .art-card-small small { color:var(--muted); font-size:10px; } .art-stamp { position:absolute; left:2%; top:18%; display:grid; place-items:center; width:54px; height:54px; color:var(--sage-dark); border:1px solid #b6cdbb; border-radius:50%; font-size:18px; font-weight:600; transform:rotate(-12deg); } .art-stamp small { font-family:var(--mono); font-size:8px; font-weight:400; }
.landing-band { max-width:1380px; margin:0 auto; padding:82px 32px; display:grid; grid-template-columns:.8fr 1.2fr; gap:50px; border-top:1px solid var(--line); } .landing-band h2,.market-preview h2,.landing-final h2 { margin:12px 0 0; font-size:clamp(31px,4vw,54px); line-height:1.06; letter-spacing:-.065em; font-weight:600; } .band-steps { display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--line); border:1px solid var(--line); } .band-steps article { min-height:160px; padding:19px; background:var(--surface); display:flex; flex-direction:column; justify-content:space-between; transition:background var(--spring-response) ease var(--spring-damping),transform var(--spring-response) ease var(--spring-damping); } .band-steps article:hover { background:var(--sage-soft); transform:translateY(-5px); } .band-steps b { color:var(--sage-dark); font-family:var(--mono); font-size:10px; } .band-steps strong { font-size:18px; } .band-steps span { color:var(--muted); font-size:11px; line-height:1.4; }
.market-preview { max-width:1380px; margin:0 auto; padding:82px 32px; border-top:1px solid var(--line); } .preview-heading { display:flex; align-items:end; justify-content:space-between; gap:30px; } .preview-note { color:var(--muted); font-family:var(--mono); font-size:9px; line-height:1.6; text-align:right; } .market-preview-list { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; margin-top:42px; } .market-preview-list .market-item { min-height:150px; flex-wrap:wrap; align-content:space-between; }
.landing-final { max-width:1380px; margin:0 auto; padding:90px 32px 120px; border-top:1px solid var(--line); display:flex; align-items:end; justify-content:space-between; gap:35px; } .landing-final .button { flex:0 0 auto; }
.landing-footer { max-width:1380px; margin:0 auto; padding:18px 32px 22px; border-top:1px solid var(--line); display:flex; justify-content:space-between; gap:20px; color:var(--muted); font-family:var(--mono); font-size:9px; }

/* App shell */
.app-page { min-height:100vh; display:grid; grid-template-columns:242px minmax(0,1fr); background:var(--bg); } .app-sidebar { display:flex; flex-direction:column; min-height:100vh; padding:28px 17px 20px; background:var(--surface); border-right:1px solid var(--line); } .sidebar-brand { padding:0 13px; } .sidebar-section { display:grid; gap:4px; margin-top:46px; } .sidebar-label { padding:0 13px 10px; color:#a0aaa3; font-family:var(--mono); font-size:8px; letter-spacing:.13em; } .side-nav { display:flex; align-items:center; gap:11px; min-height:40px; padding:0 13px; border:0; border-radius:8px; background:transparent; color:var(--muted); text-align:left; font-size:12px; transition:background .2s ease,color .2s ease,transform .2s ease; } .side-nav:hover { color:var(--ink); background:var(--soft); transform:translateX(2px); } .side-nav.active { color:var(--sage-dark); background:var(--sage-soft); font-weight:600; } .nav-glyph { width:16px; color:currentColor; font-family:var(--mono); font-size:15px; text-align:center; } .sidebar-bottom { margin-top:auto; } .sidebar-help { margin:0 10px 19px; padding:15px 12px; border-radius:10px; background:var(--soft); display:grid; gap:5px; } .sidebar-help span { color:var(--muted); font-size:10px; } .sidebar-help a { color:var(--ink); font-size:10px; text-decoration:none; } .side-profile { width:100%; display:flex; align-items:center; gap:9px; padding:12px 11px; border:0; border-top:1px solid var(--line); background:transparent; text-align:left; color:var(--ink); } .profile-avatar { display:grid; place-items:center; width:31px; height:31px; border-radius:9px; background:var(--sage-soft); color:var(--sage-dark); font-family:var(--mono); font-size:10px; } .side-profile span:nth-child(2) { display:grid; flex:1; gap:3px; } .side-profile strong { font-size:10px; font-weight:600; } .side-profile small { color:var(--muted); font-size:9px; } .side-profile b { color:var(--muted); letter-spacing:2px; }
.app-main { min-width:0; } .app-topbar { min-height:82px; display:flex; align-items:center; justify-content:space-between; padding:0 clamp(24px,4vw,58px); background:rgba(255,255,255,.8); border-bottom:1px solid var(--line); } .topbar-kicker { display:block; color:var(--muted); font-family:var(--mono); font-size:8px; letter-spacing:.13em; margin-bottom:5px; } .app-topbar > div:first-child strong { font-size:14px; font-weight:600; } .topbar-tools { display:flex; align-items:center; gap:18px; color:var(--muted); font-size:11px; } .market-status { display:flex; align-items:center; gap:7px; } .market-status i { width:6px; height:6px; border-radius:50%; background:#72a37d; box-shadow:0 0 0 4px #e8f1e9; } .topbar-date { font-family:var(--mono); font-size:9px; } .topbar-add { border:0; background:transparent; color:var(--sage-dark); font-size:11px; font-weight:600; }
.app-content { max-width:1480px; margin:0 auto; padding:42px clamp(24px,4vw,58px) 52px; } .page-intro { display:flex; align-items:end; justify-content:space-between; gap:30px; margin-bottom:28px; } .page-intro h1 { margin:10px 0 0; font-size:36px; line-height:1; letter-spacing:-.06em; font-weight:600; } .page-intro p:not(.eyebrow) { margin-top:9px; color:var(--muted); font-size:13px; }
.metrics-row { display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:12px; margin-bottom:14px; } .metric-card { min-height:134px; padding:20px; display:flex; flex-direction:column; justify-content:space-between; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); } .metric-card.primary { background:var(--sage-soft); border-color:var(--sage-soft); } .metric-card span,.metric-card small { color:var(--muted); font-size:10px; } .metric-card strong { margin-top:20px; font-family:var(--mono); font-size:27px; font-weight:500; letter-spacing:-.07em; } .metric-card small { margin-top:8px; }
.dashboard-grid { display:grid; grid-template-columns:minmax(0,1.55fr) minmax(280px,.85fr); gap:14px; margin-bottom:14px; } .dashboard-lower { display:grid; grid-template-columns:1fr 1fr; gap:14px; } .surface { min-width:0; padding:21px; border:1px solid var(--line); border-radius:var(--radius); background:var(--surface); } .surface-heading { display:flex; justify-content:space-between; align-items:start; gap:20px; } .surface-heading h2 { margin:8px 0 0; font-size:16px; font-weight:600; letter-spacing:-.03em; } .range-tabs { display:flex; gap:3px; padding:3px; border:1px solid var(--line); border-radius:7px; background:var(--bg); } .range-tabs button,.journal-filter button { border:0; border-radius:5px; background:transparent; color:var(--muted); padding:6px 8px; font-family:var(--mono); font-size:9px; } .range-tabs button.active,.journal-filter button.active { color:var(--ink); background:var(--surface); box-shadow:0 1px 4px rgba(40,59,45,.08); }
.chart-summary { display:flex; align-items:baseline; gap:12px; margin-top:24px; } .chart-summary strong { font-family:var(--mono); font-size:23px; font-weight:500; letter-spacing:-.06em; } .chart-summary span { font-family:var(--mono); font-size:10px; } .line-chart { position:relative; height:190px; margin-top:15px; } .chart-lines { position:absolute; inset:0; display:grid; grid-template-rows:repeat(4,1fr); } .chart-lines i { border-top:1px solid #edf0ec; } .line-chart svg { position:absolute; inset:0; width:100%; height:100%; overflow:visible; } .chart-area-fill { fill:#e6efe7; } .chart-path { fill:none; stroke:var(--sage-dark); stroke-width:2.3; vector-effect:non-scaling-stroke; stroke-linecap:round; } .line-chart circle { fill:var(--surface); stroke:var(--sage-dark); stroke-width:2; vector-effect:non-scaling-stroke; } .chart-axis { display:flex; justify-content:space-between; color:#a6b0a9; font-family:var(--mono); font-size:8px; }
.focus-surface { background:var(--ink); border-color:var(--ink); color:#f8faf8; } .focus-surface .eyebrow,.focus-surface .focus-company span,.focus-surface p { color:#aeb8b0; } .focus-surface h2 { color:#f8faf8; max-width:240px; } .small-status { color:#c4d8c8; font-family:var(--mono); font-size:11px; } .focus-divider { height:1px; margin:25px 0 20px; background:rgba(255,255,255,.13); } .focus-company { display:grid; grid-template-columns:38px 1fr auto; align-items:center; gap:11px; } .company-monogram,.company-mark { display:grid; place-items:center; border-radius:10px; background:var(--sage-soft); color:var(--sage-dark); font-family:var(--mono); font-size:13px; } .company-monogram { width:38px; height:38px; } .focus-company div:nth-child(2) { display:grid; gap:4px; } .focus-company strong { font-size:13px; } .focus-company span { font-size:10px; } .focus-company b { font-family:var(--mono); font-size:24px; font-weight:400; } .focus-surface p { margin:24px 0 22px; max-width:250px; font-size:12px; line-height:1.55; } .focus-surface .button-light { color:#f8faf8; background:rgba(255,255,255,.08); border-color:rgba(255,255,255,.15); } .focus-surface .button-light:hover { background:rgba(255,255,255,.15); }
.market-list,.activity-list { margin-top:20px; } .market-item { display:grid; grid-template-columns:32px 1fr auto 28px; align-items:center; gap:10px; min-height:59px; border-bottom:1px solid var(--line); } .company-mark { width:30px; height:30px; font-size:10px; } .market-item > div:nth-child(2),.activity-item > div { display:grid; gap:4px; } .market-item strong,.activity-item strong { font-size:12px; font-weight:600; } .market-item span,.activity-item span { color:var(--muted); font-size:10px; } .signal { font-family:var(--mono); font-size:21px; font-weight:400; } .positive { color:var(--sage-dark); } .negative { color:var(--red); } .neutral { color:var(--muted); } .item-arrow { width:27px; height:27px; border:1px solid var(--line); border-radius:7px; background:transparent; color:var(--muted); font-size:14px; transition:color var(--spring-response) ease var(--spring-damping),background var(--spring-response) ease var(--spring-damping); } .item-arrow:hover { background:var(--sage-soft); color:var(--sage-dark); } .text-link { border:0; padding:0; background:transparent; color:var(--sage-dark); font-size:10px; font-weight:600; } .text-link span { font-size:14px; margin-left:4px; }
.activity-item { display:grid; grid-template-columns:92px 1fr auto; align-items:center; gap:14px; min-height:59px; border-bottom:1px solid var(--line); } .activity-time { color:#a0aaa3 !important; font-family:var(--mono); font-size:9px !important; } .activity-item b { font-family:var(--mono); font-size:10px; font-weight:500; } .disclaimer { margin:19px 0 0; color:#9ba59e; font-size:10px; line-height:1.5; }
.page-intro + .journal-surface,.page-intro + .account-grid { margin-top:2px; } .journal-surface { padding:0; overflow:hidden; } .journal-filter { display:flex; align-items:center; gap:4px; padding:16px 20px; border-bottom:1px solid var(--line); } .journal-filter span { margin-left:auto; color:var(--muted); font-family:var(--mono); font-size:9px; } .journal-list { padding:0 20px; } .journal-list .activity-item { min-height:73px; } .account-grid { display:grid; grid-template-columns:1.25fr .75fr; gap:14px; } .account-top { display:flex; align-items:center; gap:14px; padding-bottom:22px; border-bottom:1px solid var(--line); } .profile-avatar.large { width:48px; height:48px; border-radius:14px; font-size:13px; } .account-top > div { flex:1; } .account-top h2 { margin:6px 0 4px; font-size:18px; } .account-top p { margin:0; color:var(--muted); font-size:11px; } .account-details { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin:20px 0; } .account-details div { display:grid; gap:7px; } .account-details span { color:var(--muted); font-size:10px; } .account-details strong { font-family:var(--mono); font-size:11px; font-weight:500; } .note-surface { background:var(--sage-soft); border-color:var(--sage-soft); } .note-surface h2 { max-width:300px; margin:17px 0; font-size:25px; line-height:1.05; letter-spacing:-.06em; } .note-surface p { max-width:300px; color:var(--muted); font-size:12px; line-height:1.6; }
.modal-backdrop { position:fixed; inset:0; z-index:10; display:grid; place-items:center; padding:20px; background:rgba(32,39,35,.35); animation:fade .18s ease; } .modal { position:relative; width:min(100%,430px); padding:30px; border:1px solid var(--line); border-radius:18px; background:var(--surface); box-shadow:0 22px 70px rgba(33,51,39,.16); animation:modal-in .22s ease; } .modal.small { width:min(100%,390px); } .modal-close { position:absolute; top:14px; right:16px; border:0; background:transparent; color:var(--muted); font-size:21px; } .modal-logo { width:32px; height:32px; margin-bottom:25px; border-radius:9px; } .modal h2 { margin:11px 0 0; font-size:28px; line-height:1; letter-spacing:-.06em; } .modal > p:not(.eyebrow) { margin:12px 0 23px; color:var(--muted); font-size:12px; line-height:1.55; } .modal form { display:grid; gap:13px; } .modal label { display:grid; gap:7px; color:var(--muted); font-size:10px; font-weight:600; } .modal input { min-height:44px; border:1px solid var(--line); border-radius:8px; padding:0 12px; background:var(--bg); color:var(--ink); font-size:12px; } .form-error { min-height:15px; color:var(--red); font-size:10px; } .modal-switch { width:100%; margin-top:18px; border:0; background:transparent; color:var(--sage-dark); font-size:11px; } .asset-picker { display:grid; margin:20px 0; border-top:1px solid var(--line); } .asset-option { display:grid; grid-template-columns:10px 1fr auto; align-items:center; gap:10px; min-height:52px; border:0; border-bottom:1px solid var(--line); background:transparent; color:var(--ink); text-align:left; } .asset-option:hover,.asset-option.selected { background:var(--sage-soft); } .asset-dot { width:7px; height:7px; border-radius:50%; background:var(--sage); } .asset-dot.negative { background:var(--red); } .asset-option strong { font-size:12px; font-weight:600; } .asset-option b { font-family:var(--mono); font-size:21px; font-weight:400; }
.toast { position:fixed; right:24px; bottom:24px; z-index:20; padding:12px 15px; border:1px solid var(--ink); border-radius:9px; background:var(--ink); color:#fff; box-shadow:0 12px 30px rgba(32,39,35,.16); font-size:11px; animation:toast-in .25s ease; }
@keyframes fade { from{opacity:0} to{opacity:1} } @keyframes fade-up { from{opacity:0;transform:translateY(16px)} to{opacity:1;transform:translateY(0)} } @keyframes art-in { from{opacity:0;transform:translateX(20px) scale(.98)} to{opacity:1;transform:translateX(0) scale(1)} } @keyframes card-float { 0%,100%{transform:rotate(-3deg) translateY(0)} 50%{transform:rotate(-1deg) translateY(-10px)} } @keyframes small-float { 0%,100%{transform:rotate(4deg) translateY(0)} 50%{transform:rotate(2deg) translateY(-8px)} } @keyframes bar-grow { from{transform:scaleY(.3);transform-origin:bottom} to{transform:scaleY(1)} } @keyframes modal-in { from{opacity:0;transform:translateY(9px) scale(.98)} to{opacity:1;transform:translateY(0) scale(1)} } @keyframes toast-in { from{opacity:0;transform:translateY(8px)} to{opacity:1;transform:translateY(0)} }

/* Apple spring animation frames using CSS vars */
@keyframes spring-enter { from { transform: scale(0.95) translateY(4px); opacity: 0; } to { transform: scale(1) translateY(0); opacity: 1; } }
@keyframes spring-exit { from { transform: scale(1) translateY(0); opacity: 1; } to { transform: scale(0.95) translateY(4px); opacity: 0; } }
@keyframes spring-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { animation-duration:.001ms !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
  .button { transition:none !important; }
  .surface { transition:none !important; }
  .band-steps article { transition:none !important; }
  .item-arrow { transition:none !important; }
}
@media (max-width:1000px) { .landing-hero { grid-template-columns:1fr; } .landing-art { min-height:420px; max-width:650px; width:100%; margin:0 auto; } .dashboard-grid,.dashboard-lower,.account-grid { grid-template-columns:1fr; } .landing-band { grid-template-columns:1fr; } }
@media (max-width:760px) { .app-page { display:block; } .app-sidebar { min-height:auto; height:auto; padding:16px; border-right:0; border-bottom:1px solid var(--line); } .sidebar-section,.sidebar-bottom { display:none; } .sidebar-brand { padding:0; } .app-topbar { padding:17px 20px; align-items:flex-start; gap:12px; } .topbar-tools { flex-wrap:wrap; justify-content:flex-end; gap:10px; } .topbar-date { display:none; } .app-content { padding:28px 18px 40px; } .page-intro { align-items:flex-start; flex-direction:column; } .page-intro .button { width:100%; } .metrics-row { grid-template-columns:1fr; } .landing-header { padding:0 18px; } .landing-links a { display:none; } .landing-hero { padding:66px 18px 78px; } .landing-copy h1 { font-size:53px; } .landing-cta { align-items:flex-start; flex-direction:column; } .landing-art { min-height:340px; } .art-card-main { width:88%; min-height:260px; } .art-card-small { right:-2px; bottom:21px; width:150px; } .landing-band,.market-preview,.landing-final { padding:66px 18px; } .band-steps,.market-preview-list { grid-template-columns:1fr; } .landing-final { align-items:flex-start; flex-direction:column; } .landing-footer { flex-direction:column; padding:17px 18px; } .activity-item { grid-template-columns:70px 1fr auto; } .account-details { grid-template-columns:1fr; } .journal-filter { overflow:auto; } }

/* NIVA art direction: editorial type, image-led composition, and visible motion. */
h1, h2, .landing-copy h1, .landing-band h2, .market-preview h2, .landing-final h2, .page-intro h1, .surface-heading h2, .note-surface h2, .modal h2 { font-family:var(--display); }
.landing-header { position:relative; z-index:3; }
.landing-copy h1 { font-weight:500; letter-spacing:-.085em; }
.landing-art { overflow:hidden; isolation:isolate; border:1px solid rgba(218,227,220,.92); border-radius:28px; background:linear-gradient(135deg,rgba(248,250,247,.73),rgba(225,235,225,.42)),url('assets/niva-market-morning.png') center/cover; box-shadow:0 24px 70px rgba(53,76,60,.12); }
.landing-art::before { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(120deg,rgba(247,250,247,.78),rgba(247,250,247,.08) 64%); }
.landing-art::after { content:"NIVA / 01"; position:absolute; right:24px; top:22px; color:rgba(62,91,70,.72); font:500 9px/1 var(--mono); letter-spacing:.18em; transform:rotate(90deg) translateX(100%); transform-origin:right top; }
.art-orbit { z-index:0; border-color:rgba(94,126,103,.28); }
.art-card { z-index:2; backdrop-filter:blur(8px); }
.art-stamp { z-index:3; background:rgba(247,250,247,.66); }
.band-steps article, .market-preview-list .market-item, .landing-final, .surface, .metric-card { will-change:transform,opacity; }
.reveal-ready { opacity:0; transform:translateY(22px); transition:opacity .68s ease var(--reveal-delay), transform .68s cubic-bezier(.22,.8,.2,1) var(--reveal-delay); }
.reveal-ready.is-visible { opacity:1; transform:translateY(0); }
.metric-card.reveal-ready:nth-child(2) { transition-delay:calc(var(--reveal-delay) + 70ms); }
.metric-card.reveal-ready:nth-child(3) { transition-delay:calc(var(--reveal-delay) + 140ms); }
.surface { transition:box-shadow var(--spring-response) ease var(--spring-damping), transform var(--spring-response) cubic-bezier(.22,.8,.2,1), opacity .68s ease var(--reveal-delay); }
.surface:hover { transform:translateY(-3px); box-shadow:0 18px 44px rgba(53,76,60,.08); }

@media (max-width:760px) and (min-width:521px) {
  .landing-hero { grid-template-columns:minmax(0,1.03fr) minmax(230px,.97fr); gap:16px; padding:48px 18px 62px; min-height:calc(100dvh - 68px); }
  .landing-copy h1 { font-size:clamp(34px,7.7vw,53px); line-height:1.01; }
  .landing-copy p:not(.eyebrow) { font-size:12px; line-height:1.5; }
  .landing-cta { margin-top:23px; gap:10px; }
  .landing-cta .button { padding:12px 14px; font-size:10px; }
  .landing-cta > span { font-size:8px; }
  .landing-art { min-height:360px; }
  .art-card-main { width:92%; min-height:238px; padding:17px; }
  .art-total { margin:38px 0 14px; }
  .art-total strong { font-size:27px; }
  .art-card-small { right:-5px; bottom:18px; width:132px; padding:14px; }
  .art-card-small strong { font-size:13px; }
  .art-stamp { left:2%; top:13%; width:42px; height:42px; font-size:14px; }
}
@media (max-width:520px) {
  .landing-hero { padding-top:52px; }
  .landing-art { min-height:330px; margin-top:8px; }
  .landing-art::after { right:16px; top:16px; }
  .landing-copy h1 { font-size:clamp(42px,12vw,58px); }
}
