:root {
  color-scheme: dark;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: #edf4ff;
  background: #08111f;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --muted: #9babbe;
  --mint: #7ce6c2;
  --line: rgba(160, 185, 218, .14);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(ellipse at 75% 16%, rgba(35, 101, 113, .2), transparent 34rem),
    radial-gradient(ellipse at 16% 40%, rgba(64, 82, 155, .12), transparent 32rem),
    #08111f;
}

a { color: inherit; text-decoration: none; }

.site-header, .site-footer {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header { height: 82px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; gap: 11px; align-items: center; font-size: 17px; font-weight: 750; letter-spacing: .02em; }
.brand-mark, .mini-mark {
  display: grid;
  place-items: center;
  color: #09201e;
  background: linear-gradient(145deg, #a5f4d8, #54c9b2);
  font-weight: 850;
}
.brand-mark { width: 35px; height: 35px; border-radius: 11px; }
.brand-accent { color: var(--mint); }
.header-link, .site-footer > a:last-child { color: #c0cbda; font-size: 13px; }
.header-link span, .site-footer > a:last-child span { color: var(--mint); }

.hero, .section-wrap {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.hero {
  min-height: 580px;
  padding: 82px 0 75px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 30px;
}

.eyebrow { color: var(--mint); font-size: 10px; font-weight: 750; letter-spacing: .19em; }
.hero .eyebrow { display: flex; align-items: center; gap: 10px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 15px rgba(124, 230, 194, .75); }
h1 { margin: 22px 0 20px; font-size: clamp(42px, 5vw, 65px); line-height: 1.05; letter-spacing: -.055em; }
h1 span { color: #9daec2; }
.hero-description { max-width: 510px; color: #aab9ca; font-size: 17px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button {
  min-height: 47px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: linear-gradient(135deg, #9cf0d1, #64d4bc); color: #07201d; box-shadow: 0 9px 30px rgba(79, 205, 176, .13); }
.button-secondary { border-color: var(--line); color: #dce7f3; background: rgba(255,255,255,.025); }
.button-secondary:hover { border-color: rgba(124, 230, 194, .4); }
.system-note { margin-top: 21px; color: #718198; font-size: 11px; }

.hero-visual { position: relative; min-height: 330px; display: grid; place-items: center; }
.visual-glow { position: absolute; width: 330px; height: 260px; border-radius: 50%; background: rgba(83, 214, 186, .11); filter: blur(72px); }
.app-card {
  position: relative;
  width: min(100%, 390px);
  min-height: 257px;
  padding: 18px;
  border: 1px solid rgba(164, 196, 224, .2);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(24, 39, 58, .96), rgba(11, 22, 38, .94));
  box-shadow: 0 30px 90px rgba(0,0,0,.4), inset 0 1px rgba(255,255,255,.04);
  transform: rotate(2deg);
}
.app-card-top { display: flex; gap: 9px; align-items: center; color: #dce8f4; font-size: 11px; font-weight: 700; }
.mini-mark { width: 24px; height: 24px; border-radius: 7px; font-size: 12px; }
.local-pill { margin-left: auto; padding: 5px 8px; border-radius: 99px; background: rgba(124,230,194,.08); color: var(--mint); font-size: 8px; letter-spacing: .12em; }
.local-pill i { display: inline-block; width: 5px; height: 5px; margin-right: 5px; border-radius: 50%; background: var(--mint); }
.assistant-message, .user-message { width: fit-content; max-width: 88%; padding: 12px 13px; border-radius: 11px; font-size: 11px; line-height: 1.6; }
.assistant-message { margin-top: 28px; color: #c9d6e5; background: rgba(255,255,255,.045); }
.user-message { margin: 12px 0 0 auto; color: #d3fff0; background: rgba(75, 181, 154, .13); }
.response-line { padding: 17px 4px; display: grid; gap: 7px; }
.response-line span { height: 4px; border-radius: 9px; background: rgba(195, 211, 228, .19); }
.response-line span:nth-child(1) { width: 72%; }
.response-line span:nth-child(2) { width: 91%; }
.response-line span:nth-child(3) { width: 48%; }
.app-card-bottom { padding-top: 11px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; color: #718198; font-size: 9px; }
.send-icon { width: 23px; height: 23px; display: grid; place-items: center; border-radius: 7px; background: var(--mint); color: #06201b; font-size: 14px; }
.orbit { position: absolute; z-index: -1; width: 440px; height: 210px; border: 1px solid rgba(124,230,194,.12); border-radius: 50%; transform: rotate(-24deg); }
.orbit-two { width: 500px; height: 270px; transform: rotate(30deg); border-color: rgba(144,164,255,.09); }

.features { padding: 36px 0 94px; }
.section-heading { margin-bottom: 25px; }
.section-heading h2, .download h2 { margin: 11px 0; font-size: clamp(27px, 3vw, 36px); letter-spacing: -.035em; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.feature-card { min-height: 192px; padding: 23px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.025); }
.feature-icon { color: var(--mint); font-size: 20px; }
.feature-card h3 { margin: 17px 0 9px; font-size: 15px; }
.feature-card p, .download p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.8; }

.download {
  margin-bottom: 70px;
  padding: 30px 34px;
  border: 1px solid rgba(124,230,194,.2);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(110deg, rgba(38, 95, 92, .18), rgba(255,255,255,.025));
}
.download h2 { font-size: 25px; }
.download p { max-width: 560px; }
.download .button { flex-shrink: 0; }
.site-footer { min-height: 82px; border-top: 1px solid var(--line); gap: 20px; }
.footer-brand { font-size: 13px; }
.footer-brand .brand-mark { width: 29px; height: 29px; border-radius: 9px; }
.site-footer p { max-width: 500px; color: #718198; font-size: 10px; line-height: 1.6; }

@media (max-width: 760px) {
  .site-header, .site-footer, .hero, .section-wrap { width: min(100% - 36px, 560px); }
  .hero { min-height: auto; padding: 64px 0 54px; grid-template-columns: 1fr; gap: 28px; }
  h1 { font-size: clamp(32px, 6vw, 38px); }
  .hero-visual { min-height: 300px; }
  .app-card { width: min(100% - 16px, 390px); }
  .orbit { width: min(115%, 440px); }
  .features { padding-bottom: 55px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; }
  .download { align-items: flex-start; flex-direction: column; padding: 25px; margin-bottom: 45px; }
  .site-footer { flex-wrap: wrap; padding: 18px 0; }
  .site-footer p { order: 3; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
