:root {
  --ink: #14314b;
  --dim: #526d7d;
  --muted: #526d7d;
  --paper: #f2f7f8;
  --bg: #f2f7f8;
  --line: #d6e4e9;
  --blue: #17658c;
  --green: #00716e;
  --mint: #a9ebe1;
  --navy: #102f50;
  --nav: #102f50;
}

body {
  background:
    radial-gradient(ellipse at 95% 12%, #bceee37a, transparent 48%),
    radial-gradient(ellipse at 4% 65%, #d3e4fa85, transparent 48%),
    linear-gradient(135deg, #fffaf3, #f0f6fc 52%, #e5f5ee);
  background-attachment: fixed;
  min-height: 100vh;
}

.brand { gap: 12px; letter-spacing: -0.7px; }
.brand-logo {
  display: block;
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  object-fit: contain;
  background: #fffaf3;
  border-radius: 17px;
}
.brand-name { white-space: nowrap; }
.site-header {
  min-height: 102px;
  height: auto;
  padding-block: 16px;
  background: linear-gradient(110deg, #fffaf3eb, #eaf8f4eb);
  border-bottom: 1px solid var(--line);
}
.site-header .brand { font-size: 25px; }
.site-header nav a { padding-block: 12px; }
.brand-banner-wrap {
  max-width: 1180px;
  margin: 30px auto 0;
  padding-inline: 28px;
}
.brand-banner {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 1;
  object-fit: contain;
  border: 1px solid #cddfe5;
  border-radius: 24px;
  box-shadow: 0 16px 45px #173e5810;
  background: #fffaf3;
}
.hero { padding-top: 44px; padding-bottom: 42px; }
.hero h1 em { color: #00716e; }
.hero-art {
  border-radius: 24px;
  background: radial-gradient(ellipse at 80% 15%, #b3eadd, transparent 65%),
    linear-gradient(140deg, #e1ebfc, #ecf7f0);
}
.plan-sheet { background: linear-gradient(135deg, #fffefa, #eff9f7); border-color: #c6dddd; }
.art-badge { background: linear-gradient(125deg, #fffaf1, #e2f6ed); }
.price-card, .auth-card, .panel, .role-card, .metric {
  background: linear-gradient(135deg, #ffffffed, #f0f8f8ed);
  border-color: var(--line);
  box-shadow: 0 12px 34px #133a5310;
}
.price-card .small { color: var(--dim); }
.price-card.team {
  background: radial-gradient(ellipse at 95% 0%, #167d7a88, transparent 70%),
    linear-gradient(135deg, #102e50, #164654 66%, #116b65);
  border-color: #276276;
  color: #fff;
}
.team .small, .team .period-note, .team .features { color: #d5e9e8; }
.btn:not(.ghost):not(.danger), .primary {
  background: linear-gradient(115deg, #11657c, #00746f);
  border-color: #096c76;
  color: white;
  box-shadow: 0 5px 14px #115b701c;
}
.btn:not(.ghost):not(.danger):hover, .primary:hover { filter: brightness(1.08); }
.team .btn {
  background: linear-gradient(110deg, #dbf9eb, #a2e7df) !important;
  color: #12394d !important;
}
.btn.ghost, .secondary, .switch {
  background: linear-gradient(120deg, #ffffffed, #ecf6f6ed);
}
.switch button.selected {
  background: linear-gradient(115deg, #d9eee9, #d4e6fa);
  color: #123e56;
}
.info, .summary, .inline-info {
  color: #255568;
  background: linear-gradient(120deg, #e1f4ed, #e6effb);
  border-color: #c9e0e3;
}
.key, .secret { background: linear-gradient(120deg, #e7f8ef, #e8f0ff); color: #12566e; }
.info.amber { background: linear-gradient(120deg, #fff0d7, #fff8e8); color: #7a5423; }
.accent-card { background: linear-gradient(135deg, #d8ebe9, #e6edfc, #f5fbf8); border-color: #c7dce6; }
.sidebar, .login-brand {
  background: radial-gradient(ellipse at 0% 0%, #1d67717a, transparent 60%),
    linear-gradient(160deg, #102e50, #14283f 65%, #134a51);
}
.sidebar .brand-logo, .login-brand .brand-logo { width: 60px; height: 60px; }
.sidebar .brand small, .login-brand .brand small { color: #b0d0dd; }
.nav-button.active { background: linear-gradient(110deg, #256b90, #197c7a); }
.topbar { background: linear-gradient(110deg, #fffaf3e6, #e5f5f2eb); }
.login-main { background: linear-gradient(135deg, #fffaf3, #e6f2f8 65%, #dcf3ea); }
.login-brand .login-art { height: auto; margin-top: 32px; }
.login-brand .brand-banner { border-color: #ffffff30; border-radius: 18px; }
.login-brand > small { color: #b2c8d6; }
dialog { background: linear-gradient(145deg, #fffdfa, #eef7fb); }
footer { background: linear-gradient(100deg, #fffaf3c9, #e0f3efc9); }
footer .brand-logo { width: 48px; height: 48px; border-radius: 12px; }

@media (max-width: 800px) {
  .site-header { padding-inline: 20px; gap: 14px; }
  .site-header .brand { font-size: 21px; gap: 8px; }
  .site-header .brand-logo { width: 52px; height: 52px; }
  .site-header nav { gap: 14px; }
  .brand-banner-wrap { margin-top: 20px; padding-inline: 20px; }
  .brand-banner { border-radius: 18px; }
  .hero { padding-top: 32px; }
}
@media (max-width: 760px) {
  .sidebar .brand-logo { width: 48px; height: 48px; border-radius: 13px; }
  .login-brand .brand-banner { margin-top: 0; }
}
@media (max-width: 420px) {
  .site-header { padding-inline: 14px; gap: 10px; }
  .site-header .brand { font-size: 19px; }
  .site-header .brand-logo { width: 44px; height: 44px; border-radius: 12px; }
  .site-header nav { gap: 10px; font-size: 11px; }
  .brand-banner-wrap { padding-inline: 14px; }
  footer .brand { flex-wrap: wrap; }
}
