/* Catpad identity: editorial cream, acidic green, orange ink illustration. */
:root, [data-theme="light"], [data-theme="dark"] {
  color-scheme: light;
  --bg: #f5f2e9; --surface: #fffdf4; --surface-2: #f0eee2; --surface-3: #e9e7d9; --surface-4: #dedbca;
  --line: #dcd9cb; --line-2: #cbc8b8; --line-3: #aba997;
  --text: #171a14; --text-2: #4d5548; --text-3: #707768; --text-4: #949987;
  --accent: #b8f46a; --accent-hover: #c9ff82; --accent-ink: #171a14; --accent-soft: rgba(184,244,106,.22);
  --ring: #4c7d21; --pulse: 119,191,56; --up: #5b9b31; --down: #d85d4a; --danger: #b83b35;
  --overlay: rgba(12,18,10,.58); --topbar-bg: rgba(248,247,239,.94);
  --shadow-sm: 0 3px 6px rgba(17,23,13,.06); --shadow: 0 18px 42px rgba(17,23,13,.09);
  --shadow-lg: 0 26px 70px rgba(17,23,13,.15);
  --font: 'Bricolage Grotesque', 'Arial', sans-serif; --mono: 'DM Mono', monospace;
  --sidebar-w: 208px; --topbar-h: 74px; --page-max: 1460px; --gutter: clamp(18px,3.4vw,58px);
}
body { font-family: var(--font); }
h1,h2,h3,h4 { font-family: var(--font); font-weight: 800; letter-spacing: -.055em; }
.sidebar { background: #171a14; color: #f5f2e9; border: 0; }
.sidebar .sb-head { border-bottom-color: rgba(255,255,255,.14); }
.sidebar .brand { color: #f5f2e9; }
.sidebar .brand-dot { color: #b8f46a; }
.sidebar .sb-link { color: #c9cebc; border-radius: 12px; }
.sidebar .sb-link:hover { color: #fff; background: #333b2d; }
.sidebar .sb-link[aria-current="page"] { color: #171a14; background: #b8f46a; }
.sidebar .sb-link[aria-current="page"] .i { color: #171a14; }
.sidebar .sb-mini { color: #b8c1ad; }
.sidebar .sb-mini:hover { color: #b8f46a; }
.sidebar .sb-foot { border-top-color: rgba(255,255,255,.13); }
.sidebar .rail-code { color: #b8f46a; }
.brand { font-weight: 800; letter-spacing: -.07em; font-size: 24px; }
.logo-mark { width: 34px; height: 34px; }
.topbar { background: var(--topbar-bg); border-color: #d8d7c6; }
.topbar .brand-top { display: inline-flex; }
.topbar .search { margin-left: auto; width: min(410px,40vw); }
.topbar .search-field { border-radius: 99px; background: #fffdf7; }
.topbar-actions { margin-left: 0; }
.topbar .btn-create { background: #171a14; color: #f5f2e9; border-color: #171a14; }
.topbar .btn-create:hover { background: #343c2d; }
.page { max-width: calc(var(--page-max) + 2 * var(--gutter)); }
.site-footer { background: #171a14; color: #e9eadf; border: none; }
.site-footer .ft-in { max-width: calc(var(--page-max) + 2 * var(--gutter)); }
.site-footer .brand, .site-footer .ft-links a:hover { color: #fff; }
.site-footer .brand-dot { color: #b8f46a; }
.site-footer .ft-links a, .site-footer .ft-legal { color: #aeb7a5; }
.site-footer .ft-links { align-items: center; }
.btn { font-weight: 800; }
.btn-primary { background: #b8f46a; color: #171a14; box-shadow: none; }
.btn-primary:hover { background: #c9ff82; }
.btn-outline { background: #fffdf4; border-color: #a8b49e; color: #171a14; box-shadow: none; }
.btn-outline:hover { background: #e9f8d8; border-color: #5c8e36; }
.token-card { border-radius: 14px; background: #fffef8; border-color: #d9dfca; box-shadow: 0 8px 24px rgba(31,43,16,.05); }
.token-card:hover { border-color: #87ba55; box-shadow: 0 14px 34px rgba(31,43,16,.13); }
.bar span { background: #83cf4e; }
.catpad-home { padding-top: 0; padding-bottom: 0; }
.catpad-ticker { margin: 0 calc(-1 * var(--gutter)); overflow: hidden; background: #171a14; color: #b8f46a; height: 42px; display: flex; align-items: center; white-space: nowrap; font: 500 11px/1 var(--mono); letter-spacing: .06em; }
.catpad-ticker div { min-width: max-content; animation: catpadTicker 35s linear infinite; }
.catpad-ticker span { padding: 0 36px; color: #f2a263; font-size: 16px; }
@keyframes catpadTicker { to { transform: translateX(-50%); } }
.catpad-hero { display: grid; grid-template-columns: 1.1fr .9fr; min-height: 660px; margin: 0 calc(-1 * var(--gutter)); overflow: hidden; background: #b8f46a; }
.catpad-hero-copy { position: relative; z-index: 2; padding: clamp(45px,7vw,110px) 24px 30px var(--gutter); display: flex; flex-direction: column; align-items: flex-start; }
.catpad-kicker,.catpad-section-index { font: 500 11px/1.4 var(--mono); letter-spacing: .06em; }
.catpad-kicker { display: inline-flex; align-items: center; gap: 12px; border: 1px solid rgba(23,26,20,.55); border-radius: 100px; padding: 9px 14px; }
.catpad-kicker-dot { width: 8px; height: 8px; border-radius: 50%; background: #171a14; box-shadow: 0 0 0 4px rgba(23,26,20,.1); }
.catpad-hero h1 { font-size: clamp(74px,8.5vw,154px); line-height: .83; letter-spacing: -.095em; margin: 38px 0 26px; max-width: 830px; }
.catpad-hero h1 em { font-style: normal; color: #fffdf0; -webkit-text-stroke: 2px #171a14; text-shadow: 4px 5px 0 #171a14; }
.catpad-hero-copy > p { font-size: clamp(17px,1.4vw,22px); line-height: 1.42; max-width: 570px; letter-spacing: -.02em; }
.catpad-actions { display: flex; gap: 15px; align-items: center; flex-wrap: wrap; margin-top: 31px; }
.catpad-action { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 55px; padding: 13px 18px; font-weight: 800; border: 2px solid #171a14; border-radius: 7px; transition: transform .2s, box-shadow .2s, background .2s; }
.catpad-action:hover { transform: translateY(-3px); box-shadow: 4px 5px 0 #171a14; }
.catpad-action-dark { background: #171a14; color: #fff; min-width: 205px; }
.catpad-action-dark:hover { background: #32392a; }
.catpad-action-text { border-color: transparent; padding-inline: 8px; }
.catpad-action-text:hover { box-shadow: none; }
.catpad-hero-foot { display: flex; gap: 36px; width: 100%; margin-top: auto; padding-top: 40px; font: 500 11px/1 var(--mono); letter-spacing: .06em; }
.catpad-hero-foot b { font-weight: 500; color: #486d26; margin-right: 5px; }
.catpad-hero-art { position: relative; overflow: hidden; min-height: 660px; }
.catpad-hero-halo { position: absolute; inset: 13% -20% -35% 2%; border-radius: 50%; background: #e5ffba; border: 3px solid #171a14; transform: rotate(-15deg); }
.catpad-orbit { position: absolute; border: 2px solid rgba(23,26,20,.62); border-radius: 50%; width: 95%; height: 40%; left: 0; top: 22%; transform: rotate(-23deg); }
.orbit-two { width: 120%; left: -18%; top: 40%; transform: rotate(24deg); border-style: dashed; opacity: .45; }
.catpad-hero-art > img { position: absolute; z-index: 3; width: min(93%,690px); height: auto; max-height: 102%; object-fit: contain; object-position: bottom; bottom: -10px; left: 4%; filter: drop-shadow(10px 17px 0 rgba(23,26,20,.2)); animation: catpadFloat 5s ease-in-out infinite alternate; }
@keyframes catpadFloat { to { transform: translateY(-15px) rotate(1deg); } }
.catpad-spark { position: absolute; z-index: 4; font-size: 66px; color: #fffdf0; text-shadow: 2px 3px #171a14; animation: catpadTwinkle 3s ease-in-out infinite alternate; }
.spark-one { right: 11%; top: 10%; }.spark-two { left: 0; bottom: 10%; font-size: 38px; animation-delay: 1s; }
@keyframes catpadTwinkle { to { transform: rotate(35deg) scale(.78); opacity: .55; } }
.catpad-sticker { position: absolute; right: 7%; bottom: 11%; z-index: 5; transform: rotate(12deg); width: 132px; height: 132px; display: grid; place-items: center; text-align: center; background: #171a14; color: #b8f46a; border-radius: 50%; font: 500 13px/1.25 var(--mono); box-shadow: 0 0 0 6px #b8f46a, 0 0 0 8px #171a14; }
.catpad-status { min-height: 70px; border-bottom: 1px solid #c9d4b8; display: flex; align-items: center; justify-content: space-between; gap: 22px; font-size: 13px; }
.catpad-status > div { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.catpad-status strong { font: 500 11px var(--mono); letter-spacing: .05em; }
.catpad-status-dot { width: 9px; height: 9px; border-radius: 50%; background: #d9874d; box-shadow: 0 0 0 4px #f3dfca; }
.catpad-status[data-ready="true"] .catpad-status-dot { background: #58b02e; box-shadow: 0 0 0 4px #dbf4c9; }
.catpad-status a { font: 500 11px var(--mono); text-decoration: underline; text-underline-offset: 4px; }
.catpad-story { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(40px,6vw,110px); align-items: center; padding: clamp(75px,9vw,150px) 0; }
.catpad-story-art { border: 2px solid #171a14; border-radius: 6px; overflow: hidden; transform: rotate(-2deg); box-shadow: 14px 16px 0 #171a14; }
.catpad-story-art img { width: 100%; aspect-ratio: 1.45; object-fit: cover; }
.catpad-story-copy { max-width: 540px; }
.catpad-story h2,.catpad-section-heading h2,.catpad-den h2,.catpad-outro h2 { font-size: clamp(48px,5.2vw,92px); line-height: .98; letter-spacing: -.07em; margin: 20px 0 28px; }
.catpad-story h2 i,.catpad-section-heading h2 i,.catpad-outro h2 i { font-style: normal; color: #67a83e; }
.catpad-story p { font-size: 17px; line-height: 1.55; margin: 0 0 18px; }
.catpad-story-copy > a { display: inline-flex; gap: 22px; margin-top: 15px; border-bottom: 2px solid #171a14; padding-bottom: 7px; font-weight: 800; }
.catpad-steps { margin: 0 calc(-1 * var(--gutter)); background: #e5e0d1; padding: clamp(70px,8vw,125px) var(--gutter); }
.catpad-section-heading { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; }
.catpad-section-heading h2 { margin-top: 0; }
.catpad-step-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 32px; }
.catpad-step-grid article { min-height: 340px; padding: 27px; display: flex; flex-direction: column; border: 2px solid #171a14; border-radius: 6px; background: #fffdf3; box-shadow: 5px 6px 0 #171a14; transition: transform .2s; }
.catpad-step-grid article:hover { transform: translateY(-7px) rotate(-1deg); }
.catpad-step-grid article:nth-child(2) { background: #b8f46a; }
.catpad-step-grid article:nth-child(3) { background: #171a14; color: #fffdf3; }
.catpad-step-grid article > span { font: 500 12px var(--mono); }
.catpad-step-icon { margin: auto 0 6px; font-size: 72px; line-height: 1; }
.catpad-step-grid h3 { font-size: 34px; margin-bottom: 8px; }
.catpad-step-grid p { font-size: 15px; line-height: 1.5; max-width: 290px; }
.catpad-den { padding: clamp(70px,8vw,125px) 0; }
.catpad-den-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 25px; }
.catpad-den h2 { margin-bottom: 8px; }
.catpad-den h2 span { color: #69a83b; }
.catpad-den-head p { font-size: 16px; }
.catpad-den-head > a { font-weight: 800; border-bottom: 2px solid #171a14; padding-bottom: 6px; white-space: nowrap; }
.catpad-den .segmented { margin-bottom: 25px; }
.catpad-den .token-grid { min-height: 240px; }
.catpad-outro { position: relative; overflow: hidden; min-height: 470px; margin: 0 calc(-1 * var(--gutter)); padding: 70px var(--gutter); background: #171a14; color: #fffdf3; }
.catpad-outro > div { position: relative; z-index: 2; max-width: 750px; }
.catpad-outro h2 { margin-bottom: 14px; }
.catpad-outro h2 i { color: #b8f46a; }
.catpad-outro p { max-width: 460px; font-size: 17px; }
.catpad-action-lime { background: #b8f46a; color: #171a14; margin-top: 30px; border-color: #b8f46a; }
.catpad-action-lime:hover { box-shadow: 4px 5px 0 #f5f2e9; }
.catpad-outro > img { position: absolute; height: 130%; max-width: 52%; object-fit: contain; object-position: bottom; right: 1%; bottom: -65%; opacity: .76; transform: rotate(-12deg); }
.catpad-pair-warning { margin: 0 0 24px; padding: 17px 20px; border: 2px solid #171a14; background: #dcffab; border-radius: 7px; font-weight: 700; }
.catpad-pair-warning a { text-decoration: underline; }
.catpad-pair-warning[hidden] { display: none; }
@media (max-width: 1150px) { .catpad-hero { min-height: 590px; }.catpad-hero-art { min-height: 590px; }.catpad-hero h1 { font-size: clamp(72px,9vw,112px); }.catpad-sticker { right: 4%; bottom: 5%; } }
@media (max-width: 900px) { .catpad-hero { grid-template-columns: 1fr; }.catpad-hero-copy { padding-right: var(--gutter); }.catpad-hero-art { min-height: 520px; }.catpad-hero-art > img { width: min(76%,550px); left: 12%; }.catpad-story { grid-template-columns: 1fr; }.catpad-story-copy { max-width: 680px; }.catpad-step-grid { grid-template-columns: 1fr; }.catpad-step-grid article { min-height: 250px; }.catpad-outro > img { opacity: .35; } }
@media (max-width: 650px) { .catpad-ticker { height: 35px; }.catpad-hero-copy { padding-top: 53px; }.catpad-hero h1 { font-size: clamp(62px,16vw,100px); margin-top: 31px; }.catpad-hero-copy > p { font-size: 17px; }.catpad-hero-foot { gap: 18px; }.catpad-hero-art { min-height: 400px; }.catpad-hero-art > img { width: 85%; left: 4%; }.catpad-sticker { transform: rotate(12deg) scale(.77); transform-origin: right bottom; }.catpad-status { align-items: flex-start; flex-direction: column; padding: 18px 0; }.catpad-story { padding: 70px 0; }.catpad-story-art { box-shadow: 7px 8px 0 #171a14; }.catpad-story h2,.catpad-section-heading h2,.catpad-den h2,.catpad-outro h2 { font-size: clamp(48px,12vw,72px); }.catpad-section-heading { display: block; }.catpad-section-heading h2 { margin-top: 18px; }.catpad-den-head { display: block; }.catpad-den-head > a { display: inline-block; margin-top: 18px; }.catpad-outro { min-height: 475px; }.catpad-outro > img { height: 90%; bottom: -35%; max-width: 85%; } }
@media (prefers-reduced-motion: reduce) { .catpad-ticker div,.catpad-hero-art > img,.catpad-spark { animation: none; } }
