:root {
  color-scheme: light;
  --canvas: #f8fafc;
  --panel: #ffffff;
  --sidebar: #eef2f6;
  --ink: #182434;
  --muted: #4f6073;
  --accent: #2b5b90;
  --brand-suffix-start: #315d89;
  --brand-suffix-end: #527eaa;
  --button: #2b5b90;
  --button-text: #fff;
  --action: #1d3046;
  --action-text: #fff;
  --border: #dbe3ec;
  --accent-border: #92b8df;
  --tint: #e7f1fb;
  --hero-glow: #d8e9fa;
  --meter: #5287bd;
  --shadow: #213c5c19;
  --positive-bg: #e9f5ee;
  --positive: #296846;
  --warning-bg: #fff5e5;
  --warning-border: #eddbb9;
  --warning: #76561d;
  --danger: #a42e48;
  --code-bg: #202a37;
  --code-ink: #d6e7fa;
}
:root[data-theme='dark'] {
  color-scheme: dark;
  --canvas: #181d24;
  --panel: #202832;
  --sidebar: #12171e;
  --ink: #f1f5fa;
  --muted: #aebdd0;
  --accent: #a8cef5;
  --brand-suffix-start: #a8cef5;
  --brand-suffix-end: #c5ddf4;
  --button: #a8cef5;
  --button-text: #152b44;
  --action: #dceafb;
  --action-text: #152b44;
  --border: #3b4a5b;
  --accent-border: #6b9bce;
  --tint: #26374b;
  --hero-glow: #304b69;
  --meter: #8ab8e7;
  --shadow: #00000026;
  --positive-bg: #203b30;
  --positive: #a0dfb9;
  --warning-bg: #3b3021;
  --warning-border: #6f5835;
  --warning: #f4d39a;
  --danger: #ffafbf;
}
@font-face {
  font-family: Ino;
  src: local('Inter'), local('SF Pro Display'), local('Arial');
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family:
    Ino,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  font-size: 15px;
  line-height: 1.6;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea {
  outline-offset: 5px;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.52;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 25px;
  letter-spacing: -1px;
  font-weight: 750;
}
.brand-mark {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 8px;
}
.brand em {
  font-style: normal;
  color: var(--accent);
}
@supports (background-clip: text) {
  .brand em {
    background: linear-gradient(90deg, var(--brand-suffix-start), var(--brand-suffix-end));
    background-clip: text;
    color: transparent;
  }
}
.nav {
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: auto;
  padding: 0 40px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
  color: var(--muted);
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 11px;
  border: 1px solid var(--border);
  padding: 11px 19px;
  background: var(--panel);
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
  transition: 0.18s;
}
.button:hover {
  border-color: var(--accent-border);
  transform: translateY(-1px);
}
.button.primary {
  background: var(--button);
  border-color: var(--button);
  color: var(--button-text);
  box-shadow: 0 5px 14px var(--shadow);
}
.button.dark {
  background: var(--action);
  border-color: var(--action);
  color: var(--action-text);
}
.button.small {
  padding: 7px 13px;
  font-size: 12px;
}
.button.danger {
  color: var(--danger);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
}
.hero {
  max-width: 1280px;
  margin: auto;
  padding: 85px 40px 75px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: clamp(24px, 6vw, 80px);
}
.hero h1 {
  font-weight: 650;
  font-size: clamp(45px, 5.2vw, 72px);
  line-height: 1.06;
  letter-spacing: -4px;
  margin: 25px 0;
}
.hero h1 span {
  color: var(--accent);
}
.hero p {
  color: var(--muted);
  font-size: 17px;
  max-width: 440px;
  line-height: 1.85;
}
.hero .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.hero-art {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 28px;
  aspect-ratio: 1.12;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: radial-gradient(ellipse at 50% 35%, var(--hero-glow), var(--sidebar) 76%);
}
.hero-art img {
  width: 100%;
  height: 95%;
  object-fit: contain;
  object-position: center bottom;
}
.float-tag b {
  display: block;
  font-size: 13px;
}
.mini-note {
  font-size: 11px;
  color: var(--muted);
  margin-top: 16px;
}
.section {
  max-width: 1200px;
  margin: auto;
  padding: 65px 40px;
}
.section-title {
  font-size: 34px;
  line-height: 1.2;
  letter-spacing: -1.3px;
  font-weight: 550;
  margin: 14px 0 18px;
}
.section-intro {
  max-width: 540px;
  color: var(--muted);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 34px;
}
.feature {
  padding: 26px 23px;
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: 17px;
}
.feature .icon {
  color: var(--accent);
  font-size: 25px;
}
.feature h3 {
  font-weight: 600;
  font-size: 15px;
  margin: 16px 0 8px;
}
.feature p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 35px;
}
.plan {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 19px;
  padding: 30px;
  display: flex;
  flex-direction: column;
}
.plan.featured {
  border: 1.5px solid var(--accent-border);
  box-shadow: 0 16px 40px var(--shadow);
}
.plan .pill {
  position: absolute;
  right: 18px;
  top: 20px;
  font-size: 10px;
  background: var(--tint);
  color: var(--accent);
  border-radius: 7px;
  padding: 4px 8px;
}
.plan h3 {
  margin: 0;
  font-weight: 650;
}
.price {
  font-size: 40px;
  letter-spacing: -2px;
  margin: 12px 0;
}
.price small {
  font-size: 13px;
  letter-spacing: 0;
  color: var(--muted);
  font-weight: 400;
}
.plan ul {
  padding: 0;
  list-style: none;
  font-size: 13px;
  line-height: 2.3;
  color: var(--muted);
  margin: 10px 0 24px;
}
.plan li:before {
  content: '✓';
  color: var(--accent);
  margin-right: 9px;
}
.plan-usage {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  font-size: 13px;
}
.plan-usage ul {
  line-height: 1.65;
}
.plan-usage li:before {
  content: none;
}
.plan .button {
  margin-top: auto;
}
.muted {
  color: var(--muted);
  font-size: 13px;
}
.footer {
  border-top: 1px solid var(--border);
  padding: 34px 40px;
  max-width: 1280px;
  margin: 40px auto 0;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
  gap: 20px;
}
.footer a {
  margin-left: 18px;
}
.shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 245px 1fr;
}
.sidebar {
  background: var(--sidebar);
  border-right: 1px solid var(--border);
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}
.sidebar .brand {
  margin: 0 10px 35px;
}
.side-title {
  font-size: 10px;
  letter-spacing: 1.8px;
  color: var(--muted);
  margin: 30px 14px 10px;
}
.side-nav button,
.side-nav a {
  background: transparent;
  border: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  text-align: left;
  width: 100%;
  border-radius: 10px;
  color: var(--muted);
  font-size: 13px;
  margin: 3px 0;
}
.side-nav button.active {
  background: var(--tint);
  color: var(--accent);
  font-weight: 600;
}
.side-nav button:hover,
.side-nav a:hover {
  background: var(--tint);
}
.sidebar .bottom {
  margin-top: auto;
  padding: 18px 12px 0;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--muted);
}
.sidebar .bottom b {
  display: block;
  color: var(--ink);
  font-size: 13px;
}
.main {
  padding: 45px 6vw;
  max-width: 1400px;
  width: 100%;
  margin: auto;
}
.topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 38px;
}
.topline .eyebrow {
  margin: 0;
}
.topline .badge {
  font-size: 11px;
  color: var(--accent);
  border: 1px solid var(--border);
  padding: 5px 10px;
  border-radius: 20px;
}
.main h1 {
  font-size: 36px;
  letter-spacing: -1.5px;
  line-height: 1.25;
  font-weight: 550;
  margin: 0 0 12px;
}
.main .intro {
  margin: 0 0 35px;
  color: var(--muted);
  font-size: 14px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}
