/* ==========================================================================
   attend – landing page styles
   Palette (the only colors used on the site):
   #0a0d14 #111722 #192231 #222d40 #253044 #3b4a65
   #fafafa #aab6ca #75839a #7487ff #9aa8ff
   ========================================================================== */

@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* surfaces */
  --c-bg: #0a0d14;
  --c-surface-1: #111722;
  --c-surface-2: #192231;
  --c-surface-3: #222d40;
  /* lines */
  --c-line: #253044;
  --c-line-strong: #3b4a65;
  /* text */
  --c-text: #fafafa;
  --c-text-2: #aab6ca;
  --c-text-3: #75839a;
  /* accent */
  --c-accent: #7487ff;
  --c-accent-2: #9aa8ff;
  /* accent as rgb for translucent glows */
  --rgb-accent: 116, 135, 255;
  --rgb-accent-2: 154, 168, 255;
  --rgb-bg: 10, 13, 20;

  --font-sans: "Inter Variable", Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "Cascadia Mono", "Segoe UI Mono", Consolas, monospace;

  --header-h: 64px;
  --container: 1120px;
}

/* -------------------------------------------------------------- Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
code { font-family: var(--font-mono); font-size: .9em; background: var(--c-surface-2); border: 1px solid var(--c-line); border-radius: 6px; padding: .1em .4em; color: var(--c-text); }
strong { font-weight: 600; color: var(--c-text); }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--c-accent-2); outline-offset: 3px; border-radius: 8px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 100;
  background: var(--c-text); color: var(--c-bg);
  padding: 10px 16px; border-radius: 999px; font-weight: 500; font-size: 14px;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

.icon {
  width: 18px; height: 18px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}
.icon--xl { width: 40px; height: 40px; stroke-width: 1.4; }

.mono { font-family: var(--font-mono); font-size: .85em; word-break: break-all; }

.is-placeholder {
  color: var(--c-text-2);
  text-decoration: underline dashed var(--c-line-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.tag {
  display: inline-block; vertical-align: middle;
  margin-left: 6px; padding: 1px 9px;
  border: 1px dashed var(--c-line-strong); border-radius: 999px;
  color: var(--c-text-3); font-size: 12px; font-weight: 500; line-height: 1.6;
}

/* -------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 18px;
  border: 1px solid transparent; border-radius: 999px;
  font: 500 14px/1 var(--font-sans); letter-spacing: -.005em;
  cursor: pointer; white-space: nowrap;
  transition: background-color .2s, box-shadow .2s, border-color .2s, transform .2s;
}
.btn--lg { height: 46px; padding: 0 24px; font-size: 15px; }
.btn--light { background: var(--c-text); color: var(--c-bg); }
.btn--light:hover { box-shadow: 0 0 0 4px rgba(var(--rgb-accent-2), .25), 0 8px 32px rgba(var(--rgb-accent), .45); }
.btn--glass {
  background: rgba(var(--rgb-accent), .22);
  border-color: rgba(var(--rgb-accent-2), .30);
  color: var(--c-text);
  backdrop-filter: blur(8px);
}
.btn--glass:hover { background: rgba(var(--rgb-accent), .36); border-color: rgba(var(--rgb-accent-2), .5); }
.btn:active { transform: translateY(1px); }

/* -------------------------------------------------------------- Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background-color .25s, border-color .25s, backdrop-filter .25s;
}
.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(var(--rgb-bg), .78);
  border-bottom-color: var(--c-line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.site-header__inner { height: 100%; display: flex; align-items: center; }

.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 16px; letter-spacing: -.02em; }
.brand__name { font-family: "Inter Variable", Inter, "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif; }
.brand__mark { width: 30px; height: 30px; object-fit: contain; border-radius: 7px; }

.nav { flex: 1; display: flex; align-items: center; margin-left: 32px; }
.nav__links { display: flex; gap: 4px; }
.nav__links a { display: block; padding: 8px 14px; border-radius: 999px; font-size: 14px; color: var(--c-text-2); transition: color .2s, background-color .2s; }
.nav__links a:hover { color: var(--c-text); background: rgba(var(--rgb-accent), .12); }
.nav__actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.nav__text-link { padding: 8px 12px; font-size: 14px; font-weight: 500; color: var(--c-text); }
.nav__text-link:hover { color: var(--c-accent-2); }

.nav-toggle {
  display: none; margin-left: auto;
  width: 40px; height: 40px; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--c-line-strong); border-radius: 999px;
  color: var(--c-text); cursor: pointer;
}
.nav-toggle .icon--close { display: none; }
.site-header.is-open .nav-toggle .icon--open { display: none; }
.site-header.is-open .nav-toggle .icon--close { display: block; }

/* -------------------------------------------------------------- Hero */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: 148px 0 0; text-align: center; }

