:root {
  color-scheme: dark;
  --bg: #070a12;
  --surface: #0d1320;
  --line: rgba(255, 255, 255, 0.09);
  --text: #f7f8fc;
  --muted: #98a2b6;
  --violet: #7c83ff;
  --blue: #4dbeff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; text-decoration: none; }
.shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.ambient { position: fixed; width: 520px; height: 520px; border-radius: 50%; filter: blur(130px); opacity: .14; pointer-events: none; }
.ambient-one { background: #6d59ff; top: -240px; right: -100px; }
.ambient-two { background: #176da5; top: 560px; left: -340px; }
.nav { height: 88px; display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 3; }
.brand { display: flex; align-items: center; gap: 11px; font-size: 20px; font-weight: 750; letter-spacing: -.4px; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: linear-gradient(145deg, #8d75ff, #4f7eff); box-shadow: 0 8px 30px rgba(101, 101, 255, .3); }
nav { display: flex; gap: 34px; color: var(--muted); font-size: 14px; }
nav a:hover, footer a:hover { color: white; }
.nav-cta, .primary { border-radius: 999px; background: white; color: #080b12; font-weight: 700; }
.nav-cta { padding: 11px 18px; font-size: 13px; }
.hero { padding: 98px 0 70px; text-align: center; position: relative; }
.eyebrow { color: #b6bed0; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow span { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: #7d82ff; box-shadow: 0 0 16px #7d82ff; }
h1 { margin: 22px 0; font-size: clamp(62px, 9vw, 116px); line-height: .88; letter-spacing: -.075em; font-weight: 650; }
h1 em { font-style: normal; color: transparent; background: linear-gradient(100deg, #a9aaff, #5dbbf1); background-clip: text; }
.hero > p { width: min(650px, 100%); margin: 30px auto; color: var(--muted); font-size: 19px; line-height: 1.65; }
.actions { display: flex; justify-content: center; gap: 12px; margin: 34px 0 86px; }
.actions a { padding: 15px 23px; font-size: 14px; }
.primary span { padding-left: 16px; }
.secondary { border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.035); }
.product-frame { height: 560px; display: grid; grid-template-columns: 66px 360px 1fr; overflow: hidden; text-align: left; border: 1px solid var(--line); border-radius: 30px; background: rgba(11, 16, 27, .92); box-shadow: 0 50px 120px rgba(0,0,0,.45); }
.sidebar { display: flex; flex-direction: column; align-items: center; gap: 25px; padding: 24px 0; border-right: 1px solid var(--line); }
.mini-brand { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: #7479ff; font-weight: 800; margin-bottom: 20px; }
.sidebar span { width: 22px; height: 22px; border-radius: 7px; background: rgba(255,255,255,.07); }
.sidebar .active { background: #7479ff; box-shadow: 0 0 24px rgba(116,121,255,.45); }
.inbox { padding: 32px 24px; border-right: 1px solid var(--line); }
.panel-label { color: #707b91; font-size: 10px; font-weight: 800; letter-spacing: .15em; }
.inbox h2 { margin: 10px 0 25px; font-size: 28px; letter-spacing: -.04em; }
.search, .composer { color: #727c90; background: rgba(255,255,255,.045); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; font-size: 13px; }
.inbox article { display: grid; grid-template-columns: 44px 1fr auto; grid-template-rows: 1fr 1fr; column-gap: 12px; padding: 20px 2px; border-bottom: 1px solid var(--line); }
.inbox i { grid-row: 1 / 3; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 15px; font-style: normal; font-weight: 750; }
.violet { background: #323053; color: #b7aeff; } .blue { background: #17374b; color: #70caff; } .gold { background: #493b21; color: #ffd277; }
.inbox b { font-size: 14px; }.inbox small { color: var(--muted); }.inbox time { grid-column: 3; grid-row: 1 / 3; color: #697387; font-size: 10px; }
.conversation { position: relative; padding: 34px 40px; background: radial-gradient(circle at 75% 20%, rgba(89, 80, 194, .09), transparent 34%); }
.conversation-head small { display: block; margin-top: 5px; color: #7f899b; }
.message { width: fit-content; max-width: 65%; margin-top: 115px; padding: 15px 17px; border-radius: 18px; font-size: 13px; line-height: 1.45; }
.message.received { background: #172031; border-bottom-left-radius: 5px; }
.message.sent { margin: 18px 0 0 auto; background: linear-gradient(135deg, #6f70ef, #596be3); border-bottom-right-radius: 5px; }
.composer { position: absolute; left: 40px; right: 40px; bottom: 32px; }
.composer span { float: right; width: 25px; height: 25px; display: grid; place-items: center; margin-top: -5px; border-radius: 8px; background: #7479ff; color: white; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 42px; padding: 100px 0; }
.principles article { padding-top: 25px; border-top: 1px solid var(--line); }
.principles span { color: #707b91; font-size: 11px; }.principles h3 { font-size: 19px; }.principles p { color: var(--muted); line-height: 1.65; font-size: 14px; }
footer { min-height: 120px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); color: var(--muted); }
footer .brand { color: white; } footer .brand-mark { width: 29px; height: 29px; border-radius: 9px; font-size: 13px; } footer div:nth-child(2) { display: flex; gap: 25px; font-size: 13px; }
@media (max-width: 850px) {
  nav { display: none; }
  .hero { padding-top: 65px; }
  .product-frame { grid-template-columns: 58px 1fr; height: 510px; }
  .conversation { display: none; }
  .principles { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 520px) {
  .shell { width: calc(100% - 26px); max-width: 1160px; }
  .nav { height: 74px; }
  .nav-cta { display: none; }
  .hero { padding-top: 48px; }
  h1 { font-size: clamp(43px, 13vw, 52px); letter-spacing: -.065em; }
  .hero > p { width: 100%; max-width: 100%; font-size: 16px; padding-inline: 4px; overflow-wrap: anywhere; }
  .actions { flex-direction: column; margin-bottom: 58px; }
  .product-frame { grid-template-columns: 1fr; height: 480px; border-radius: 22px; }
  .sidebar { display: none; }
  .inbox { border: 0; }
  footer { padding: 35px 0; align-items: flex-start; gap: 28px; flex-direction: column; }
}
