
:root {
  --bg: #06110b;
  --panel: #0b1a11;
  --panel-2: #102319;
  --mint: #b7f7d5;
  --mint-dark: #71d9a3;
  --text: #edf7f0;
  --muted: #8ba497;
  --border: #20382a;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
}

button, input { font: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
}

.app { min-height: 100vh; }

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 240px;
  padding: 27px 18px;
  display: flex;
  flex-direction: column;
  background: #08150d;
  border-right: 1px solid var(--border);
  z-index: 5;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 44px 4px;
  color: var(--text);
  text-decoration: none;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.8px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  background: var(--mint);
  color: #07140c;
  border-radius: 11px;
  font-size: 21px;
}

.brand-dot, .mint { color: var(--mint); }

.nav-label, .eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 800;
  color: var(--muted);
}

.nav-label { margin: 0 0 13px 9px; }

.nav { display: grid; gap: 7px; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 14px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  text-align: left;
  font-size: 15px;
}

.nav-link span { color: inherit; }

.nav-link:hover, .nav-link.active {
  color: var(--mint);
  background: #12271a;
  border-color: #244531;
}

.sidebar-bottom {
  margin-top: auto;
  padding: 14px 8px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 11px;
}

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--mint-dark);
}

.main { margin-left: 240px; min-height: 100vh; }

.topbar {
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 38px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 1.5px;
}

.crumb span { padding: 0 8px; color: #486553; }
.crumb b { color: var(--mint); }
.online { display: flex; align-items: center; gap: 8px; letter-spacing: 0; }

.page {
  display: none;
  max-width: 1150px;
  margin: 0 auto;
  padding: 44px 38px 25px;
}

.page.active { display: block; }

h1 {
  margin: 9px 0 8px;
  font-size: clamp(33px, 5vw, 47px);
  letter-spacing: -2px;
}

h2 { letter-spacing: -0.5px; }
p { line-height: 1.6; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.eyebrow { margin: 0; }

.hero-card {
  min-height: 250px;
  margin-top: 32px;
  padding: 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  overflow: hidden;
  border: 1px solid #2a4935;
  border-radius: 19px;
  background: radial-gradient(ellipse at 85% 20%, #1b4930 0, transparent 45%),
              linear-gradient(130deg, #11291a, #0b1a11 70%);
}

.hero-card > div:first-child { max-width: 500px; }
.hero-card h2 { font-size: clamp(24px, 4vw, 35px); margin: 13px 0; }
.hero-card p:not(.eyebrow) { color: var(--muted); }

.hero-symbol {
  position: relative;
  color: #b7f7d5;
  font-size: 125px;
  font-weight: 900;
  opacity: 0.8;
  padding: 0 25px;
}
.hero-symbol span {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 36px;
}

.primary, .secondary {
  padding: 11px 16px;
  border-radius: 9px;
  font-weight: 750;
  border: 1px solid var(--mint);
}

.primary { background: var(--mint); color: #07140c; }
.primary:hover { background: #d4ffe6; }
.secondary {
  background: var(--panel-2);
  color: var(--mint);
  border-color: var(--border);
}
.secondary:hover { border-color: var(--mint-dark); }

.section-heading { margin: 35px 0 16px; font-size: 19px; }

.tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.tile, .simple-card {
  padding: 22px;
  text-align: left;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 13px;
  color: var(--text);
}

.tile {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.tile:hover { border-color: var(--mint-dark); transform: translateY(-2px); }
.tile .muted { font-size: 12px; }

.tile-icon {
  display: block;
  color: var(--mint);
  font-size: 28px;
  margin-bottom: 5px;
}

.browser-panel {
  margin-top: 25px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: #08150d;
  box-shadow: 0 20px 70px #0002;
}

.tab-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 12px 0;
  overflow-x: auto;
  border-bottom: 1px solid var(--border);
  background: #09170e;
}

.browser-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 220px;
  padding: 12px 13px;
  color: var(--muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px 8px 0 0;
  white-space: nowrap;
}

.browser-tab.active {
  color: var(--mint);
  background: var(--panel);
  border-color: var(--border);
  border-bottom-color: var(--panel);
}

.tab-title {
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 130px;
}

.tab-close {
  color: var(--muted);
  padding: 0 2px;
  border: 0;
  background: transparent;
}

.tab-close:hover { color: white; }

.new-tab {
  flex: 0 0 auto;
  width: 33px;
  height: 33px;
  margin-bottom: 5px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--mint);
  background: transparent;
  font-size: 20px;
}
.new-tab:hover { background: var(--panel-2); }

.address-bar {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 14px;
  padding: 7px 8px 7px 14px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: #050d08;
}

.lock-icon { color: var(--mint); font-size: 20px; }

.address-bar input {
  flex: 1;
  min-width: 0;
  color: var(--text);
  background: transparent;
  border: 0;
  outline: 0;
  padding: 8px 0;
}

.address-bar input::placeholder { color: #617b69; }

.shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  padding: 0 14px 14px;
}

.shortcuts button {
  padding: 9px 13px;
  display: flex;
  gap: 8px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--panel);
  color: var(--mint);
}
.shortcuts button:hover { border-color: var(--mint-dark); }

.browser-view {
  min-height: 360px;
  border-top: 1px solid var(--border);
  background: #07120b;
}

.welcome {
  max-width: 480px;
  margin: 0 auto;
  padding: 65px 25px;
  text-align: center;
}
.welcome h2 { font-size: 27px; margin-bottom: 5px; }
.welcome p { color: var(--muted); }
.welcome-icon {
  display: grid;
  place-items: center;
  width: 65px;
  height: 65px;
  margin: auto;
  color: var(--mint);
  border: 1px solid #315540;
  background: #12291a;
  border-radius: 20px;
  font-size: 34px;
}

.embed-frame {
  display: block;
  width: 100%;
  height: 520px;
  border: 0;
  background: #fff;
}

.fallback {
  max-width: 540px;
  margin: auto;
  padding: 55px 25px;
  text-align: center;
}
.fallback h2 { font-size: 25px; }
.fallback .actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.browser-note { margin-top: 12px; }

.simple-card { margin-top: 18px; }
.simple-card h2 { margin-top: 4px; }
.score { font-size: 42px; font-weight: 800; color: var(--mint); }
.simple-card button { margin-right: 6px; }

footer {
  padding: 30px 38px;
  color: #5f7a68;
  font-size: 9px;
  letter-spacing: 2px;
}
footer span { padding: 0 7px; color: var(--mint); }

@media (max-width: 850px) {
  .sidebar { width: 72px; padding: 22px 10px; }
  .brand { margin: 0 auto 35px; }
  .brand > span:last-child, .nav-label, .nav-link span,
  .sidebar-bottom > span:last-child { display: none; }
  .nav-link { justify-content: center; padding: 13px 8px; font-size: 20px; }
  .sidebar-bottom { justify-content: center; }
  .main { margin-left: 72px; }
  .page { padding: 35px 22px 20px; }
  .topbar { padding: 0 22px; }
  .hero-symbol { font-size: 80px; padding: 0; }
}

@media (max-width: 560px) {
  .tiles { grid-template-columns: 1fr; }
  .hero-card { padding: 24px; }
  .hero-symbol { display: none; }
  .page { padding: 28px 14px 18px; }
  .topbar { padding: 0 14px; }
  .browser-view { min-height: 330px; }
  .embed-frame { height: 420px; }
  .address-bar { gap: 7px; margin: 9px; }
  .address-bar .primary { padding: 10px; }
  footer { padding: 25px 14px; }
}
