@layer reset, base, components, utilities;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body, h1, h2, h3, p, ul { margin: 0; }
  img, svg { display: block; max-width: 100%; }
  button, input { font: inherit; }
  a { color: inherit; text-decoration: none; }
}

@layer base {
  :root {
    --bg: #030304;
    --surface: #0a0a0d;
    --surface-2: #111116;
    --surface-3: #17171d;
    --text: #f7f7f9;
    --muted: #9b9ba7;
    --red: #e0002d;
    --red-hot: #ff3157;
    --red-dark: #720018;
    --blue-logo: #00a9f4;
    --border: rgba(255,255,255,.09);
    --border-strong: rgba(255,255,255,.16);
    --shadow: 0 28px 90px rgba(0,0,0,.52);
    --radius: 24px;
    --container: min(1180px, calc(100% - 40px));
  }
  body {
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--text);
    background:
      radial-gradient(circle at 76% 8%, rgba(224,0,45,.13), transparent 28rem),
      radial-gradient(circle at 12% 35%, rgba(127,0,22,.11), transparent 31rem),
      var(--bg);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
  }
  body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -3;
    pointer-events: none;
    background-image:
      linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.65), transparent 88%);
  }
  ::selection { background: var(--red); color: white; }
  h1, h2, h3 { letter-spacing: -.045em; line-height: 1.02; }
  p { color: var(--muted); }
  section { position: relative; padding: 112px 0; }
  .container { width: var(--container); margin-inline: auto; }
  .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
    color: #ff7e95;
    font-size: .78rem;
    font-weight: 750;
    letter-spacing: .16em;
    text-transform: uppercase;
  }
  .eyebrow::before {
    content: "";
    width: 34px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--red-hot));
  }
  .section-title { max-width: 800px; font-size: clamp(2.35rem, 6vw, 5rem); }
  .section-copy { max-width: 650px; margin-top: 22px; font-size: 1.08rem; }
}

