:root {
  --bg: #f7f8fc;
  --surface: rgba(255, 255, 255, 0.82);
  --panel: #ffffff;
  --text: #0f172a;
  --muted: #606b85;
  --line: rgba(15, 23, 42, 0.08);
  --accent: #0f7bff;
  --accent-2: #0bd7b9;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}
:root[data-theme="dark"] {
  --bg: #0b1222;
  --surface: rgba(17, 24, 39, 0.72);
  --panel: rgba(17, 24, 39, 0.9);
  --text: #e6edff;
  --muted: #9eabc8;
  --line: rgba(230, 237, 255, 0.12);
  --accent: #5ea0ff;
  --accent-2: #4ee4c8;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font:
    16px/1.65 "Sora",
    ui-sans-serif,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Ubuntu,
    Cantarell,
    "Noto Sans",
    sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 620px at 20% -6%, rgba(15, 123, 255, 0.08), transparent 60%),
    radial-gradient(900px 520px at 90% 0%, rgba(11, 215, 185, 0.08), transparent 55%),
    var(--bg);
  letter-spacing: -0.01em;
  scroll-behavior: smooth;
}
a {
  color: inherit;
}
header {
  position: sticky;
  top: 0;
  z-index: 3;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.topbar {
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-weight: 650;
  letter-spacing: 0.01em;
}
body,
header,
.panel,
.card,
.btn,
.theme-toggle,
input[type="email"],
input[type="text"],
select,
.tag,
.kpi,
footer {
  transition:
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}
.brand-row {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 0 6px rgba(15, 123, 255, 0.12);
  display: inline-block;
  margin-right: 10px;
}
.theme-toggle {
  appearance: none;
  border: 0px solid var(--line);
  background: transparent;
  color: var(--text);
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 140ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}
.theme-toggle:hover {
  transform: translateY(-2px);
}
.theme-toggle:active {
  transform: translateY(0);
  box-shadow: none;
}
main {
  scroll-snap-type: y proximity;
}
.panel {
  min-height: 86vh;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 16px;
  padding: 90px 20px;
  border-bottom: 1px solid var(--line);
  scroll-snap-align: start;
}
.wrap {
  max-width: 980px;
  margin: 0 auto;
  width: 100%;
}
h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
h1 {
  font-size: clamp(34px, 6.2vw, 58px);
}
h2 {
  font-size: clamp(26px, 4.3vw, 42px);
}
h3 {
  font-size: 20px;
}
p {
  margin: 0;
}
.muted {
  color: var(--muted);
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.list {
  display: grid;
  gap: 10px;
  margin-top: 8px;
  max-width: 70ch;
}
.list .item {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.list .item:last-child {
  border-bottom: none;
}
.item b {
  display: block;
  font-size: 17px;
  margin-bottom: 4px;
}
.actions {
  display: grid;
  gap: 10px;
  width: 100%;
  max-width: 440px;
  margin-top: 6px;
}
.btn {
  appearance: none;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 16px;
  background: var(--surface);
  color: var(--text);
  font-weight: 650;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: var(--shadow);
  transition: transform 120ms ease, box-shadow 180ms ease, background 180ms ease;
}
.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 14px 32px rgba(15, 123, 255, 0.22);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 40px rgba(15, 23, 42, 0.14);
}
.btn:active {
  transform: translateY(0);
  box-shadow: var(--shadow);
}
.card {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.kpiGrid {
  display: grid;
  gap: 12px;
  margin-top: 6px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.kpi {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  background: var(--surface);
}
.kpi small {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 650;
}
.kpi b {
  display: block;
  margin-top: 6px;
}
.form {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
  margin-top: 10px;
  max-width: 520px;
}
.form .wide {
  grid-column: 1 / -1;
}
label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
}
input[type="email"],
select,
input[type="text"] {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 12px 12px;
  color: var(--text);
  outline: none;
}
select {
  background: var(--panel);
  color: var(--text);
}
select option {
  background: var(--panel);
  color: var(--text);
}
input::placeholder {
  color: #9aa6bf;
}
input:focus,
select:focus {
  border-color: rgba(15, 123, 255, 0.4);
  box-shadow: 0 0 0 4px rgba(15, 123, 255, 0.12);
}
.status {
  font-size: 13px;
  margin-top: 4px;
}
.status.ok {
  color: #8ef1c8;
}
.status.bad {
  color: #fca5a5;
}
footer {
  padding: 26px 18px 32px;
  color: var(--muted);
  text-align: center;
  border-top: 1px solid var(--line);
  background: var(--surface);
}
@media (max-width: 720px) {
  .panel {
    min-height: 82vh;
    padding: 64px 18px;
  }
  .topbar {
    padding: 14px 16px;
  }
}

/* Spacing utilities for extracted inline styles */
.mt-10 {
  margin-top: 10px;
}

.mt-12 {
  margin-top: 12px;
}

.mt-14 {
  margin-top: 14px;
}
