:root {
  --bg: #0f172a;
  --panel: #162033;
  --panel-soft: #1b2740;
  --text: #e5edf7;
  --muted: #9fb0c7;
  --line: rgba(148, 163, 184, 0.18);
  --accent: #38bdf8;
  --accent-soft: rgba(56, 189, 248, 0.16);
  --up: #f97316;
  --calm: #22c55e;
  --low: #6366f1;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 18% 18%, rgba(99, 102, 241, 0.12), transparent 22%),
    radial-gradient(circle at 82% 12%, rgba(249, 115, 22, 0.1), transparent 20%),
    radial-gradient(circle at 72% 34%, rgba(34, 197, 94, 0.08), transparent 18%),
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.1), transparent 32%),
    linear-gradient(180deg, #111a2e 0%, var(--bg) 100%);
  color: var(--text);
}

a {
  color: var(--accent);
}

.shell {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 48px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-logo-frame {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  border: 1px solid rgba(56, 189, 248, 0.28);
  background: #152238;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.brand-logo {
  width: 36px;
  height: 36px;
  display: block;
  border-radius: 10px;
}

.nav-menu {
  position: relative;
}

.menu-button {
  width: 48px;
  height: 48px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  border: 1px solid rgba(56, 189, 248, 0.24);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(21, 34, 56, 0.96), rgba(17, 26, 46, 0.96));
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
  cursor: pointer;
}

.menu-button span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition:
    transform 0.18s ease,
    opacity 0.18s ease,
    background 0.18s ease;
}

.menu-button:hover span,
.menu-button[aria-expanded="true"] span {
  background: var(--accent);
}

.menu-button[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-button[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-button[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.menu-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 190px;
  padding: 10px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: linear-gradient(180deg, rgba(21, 34, 56, 0.98), rgba(17, 26, 46, 0.98));
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
  z-index: 20;
}

.menu-dropdown[hidden] {
  display: none;
}

.menu-dropdown a {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--text);
  text-decoration: none;
}

.menu-dropdown a:hover {
  background: rgba(56, 189, 248, 0.1);
  color: var(--accent);
}

.hero,
.panel {
  background: linear-gradient(180deg, rgba(22, 32, 51, 0.96), rgba(15, 23, 42, 0.96));
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.hero {
  padding: 32px;
  margin-bottom: 24px;
  overflow: hidden;
  position: relative;
}

.panel {
  padding: 28px;
  margin-bottom: 20px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

h1,
h2,
h3 {
  margin: 0 0 12px;
  line-height: 1.1;
}

h1 {
  font-size: clamp(44px, 7vw, 76px);
  max-width: 12ch;
  line-height: 0.94;
}

.stacked-headline span {
  display: block;
}

.headline-quick {
  color: #f3f7ff;
}

.headline-private {
  color: #7dd3fc;
}

.headline-patterns {
  color: #c7d2fe;
}

h2 {
  font-size: clamp(24px, 3vw, 32px);
}

h3 {
  font-size: 18px;
}

p,
li {
  color: var(--muted);
  line-height: 1.65;
  font-size: 16px;
}

.lead {
  max-width: 56ch;
  font-size: 18px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: 28px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-visual {
  position: relative;
  min-height: 420px;
}

.hero-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(8px);
  opacity: 0.85;
}

.hero-orb-low {
  top: 40px;
  right: 48px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.4), rgba(99, 102, 241, 0.02) 72%);
}

.hero-orb-up {
  top: 148px;
  left: 24px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.3), rgba(249, 115, 22, 0.02) 72%);
}

.hero-orb-calm {
  bottom: 38px;
  right: 20px;
  width: 116px;
  height: 116px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.28), rgba(34, 197, 94, 0.02) 72%);
}

.device-frame {
  position: absolute;
  right: 42px;
  top: 10px;
  width: 300px;
  padding: 18px 14px 16px;
  border-radius: 36px;
  background: linear-gradient(180deg, #0d1422, #111c2f);
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow:
    0 28px 64px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.device-notch {
  width: 108px;
  height: 22px;
  margin: 0 auto 16px;
  border-radius: 999px;
  background: rgba(7, 11, 19, 0.92);
}

.device-screen {
  display: grid;
  gap: 12px;
}

.mock-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.mock-kicker,
.mock-card-label {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.mock-title {
  display: block;
  font-size: 24px;
  color: var(--text);
}

.mock-avatar {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 28%, rgba(125, 211, 252, 0.92), rgba(56, 189, 248, 0.76) 45%, rgba(14, 116, 144, 0.92) 100%);
  border: 1px solid rgba(56, 189, 248, 0.3);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 0 0 4px rgba(56, 189, 248, 0.08);
  overflow: hidden;
}

.mock-avatar::before {
  content: "";
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  transform: translateY(-2px);
}

.mock-avatar::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 10px;
  border-radius: 999px 999px 10px 10px;
  background: rgba(255, 255, 255, 0.72);
  transform: translateY(10px);
}

.mock-card {
  padding: 14px;
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(27, 39, 64, 0.88);
}

.mock-card strong {
  display: block;
  margin-bottom: 4px;
  font-size: 18px;
  color: var(--text);
}

.mock-card p {
  margin: 0;
  font-size: 14px;
}

.mock-entry-up {
  background: linear-gradient(180deg, rgba(249, 115, 22, 0.22), rgba(27, 39, 64, 0.86));
}

.mock-entry-calm {
  background: linear-gradient(180deg, rgba(34, 197, 94, 0.2), rgba(27, 39, 64, 0.86));
}

.mock-snapshot {
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.16), rgba(27, 39, 64, 0.88));
}

