:root {
  --bg: #08121b;
  --panel: #0d1e28;
  --ink: #f5f2e9;
  --muted: #b5c2c7;
  --mint: #9bf6d8;
  --mint-ink: #09241d;
  --line: #52646d;
  --soft: #263d45;
}
html { scrollbar-color: #536e72 var(--bg); }
body { background: radial-gradient(ellipse at 74% 4%, #10232b 0, transparent 38%), var(--bg); }
h1, h2, h3 { letter-spacing: -.045em; text-wrap: balance; }
.wrap { width: min(100% - clamp(2rem, 6vw, 7rem), 87rem); }
.icon { display: block; width: 1.25rem; height: 1.25rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.brand { gap: .62rem; font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.brand b { color: var(--mint); font-weight: inherit; }
.mark { width: 2.5rem; height: 1.72rem; color: var(--mint); }
.btn { gap: .55rem; min-height: 3.15rem; }
.btn.small { min-height: 2.6rem; }
.btn .icon { width: 1.1rem; height: 1.1rem; }
.btn:active::before { transform: skewX(-15deg) scale(.98); }
.btn:disabled:hover { --button-fill: var(--mint); --button-border: var(--mint); }
.head-actions { gap: .55rem; }
.site-head { min-height: 4.9rem; }
.site-head nav { font-size: .94rem; }
.site-head nav a { font-weight: 650; text-underline-offset: .24rem; }
.site-head nav a:hover { text-decoration: underline; }
.site-head nav a[aria-current] { text-decoration: none; }
.site-foot { gap: .9rem 2.2rem; min-height: 5.2rem; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem 1.3rem; font-size: .9rem; }

.hero { min-height: clamp(31rem, 42vw, 39rem); }
.hero-copy { padding-inline-start: clamp(.15rem, 2vw, 1.35rem); }
.hero h1 { font-size: clamp(3.7rem, 7.8vw, 7.4rem); letter-spacing: -.056em; line-height: .92; }
.hero-lead { border-left: 0; padding-left: 1.32rem; position: relative; }
.hero-lead::before { content: ""; position: absolute; inset: .3rem auto .3rem .36rem; width: 2px; background: var(--mint); transform: skewX(-17deg); }
.hero-art { inset: 0 0 0 6%; }
.hero-art img { object-position: 69% 51%; }
.hero-steps { background: linear-gradient(100deg, #08121bc9, #08121b2b); border: 0; margin-right: 0; padding-inline: 1.15rem .45rem; align-self: center; }
.hero-steps li { gap: .82rem; padding-block: .4rem; }
.hero-steps li:not(:last-child) { margin-bottom: .36rem; }
.hero-steps li:not(:last-child)::after { content: ""; position: absolute; top: calc(50% + .4rem); left: .3rem; bottom: -.8rem; width: 1px; background: var(--line); }
.hero-steps li::before { border: 1.5px solid var(--ink); width: .65rem; height: .65rem; box-sizing: border-box; }
.hero-steps li:first-child::before { background: var(--bg); box-shadow: inset 0 0 0 2px var(--bg), inset 0 0 0 5px var(--mint); }
.how { background: linear-gradient(110deg, #f3efe4, #e8e5db); }
.how li { position: relative; gap: .4rem; }
.how li i { width: 2.7rem; height: 2.7rem; position: relative; z-index: 1; }
.how li .icon { width: 1.35rem; height: 1.35rem; }
.how li:not(:last-child)::before { content: ""; position: absolute; left: 50%; width: calc(100% + .7rem); top: 1.33rem; height: 1px; background: #82948e; }
.schedule li:not(:last-child)::before { top: 1.2rem; }
.schedule li i { width: 2.4rem; height: 2.4rem; }
.section-head span { mask-image: linear-gradient(to right, #000, #000 65%, transparent); }
.plan { min-height: 9rem; }
.plan::before { background:
  radial-gradient(ellipse at 108% 0%, #4d7e73a3, transparent 45%),
  linear-gradient(151deg, #142b34, #0a171f 65%); }
.plan.mint::before, .plan:hover::before { background: linear-gradient(125deg, #acffe5, #8becce 58%, #66d5b9); }
.plan i { width: min(10.4rem, 78%); }
.preview-head { padding: .72rem 1.25rem; }
.preview-body { padding: 1rem 1.3rem 1.35rem; }
.allocation span { padding-inline: 1.25rem .55rem; font-variant-numeric: tabular-nums; }
.events i { border-color: #5d917f; width: 1.75rem; height: 1.75rem; }
.events .icon { width: .92rem; height: .92rem; }
.network { padding: 1rem 0; gap: 2rem; }
.network-root { transform: skewX(-13deg); background: #0f2028; min-width: 4.2rem; min-height: 2.6rem; }
.network-root::after { width: 1.98rem; background: var(--mint); }
.network .mark { transform: skewX(13deg); width: 1.72rem; }
.network > div { border-left: 1px solid var(--line); }
.network > div > span { display: block; padding-left: .65rem; font-weight: 750; }
.nodes { border-left: 0; background: linear-gradient(var(--line),var(--line)) left center/100% 1px no-repeat; }
.nodes b { box-shadow: 0 0 0 4px var(--bg); }
.faq summary::after { line-height: 1; font-style: normal; }
.faq summary:hover { color: var(--mint); }

.cabinet-head nav { gap: clamp(.42rem, 2vw, 1.65rem); }
.cabinet-actions { display: flex; align-items: center; gap: .6rem; }
.demo-pill { border-color: var(--line); border-radius: .35rem; }
.control-icon { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border: 1px solid #92aaa9; color: var(--mint); border-radius: .35rem; }
.control-icon:hover { background: var(--panel); border-color: var(--mint); }
.dashboard { padding-top: clamp(1.6rem, 4vw, 3.6rem); }
.view-head h1 { font-size: clamp(2.5rem, 6.6vw, 5.75rem); }
.outline-mark { opacity: .3; }
.overview-grid { row-gap: 1.4rem; }
.overview-balance .balance { margin-block: .3rem .85rem; }
.balance-meter { height: 1.45rem; }
.next p { margin-top: .25rem; }
.quick .btn { justify-self: start; }
.overview-bottom h2, .chart-panel h2, .row-heading h2, .partner-tables h2 { text-wrap: pretty; }
.metrics { gap: 0; }
.metrics > div { padding: .17rem .58rem; }
.metrics > div + div { padding-inline-start: 1.35rem; }
.cycle-panel { padding: 1.15rem clamp(.8rem, 2.4vw, 1.8rem); }
.cycle-panel > p { margin-block: .2rem .3rem; font-size: .9rem; }
.cycle-name { border: 0; border-left: 2px solid var(--mint); background: linear-gradient(90deg, #132b34, transparent); }
.cycle-progress { font-variant-numeric: tabular-nums; }
progress { border-radius: 999px; overflow: hidden; }
.new-cycle form .btn { margin-top: .1rem; }
.plan-select span { border-radius: .3rem; }
.filter select:hover, .plan-select input:not(:checked) + span:hover { border-color: var(--mint); }
.chart { margin-top: .45rem; gap: 1rem; background:
  linear-gradient(var(--line), var(--line)) left 3.6rem/100% 1px no-repeat,
  repeating-linear-gradient(to bottom, transparent 0 17px, #283d44 17px 18px) left top/100% 7.2rem no-repeat; }
.chart li { gap: 0; }
.chart i { min-height: 0; border-radius: .2rem .2rem 0 0; }
.chart i+i { border-radius: 0 0 .2rem .2rem; }
.share { background: #0b1a23; }
tbody tr:hover { background: #112630; }
td button.text-link { text-align: start; }

.auth-page { min-height: 100svh; display: flex; flex-direction: column; }
.auth-head { padding-inline: clamp(0rem, 1.2vw, 1rem); }
.auth-head .btn { --button-border: var(--mint); --button-text: var(--mint); }
.auth-layout { flex: 1; display: grid; grid-template-columns: minmax(0, 1.13fr) minmax(0, 1fr); gap: clamp(2rem, 5.4vw, 5.55rem); align-items: center; padding-block: clamp(1rem, 3.1vw, 3.5rem); border-bottom: 1px solid var(--line); }
.auth-art { position: relative; isolation: isolate; min-height: min(41rem, 68vw); height: 100%; display: flex; align-items: center; padding: clamp(1rem, 2.3vw, 2rem); }
.auth-art img, .auth-art::after { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 57% 51%; z-index: -2; }
.auth-art img { mask-image: linear-gradient(to right, #000 78%, transparent); }
.auth-art::after { content: ""; z-index: -1; background: linear-gradient(90deg, #08121bf5 0, #08121bb8 25%, #08121b1c 74%, transparent), linear-gradient(0deg, var(--bg), transparent 19%, transparent 86%, var(--bg)); }
.auth-art-copy { position: relative; padding-top: 1.25rem; max-width: 23rem; }
.auth-tagline { font-weight: 800; color: var(--ink); font-size: clamp(2.75rem, 4.9vw, 5.8rem); letter-spacing: -.064em; line-height: .95; text-shadow: 0 2px 30px #08121b; }
.auth-rule { display: block; width: 3.3rem; height: 2px; background: var(--mint); margin-block: 1.35rem .85rem; }
.auth-art-note { color: var(--ink); max-width: 16rem; font-size: 1.05rem; }
.auth-content { max-width: 37rem; padding-block: 1.3rem; min-width: 0; }
.auth-title { margin-bottom: 1.35rem; }
.auth-title h1 { font-size: clamp(2.35rem, 5.1vw, 5rem); line-height: 1.02; }
.auth-title p { margin-top: .66rem; max-width: 33rem; }
.auth-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding-inline: .45rem; border-bottom: 1px solid #84959b; margin-bottom: clamp(1.2rem, 3vw, 2.45rem); gap: .65rem; }
.auth-tabs a { position: relative; isolation: isolate; display: flex; gap: .65rem; align-items: center; justify-content: center; min-height: 3.2rem; padding: .48rem .6rem; color: var(--ink); font-weight: 750; }
.auth-tabs a::before { position: absolute; inset: 0 0 -1px; content: ""; transform: skewX(-14deg); border: 1px solid #84959b; z-index: -1; }
.auth-tabs a[aria-current] { color: var(--mint-ink); }
.auth-tabs a[aria-current]::before { background: var(--mint); border-color: var(--mint); }
.auth-tabs a:not([aria-current]):hover { color: var(--mint); }
.auth-tabs a:not([aria-current]):hover::before { border-color: var(--mint); }
.wallet-option h2 { font-size: clamp(1.25rem, 3vw, 2.3rem); margin-bottom: .55rem; }
.wallet-option p { margin-bottom: 1.4rem; }
.wallet-button, .auth-submit { width: 100%; min-height: 3.65rem; }
.wallet-button .icon { width: 1.45rem; height: 1.45rem; }
.wallet-button span { border-left: 1px solid #406a5e; padding-left: .9rem; margin-left: .3rem; }
.auth-form { display: grid; gap: .94rem; }
.auth-field { min-width: 0; }
.auth-field label { display: block; font-weight: 730; margin-bottom: .38rem; }
.auth-field input { display: block; width: 100%; height: 3.18rem; color: var(--ink); border: 1px solid var(--line); background: #091823; padding: .62rem .8rem; border-radius: .27rem; }
.auth-field input:hover { border-color: #789693; }
.auth-field input:focus { outline: 0; border-color: var(--mint); box-shadow: 0 0 0 2px #9bf6d82b; }
.auth-field input[aria-invalid] { border-color: #ffaeaa; }
.auth-field input::placeholder { color: #90a2ac; opacity: 1; }
.password-field { position: relative; }
.password-field input { padding-right: 3.3rem; }
.password-toggle { border: 0; background: transparent; color: var(--muted); position: absolute; inset: 0 0 0 auto; display: grid; place-items: center; width: 3.2rem; }
.password-toggle:hover { color: var(--mint); }
.password-toggle:focus-visible { outline-offset: -4px; }
.auth-note { color: var(--muted); font-size: .85rem; margin-top: .35rem; line-height: 1.5; }
.auth-note a { color: var(--mint); text-decoration: underline; text-underline-offset: .16rem; }
.auth-switch { margin-top: 1.35rem; }
.auth-switch a { margin-left: .24rem; }
.auth-message { padding: .7rem .8rem; background: #122d2b; border-left: 2px solid var(--mint); margin-bottom: 1rem; color: var(--ink); }
.auth-message.error { background: #362428; border-left-color: #ffb6b2; }
.field-error { margin-top: .36rem; font-size: .87rem; color: #ffb6b2; }
.profile-card { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: .85rem; border: 1px solid var(--line); padding: 1.2rem; background: #0b1b25; }
.profile-card dl { margin: 0; display: grid; gap: .95rem; }
.profile-card dt { color: var(--muted); font-size: .85rem; }
.profile-card dd { margin: 0; overflow-wrap: anywhere; }
.profile-icon { width: 1.6rem; height: 1.6rem; color: var(--mint); }
.profile-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; margin-block: 1rem .7rem; }
.auth-foot { justify-content: space-between; }
.privacy-page { padding-block: clamp(1.8rem, 5vw, 5rem); min-height: 70vh; overflow-wrap: anywhere; }
.privacy-page h1 { font-size: clamp(2.05rem, 6vw, 5rem); margin-bottom: 1.45rem; text-wrap: pretty; }
.privacy-page h2 { font-size: clamp(1.3rem, 3vw, 2.2rem); margin: 1.2rem 0 .45rem; }
.privacy-page p { max-width: 65ch; }

@media (max-width: 900px) {
  .auth-layout { gap: 1.6rem; }
  .auth-art { min-height: 32rem; }
  .auth-art-note { font-size: .96rem; }
  .site-head nav { gap: .45rem 1.4rem; }
  .cabinet-head nav { gap: .42rem .65rem; }
}
@media (max-width: 650px) {
  .wrap { width: calc(100% - 1.85rem); }
  .site-head { min-height: 4.3rem; }
  .site-head nav { gap: .35rem .95rem; font-size: .85rem; }
  .head-actions .btn.small { min-height: 2.35rem; padding-inline: .68rem; font-size: .82rem; }
  .mark { width: 1.8rem; height: 1.3rem; }
  .brand { gap: .4rem; }
  .hero { min-height: 0; }
  .hero h1 { font-size: clamp(3.1rem, 12.5vw, 5.5rem); }
  .hero-art { inset: auto; margin-top: -.95rem; }
  .hero-lead { padding-left: 1rem; }
  .how { padding: 1.15rem .63rem; }
  .how li i { width: 2.15rem; height: 2.15rem; }
  .how li:not(:last-child)::before { top: 1.07rem; }
  .how li .icon { width: 1.12rem; height: 1.12rem; }
  .plan { min-height: 6rem; }
  .allocation span { padding-inline: .7rem .35rem; }
  .network { padding-block: .2rem; }
  .site-foot { min-height: 4.9rem; gap: .65rem 1.25rem; }
  .cabinet-head nav { gap: .25rem .43rem; }
  .cabinet-head nav a { font-size: .82rem; }
  .cabinet-actions { gap: .4rem; }
  .control-icon { width: 2.1rem; height: 2.1rem; }
  .demo-pill { padding: .32rem .44rem; }
  .metrics > div { padding-inline: .3rem; }
  .metrics > div + div { padding-inline-start: .5rem; }
  .cycle-name { padding: .4rem .55rem; }
  .chart { gap: .33rem; }
  .auth-layout { grid-template-columns: 1fr; gap: .35rem; padding-block: .6rem 1.5rem; }
  .auth-art { min-height: clamp(9.3rem, 41vw, 14rem); padding: .9rem 1rem; }
  .auth-art img { object-position: 70% 38%; }
  .auth-art::after { background: linear-gradient(90deg, #08121bee, #08121b35 68%, transparent), linear-gradient(0deg, var(--bg), transparent 25%); }
  .auth-art-copy { padding-top: 0; }
  .auth-rule, .auth-art-note { display: none; }
  .auth-tagline { font-size: clamp(1.75rem, 6.6vw, 2.75rem); }
  .auth-title { margin-bottom: 1rem; }
  .auth-content { padding: .45rem 0 0; max-width: none; }
  .auth-tabs a { min-height: 2.9rem; }
  .auth-foot .footer-links { gap: .5rem .85rem; font-size: .81rem; }
}