.hero__glow {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(44% 40% at 50% 80%, rgba(var(--rgb-accent-2), .70), rgba(var(--rgb-accent), .30) 52%, transparent 82%),
    radial-gradient(30% 70% at 0% 58%, rgba(var(--rgb-accent), .88), transparent 78%),
    radial-gradient(30% 70% at 100% 58%, rgba(var(--rgb-accent), .88), transparent 78%),
    radial-gradient(64% 36% at 50% 36%, rgba(var(--rgb-accent), .18), transparent 75%);
}
.hero__glow::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, var(--c-bg) 0, rgba(var(--rgb-bg), 0) 24%, rgba(var(--rgb-bg), 0) 74%, var(--c-bg) 100%);
}

.hero__inner { display: flex; flex-direction: column; align-items: center; }

.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 4px 14px 4px 4px;
  border: 1px solid rgba(var(--rgb-accent-2), .22); border-radius: 999px;
  background: rgba(var(--rgb-accent), .12);
  font-size: 13px; color: var(--c-text-2);
  backdrop-filter: blur(8px);
  transition: border-color .2s, color .2s;
}
.badge:hover { border-color: rgba(var(--rgb-accent-2), .5); color: var(--c-text); }
.badge__tag { padding: 3px 12px; border-radius: 999px; background: rgba(var(--rgb-accent), .55); color: var(--c-text); font-weight: 500; font-size: 12px; }

.hero__title {
  margin-top: 28px;
  font-size: clamp(2.9rem, 8.4vw, 5.75rem);
  font-weight: 450; line-height: 1.02; letter-spacing: -.05em;
  text-wrap: balance;
}
.hero__lead { max-width: 560px; margin-top: 24px; font-size: clamp(1rem, 1.6vw, 1.125rem); line-height: 1.65; color: var(--c-text-2); text-wrap: pretty; }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.download-message {
  max-width: 520px; margin-top: 18px; padding: 10px 16px;
  border: 1px dashed var(--c-line-strong); border-radius: 12px;
  background: rgba(var(--rgb-bg), .6);
  font-size: 14px; color: var(--c-text-2);
}

/* Product showcase */
.showcase { width: 100%; max-width: 1000px; margin-top: 64px; }
.showcase__frame {
  padding: 10px; border-radius: 26px;
  border: 1px solid rgba(var(--rgb-accent-2), .30);
  background: linear-gradient(180deg, rgba(var(--rgb-accent-2), .24), rgba(var(--rgb-accent), .08));
  box-shadow:
    0 40px 120px -24px rgba(var(--rgb-accent), .55),
    0 0 90px rgba(var(--rgb-accent), .20);
}
.showcase__window {
  overflow: hidden; border-radius: 17px;
  border: 1px solid var(--c-line);
  background: var(--c-surface-1);
  box-shadow: 0 24px 64px rgba(0, 0, 0, .55);
}
.showcase__img {
  width: 100%; height: auto;
  -webkit-mask-image: linear-gradient(to bottom, black 55%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 55%, transparent 100%);
}
.showcase__placeholder {
  position: relative; aspect-ratio: 16 / 10;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  padding: 32px; text-align: center; color: var(--c-text-3);
  background:
    radial-gradient(60% 70% at 50% 0%, rgba(var(--rgb-accent), .12), transparent 70%),
    var(--c-surface-1);
}
.showcase__placeholder::before { content: ""; position: absolute; inset: 14px; border: 1px dashed var(--c-line-strong); border-radius: 10px; pointer-events: none; }
.showcase__ph-title { font-size: 1.05rem; font-weight: 500; color: var(--c-text-2); }
.showcase__ph-text { max-width: 420px; font-size: 14px; }