@layer components {
  .site-loader {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    background: #020203;
    transition: opacity .45s ease, visibility .45s ease;
  }
  .site-loader.is-hidden { opacity: 0; visibility: hidden; }
  .loader-emblem { width: 112px; animation: loaderPulse 1.25s ease-in-out infinite; filter: drop-shadow(0 0 30px rgba(255,0,50,.5)); }
  @keyframes loaderPulse { 50% { transform: scale(1.06); opacity: .76; } }

  .cursor-aura {
    position: fixed;
    z-index: -1;
    width: 420px;
    height: 420px;
    margin: -210px 0 0 -210px;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle, rgba(232,0,46,.09), transparent 67%);
    will-change: transform;
  }

  .site-nav {
    position: fixed;
    top: 16px;
    left: 50%;
    z-index: 50;
    width: min(1180px, calc(100% - 28px));
    transform: translateX(-50%);
    transition: .3s ease;
  }
  .nav-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 66px;
    padding: 0 12px 0 18px;
    border: 1px solid transparent;
    border-radius: 18px;
    transition: .3s ease;
  }
  .site-nav.is-scrolled .nav-shell {
    border-color: var(--border);
    background: rgba(8,8,11,.82);
    box-shadow: 0 16px 60px rgba(0,0,0,.35);
    backdrop-filter: blur(20px) saturate(150%);
  }
  .brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -.02em; }
  .brand img { width: 36px; height: 36px; object-fit: contain; filter: drop-shadow(0 0 14px rgba(224,0,45,.35)); }
  .brand span em { color: var(--blue-logo); font-style: normal; }
  .nav-links { display: flex; align-items: center; gap: 6px; }
  .nav-links a {
    padding: 10px 14px;
    color: #c3c3cc;
    border-radius: 12px;
    font-size: .92rem;
    font-weight: 600;
    transition: .2s;
  }
  .nav-links a:hover, .nav-links a.is-active { color: white; background: rgba(255,255,255,.06); }
  .nav-actions { display: flex; align-items: center; gap: 10px; }
  .menu-button {
    display: none;
    width: 44px; height: 44px;
    border: 1px solid var(--border);
    border-radius: 12px;
    color: white;
    background: rgba(255,255,255,.04);
  }
  .mobile-menu {
    display: none;
    margin-top: 8px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(8,8,11,.96);
    backdrop-filter: blur(20px);
  }
  .mobile-menu a { display: block; padding: 13px; border-radius: 10px; color: #d0d0d6; }
  .mobile-menu a:hover { background: rgba(255,255,255,.06); color: white; }

  .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 18px;
    border: 1px solid var(--border);
    border-radius: 13px;
    color: white;
    background: rgba(255,255,255,.045);
    font-weight: 720;
    transition: transform .2s, border-color .2s, background .2s, box-shadow .2s;
  }
  .button:hover { transform: translateY(-2px); border-color: var(--border-strong); background: rgba(255,255,255,.075); }
  .button-primary {
    border-color: rgba(255,73,104,.55);
    background: linear-gradient(135deg, #f01843, #a90024);
    box-shadow: 0 12px 34px rgba(211,0,42,.28), inset 0 1px rgba(255,255,255,.22);
  }
  .button-primary:hover { background: linear-gradient(135deg, #ff3157, #c8002b); box-shadow: 0 16px 46px rgba(211,0,42,.38); }
  .button-small { min-height: 42px; padding-inline: 15px; font-size: .9rem; }
  .button svg { width: 18px; height: 18px; }

  .hero { min-height: 100vh; display: grid; align-items: center; padding-top: 150px; overflow: hidden; }
  .hero-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 64px; align-items: center; }
  .release-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 11px;
    margin-bottom: 24px;
    border: 1px solid rgba(255,49,87,.22);
    border-radius: 999px;
    background: rgba(224,0,45,.08);
    color: #ff8aa0;
    font-size: .78rem;
    font-weight: 760;
    letter-spacing: .07em;
    text-transform: uppercase;
  }
  .release-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--red-hot); box-shadow: 0 0 18px var(--red-hot); }
  .hero h1 { max-width: 800px; font-size: clamp(3.5rem, 8vw, 7.6rem); }
  .hero h1 .gradient {
    color: transparent;
    background: linear-gradient(105deg, white 6%, #c4c4cb 48%, #ff4969 88%);
    background-clip: text;
  }
  .hero-copy { max-width: 650px; margin-top: 26px; font-size: clamp(1.05rem, 1.7vw, 1.28rem); }
  .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
  .hero-meta { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 34px; color: #777783; font-size: .84rem; }
  .hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
  .hero-meta b { color: #c9c9d0; font-weight: 620; }

  .device-wrap { perspective: 1400px; }
  .os-device {
    --rx: 0deg;
    --ry: 0deg;
    position: relative;
    transform: rotateX(var(--rx)) rotateY(var(--ry));
    transform-style: preserve-3d;
    transition: transform .15s ease-out;
  }
  .os-device::before {
    content: "";
    position: absolute;
    inset: 8% 10% -7%;
    z-index: -1;
    border-radius: 50%;
    background: rgba(224,0,45,.28);
    filter: blur(70px);
  }
  .device-frame {
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 30px;
    background: #08080b;
    box-shadow: var(--shadow), inset 0 1px rgba(255,255,255,.12);
  }
  .device-top { height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 14px; border-bottom: 1px solid var(--border); }
  .device-top i { width: 8px; height: 8px; border-radius: 50%; background: #37373d; }
  .desktop {
    position: relative;
    min-height: 525px;
    overflow: hidden;
    background:
      radial-gradient(circle at 55% 40%, rgba(220,0,42,.25), transparent 28%),
      linear-gradient(145deg, #040406, #0b080d 56%, #13030a);
  }
  .desktop::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .45;
    background-image:
      linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 32px 32px;
  }
  .desktop-logo {
    position: absolute;
    top: 38px; left: 50%;
    width: 190px;
    transform: translateX(-50%);
    opacity: .93;
    filter: drop-shadow(0 0 38px rgba(255,0,45,.32));
  }
  .os-widget {
    position: absolute;
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 20px;
    background: rgba(10,10,14,.76);
    box-shadow: 0 14px 40px rgba(0,0,0,.28);
    backdrop-filter: blur(18px);
  }
  .sys-widget { top: 86px; left: 28px; width: 180px; padding: 16px; }
  .sys-widget h4, .net-widget h4 { margin: 0 0 12px; font-size: .75rem; color: #a8a8b1; text-transform: uppercase; letter-spacing: .1em; }
  .ring-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .mini-ring {
    display: grid; place-items: center;
    aspect-ratio: 1;
    border-radius: 50%;
    color: white;
    font-size: .72rem;
    font-weight: 800;
    background: conic-gradient(var(--red-hot) var(--value), #292930 0);
    box-shadow: inset 0 0 0 8px #111116;
  }
  .net-widget { top: 88px; right: 28px; width: 160px; padding: 16px; }
  .sparkline { height: 62px; margin-top: 8px; position: relative; overflow: hidden; }
  .sparkline svg { width: 100%; height: 100%; }
  .dashboard-card { left: 50%; top: 260px; width: min(360px, 70%); padding: 20px; transform: translateX(-50%); }
  .dashboard-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
  .dashboard-head strong { font-size: .93rem; }
  .status-dot { width: 8px; height: 8px; border-radius: 50%; background: #51e397; box-shadow: 0 0 14px #51e397; }
  .dash-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .dash-cell { padding: 12px; border-radius: 12px; background: rgba(255,255,255,.045); }
  .dash-cell small { display: block; color: #777783; font-size: .65rem; }
  .dash-cell b { display: block; margin-top: 5px; font-size: .9rem; }
  .taskbar {
    position: absolute;
    left: 50%; bottom: 18px;
    display: flex; align-items: center; gap: 8px;
    padding: 8px;
    transform: translateX(-50%);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 17px;
    background: rgba(12,12,16,.78);
    box-shadow: 0 12px 30px rgba(0,0,0,.34);
    backdrop-filter: blur(20px);
  }
  .taskbar i {
    width: 34px; height: 34px;
    display: grid; place-items: center;
    border-radius: 10px;
    color: #d9d9df;
    background: rgba(255,255,255,.055);
    font-style: normal;
    font-size: .72rem;
  }
  .taskbar i:first-child { background: linear-gradient(145deg, #e70b37, #780019); color: white; }

  .ticker { overflow: hidden; border-block: 1px solid var(--border); background: rgba(255,255,255,.016); }
  .ticker-track { display: flex; width: max-content; animation: ticker 28s linear infinite; }
  .ticker-item { display: flex; align-items: center; gap: 12px; padding: 20px 34px; color: #777783; white-space: nowrap; font-size: .84rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
  .ticker-item::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); box-shadow: 0 0 12px var(--red); }
  @keyframes ticker { to { transform: translateX(-50%); } }

  .bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; margin-top: 48px; }
  .bento-card {
    position: relative;
    min-height: 300px;
    overflow: hidden;
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.018));
    box-shadow: inset 0 1px rgba(255,255,255,.05);
  }
  .bento-card::after {
    content: "";
    position: absolute;
    width: 280px; height: 280px;
    right: -120px; bottom: -160px;
    border-radius: 50%;
    background: rgba(224,0,45,.18);
    filter: blur(42px);
  }
  .bento-card.large { grid-column: span 7; }
  .bento-card.medium { grid-column: span 5; }
  .bento-card.third { grid-column: span 4; }
  .bento-icon {
    width: 48px; height: 48px;
    display: grid; place-items: center;
    margin-bottom: 64px;
    border: 1px solid rgba(255,66,99,.2);
    border-radius: 14px;
    color: #ff6280;
    background: rgba(224,0,45,.08);
  }
  .bento-icon svg { width: 24px; }
  .bento-card h3 { position: relative; z-index: 1; font-size: clamp(1.45rem, 3vw, 2.2rem); }
  .bento-card p { position: relative; z-index: 1; max-width: 500px; margin-top: 14px; }
  .code-lines { position: absolute; right: 28px; top: 34px; width: 43%; opacity: .52; }
  .code-lines span { display: block; height: 8px; margin: 9px 0; border-radius: 8px; background: linear-gradient(90deg, rgba(255,48,86,.55), rgba(255,255,255,.08)); }
  .code-lines span:nth-child(2) { width: 70%; margin-left: 20%; }
  .code-lines span:nth-child(3) { width: 86%; margin-left: 6%; }
  .code-lines span:nth-child(4) { width: 48%; margin-left: 35%; }

  .experience-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 70px; align-items: center; margin-top: 52px; }
  .experience-list { display: grid; gap: 8px; }
  .experience-item {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 15px;
    padding: 18px;
    border-bottom: 1px solid var(--border);
  }
  .experience-item span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: rgba(224,0,45,.09); color: #ff5c79; font-weight: 800; }
  .experience-item h3 { margin-bottom: 7px; font-size: 1.1rem; letter-spacing: -.02em; }
  .showcase-frame { padding: 12px; border: 1px solid var(--border); border-radius: 28px; background: rgba(255,255,255,.025); box-shadow: var(--shadow); }
  .showcase-frame img { border-radius: 18px; }

  .performance-panel {
    display: grid;
    grid-template-columns: 1fr .9fr;
    gap: 50px;
    align-items: center;
    margin-top: 50px;
    padding: 42px;
    border: 1px solid var(--border);
    border-radius: 30px;
    background:
      radial-gradient(circle at 0 0, rgba(224,0,45,.12), transparent 28rem),
      rgba(255,255,255,.022);
  }
  .stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat-card { padding: 22px; border: 1px solid var(--border); border-radius: 18px; background: rgba(0,0,0,.25); }
  .stat-card strong { display: block; font-size: 2rem; letter-spacing: -.05em; }
  .stat-card span { color: #777783; font-size: .82rem; }
  .perf-bars { display: grid; gap: 19px; }
  .bar-head { display: flex; justify-content: space-between; margin-bottom: 9px; color: #bcbcc5; font-size: .82rem; }
  .bar-track { height: 8px; border-radius: 99px; background: #1b1b21; overflow: hidden; }
  .bar-fill { height: 100%; border-radius: inherit; background: linear-gradient(90deg, #880019, #ff3157); box-shadow: 0 0 18px rgba(255,49,87,.32); }

  .security-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 42px; }
  .security-card { padding: 26px; border: 1px solid var(--border); border-radius: 20px; background: rgba(255,255,255,.022); }
  .security-card svg { width: 28px; color: #ff5573; }
  .security-card h3 { margin-top: 38px; font-size: 1.25rem; }
  .security-card p { margin-top: 10px; font-size: .93rem; }

  .download-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 30px;
    align-items: center;
    padding: 42px;
    border: 1px solid rgba(255,74,105,.25);
    border-radius: 30px;
    background:
      radial-gradient(circle at 80% 50%, rgba(224,0,45,.16), transparent 26rem),
      linear-gradient(145deg, #0d0d12, #08080b);
    box-shadow: var(--shadow);
  }
  .download-card h2 { font-size: clamp(2.4rem, 5vw, 4.5rem); }
  .download-specs { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
  .download-specs span { padding: 8px 11px; border: 1px solid var(--border); border-radius: 999px; color: #aaaab4; font-size: .78rem; }
  .download-action { min-width: 250px; text-align: center; }
  .download-action .button { width: 100%; }
  .download-note { margin-top: 11px; font-size: .74rem; color: #666671; }

  .faq { display: grid; grid-template-columns: .72fr 1.28fr; gap: 80px; align-items: start; }
  .faq-list { border-top: 1px solid var(--border); }
  .faq-item { border-bottom: 1px solid var(--border); }
  .faq-item button { width: 100%; display: flex; justify-content: space-between; gap: 18px; padding: 22px 0; border: 0; color: white; background: none; text-align: left; font-weight: 720; }
  .faq-item button span:last-child { color: #ff5270; font-size: 1.3rem; transition: transform .2s; }
  .faq-item.is-open button span:last-child { transform: rotate(45deg); }
  .faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s ease; }
  .faq-answer > div { overflow: hidden; }
  .faq-answer p { padding: 0 0 22px; }
  .faq-item.is-open .faq-answer { grid-template-rows: 1fr; }

  .page-hero { padding-top: 190px; padding-bottom: 70px; }
  .page-hero h1 { max-width: 900px; font-size: clamp(3rem, 8vw, 7rem); }
  .page-hero p { max-width: 680px; margin-top: 22px; font-size: 1.12rem; }

  .release-box { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; padding: 34px; border: 1px solid var(--border); border-radius: 24px; background: var(--surface); }
  .release-title { display: flex; align-items: center; gap: 14px; }
  .release-title img { width: 52px; }
  .release-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
  .release-meta span { padding: 7px 10px; border-radius: 9px; background: rgba(255,255,255,.045); color: #a9a9b3; font-size: .8rem; }

  .steps { display: grid; gap: 14px; margin-top: 34px; counter-reset: steps; }
  .step { display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding: 24px; border: 1px solid var(--border); border-radius: 19px; background: rgba(255,255,255,.02); counter-increment: steps; }
  .step::before { content: counter(steps, decimal-leading-zero); display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; color: #ff5975; background: rgba(224,0,45,.09); font-weight: 850; }
  .step h3 { font-size: 1.15rem; }
  .step p { margin-top: 7px; }

  .docs-layout { display: grid; grid-template-columns: 250px 1fr; gap: 52px; align-items: start; }
  .docs-sidebar { position: sticky; top: 110px; padding: 18px; border: 1px solid var(--border); border-radius: 18px; background: rgba(255,255,255,.02); }
  .docs-sidebar a { display: block; padding: 10px 11px; border-radius: 9px; color: #9999a5; font-size: .88rem; }
  .docs-sidebar a:hover { color: white; background: rgba(255,255,255,.05); }
  .docs-content article { padding-bottom: 64px; }
  .docs-content h2 { font-size: 2rem; }
  .docs-content h3 { margin-top: 32px; font-size: 1.25rem; }
  .docs-content p, .docs-content li { color: #a2a2ac; }
  .docs-content p { margin-top: 14px; }
  .docs-content ul { margin-top: 14px; padding-left: 22px; }
  .code-block { position: relative; margin-top: 18px; padding: 18px; overflow-x: auto; border: 1px solid var(--border); border-radius: 14px; background: #08080b; color: #ff8299; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .86rem; white-space: pre; }

  .about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
  .principle { min-height: 260px; padding: 26px; border: 1px solid var(--border); border-radius: 22px; background: rgba(255,255,255,.02); }
  .principle span { color: #ff5471; font-size: .78rem; font-weight: 800; letter-spacing: .14em; }
  .principle h3 { margin-top: 54px; font-size: 1.55rem; }
  .principle p { margin-top: 12px; }

  .site-footer { padding: 44px 0 30px; border-top: 1px solid var(--border); }
  .footer-grid { display: grid; grid-template-columns: 1.2fr repeat(3, .6fr); gap: 36px; }
  .footer-brand p { max-width: 360px; margin-top: 16px; font-size: .9rem; }
  .footer-col h4 { margin-bottom: 14px; font-size: .76rem; color: #757580; letter-spacing: .12em; text-transform: uppercase; }
  .footer-col a { display: block; margin: 9px 0; color: #b7b7c0; font-size: .9rem; }
  .footer-col a:hover { color: white; }
  .footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 30px; margin-top: 34px; border-top: 1px solid var(--border); color: #5e5e68; font-size: .78rem; }

  .modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: grid;
    place-items: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    background: rgba(0,0,0,.72);
    backdrop-filter: blur(12px);
    transition: .2s;
  }
  .modal.is-open { opacity: 1; visibility: visible; }
  .modal-card { width: min(470px, 100%); padding: 28px; border: 1px solid var(--border-strong); border-radius: 22px; background: #0c0c10; box-shadow: var(--shadow); }
  .modal-card h3 { font-size: 1.45rem; }
  .modal-card p { margin-top: 12px; }
  .modal-actions { display: flex; justify-content: flex-end; margin-top: 22px; }

  [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
  [data-reveal].is-visible { opacity: 1; transform: none; }
}

@layer utilities {
  .text-red { color: #ff4565; }
  .muted { color: var(--muted); }
  .center { text-align: center; }
  .spacer-sm { height: 24px; }
  .spacer { height: 50px; }
}

@media (max-width: 980px) {
  section { padding: 88px 0; }
  .nav-links, .nav-actions .button:not(.menu-button) { display: none; }
  .menu-button { display: grid; place-items: center; }
  .mobile-menu { display: block; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .2s; }
  .mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; }
  .hero-grid, .experience-grid, .performance-panel, .faq { grid-template-columns: 1fr; }
  .hero { padding-top: 130px; }
  .hero-copy { max-width: 760px; }
  .device-wrap { max-width: 720px; margin-inline: auto; }
  .bento-card.large, .bento-card.medium { grid-column: span 12; }
  .bento-card.third { grid-column: span 6; }
  .security-grid, .about-grid { grid-template-columns: 1fr 1fr; }
  .download-card { grid-template-columns: 1fr; }
  .download-action { min-width: 0; max-width: 350px; }
  .docs-layout { grid-template-columns: 1fr; }
  .docs-sidebar { position: static; display: flex; flex-wrap: wrap; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  :root { --container: min(100% - 24px, 1180px); --radius: 20px; }
  section { padding: 74px 0; }
  .site-nav { top: 8px; width: calc(100% - 16px); }
  .nav-shell { min-height: 58px; }
  .hero { min-height: auto; padding-top: 115px; }
  .hero h1 { font-size: clamp(3.1rem, 16vw, 5.3rem); }
  .hero-actions .button { width: 100%; }
  .desktop { min-height: 410px; }
  .desktop-logo { width: 140px; }
  .sys-widget { top: 68px; left: 14px; transform: scale(.82); transform-origin: top left; }
  .net-widget { top: 70px; right: 14px; transform: scale(.82); transform-origin: top right; }
  .dashboard-card { top: 214px; width: 84%; }
  .bento-card.third { grid-column: span 12; }
  .security-grid, .about-grid, .stat-grid { grid-template-columns: 1fr; }
  .performance-panel { padding: 26px; }
  .download-card { padding: 28px; }
  .release-box { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .cursor-aura { display: none; }
}