.floating-summary {
  position: absolute;
  left: 0;
  bottom: 16px;
  width: 220px;
  padding: 16px 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(21, 34, 56, 0.96), rgba(17, 26, 46, 0.96));
  border: 1px solid rgba(56, 189, 248, 0.18);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.28);
}

.floating-summary strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
}

.floating-summary p {
  margin: 0;
  font-size: 14px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.feature-section {
  margin-bottom: 24px;
}

.section-intro {
  margin-bottom: 18px;
}

.section-intro h2 {
  margin-bottom: 10px;
}

.section-intro p {
  max-width: 72ch;
  margin: 0;
}

.card {
  padding: 22px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(27, 39, 64, 0.98), rgba(23, 34, 55, 0.96));
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  border-radius: 22px 0 0 22px;
  background: var(--accent);
}

.card::after {
  content: "";
  position: absolute;
  top: -34px;
  right: -28px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  opacity: 0.18;
  filter: blur(2px);
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.card-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(229, 237, 247, 0.74);
}

.card-orb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(56, 189, 248, 0.1);
}

.card h3 {
  margin-bottom: 12px;
}

.card p {
  margin: 0;
}

.card-up::before {
  background: var(--up);
}

.card-up::after {
  background: radial-gradient(circle, rgba(249, 115, 22, 0.9), rgba(249, 115, 22, 0.04) 72%);
}

.card-up .card-orb {
  background: var(--up);
  box-shadow: 0 0 0 5px rgba(249, 115, 22, 0.12);
}

.card-calm::before {
  background: var(--calm);
}

.card-calm::after {
  background: radial-gradient(circle, rgba(34, 197, 94, 0.9), rgba(34, 197, 94, 0.04) 72%);
}

.card-calm .card-orb {
  background: var(--calm);
  box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.12);
}

.card-accent::after {
  background: radial-gradient(circle, rgba(56, 189, 248, 0.9), rgba(56, 189, 248, 0.04) 72%);
}

.card-low::before {
  background: var(--low);
}

.card-low::after {
  background: radial-gradient(circle, rgba(99, 102, 241, 0.9), rgba(99, 102, 241, 0.04) 72%);
}

.card-low .card-orb {
  background: var(--low);
  box-shadow: 0 0 0 5px rgba(99, 102, 241, 0.12);
}

.card strong {
  color: var(--text);
}

.footer {
  margin-top: auto;
  padding-top: 24px;
  color: var(--muted);
  font-size: 14px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.footer p {
  margin: 0;
}

.footer p + p {
  margin-top: 8px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(159, 176, 199, 0.88);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text);
}

.page-note {
  margin: 28px 0 18px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.list {
  padding-left: 18px;
}

.list li + li {
  margin-top: 8px;
}

.compact p {
  margin: 0 0 12px;
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 24px, 960px);
    padding-top: 20px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .hero,
  .panel {
    padding: 22px;
    border-radius: 22px;
  }

  .hero {
    max-height: 750px;
  }

  h1 {
    font-size: clamp(40px, 13vw, 56px);
    max-width: none;
  }

  .lead,
  .section-intro p {
    max-width: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    display: grid;
    gap: 20px;
  }

  .hero-visual {
    min-height: 0;
    padding-bottom: 18px;
  }

  .device-frame {
    position: relative;
    right: auto;
    top: auto;
    width: min(100%, 272px);
    margin: 0 auto;
    padding: 16px 12px 14px;
    overflow: hidden;
  }

  .floating-summary {
    position: absolute;
    left: 8px;
    top: 56%;
    bottom: auto;
    width: min(100%, 228px);
    margin: 0;
    transform: translateY(-50%);
    z-index: 2;
  }

  .hero-orb-low {
    top: 18px;
    right: 18px;
    width: 104px;
    height: 104px;
  }

  .hero-orb-up {
    top: 120px;
    left: 8px;
    width: 84px;
    height: 84px;
  }

  .hero-orb-calm {
    bottom: 26px;
    right: 10px;
    width: 84px;
    height: 84px;
  }

}
