:root {
  overflow-x: clip;
  --bg: #0a0a0b;
  --surface: #111114;
  --surface-2: #1a1a20;
  --text: #f7f7f8;
  --muted: #a0a0aa;
  --dim: #73737e;
  --accent: #5865f2;
  --accent-hover: #707bff;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

*, *::before, *::after { box-sizing: border-box; }
body { min-width: 320px; margin: 0; overflow-x: clip; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
.container { width: min(1100px, calc(100% - 56px)); margin-inline: auto; }
.skip-link { position: absolute; left: 20px; top: -60px; z-index: 30; padding: 11px 16px; border-radius: 8px; background: var(--accent); }
.skip-link:focus { top: 20px; }
:focus-visible { outline: 2px solid #9ba2ff; outline-offset: 4px; }

.background-grid {
  position: absolute;
  inset: 0 0 auto;
  height: 1070px;
  z-index: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(to right, rgba(255,255,255,.036) 0 1px, transparent 1px 180px),
    repeating-linear-gradient(to bottom, rgba(255,255,255,.036) 0 1px, transparent 1px 180px),
    repeating-linear-gradient(to right, rgba(255,255,255,.014) 0 1px, transparent 1px 36px),
    repeating-linear-gradient(to bottom, rgba(255,255,255,.014) 0 1px, transparent 1px 36px);
  mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 100%);
}

.site-header, main, .site-footer { position: relative; }
.site-header { z-index: 10; }
.header-inner { min-height: 80px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; letter-spacing: -.045em; white-space: nowrap; }
.brand-mark { display: inline-block; flex: none; width: 29px; height: 29px; border-radius: 8px; background: #101116 url('/assets/logo-notext-vibemind.png') center 47% / 150% no-repeat; }
.site-nav { display: flex; align-items: center; gap: 32px; color: var(--muted); font-size: 13px; font-weight: 600; }
.site-nav > a:not(.nav-button):hover, .site-footer a:hover { color: var(--text); }
.site-nav .sign-in-link { color: var(--text); }
.nav-button { padding: 11px 17px; border-radius: 9px; background: var(--accent); color: #fff; transition: background .18s; }
.nav-button:hover, .button-primary:hover { background: var(--accent-hover); }
.nav-button span { margin-left: 8px; }
.menu-toggle, .mobile-nav { display: none; }

.hero { position: relative; padding-top: 93px; padding-bottom: 116px; }
.hero-copy { position: relative; z-index: 2; max-width: 735px; }
.hero h1, .section h2 { margin: 0; font-weight: 600; line-height: 1.04; letter-spacing: -.064em; text-wrap: balance; }
.hero h1 { font-size: clamp(62px, 7.5vw, 94px); }
.hero h1 span { background: linear-gradient(96deg, #e6e7fa 0%, #a5aaf0 53%, #7599ed 100%); background-clip: text; color: transparent; }
.hero-copy > p { max-width: 550px; margin: 27px 0 0; color: var(--muted); font-size: 17px; line-height: 1.68; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 35px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 17px; min-height: 49px; padding: 13px 20px; border-radius: 9px; font-size: 13px; font-weight: 700; transition: background .18s, transform .18s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent); color: #fff; }
.button-secondary { background: var(--surface-2); color: var(--text); }
.button-secondary:hover { background: #292931; }
.button span { font-size: 17px; line-height: .7; }
.hero-backdrop { position: absolute; z-index: 0; top: 0; right: 0; left: 0; height: 780px; overflow: hidden; pointer-events: none; mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 100%); }
.hero-backdrop::before { content: ""; position: absolute; inset: -75px; background: url('/assets/Banner.png') center 38% / cover no-repeat; filter: blur(36px) brightness(.8) saturate(1.2); opacity: 1; transform: translateY(-160px) scale(1.04); }
.hero-backdrop::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,11,.32), rgba(10,10,11,.08) 55%, rgba(10,10,11,.24)), linear-gradient(to bottom, transparent 25%, #0a0a0b 97%); }

.concept { position: relative; z-index: 2; margin-top: 110px; }
.concept-caption { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 4px 15px; color: #ced1df; font-size: 10px; font-weight: 700; letter-spacing: .095em; }
.concept-caption i { display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: #7a89ff; vertical-align: 1px; }
.caption-right { color: var(--dim); }
.app-window { position: relative; z-index: 1; display: grid; grid-template-columns: 238px minmax(0, 1fr); min-height: 490px; overflow: hidden; border: 1px solid #343442; border-radius: 17px; background: #101013; box-shadow: 0 24px 70px #0008, 0 0 36px #243da52b; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.preview-sidebar { display: flex; flex-direction: column; min-width: 0; padding: 26px 17px 15px; border-right: 1px solid #25252c; background: #141418; color: #a9a9b8; font-size: 11px; }
.preview-brand { display: flex; align-items: center; gap: 8px; margin: 0 10px 26px; color: #f6f6f8; font-size: 16px; font-weight: 700; letter-spacing: -.04em; }
.preview-brand .brand-mark { width: 24px; height: 24px; }
.preview-new { display: flex; align-items: center; gap: 10px; padding: 12px 11px; border: 1px solid #34343f; border-radius: 9px; background: #212127; color: #f0f0f4; }
.preview-new > span:first-child { font-size: 18px; line-height: .7; }
.preview-shortcut { margin-left: auto; color: #81818f; }
.preview-section { display: flex; justify-content: space-between; margin: 27px 10px 0; color: #777783; font-size: 9px; font-weight: 600; letter-spacing: .14em; }
.preview-empty { margin: 13px 10px 0; color: #777783; font-size: 10px; }
.preview-chats { margin-top: 27px; }
.preview-history { margin: 14px 10px 0; color: #777783; font-size: 10px; }
.preview-sidebar-bottom { display: grid; gap: 17px; margin-top: auto; padding: 0 10px; color: #9696a5; font-size: 10px; }
.preview-sidebar-bottom > div:not(.preview-account) { display: flex; justify-content: space-between; }
.preview-account { display: flex; align-items: center; gap: 8px; padding-top: 13px; border-top: 1px solid #2b2b34; color: #d0d0d8; }
.preview-account small { display: block; margin-top: 3px; color: #777783; font-size: 9px; }
.preview-avatar { display: grid; place-items: center; flex: 0 0 25px; width: 25px; height: 25px; border: 1px solid #41445e; border-radius: 50%; background: #2e3044; color: #c8ceff; }
.preview-main { display: flex; flex-direction: column; min-width: 0; background: #101013; }
.preview-top { padding: 27px 31px; color: #c9c9d2; font-size: 11px; }
.preview-mobile-menu { display: none; }
.preview-center { display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: center; gap: 35px; min-width: 0; padding: 0 24px 60px; }
.preview-center h3 { margin: 0; color: #f1f1f4; font-size: clamp(28px, 3vw, 42px); font-weight: 500; letter-spacing: -.055em; line-height: 1.15; text-align: center; }
.preview-composer { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: min(360px, 100%); min-height: 51px; padding: 5px 6px 5px 17px; border: 1px solid #393941; border-radius: 999px; background: #18181b; box-shadow: 0 14px 40px #0002; color: #929096; font-size: 12px; }
.preview-composer > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.preview-mic { display: grid; place-items: center; flex: 0 0 38px; width: 38px; height: 38px; border-radius: 50%; background: #eeeef1; color: #18181b; }
.preview-mic svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.section { padding-top: 108px; padding-bottom: 120px; }
.section-label { display: block; margin-bottom: 20px; color: #919aff; font-size: 10px; font-weight: 700; letter-spacing: .16em; }
.section h2 { font-size: clamp(41px, 5vw, 59px); }
.section h2 span { color: #8f8f9c; }
.section-heading { margin-bottom: 50px; }
.feature-list { border-top: 1px solid #27272e; }
.feature { display: grid; grid-template-columns: 85px minmax(0,1fr) 120px; align-items: center; gap: 30px; min-height: 128px; padding: 26px 7px; border-bottom: 1px solid #27272e; }
.feature-index { color: #666675; font-size: 12px; font-weight: 600; }
.feature h3 { margin: 0 0 8px; font-size: 19px; font-weight: 600; letter-spacing: -.035em; }
.feature p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.feature-state { justify-self: end; color: #8d8e9c; font-size: 11px; }
.next { background: #111114; }
.next-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 70px; }
.next-copy { max-width: 330px; padding-bottom: 4px; }
.next-copy p { margin: 0 0 23px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.text-link { display: inline-flex; align-items: center; gap: 16px; color: #b0b7ff; font-size: 12px; font-weight: 700; }
.text-link:hover { color: #e1e3ff; }
.site-footer { background: #0d0d0f; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 106px; }
.footer-inner > span, .footer-inner > a:last-child { color: var(--dim); font-size: 12px; }
.footer-inner .brand { font-size: 16px; }
.footer-inner .brand-mark { width: 24px; height: 24px; }
.landing-footer { border-top: 1px solid var(--line, #242428); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.15fr 1fr; gap: 32px; padding-block: 48px 40px; }
.footer-about .brand { font-size: 18px; }
.footer-about p { margin: 16px 0 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.footer-group { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; min-width: 0; }
.footer-group h2 { margin: 0 0 5px; font-size: 13px; font-weight: 600; color: var(--text); }
.footer-group a { color: var(--muted); font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.footer-draft { display: inline-block; margin-left: 4px; color: #c6aa79; font-size: 10px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-block: 22px; border-top: 1px solid var(--line, #242428); color: var(--muted); font-size: 11px; }
.landing-footer a:focus-visible { outline: 2px solid #a8afff; outline-offset: 5px; border-radius: 3px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; padding-block: 32px; } .footer-group { gap: 10px; } .footer-group a { padding-block: 4px; font-size: 13px; } }

@media (max-width: 800px) {
  .hero { padding-top: 80px; }
  .hero-copy { max-width: 660px; }
  .hero h1 { font-size: clamp(58px, 9vw, 76px); }
  .app-window { grid-template-columns: 210px minmax(0, 1fr); }
  .preview-center h3 { font-size: 32px; }
}

@media (max-width: 700px) {
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 70px; }
  .site-nav { display: none; }
  .menu-toggle { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 40px; height: 40px; border: 0; border-radius: 9px; background: var(--surface-2); }
  .menu-toggle span { width: 18px; height: 2px; border-radius: 2px; background: var(--text); }
  .mobile-nav:not([hidden]) { display: flex; flex-direction: column; padding: 8px 20px 18px; background: var(--surface); }
  .mobile-nav a { padding: 11px 0; color: var(--muted); font-size: 14px; }
  .mobile-nav a:last-child { color: var(--text); }
  .hero { padding-top: 68px; padding-bottom: 78px; }
  .hero h1 { font-size: clamp(51px, 10.5vw, 70px); }
  .hero-copy > p { font-size: 15px; }
  .hero-backdrop { height: 640px; }
  .hero-backdrop::before { filter: blur(32px) brightness(.7) saturate(1.2); opacity: .85; }
  .concept { margin-top: 65px; }
  .app-window { grid-template-columns: 1fr; min-height: 390px; }
  .preview-sidebar { display: none; }
  .preview-top { padding: 21px 22px; }
  .preview-mobile-menu { display: inline-block; margin-right: 16px; color: #c9c9d2; }
  .preview-center { padding-bottom: 70px; }
  .section { padding-top: 80px; padding-bottom: 85px; }
  .next-inner { display: block; }
  .next-copy { max-width: 560px; margin-top: 30px; }
}

@media (max-width: 470px) {
  .hero h1 { font-size: clamp(45px, 12vw, 54px); }
  .hero-actions { gap: 9px; }
  .hero-actions .button { width: 100%; }
  .concept { margin-top: 54px; }
  .concept-caption { font-size: 9px; }
  .caption-right { display: none; }
  .app-window { min-height: 350px; }
  .preview-center { gap: 26px; padding-inline: 17px; }
  .preview-center h3 { font-size: 29px; }
  .preview-composer { font-size: 10px; }
  .section h2 { font-size: 38px; }
  .feature { grid-template-columns: 32px 1fr; gap: 10px; min-height: 0; padding: 24px 0; }
  .feature-state { grid-column: 2; justify-self: start; margin-top: 0; }
  .footer-inner { min-height: 120px; flex-wrap: wrap; padding-block: 22px; }
  .footer-inner > span { order: 3; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  .button, .nav-button { transition: none; }
}

/* Keep hidden navigation items hidden regardless of layout rules. */
[hidden] { display: none !important; }

/* The language menu stays available beside navigation on small screens. */
.language-menu { position: relative; flex: 0 0 auto; margin-left: 12px; }
.language-menu > summary { display: flex; align-items: center; gap: 7px; cursor: pointer; list-style: none; padding: 9px 11px; border: 1px solid var(--border, #303036); border-radius: 8px; color: var(--muted, #b1b1bd); font-size: 12px; }
.language-menu > summary::-webkit-details-marker { display: none; }
.language-menu > summary:hover, .language-menu[open] > summary { color: #fff; background: #1b1b20; }
.language-menu > summary:focus-visible { outline: 2px solid #a6a0fa; outline-offset: 3px; }
.language-popover { position: absolute; top: calc(100% + 10px); right: 0; z-index: 100; width: 220px; padding: 16px; background: #151518; border: 1px solid #303036; border-radius: 12px; box-shadow: 0 12px 35px #0006; }
.language-popover label { display: block; font-size: 12px; margin-bottom: 9px; }
.language-popover select { width: 100%; background: #202025; color: #eeeef3; border: 1px solid #3c3c45; border-radius: 7px; padding: 9px; font: inherit; font-size: 13px; }
.language-popover p { font-size: 12px; line-height: 1.5; margin: 9px 0 0; }
.language-popover p:empty { display: none; }
@media (max-width: 980px) { .language-menu { margin-left: auto; } .language-menu > summary span { display: none; } }
