:root {
  --bg: #080d17;
  --bg-2: #0c1421;
  --surface: #111c2a;
  --surface-2: #182536;
  --border: #233346;
  --border-2: #344a60;
  --text: #f0f3f6;
  --text-2: #c4cfda;
  --muted: #91a1b1;
  --accent: #56b5a7;
  --accent-2: #8bd1c4;
  --accent-glow: rgba(86,181,167,.18);
  --cta: #d78a55;
  --cta-2: #e6a373;
  --ok: #70c4a0;
  --warn: #e8bb73;
  --bad: #e37f7f;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 16px 48px rgba(0,0,0,.24);
  --shadow-lg: 0 30px 80px rgba(0,0,0,.32);
}

body {
  background:
    radial-gradient(ellipse at 12% 0%, rgba(86,181,167,.075), transparent 34rem),
    var(--bg);
  line-height: 1.68;
}

::selection { background: rgba(86,181,167,.32); color: #fff; }
a { text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
}
.container { max-width: 1160px; }
.nav { background: rgba(8,13,23,.94); border-bottom-color: rgba(145,161,177,.13); }
.nav-inner { height: 74px; }
.brand { letter-spacing: -.5px; }
.brand img { width: 34px; height: 34px; }
.nav-links { gap: 24px; }
.nav-links a { font-size: .9rem; }
.nav-links a:not(.btn):hover { color: var(--accent-2); }
.nav-logout { margin: 0; }
.nav-link-button {
  border: 0; background: none; padding: 8px 0; color: var(--text-2);
  font: inherit; font-size: .9rem; cursor: pointer;
}
.nav-link-button:hover { color: #fff; }
.btn { border-radius: 9px; font-size: .91rem; }
.btn-primary { background: var(--accent); color: #071511; box-shadow: none; }
.btn-primary:hover { background: var(--accent-2); color: #071511; box-shadow: 0 8px 24px rgba(86,181,167,.18); }
.btn-cta { background: var(--cta); box-shadow: none; }
.btn-cta:hover { background: var(--cta-2); }
.btn-ghost { border-color: #3a4b5c; }
.btn-ghost:hover { background: rgba(86,181,167,.08); border-color: var(--accent); }
.hero { padding: 104px 0 88px; }
.hero::before {
  width: 760px; height: 760px; background: radial-gradient(circle, rgba(86,181,167,.11), transparent 65%);
}
.hero-grid { grid-template-columns: 1.12fr .88fr; gap: 76px; }
.hero-text h1 { max-width: 680px; font-size: clamp(2.7rem, 5vw, 4.45rem); line-height: 1.04; letter-spacing: -2.6px; }
.hero-text h1 .grad { background: linear-gradient(110deg, #f1f5f4 4%, var(--accent-2) 85%); }
.hero-text p { max-width: 570px; color: #b7c3ce; font-size: 1.08rem; line-height: 1.8; }
.hero-actions { margin-bottom: 24px; }
.hero-trust { gap: 12px 22px; }
.hero-visual {
  padding: 28px; border-radius: 16px; background: linear-gradient(150deg, #132130, #101923);
  border-color: rgba(139,209,196,.2); box-shadow: 0 28px 80px rgba(0,0,0,.25);
}
.hero-visual .bar { align-items: center; margin-bottom: 24px; }
.hero-visual .bar::after { content: "SYLARIS  /  SUPPORT"; margin-left: auto; color: #8ea1b0; font-size: .65rem; letter-spacing: .13em; }
.dash-card { background: rgba(255,255,255,.025); border-color: rgba(145,161,177,.12); }
.dash-card .val { font-size: 1.18rem; }
.dash-bar span { background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.status-row { border-top: 1px solid rgba(145,161,177,.12); padding-top: 16px; margin-top: 18px; }
.status-row .dot { background: var(--accent); box-shadow: 0 0 8px rgba(86,181,167,.55); }
.section { padding: 78px 0; }
.section-title { letter-spacing: -1px; }
.section-sub { line-height: 1.75; }
.section-alt { background: rgba(12,20,33,.72); border-top: 1px solid rgba(145,161,177,.07); border-bottom: 1px solid rgba(145,161,177,.07); }
.feat, .price-card, .step, .quote, .card, .stat {
  background: linear-gradient(145deg, rgba(20,33,48,.94), rgba(15,25,37,.96));
  border-color: rgba(145,161,177,.14);
  box-shadow: 0 10px 34px rgba(0,0,0,.08);
}
.feat:hover, .price-card:hover { border-color: rgba(139,209,196,.42); }
.price-card.featured { border-color: rgba(139,209,196,.62); box-shadow: 0 18px 54px rgba(0,0,0,.16); }
.price-card.featured::before { background: #d78a55; color: #111923; }
.price-card .price { letter-spacing: -1.6px; }
.price-card .btn { margin-top: auto; }
.feat .icon { color: var(--accent-2); background: rgba(86,181,167,.1); }
.auth-box { margin-top: 80px; margin-bottom: 88px; padding: 38px; border-color: rgba(145,161,177,.16); }
.field label { color: #c1ccd5; }
.field input, .field textarea, .field select {
  background: #0b1420; border-color: #2a3b4d; border-radius: 8px;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(86,181,167,.13);
}
.table-wrap, .table { background: rgba(17,28,42,.86); }
.table th { background: #172433; }
.table th, .table td { border-color: rgba(145,161,177,.12); }
.chat { background: #0b1420; border-color: rgba(145,161,177,.15); }
.msg .body { border: 1px solid rgba(145,161,177,.12); text-align: left; }
.msg.admin .body { background: rgba(86,181,167,.1); border-color: rgba(86,181,167,.2); }
.sidebar { background: rgba(17,28,42,.86); border-color: rgba(145,161,177,.14); }
.sidebar a.active { background: rgba(86,181,167,.1); color: var(--accent-2); }
.alert-ok { color: #a7e8ce; }
.alert-err { color: #ffc0c0; }
.cta-banner {
  background: linear-gradient(135deg, rgba(86,181,167,.1), rgba(215,138,85,.07));
  border-color: rgba(139,209,196,.2);
}
.cookie-banner {
  position: fixed; inset: auto 0 0; z-index: 200; padding: 14px 0;
  background: rgba(11,20,32,.98); border-top: 1px solid var(--border);
}
.cookie-banner[hidden] { display: none; }
.cookie-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.cookie-inner p { margin: 0; color: var(--text-2); font-size: .88rem; }
.support-hero { padding: 48px 0 30px; }
.support-kicker, .eyebrow {
  color: var(--accent-2); font-size: .72rem; font-weight: 700;
  letter-spacing: .16em; margin-bottom: 12px;
}
.support-hero h1 { max-width: 760px; font-size: clamp(2.3rem, 4.8vw, 3.8rem); line-height: 1.12; letter-spacing: -1.8px; }
.support-hero p { max-width: 660px; color: var(--muted); font-size: 1.05rem; margin-top: 16px; }
.support-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.support-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.support-panel, .settings-card {
  background: linear-gradient(145deg, rgba(20,33,48,.94), rgba(15,25,37,.96));
  border: 1px solid rgba(145,161,177,.15); border-radius: var(--radius-lg); padding: 26px;
}
.support-panel h2, .settings-card h2 { font-size: 1.15rem; margin-bottom: 16px; }
.support-aside { position: sticky; top: 96px; }
.support-aside .card { padding: 22px; }
.support-aside .card + .card { margin-top: 14px; }
.support-aside p, .muted-copy { color: var(--muted); font-size: .9rem; }
.support-link-card { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 20px; border: 1px solid var(--border); border-radius: 12px; background: rgba(255,255,255,.02); }
.support-link-card strong { display: block; font-size: .95rem; }
.support-link-card span { display: block; color: var(--muted); font-size: .82rem; }
.admin-heading { margin-bottom: 26px; }
.admin-heading .section-sub { margin-bottom: 0; }
.admin-layout { display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 24px; align-items: start; }
.admin-aside { position: sticky; top: 96px; }
.admin-content { min-width: 0; }
.admin-content > .card, .admin-content > table { margin-bottom: 18px; }
.settings-card { margin-bottom: 18px; }
.settings-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.settings-heading h2 { margin: 0; }
.settings-heading .eyebrow { margin-bottom: 6px; }
.settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; margin-top: 20px; }
.settings-wide { grid-column: 1 / -1; }
.field small { display: block; color: var(--muted); font-size: .78rem; margin-top: 5px; }
.notice-box { padding: 14px 16px; margin: 14px 0 20px; border-left: 3px solid var(--warn); background: rgba(232,187,115,.07); color: var(--text-2); font-size: .88rem; }
.launch-checklist { padding-left: 20px; color: var(--text-2); font-size: .9rem; }
.launch-checklist li + li { margin-top: 8px; }
.table-wrap { max-width: 100%; overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
.table { min-width: 640px; }
.admin-content > .table { display: block; overflow-x: auto; white-space: nowrap; border: 1px solid var(--border); border-radius: 12px; }
.chat { max-height: 620px; }
.msg { max-width: 86%; }
.invoice { max-width: 760px; margin: 40px auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px; }
.inv-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 30px; }
.inv-brand { font-size: 1.6rem; font-weight: 900; color: #fff; }
.inv-brand span { color: var(--accent-2); }
.inv-meta { text-align: right; color: var(--muted); font-size: .9rem; }
.inv-meta strong { color: var(--text); display: block; font-size: 1.1rem; margin-bottom: 4px; }
.inv-parties { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-bottom: 30px; }
.inv-party h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-bottom: 8px; }
.inv-table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.inv-table th, .inv-table td { padding: 12px 14px; border-bottom: 1px solid var(--border); text-align: left; }
.inv-table th { background: var(--surface-2); color: var(--muted); font-size: .8rem; text-transform: uppercase; }
.inv-footer { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--muted); font-size: .85rem; text-align: center; }

@media (max-width: 900px) {
  .hero-grid { gap: 42px; }
  .support-layout { grid-template-columns: 1fr; }
  .support-aside, .admin-aside { position: static; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-aside .sidebar { display: flex; flex-wrap: wrap; gap: 4px; }
  .admin-aside .sidebar a { margin: 0; }
}
@media (max-width: 620px) {
  .hero { padding: 70px 0 54px; }
  .hero-text h1 { font-size: 2.45rem; letter-spacing: -1.5px; }
  .section { padding: 58px 0; }
  .section-title { font-size: 1.8rem; }
  .settings-grid { grid-template-columns: 1fr; }
  .settings-wide { grid-column: auto; }
  .settings-heading, .cookie-inner { align-items: flex-start; flex-direction: column; }
  .support-panel, .settings-card { padding: 20px; }
  .invoice { margin: 18px; padding: 24px; }
  .inv-head { gap: 18px; flex-direction: column; }
  .inv-meta { text-align: left; }
}
@media print {
  body { background: #fff; color: #111; }
  .nav, footer, .no-print, .cookie-banner { display: none !important; }
  .invoice { border: none; box-shadow: none; background: #fff; color: #111; }
  .inv-brand, .inv-brand span { color: #111; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