.card {
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: 16px;
  padding: 25px;
}
.stat label {
  font-size: 12px;
  color: var(--muted);
}
.stat strong {
  display: block;
  font-size: 29px;
  letter-spacing: -1px;
  font-weight: 550;
  margin-top: 8px;
}
.stat small {
  font-size: 11px;
  color: var(--muted);
}
.grid2 {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 22px;
}
.card h2 {
  font-size: 16px;
  letter-spacing: -0.3px;
  font-weight: 600;
  margin: 0 0 18px;
}
.card p {
  font-size: 13px;
  color: var(--muted);
}
.empty {
  padding: 30px 20px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
  border: 1px dashed var(--border);
  border-radius: 12px;
}
.notice {
  background: var(--tint);
  border: 1px solid var(--border);
  color: var(--accent);
  padding: 15px 20px;
  border-radius: 11px;
  font-size: 12px;
  margin: 20px 0;
}
.notice.warning {
  background: var(--warning-bg);
  border-color: var(--warning-border);
  color: var(--warning);
}
.meter {
  height: 7px;
  border-radius: 5px;
  background: var(--tint);
  overflow: hidden;
  margin: 18px 0 9px;
}
.meter span {
  display: block;
  background: var(--meter);
  height: 100%;
  border-radius: 5px;
}
.form label {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin: 15px 0 6px;
}
.form input,
.form textarea,
.form select {
  border: 1px solid var(--border);
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--panel);
  color: var(--ink);
  font-size: 13px;
}
.form textarea {
  resize: vertical;
  min-height: 140px;
}
.form .button {
  margin-top: 18px;
}
.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.row:last-child {
  border: 0;
}
.row small {
  display: block;
  color: var(--muted);
  font-size: 11px;
}
.status {
  border-radius: 6px;
  background: var(--tint);
  color: var(--accent);
  font-size: 10px;
  padding: 4px 8px;
  white-space: nowrap;
}
.status.ok {
  background: var(--positive-bg);
  color: var(--positive);
}
.status.wait {
  background: var(--warning-bg);
  color: var(--warning);
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 12px;
}
th {
  font-weight: 500;
  color: var(--muted);
  font-size: 11px;
}
td,
th {
  padding: 13px 10px;
  border-bottom: 1px solid var(--border);
}
td {
  color: var(--muted);
}
.legal {
  max-width: 780px;
}
.legal h2 {
  font-size: 20px;
  margin-top: 32px;
}
.legal p,
.legal li {
  color: var(--muted);
  font-size: 14px;
}
.loading {
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  color: var(--muted);
  font-size: 14px;
}
.error-panel {
  max-width: 540px;
  margin: 12vh auto;
  text-align: center;
  padding: 30px;
}
.error-panel h1 {
  font-size: 30px;
}
.error-panel p {
  color: var(--muted);
}
.mobile-nav {
  display: none;
}
#toast {
  display: none;
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 300;
  background: var(--action);
  color: var(--button-text);
  padding: 14px 22px;
  border-radius: 12px;
  box-shadow: 0 10px 30px var(--shadow);
  font-size: 13px;
  max-width: 90vw;
  overflow-wrap: anywhere;
}
.crypto-box {
  padding: 15px;
  background: var(--tint);
  border-radius: 12px;
  word-break: break-all;
  font-size: 12px;
}
.crypto-box code {
  display: block;
  margin: 8px 0;
  font-size: 11px;
}
.flex {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hide {
  display: none !important;
}
.inline-link {
  color: var(--accent);
  text-decoration: underline;
}
.hero-micro {
  display: flex;
  gap: 20px;
  color: var(--muted);
  font-size: 11px;
  margin-top: 25px;
}
.ready-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 22px;
}
@media (min-width: 1600px) {
  .main {
    padding-left: 80px;
    padding-right: 80px;
  }
}
@media (max-width: 950px) {
  .hero {
    padding-top: 40px;
    grid-template-columns: 1fr 1fr;
  }
  .hero h1 {
    font-size: 48px;
    letter-spacing: -2.5px;
  }
  .hero-art {
    min-height: 300px;
  }
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .shell {
    grid-template-columns: 200px 1fr;
  }
  .sidebar {
    padding: 25px 14px;
  }
  .main {
    padding: 35px 30px;
  }
  .grid2 {
    grid-template-columns: 1fr;
  }
  .plans {
    gap: 12px;
  }
  .plan {
    padding: 22px;
  }
  .stats {
    gap: 10px;
  }
  .card {
    padding: 20px;
  }
}
@media (max-width: 680px) {
  .nav {
    padding: 0 22px;
    height: 74px;
  }
  .nav-links > a:not(.button) {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 35px 24px 30px;
  }
  .hero h1 {
    font-size: 54px;
  }
  .hero-art {
    min-height: 310px;
    order: 2;
  }
  .hero-art img {
    max-width: 340px;
  }
  .float-tag {
    bottom: 35px;
    left: 12px;
  }
  .hero p {
    font-size: 15px;
  }
  .section {
    padding: 38px 24px;
  }
  .section-title {
    font-size: 29px;
  }
  .plans {
    grid-template-columns: 1fr;
  }
  .feature-grid {
    gap: 12px;
  }
  .feature {
    padding: 20px 17px;
  }
  .footer {
    padding: 25px;
    display: block;
  }
  .footer div + div {
    margin-top: 15px;
  }
  .footer a {
    margin: 0 15px 0 0;
  }
  .shell {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: static;
    height: auto;
    padding: 20px;
    border: 0;
    border-bottom: 1px solid var(--border);
  }
  .sidebar .brand {
    margin: 0;
  }
  .sidebar > .button,
  .sidebar .side-title,
  .sidebar .bottom {
    display: none;
  }
  .side-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    margin-top: 18px;
  }
  .side-nav button,
  .side-nav a {
    width: auto;
    padding: 8px 12px;
    margin: 0;
    font-size: 12px;
  }
  .side-nav a {
    display: none;
  }
  .main {
    padding: 25px 20px;
  }
  .main h1 {
    font-size: 30px;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .stats .stat:last-child {
    grid-column: 1/-1;
  }
  .topline {
    margin-bottom: 25px;
  }
  .ready-grid {
    grid-template-columns: 1fr;
  }
  .card {
    padding: 21px;
  }
  .grid2 {
    gap: 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* Readable secondary text on the light canvas. */

.theme-toggle {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 12px;
  border: 1px solid var(--border);
  color: var(--ink);
  background: var(--panel);
  flex: none;
}
.theme-toggle svg { width: 19px; height: 19px; }
.theme-toggle .sun,
[data-theme='dark'] .theme-toggle .moon { display: none; }
[data-theme='dark'] .theme-toggle .sun { display: block; }
.topline-actions { display: flex; align-items: center; gap: 10px; }
.usage-example {
  margin-bottom: 20px;
  border-radius: 12px;
  background: var(--tint);
  padding: 12px 14px;
  color: var(--ink);
  font-size: 12px;
}
.usage-example strong { display: block; margin-bottom: 4px; }
.feature-grid a.feature:hover { border-color: var(--accent-border); }
.feature-grid a.feature:focus-visible, .theme-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.brand em { font-weight: 750; }
@media (max-width: 650px) {
  .hero-art { min-height: 0; }
  .nav-links { gap: 8px; }
  .topline-actions { flex-wrap: wrap; justify-content: end; }
}