/* Download facts under the showcase */
.facts { width: 100%; max-width: 1000px; display: grid; grid-template-columns: repeat(4, 1fr); margin: 56px 0 0; padding-bottom: 80px; text-align: left; }
.facts__item { display: flex; align-items: center; gap: 14px; padding: 4px 24px; border-left: 1px solid var(--c-line); }
.facts__item:first-child { border-left: 0; padding-left: 0; }
.facts__item .icon { width: 22px; height: 22px; color: var(--c-accent-2); }
.facts dt { font-size: 13px; color: var(--c-text-3); line-height: 1.4; }
.facts dd { font-size: 15px; font-weight: 500; color: var(--c-text); line-height: 1.4; }
.facts dd.is-placeholder { color: var(--c-text-2); font-weight: 400; }

/* Hero entrance: one orchestrated moment on load */
@media (prefers-reduced-motion: no-preference) {
  .hero__inner > * { animation: rise .8s cubic-bezier(.2, .7, .2, 1) backwards; }
  .hero__inner > :nth-child(2) { animation-delay: .06s; }
  .hero__inner > :nth-child(3) { animation-delay: .12s; }
  .hero__inner > :nth-child(4) { animation-delay: .18s; }
  .hero__inner > :nth-child(6) { animation-delay: .3s; }
  .hero__inner > :nth-child(7) { animation-delay: .42s; }
  .hero__glow { animation: fade 1.4s ease-out backwards; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes fade { from { opacity: 0; } }

/* -------------------------------------------------------------- Sections */
.section { padding: 104px 0; }
.section--split { padding-top: 24px; }
.section--download { padding-top: 24px; padding-bottom: 120px; }

.section__head { max-width: 640px; margin-bottom: 48px; }
.section__title { font-size: clamp(1.85rem, 4vw, 2.75rem); font-weight: 500; line-height: 1.1; letter-spacing: -.04em; text-wrap: balance; }
.section__lead { margin-top: 16px; font-size: 1.0625rem; color: var(--c-text-2); text-wrap: pretty; }

/* Features: one bordered surface divided by hairlines */
.grid-lines {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--c-line); border: 1px solid var(--c-line); border-radius: 22px; overflow: hidden;
}
.cell { padding: 32px; background: var(--c-surface-1); }
.cell__icon {
  display: grid; place-items: center; width: 42px; height: 42px;
  border: 1px solid var(--c-line-strong); border-radius: 12px;
  background: var(--c-surface-2); color: var(--c-accent-2);
}
.cell h3 { margin: 24px 0 8px; font-size: 1.0625rem; font-weight: 500; letter-spacing: -.015em; line-height: 1.35; }
.cell p { font-size: .9375rem; color: var(--c-text-2); }
.cell--placeholder { background: var(--c-bg); }
.cell--placeholder .cell__icon { background: transparent; border-style: dashed; color: var(--c-text-3); }
.cell--placeholder h3 { color: var(--c-text-2); }
.cell--placeholder p { color: var(--c-text-3); }

/* Requirements + installation */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.panel { padding: 40px; border: 1px solid var(--c-line); border-radius: 24px; background: var(--c-surface-1); }
.panel__title { font-size: 1.5rem; font-weight: 500; letter-spacing: -.03em; line-height: 1.2; }
.panel__lead { margin: 10px 0 24px; color: var(--c-text-2); font-size: .9375rem; }

.spec-list li, .steps li { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid var(--c-line); }
.spec-list .icon { margin-top: 3px; color: var(--c-accent-2); }
.spec-list__label { font-size: 13px; color: var(--c-text-3); line-height: 1.4; }
.spec-list__value { font-size: .9375rem; color: var(--c-text); }
.spec-list__value.is-placeholder { display: inline-block; color: var(--c-text-2); }
.spec-list__value .tag { margin-left: 4px; }

.steps li > div { padding-top: 4px; }
.steps__num {
  flex: none; display: grid; place-items: center; width: 32px; height: 32px;
  border: 1px solid var(--c-line-strong); border-radius: 50%;
  background: var(--c-surface-2); color: var(--c-accent-2);
  font-size: 13px; font-weight: 600;
}
.steps h3 { font-size: 1rem; font-weight: 500; letter-spacing: -.01em; line-height: 1.4; }
.steps p { margin-top: 2px; font-size: .9375rem; color: var(--c-text-2); }
.steps__placeholder .steps__num { border-style: dashed; background: transparent; color: var(--c-text-3); }
.steps__placeholder h3 { color: var(--c-text-2); }
.steps__placeholder p { color: var(--c-text-3); }

/* Download card */
.download-card {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center;
  padding: 56px; border: 1px solid rgba(var(--rgb-accent-2), .28); border-radius: 28px;
  background: var(--c-surface-1);
}
.download-card__glow {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(50% 90% at 0% 100%, rgba(var(--rgb-accent), .50), transparent 70%),
    radial-gradient(40% 80% at 100% 0%, rgba(var(--rgb-accent-2), .20), transparent 70%);
}
.download-card__cta { margin-top: 32px; }
.download-card__status { display: flex; align-items: flex-start; gap: 8px; margin-top: 20px; font-size: 14px; color: var(--c-text-3); }
.download-card__status .icon { margin-top: 2px; }
.download-card__status.is-ready { color: var(--c-text-2); }
.download-card__status.is-ready .icon { color: var(--c-accent-2); }

.release { padding: 8px 24px; border: 1px solid var(--c-line); border-radius: 18px; background: rgba(var(--rgb-bg), .55); backdrop-filter: blur(6px); }
.release > div { display: flex; justify-content: space-between; gap: 24px; padding: 14px 0; border-top: 1px solid var(--c-line); }
.release > div:first-child { border-top: 0; }
.release dt { flex: none; font-size: 14px; color: var(--c-text-3); }
.release dd { font-size: 14px; font-weight: 500; text-align: right; }
.release dd.is-placeholder { font-weight: 400; }

/* -------------------------------------------------------------- Footer */
.site-footer { border-top: 1px solid var(--c-line); padding: 56px 0 32px; background: var(--c-bg); }
.site-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.site-footer__about p { max-width: 340px; margin-top: 14px; font-size: 14px; color: var(--c-text-3); }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.site-footer__links a { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--c-text-2); }
.site-footer__links a:hover { color: var(--c-text); }
.site-footer__legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--c-surface-2); font-size: 13px; color: var(--c-text-3); }

