:root { color-scheme: light; --page-bg: #f6f7fb; --surface: rgba(255, 255, 255, 0.78); --surface-solid: #fff; --text: #171923; --muted: #727789; --border: rgba(30, 35, 55, 0.1); --accent: #6957ed; --accent-soft: rgba(105, 87, 237, 0.11); --green: #20a95b; --red: #de3730; --amber: #f59e0b; --link-color: #3273dc; --link-hover-color: #205bbc; --shadow: 0 20px 60px rgba(37, 38, 66, 0.08); } [data-theme="dark"] { color-scheme: dark; --page-bg: #11121a; --surface: rgba(28, 30, 43, 0.82); --surface-solid: #1c1e2b; --text: #f4f4fa; --muted: #a0a3b5; --border: rgba(235, 237, 255, 0.11); --accent: #a295ff; --accent-soft: rgba(162, 149, 255, 0.14); --green: #57d58a; --shadow: 0 20px 60px rgba(0, 0, 0, 0.25); } *, *::before, *::after { box-sizing: border-box; } html { min-width: 320px; background: var(--page-bg); scroll-behavior: smooth; scrollbar-gutter: stable; scrollbar-width: thin; } body { min-height: 100vh; margin: 0; background: radial-gradient(ellipse at 50% 38%, var(--accent-soft), transparent 48%), var(--page-bg); color: var(--text); font-family: "Google Sans", sans-serif; transition: background-color 180ms ease, color 180ms ease; } a { color: inherit; } .layout { min-height: 100vh; display: flex; flex-direction: column; } .site-header { position: relative; z-index: 5; width: min(100% - 2rem, 1120px); margin: 1.25rem auto 0; } .nav { min-height: 68px; padding: 0.65rem 0.8rem 0.65rem 1.2rem; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); backdrop-filter: blur(14px); } .nav__brand { display: inline-flex; align-items: center; gap: 0.625rem; color: var(--text); font-family: 'Science Gothic'; font-size: 1rem; font-weight: 700; text-decoration: none; white-space: nowrap; justify-self: start; } .nav__brand-icon { width: 28px; height: 28px; color: var(--accent); } .nav__menu { display: flex; align-items: center; gap: 0.25rem; margin: 0; padding: 0; list-style: none; justify-self: center; } .nav__link, .mobile-menu__link { display: inline-flex; align-items: center; min-height: 42px; padding: 0.65rem 1rem; border-radius: 11px; color: var(--muted); font-size: 0.92rem; font-weight: 500; text-decoration: none; transition: background-color 160ms ease, color 160ms ease; } .nav__link:hover, .nav__link--active, .mobile-menu__link:hover, .mobile-menu__link--active { background: var(--accent-soft); color: var(--accent); } .nav__actions { display: flex; align-items: center; gap: 0.625rem; justify-self: end; } .wallet-button { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.55rem 0.85rem; border: 1px solid var(--border); border-radius: 12px; background: var(--accent); color: var(--surface-solid); font: inherit; font-size: 0.88rem; font-weight: 600; cursor: pointer; transition: transform 160ms ease, opacity 160ms ease; } .wallet-button:hover { opacity: 0.9; } .wallet-button__icon { width: 20px; height: 20px; flex: 0 0 auto; fill: var(--accent); background: var(--surface-solid); padding: 2px; border-radius: 10px; } .wallet-button.is-connected { background: var(--surface-solid); color: var(--text); } .theme-toggle, .nav__toggle { width: 42px; height: 42px; display: inline-grid; place-items: center; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-solid); color: var(--text); cursor: pointer; transition: transform 160ms ease, border-color 160ms ease; } .wallet-button:hover, .theme-toggle:hover, .nav__toggle:hover { transform: translateY(-1px); border-color: var(--accent); } .theme-toggle__icon { width: 19px; height: 19px; } .nav__toggle { display: none; position: relative; } .nav__toggle-icon, .nav__toggle-icon::before, .nav__toggle-icon::after { width: 17px; height: 2px; display: block; border-radius: 2px; background: currentColor; transition: transform 160ms ease, top 160ms ease; } .nav__toggle-icon { position: relative; } .nav__toggle-icon::before, .nav__toggle-icon::after { position: absolute; left: 0; content: ""; } .nav__toggle-icon::before { top: -6px; } .nav__toggle-icon::after { top: 6px; } .nav__toggle[aria-expanded=true] .nav__toggle-icon { background: transparent; } .nav__toggle[aria-expanded=true] .nav__toggle-icon::before { top: 0; transform: rotate(45deg); } .nav__toggle[aria-expanded=true] .nav__toggle-icon::after { top: 0; transform: rotate(-45deg); } .mobile-menu { position: absolute; top: calc(100% + 0.65rem); left: 0; right: 0; display: none; padding: 0.65rem; border: 1px solid var(--border); border-radius: 16px; background: var(--surface-solid); box-shadow: var(--shadow); } .mobile-menu--open { display: grid; } .mobile-menu__link { width: 100%; } .mobile-menu__divider { height: 1px; margin: 0.5rem 0; border: 0; background: var(--border); } .footer { width: min(100% - 2rem, 1120px); min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 0 auto; padding: 1rem 0; border-top: 1px solid var(--border); } .footer__link, .footer__copyright { margin: 0; color: var(--muted); font-size: 0.84rem; } .footer__link { text-decoration: none; } .footer__link:hover, .footer__link--active, .footer__copyright a:hover { color: var(--accent); } .footer__copyright a { color: var(--text); text-decoration: none; } .scroll-top { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 99; width: 44px; height: 44px; display: none; place-items: center; border: 1px solid var(--border); border-radius: 14px; background: var(--surface-solid); color: var(--text); box-shadow: var(--shadow); cursor: pointer; } .scroll-top--visible { display: grid; } .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; } @media (prefers-reduced-motion:reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; } } @media (max-width:940px) { .site-header { width: calc(100% - 1.25rem); margin-top: 0.65rem; } .nav { min-height: 60px; padding: 0.5rem 0.6rem 0.5rem 0.9rem; display: flex; justify-content: space-between; gap: 0.5rem; } .nav__menu { display: none; } .nav__toggle { display: inline-grid; } .footer { width: calc(100% - 1.5rem); flex-wrap: wrap; justify-content: center; gap: 0.55rem 1.25rem; padding: 1.2rem 0; text-align: center; } .footer__copyright { flex-basis: 100%; order: 1; } } @media (max-width:760px) { .nav__actions { gap: 0.45rem; } .wallet-button { min-height: 40px; padding: 0.45rem 0.65rem; font-size: 0.82rem; } .wallet-button__icon { width: 18px; height: 18px; } } @media (max-width:640px) { .site-header { width: calc(100% - 1.25rem); margin-top: 0.65rem; } .nav { min-height: 60px; padding: 0.5rem 0.6rem 0.5rem 0.9rem; display: flex; justify-content: space-between; } .nav__menu { display: none; } .nav__toggle { display: inline-grid; } .footer { width: calc(100% - 1.5rem); flex-wrap: wrap; justify-content: center; gap: 0.55rem 1.25rem; padding: 1.2rem 0; text-align: center; } .footer__copyright { flex-basis: 100%; order: 1; } } @media (max-width:400px) { .nav { gap: 0.35rem; padding-inline: 0.55rem; } .nav__brand { gap: 0.4rem; font-size: 0.9rem; } .nav__brand-icon { width: 24px; height: 24px; } .nav__actions { flex: 0 0 auto; gap: 0.35rem; } .wallet-button { min-height: 40px; gap: 0.35rem; padding: 0.4rem 0.55rem; white-space: nowrap; } .wallet-button__label { white-space: nowrap; } .theme-toggle, .nav__toggle { width: 38px; height: 40px; flex: 0 0 auto; } } .hero { width: min(100% - 2rem, 900px); flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; margin: 0 auto; padding: 5rem 1rem; text-align: center; } .hero__mark { width: clamp(112px, 20vw, 180px); height: auto; margin-bottom: 1.7rem; filter: drop-shadow(0 14px 28px rgba(105, 87, 237, 0.19)); } .hero__eyebrow { margin: 0 0 0.8rem; color: var(--accent); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; } .hero__title { margin: 0; color: var(--text); font-family: "Science Gothic", sans-serif; font-size: clamp(3.5rem, 10vw, 7rem); font-weight: 700; line-height: 0.98; letter-spacing: -0.065em; } .hero__subtitle { max-width: 38rem; margin: 1.35rem 0 0; color: var(--muted); font-size: clamp(1rem, 2.5vw, 1.25rem); line-height: 1.7; } .hero__badge { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 2rem; padding: 0.65rem 0.9rem; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--muted); font-size: 0.84rem; } .hero__badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px color-mix(in srgb, var(--green) 15%, transparent); } @media (max-width:940px) { .hero { width: calc(100% - 1.5rem); padding: 4rem 0.5rem; } .hero__title { font-size: clamp(3.25rem, 16vw, 5rem); } } @media (max-width:640px) { .hero { width: calc(100% - 1.5rem); padding: 4rem 0.5rem; } .hero__title { font-size: clamp(3.25rem, 16vw, 5rem); } } .tokens { width: min(100% - 2rem, 1000px); flex: 1; margin: 0 auto; padding: 4.5rem 0 5rem; } .tokens__intro { max-width: 700px; margin: 0 auto 2.75rem; text-align: center; } .tokens__eyebrow { margin: 0 0 0.75rem; color: var(--accent); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; } .tokens__title { margin: 0; color: var(--text); font-family: "Science Gothic", sans-serif; font-size: clamp(3rem, 8vw, 5rem); font-weight: 700; line-height: 1; letter-spacing: -0.06em; } .tokens__description { max-width: 620px; margin: 1.15rem auto 0; color: var(--muted); font-size: clamp(1rem, 2vw, 1.12rem); line-height: 1.7; } .tokens__grid { margin: -0.75rem; } .tokens__column { display: flex; padding: 0.75rem; } .token-card { width: 100%; height: 100%; display: flex; flex-direction: column; padding: 1.4rem; border: 1px solid var(--border); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); backdrop-filter: blur(12px); transition: transform 180ms ease, border-color 180ms ease; } .token-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); } .token-card__header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.1rem; } .token-card__network { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.4rem 0.65rem; border: 1px solid var(--border); border-radius: 999px; color: var(--muted); font-size: 0.8rem; text-decoration: none; transition: color 160ms ease, border-color 160ms ease; } .token-card__network:hover { border-color: var(--accent); color: var(--accent); } .token-card__network-icon { width: 19px; height: 19px; } .token-card__identity { display: flex; align-items: center; gap: 0.75rem; } .token-card__icon { width: 46px; height: 46px; flex: 0 0 auto; } .token-card__title { margin: 0; color: var(--text); font-family: "Science Gothic", sans-serif; font-size: 1.5rem; font-weight: 700; letter-spacing: -0.03em; } .token-card__label { margin: 0.1rem 0 0; color: var(--muted); font-size: 0.78rem; } .token-card__body { flex: 1; margin: 0 0 1.5rem; color: var(--muted); font-size: 0.94rem; line-height: 1.7; } .token-card__button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.7rem 1rem; border: 1px solid transparent; border-radius: 12px; background: var(--accent); color: #fff; font-size: 0.9rem; font-weight: 600; text-decoration: none; transition: transform 160ms ease, filter 160ms ease; } .token-card__button:hover { transform: translateY(-1px); filter: brightness(1.08); color: #fff; } .token-card__button-icon { width: 16px; height: 16px; } @media (max-width: 640px) { .tokens { width: calc(100% - 1.5rem); padding: 3.5rem 0 4rem; } .tokens__intro { margin-bottom: 2rem; padding: 0 0.25rem; } .tokens__title { font-size: clamp(3rem, 15vw, 4.4rem); } .token-card { padding: 1.2rem; } } .station { width: min(100% - 2rem, 760px); flex: 1; margin: 0 auto; padding: 4.5rem 0 5rem; color: var(--text); } .station__intro { margin-bottom: 2rem; text-align: center; } .station__eyebrow { margin: 0 0 0.5rem; color: var(--accent); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; } .station__title { margin: 0 0 0.75rem; color: var(--text); font-family: "Science Gothic", sans-serif; font-size: clamp(2rem, 6vw, 3rem); font-weight: 700; } .station__description { max-width: 540px; margin: 0 auto; color: var(--muted); line-height: 1.7; } .station__card, .station__history-card { overflow: visible; padding: clamp(1rem, 4vw, 2rem); border: 1px solid var(--border); border-radius: 1.25rem; background: var(--surface); box-shadow: var(--shadow); backdrop-filter: blur(12px); } .station__network { display: flex; align-items: center; justify-content: center; gap: 0.65rem; margin-bottom: 1.5rem; color: var(--muted); font-weight: 600; } .station__network-icon { width: 24px; height: 24px; } .station__form { display: grid; gap: 1rem; } .station__token-select { position: relative; margin-bottom: 0; } .station__label { display: block; margin-bottom: 0.5rem; color: var(--text); font-size: 0.9rem; font-weight: 700; } .station__token-button { display: flex; width: 100%; min-height: 54px; align-items: center; justify-content: space-between; padding: 0.75rem 1rem; border: 1px solid var(--border); border-radius: 0.8rem; background: var(--surface-solid); color: var(--text); cursor: pointer; text-align: left; transition: border-color 160ms ease, box-shadow 160ms ease; } .station__token-button:hover, .station__token-button[aria-expanded="true"] { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); } .station__token-current, .station__token-options button { display: flex; align-items: center; gap: 0.75rem; width: 100%; } .station__token-current, .station__token-options button.is-selected { font-family: "Science Gothic", sans-serif; } .station__token-icon { display: block; width: 28px; height: 28px; flex: 0 0 auto; } .station__token-options { position: absolute; z-index: 20; top: calc(100% + 0.4rem); right: 0; left: 0; display: none; overflow: hidden; padding: 0.35rem; border: 1px solid var(--border); border-radius: 0.8rem; background: var(--surface-solid); color: var(--text); box-shadow: var(--shadow); } .station__token-options.is-open { display: grid; } .station__token-options button { padding: 0.7rem; border: 0; border-radius: 0.55rem; background: transparent; color: inherit; cursor: pointer; text-align: left; } .station__token-options button:hover { background: var(--accent-soft); } .station__budget-box, .station__info-box { padding: 1rem; border: 1px solid var(--border); border-radius: 0.9rem; background: var(--surface); } .station__budget-heading, .station__info-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; } .station__budget-heading { margin-bottom: 0.85rem; color: var(--muted); font-size: 0.9rem; } .station__budget-value { color: var(--accent); font-family: monospace; font-weight: 700; } .station__slider { width: 100%; accent-color: var(--accent); cursor: pointer; } .station__range-labels { display: flex; justify-content: space-between; margin-top: 0.4rem; color: var(--muted); font-family: monospace; font-size: 0.72rem; } .station__info-box { display: grid; gap: 0.9rem; } .station__info-row { font-size: 0.9rem; } .station__info-label { color: var(--muted); } .station__info-value { color: var(--text); font-family: monospace; font-weight: 700; text-align: right; } .station__info-value--accent { color: var(--accent); } .station__info-value--fee { color: var(--red); } .station__info-value--received { color: var(--green); } .station__divider { height: 1px; margin: 0; border: 0; background: var(--border); } .station .button, .station__history-clear, .station__copy-button { min-height: 48px; border: 1px solid var(--accent); border-radius: 0.8rem; background: var(--accent); color: #fff; font-weight: 700; box-shadow: 0 7px 16px rgba(105, 87, 237, 0.2); transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease; } .station .button:hover:not(:disabled), .station__history-clear:hover, .station__copy-button:hover { border-color: var(--accent); background: var(--accent); color: #fff; box-shadow: 0 9px 20px rgba(105, 87, 237, 0.28); transform: translateY(-1px); } .station .button:focus-visible, .station__history-clear:focus-visible, .station__copy-button:focus-visible, .station__token-button:focus-visible, .station__token-options button:focus-visible, .station__history-tx-clear:focus-visible { outline: 3px solid var(--accent-soft); outline-offset: 2px; } .station .button:disabled { border-color: var(--muted); background: var(--muted); color: #fff; box-shadow: none; cursor: not-allowed; opacity: 0.65; transform: none; } .station__connect, .station__submit, .station__get-mon { width: 100%; min-height: 52px; } .station__connect { margin-bottom: 1.5rem; } .station__get-mon { margin-top: 1rem; } .station__note { margin-top: 1rem; color: var(--muted); font-size: 0.8rem; text-align: center; } .station__success { display: none; margin-top: 1.25rem; padding: 1rem; border-radius: 0.9rem; border: 1px solid var(--border); background: var(--surface); } .station__success.is-visible { display: block; } .station__success.type-success { border-color: color-mix(in srgb, var(--green) 28%, transparent); background: color-mix(in srgb, var(--green) 8%, transparent); } .station__success.type-success .station__success-heading { color: var(--green); } .station__success.type-success .station__success-check { background: color-mix(in srgb, var(--green) 14%, transparent); } .station__success.type-error { border-color: color-mix(in srgb, var(--red) 28%, transparent); background: color-mix(in srgb, var(--red) 8%, transparent); } .station__success.type-error .station__success-heading { color: var(--red); } .station__success.type-error .station__success-check { background: color-mix(in srgb, var(--red) 14%, transparent); } .station__success.type-info { border-color: color-mix(in srgb, var(--accent) 28%, transparent); background: color-mix(in srgb, var(--accent) 8%, transparent); } .station__success.type-info .station__success-heading { color: var(--accent); } .station__success.type-info .station__success-check { background: color-mix(in srgb, var(--accent) 14%, transparent); } .station__success-heading { display: flex; align-items: center; gap: 0.65rem; margin: 0 0 0.9rem; font-weight: 700; } .station__success-check { display: grid; width: 26px; height: 26px; flex: 0 0 auto; place-items: center; border-radius: 50%; } .station__transaction { display: grid; gap: 0.65rem; } .station__transaction-row { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; color: var(--muted); font-size: 0.85rem; } .station__transaction-hash { overflow-wrap: anywhere; color: var(--text); font-family: monospace; font-size: 0.78rem; text-align: right; } .station__transaction-links { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 0.25rem; } .station__text-link { color: var(--accent); font-size: 0.88rem; font-weight: 700; text-decoration: none; } .station__text-link:hover { color: var(--accent); text-decoration: underline; } .station__history-card { margin-top: 1.25rem; padding: clamp(1rem, 4vw, 1.5rem); } .station__history-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 0.35rem; } .station__history-title { margin: 0; color: var(--text); font-size: 1.15rem; font-weight: 700; } .station__history-description { margin: 1rem 0; color: var(--muted); font-size: 0.82rem; line-height: 1.5; } .station__history-clear, .station__copy-button, .station__history-tx-clear { min-height: 36px; padding: 0.45rem 0.8rem; font-size: 0.8rem; cursor: pointer; } .station__history-clear, .station__history-tx-clear { border-color: var(--border); background: transparent; color: var(--text); box-shadow: none; } .station__history-tx-clear { padding: 4px; border: 1px solid var(--border); border-radius: 8px; font-size: small; } .station__history-clear:hover, .station__history-tx-clear:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); box-shadow: none; } .station__history-list { display: grid; gap: 0.65rem; } .station__history-item { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.8rem 0.9rem; border: 1px solid var(--border); border-radius: 0.75rem; background: var(--surface); } .station__history-date { color: var(--muted); font-size: 0.8rem; } .station__history-hash { color: var(--text); font-family: monospace; font-size: 0.82rem; font-weight: 700; text-decoration: none; } .station__history-hash:hover { color: var(--accent); } .station__history-empty { padding: 0.8rem 0; color: var(--muted); font-size: 0.9rem; } @media (max-width: 640px) { .station { width: calc(100% - 1.5rem); padding: 3.5rem 0 4rem; } } @media (max-width: 480px) { .station__info-row { align-items: flex-start; } .station__info-value { max-width: 58%; overflow-wrap: anywhere; } .station__transaction-row { align-items: flex-start; flex-direction: column; gap: 0.3rem; } .station__transaction-hash { text-align: left; } .station__history-header { flex-direction: column; align-items: flex-start; } .station__history-item { align-items: center; gap: 0.5rem; } } @media (max-width: 640px) { .station { width: calc(100% - 1.5rem); padding: 3.5rem 0 4rem; } } @media (max-width: 480px) { .station__info-row { align-items: flex-start; } .station__info-value { max-width: 58%; overflow-wrap: anywhere; } .station__transaction-row { align-items: flex-start; flex-direction: column; gap: 0.3rem; } .station__transaction-hash { text-align: left; } .station__history-header { flex-direction: column; align-items: flex-start; } .station__history-item { align-items: center; gap: 0.5rem; } } .contracts { width: min(100% - 2rem, 1000px); flex: 1; margin: 0 auto; padding: 4.5rem 0 5rem; } .contracts__intro { max-width: 700px; margin: 0 auto 2.75rem; text-align: center; } .contracts__eyebrow { margin: 0 0 0.75rem; color: var(--accent); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; } .contracts__title { margin: 0; color: var(--text); font-family: "Science Gothic", sans-serif; font-size: clamp(3rem, 8vw, 5rem); font-weight: 700; line-height: 1; letter-spacing: -0.06em; } .contracts__description { max-width: 620px; margin: 1.15rem auto 0; color: var(--muted); font-size: clamp(1rem, 2vw, 1.12rem); line-height: 1.7; } .contracts__section { margin-top: 2rem; } .contracts__section-title { margin: 0 0 1.25rem; color: var(--text); font-family: "Science Gothic", sans-serif; font-size: clamp(1.4rem, 3vw, 1.8rem); font-weight: 600; letter-spacing: -0.035em; } .contracts__grid { margin: -0.75rem; } .contracts__column { display: flex; padding: 0.75rem; } .contract-card { width: 100%; padding: 1.35rem; border: 1px solid var(--border); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); backdrop-filter: blur(12px); transition: transform 180ms ease, border-color 180ms ease; } .contract-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); } .contract-card__symbol { margin: 0 0 1.1rem; color: var(--text); font-family: "Science Gothic", sans-serif; font-size: 1.4rem; font-weight: 700; letter-spacing: -0.035em; } .contract-card__row { display: flex; align-items: center; justify-content: space-between; gap: 0.65rem; padding: 0.7rem 0; border-top: 1px solid var(--border); } .contract-card__link { min-width: 0; color: var(--muted); font-size: 0.88rem; line-height: 1.5; text-decoration: none; overflow-wrap: anywhere; } .contract-card__link strong { color: var(--text); } .contract-card__link:hover { color: var(--accent); } .contract-card__copy { flex: 0 0 auto; min-height: 36px; padding: 0.4rem 0.7rem; border: 1px solid var(--border); border-radius: 10px; background: var(--surface-solid); color: var(--text); font: inherit; font-size: 0.78rem; font-weight: 600; cursor: pointer; transition: color 160ms ease, border-color 160ms ease; } .contract-card__copy:hover, .contract-card__copy--copied { border-color: var(--accent); color: var(--accent); } @media (max-width: 640px) { .contracts { width: calc(100% - 1.5rem); padding: 3.5rem 0 4rem; } .contracts__intro { margin-bottom: 2rem; padding: 0 0.25rem; } .contracts__title { font-size: clamp(3rem, 15vw, 4.4rem); } .contracts__grid { margin: 0; } .contracts__column { width: 100%; padding: 0.55rem 0; } .contract-card { min-width: 0; padding: 1rem; } .contract-card__row { align-items: flex-start; } .contract-card__link { overflow-wrap: anywhere; } } .disclaimer, .docs { width: min(100% - 2rem, 900px); flex: 1; margin: 0 auto; padding: 4.5rem 0 5rem; } .disclaimer__intro, .docs__intro { margin-bottom: 2rem; text-align: center; } .disclaimer__eyebrow, .docs__eyebrow { margin: 0 0 0.75rem; color: var(--accent); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; } .disclaimer__title, .docs__title { margin: 0; color: var(--text); font-family: "Science Gothic", sans-serif; font-size: clamp(3rem, 8vw, 5rem); font-weight: 700; line-height: 1; letter-spacing: -0.06em; } .disclaimer__content, .docs__content { padding: clamp(1.1rem, 3vw, 2.1rem); border: 1px solid var(--border); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); backdrop-filter: blur(12px); } .disclaimer__section, .docs__section { margin-top: 1.8rem; padding-top: 1.5rem; border-top: 1px solid var(--border); } .disclaimer__section-title, .docs__section-title { margin: 0 0 0.8rem; color: var(--text); font-family: "Science Gothic", sans-serif; font-size: clamp(1.05rem, 2.5vw, 1.25rem); font-weight: 600; line-height: 1.45; } .disclaimer__section:first-of-type, .docs__section:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; } .disclaimer__text, .docs__text { margin: 0 0 0.8rem; color: var(--muted); font-size: 0.96rem; line-height: 1.8; overflow-wrap: anywhere; } .disclaimer__text:last-child, .docs__text:last-child { margin-bottom: 0; } .disclaimer__text b, .docs__text b { color: var(--text); } .disclaimer__link, .docs__link { color: var(--link-color); } .disclaimer__link:hover, .disclaimer__link:focus-visible, .docs__link:hover, .docs__link:focus-visible { color: var(--link-hover-color); text-decoration: underline 0.125rem; text-underline-offset: 0.3rem; } .disclaimer__list, .docs__list { margin: 0.65rem 0 0; padding-left: 1.35rem; color: var(--muted); font-size: 0.96rem; line-height: 1.8; } .disclaimer__list-item, .docs__list-item { padding-left: 0.2rem; } .disclaimer__list-item + .disclaimer__list-item, .docs__list-item + .docs__list-item { margin-top: 0.45rem; } .disclaimer__warning, .disclaimer__critical, .docs__warning, .docs__critical { padding: 1rem; border: 1px solid var(--border); border-radius: 12px; background: var(--accent-soft); color: var(--text); } .disclaimer__warning, .docs__warning { border-left: 3px solid var(--amber); } .disclaimer__critical, .docs__critical { border-left: 3px solid var(--red); } @media (max-width: 640px) { .disclaimer, .docs { width: calc(100% - 1.5rem); padding: 3.5rem 0 4rem; } .disclaimer__content, .docs__content { padding: 1rem; border-radius: 16px; } .disclaimer__text, .disclaimer__list, .docs__text, .docs__list { font-size: 0.93rem; } } .disclaimer__meta { margin: 0 0 1.75rem; color: var(--muted); font-size: 0.9rem; } .disclaimer__date { color: var(--text); font-weight: 600; } @media (max-width: 640px) { .disclaimer__title { font-size: clamp(3rem, 15vw, 4.4rem); } } .docs__description { max-width: 620px; margin: 1.15rem auto 0; color: var(--muted); font-size: clamp(1rem, 2vw, 1.12rem); line-height: 1.7; } .docs__toc { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin: 0 auto 2rem; } .docs__toc-link { padding: 0.55rem 0.85rem; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--muted); font-size: 0.85rem; text-decoration: none; transition: color 160ms ease, border-color 160ms ease, background 160ms ease; } .docs__toc-link:hover, .docs__toc-link:focus-visible { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); } .docs__section { scroll-margin-top: 2rem; } .docs__toc-link:focus-visible { outline: 3px solid var(--accent-soft); outline-offset: 2px; } .hljs-ln td { padding: 0; } .hljs-ln-n { color: var(--muted); padding-right: 0.35rem; text-align: right; user-select: none; } .hljs-ln-code { padding-left: 0.35rem !important; } .docs__code { max-height: calc(2em * 10 + 2rem); overflow-x: auto; margin: 1rem 0; padding: 0.5rem; border: 1px solid var(--border); border-radius: 6px; background: #171923; color: #f4f4fa; font-size: 0.88rem; line-height: 1.65; tab-size: 2; overflow-y: scroll; scroll-behavior: smooth; scrollbar-gutter: stable; scrollbar-width: thin; scrollbar-color: var(--muted) var(--accent-soft); } .docs__code code { padding: 0; white-space: pre; background: transparent; color: inherit; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; } .docs__inline-code { padding: 0.15rem 0.35rem; border-radius: 5px; background: var(--accent-soft); color: var(--accent); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 0.9em; } .docs__code-wrapper { position: relative; } .docs__copy-button { position: absolute; z-index: 1; top: 0.65rem; right: 1.15rem; padding: 0.4rem 0.7rem; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 7px; background: #252936; color: #f4f4fa; font: inherit; font-size: 0.78rem; cursor: pointer; } .docs__copy-button:hover, .docs__copy-button:focus-visible { background: #343949; } .docs__copy-button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; } @media (max-width: 640px) { .docs__title { font-size: clamp(2rem, 12vw, 2.4rem); } }