/* 404 */
.not-found { min-height: 100vh; display: grid; place-items: center; padding: 24px; text-align: center; position: relative; isolation: isolate; overflow: hidden; }
.not-found .hero__glow { opacity: .7; }
.not-found h1 { font-size: clamp(2.5rem, 8vw, 4.5rem); font-weight: 450; letter-spacing: -.05em; line-height: 1.05; }
.not-found p { margin: 16px 0 32px; color: var(--c-text-2); }

/* -------------------------------------------------------------- Responsive */
@media (max-width: 960px) {
  .grid-lines { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .download-card { grid-template-columns: 1fr; gap: 40px; padding: 40px; }
}

@media (max-width: 860px) {
  .js .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 8px;
    margin: 0; padding: 12px 24px 24px;
    background: var(--c-bg);
    border-bottom: 1px solid var(--c-line);
    backdrop-filter: blur(14px);
  }
  .js .nav { display: none; }
  .js .site-header.is-open .nav { display: flex; }
  .nav__links { flex-direction: column; gap: 0; }
  .nav__links a { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--c-surface-2); font-size: 16px; }
  .nav__actions { margin: 8px 0 0; justify-content: space-between; }
  .nav__actions .btn { height: 44px; }
}

@media (max-width: 720px) {
  .hero { padding-top: 116px; }
  .showcase { margin-top: 48px; }
  .showcase__frame { padding: 6px; border-radius: 18px; }
  .showcase__window { border-radius: 13px; }
  .showcase__placeholder { aspect-ratio: 4 / 3; padding: 24px; }
  .facts { grid-template-columns: repeat(2, 1fr); gap: 24px 0; padding-bottom: 56px; }
  .facts__item:nth-child(odd) { border-left: 0; padding-left: 0; }
  .section { padding: 72px 0; }
  .section--split, .section--download { padding-top: 8px; }
  .section--download { padding-bottom: 80px; }
  .grid-lines { grid-template-columns: 1fr; }
  .cell { padding: 26px; }
  .panel { padding: 26px; border-radius: 20px; }
  .download-card { padding: 28px; border-radius: 22px; }
  .release { padding: 4px 18px; }
  .hero__cta .btn { width: 100%; max-width: 360px; }
}
