@font-face {
  font-family: 'Rubik';
  src: url('fonts/rubik.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('fonts/inter.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #120e0d;
  --bg-elevated: #1a1412;
  --surface: #221916;
  --surface-2: #2b201c;
  --surface-3: #332622;
  --line: rgba(244, 239, 234, 0.09);
  --line-strong: rgba(226, 154, 123, 0.22);
  --text: #f6f1ec;
  --muted: #b7a8a0;
  --muted-2: #8f8078;
  --accent: #c56749;
  --accent-light: #efb08d;
  --accent-hot: #ff8f63;
  --button: linear-gradient(180deg, #cf704f 0%, #b4563a 100%);
  --button-hover: linear-gradient(180deg, #da7a58 0%, #c05f42 100%);
  --glow: 0 0 0 1px rgba(239, 176, 141, 0.08), 0 18px 50px rgba(0, 0, 0, 0.38);
  --glow-accent: 0 0 0 1px rgba(239, 176, 141, 0.14), 0 14px 40px rgba(197, 103, 73, 0.18);
  --display: 'Rubik', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
  --mono: ui-monospace, 'SFMono-Regular', Consolas, monospace;
  --gutter: clamp(18px, 4.5vw, 56px);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1200px 600px at 12% -5%, rgba(197, 103, 73, 0.16), transparent 55%),
    radial-gradient(900px 500px at 92% 8%, rgba(239, 176, 141, 0.08), transparent 60%),
    linear-gradient(180deg, #15100f 0%, var(--bg) 38%, #100d0c 100%);
  color: var(--text);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

/* subtle grain */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* faint grid */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(rgba(244, 239, 234, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 239, 234, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 10%, #000 20%, transparent 75%);
}

.site-header,
main,
.footer {
  position: relative;
  z-index: 1;
}

::selection {
  background: rgba(197, 103, 73, 0.55);
  color: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

a,
button,
summary,
[role="button"] {
  -webkit-tap-highlight-color: transparent;
}

:focus:not(:focus-visible) {
  outline: none;
  box-shadow: none;
}

:focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: 4px;
  border-radius: 6px;
}

img {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

.wrap {
  width: min(1180px, calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform 180ms var(--ease);
}

.skip-link:focus {
  transform: none;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid transparent;
  background: rgba(18, 14, 13, 0.55);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  transition: border-color 220ms var(--ease), background 220ms var(--ease), box-shadow 220ms var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(18, 14, 13, 0.82);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1;
  transition: opacity 180ms var(--ease);
}

.brand:hover {
  opacity: 0.92;
}

.brand img {
  flex-shrink: 0;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}

.brand__suffix {
  color: var(--accent-light);
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
}

.nav a {
  position: relative;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 500;
  transition: color 180ms var(--ease), background 180ms var(--ease);
}

.nav a:hover,
.nav a[aria-current='page'] {
  color: var(--text);
  background: rgba(244, 239, 234, 0.05);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 11px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), background 180ms var(--ease), border-color 180ms var(--ease), color 180ms var(--ease);
}

.button--primary {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--button);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 8px 24px rgba(197, 103, 73, 0.28);
}

.button--primary::after {
  content: '';
  position: absolute;
  inset: -20% auto -20% -60%;
  width: 45%;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  opacity: 0;
  transition: opacity 180ms var(--ease);
  pointer-events: none;
  z-index: 1;
}

.button--primary:hover {
  background: var(--button-hover);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 14px 34px rgba(197, 103, 73, 0.34);
  transform: translateY(-1px);
}

.button--primary:hover::after {
  opacity: 1;
  animation: buttonSheen 0.9s var(--ease);
}

.button.is-attention {
  animation: attentionPulse 1.15s var(--ease);
}

.button:active {
  transform: translateY(0);
}

.button--small {
  min-height: 42px;
  padding: 8px 16px;
  font-size: 13px;
}

.button--full {
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 500;
  transition: color 180ms var(--ease), transform 180ms var(--ease);
}

.text-link:hover {
  color: var(--accent-light);
}

.text-link span[aria-hidden] {
  transition: transform 180ms var(--ease);
}

.text-link:hover span[aria-hidden] {
  transform: translate(1px, -1px);
}

.nav-toggle {
  position: relative;
  display: block;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: background 180ms var(--ease), border-color 180ms var(--ease);
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-strong);
}

.nav-toggle span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 200ms var(--ease), top 200ms var(--ease), opacity 200ms var(--ease);
}

.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 24px; }

.site-header.is-open .nav-toggle span:first-child { top: 20.5px; transform: rotate(45deg); }
.site-header.is-open .nav-toggle span:last-child { top: 20.5px; transform: rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: clamp(56px, 8vw, 96px) 0 clamp(64px, 9vw, 110px);
  overflow: clip;
}

.hero::before {
  content: '';
  position: absolute;
  top: -140px;
  left: 50%;
  width: min(1150px, 125vw);
  height: 560px;
  transform: translateX(-50%);
  background:
    radial-gradient(closest-side at 45% 45%, rgba(197, 103, 73, 0.22), rgba(197, 103, 73, 0.06) 46%, transparent 72%),
    radial-gradient(closest-side at 65% 35%, rgba(239, 176, 141, 0.1), transparent 60%);
  filter: blur(22px);
  pointer-events: none;
  animation: heroGlowDrift 12s ease-in-out infinite alternate;
}

.hero::after {
  content: '';
  position: absolute;
  right: -8%;
  bottom: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 176, 141, 0.08), transparent 65%);
  filter: blur(10px);
  pointer-events: none;
  animation: heroGlowDrift 16s ease-in-out infinite alternate-reverse;
}

.hero__layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  align-items: center;
  gap: clamp(34px, 5vw, 64px);
}

.hero__content,
.preview { min-width: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  padding: 7px 12px 7px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(197, 103, 73, 0.08);
  color: #e7c3b4;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-hot);
  box-shadow: 0 0 0 4px rgba(255, 143, 99, 0.14);
  animation: pulseDot 2.4s ease-in-out infinite;
}

.hero__title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(72px, 10vw, 138px);
  font-weight: 700;
  letter-spacing: -0.075em;
  line-height: 0.92;
  text-wrap: balance;
}

.hero__title span {
  display: inline-block;
  background: linear-gradient(120deg, var(--accent-light) 0%, #ffd8c5 35%, #fff1ea 50%, #ffcfb8 65%, var(--accent-light) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 8px 26px rgba(197, 103, 73, 0.18));
  animation: textShimmer 8s ease-in-out infinite;
}

.hero__subtitle {
  margin: 22px 0 0;
  font-family: var(--display);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 520;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: #f2ebe6;
}

.hero__description {
  max-width: 34ch;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 20px;
  margin-top: 30px;
}

.compatibility {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.compatibility li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  color: #d4c8c1;
  font-size: 12.5px;
  font-weight: 500;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.compatibility li::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-light);
  opacity: 0.8;
}

/* Preview */
.preview {
  position: relative;
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(239, 176, 141, 0.14);
  border-radius: calc(var(--radius-lg) + 2px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
    linear-gradient(145deg, #2a1e1a, #1c1513);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.02) inset,
    0 30px 80px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(197, 103, 73, 0.06);
  transform: perspective(1200px) rotateY(-2deg) rotateX(1deg);
  transition: transform 500ms var(--ease), box-shadow 500ms var(--ease);
  animation: floatCard 8s ease-in-out infinite;
  will-change: transform;
}

.preview:hover {
  transform: perspective(1200px) rotateY(0deg) rotateX(0deg) translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 36px 90px rgba(0, 0, 0, 0.48),
    0 0 60px rgba(197, 103, 73, 0.08);
}

.preview::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(239, 176, 141, 0.3), rgba(239, 176, 141, 0) 30%, rgba(239, 176, 141, 0.14), rgba(239, 176, 141, 0) 70%);
  background-size: 200% 200%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  animation: borderFlow 10s linear infinite;
}

.preview__stage {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(244, 239, 234, 0.06);
  border-radius: 18px;
  background: #100c0b;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.preview__stage::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 22%, transparent 78%, rgba(0, 0, 0, 0.12));
  pointer-events: none;
}

.preview__stage img {
  width: 100%;
  height: auto;
  aspect-ratio: 1440 / 792;
  transform: scale(1.01);
  transition: transform 700ms var(--ease);
}

.preview:hover .preview__stage img {
  transform: scale(1.03);
}

.preview__caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 42px;
  margin-top: 10px;
  padding: 0 6px 2px;
  color: var(--muted);
  font-size: 12.5px;
}

.preview__caption > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.preview__caption > span::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6fd38a;
  box-shadow: 0 0 0 3px rgba(111, 211, 138, 0.12);
  animation: pulseDot 2.6s ease-in-out infinite;
}

.preview__caption .text-link {
  color: var(--accent-light);
  font-size: 12.5px;
}

/* ===== Sections ===== */
.section {
  position: relative;
  padding: clamp(56px, 8vw, 88px) 0;
  border-top: 1px solid var(--line);
}

.section__layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.section__intro {
  position: sticky;
  top: 108px;
}

.section__intro h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(30px, 3.2vw, 40px);
  font-weight: 620;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.section__intro h2::after {
  content: '';
  display: block;
  width: 42px;
  height: 2px;
  margin-top: 16px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), rgba(239, 176, 141, 0.2));
}

.section__intro > p {
  max-width: 26ch;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.feature {
  position: relative;
  min-width: 0;
  padding: 26px 26px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
    rgba(34, 25, 22, 0.55);
  box-shadow: var(--glow);
  overflow: hidden;
  transition: transform 220ms var(--ease), border-color 220ms var(--ease), box-shadow 220ms var(--ease), background 220ms var(--ease);
}

.feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(239, 176, 141, 0.35), transparent);
  opacity: 0.5;
  transition: opacity 220ms var(--ease);
  z-index: 1;
}

.feature::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(220px 160px at var(--mx, -30%) var(--my, -30%), rgba(239, 176, 141, 0.11), transparent 70%);
  opacity: 0;
  transition: opacity 220ms var(--ease);
  pointer-events: none;
}

.feature > * { position: relative; z-index: 1; }

.feature:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
    rgba(43, 32, 28, 0.72);
  box-shadow: var(--glow-accent);
}

.feature:hover::before,
.feature:hover::after {
  opacity: 1;
}

.feature h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 560;
  letter-spacing: -0.02em;
}

.feature h3::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  box-shadow: 0 0 0 4px rgba(197, 103, 73, 0.12);
  flex-shrink: 0;
}

.feature p {
  max-width: 40ch;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

/* Requirements */
.requirements {
  margin: 22px 0 0;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent),
    rgba(26, 20, 18, 0.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.requirements > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px 14px;
  padding: 11px 0;
  font-size: 13px;
}

.requirements > div + div {
  border-top: 1px dashed rgba(244, 239, 234, 0.08);
}

.requirements dt {
  color: var(--muted-2);
  font-weight: 500;
}

.requirements dd {
  margin: 0;
  color: #efe6e0;
  font-weight: 600;
}

/* Steps */
.steps {
  position: relative;
  margin: 0;
  padding: 0 0 0 8px;
  list-style: none;
}

.steps::before {
  content: '';
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 23px;
  width: 1px;
  background: linear-gradient(180deg, rgba(239, 176, 141, 0.35), rgba(244, 239, 234, 0.08) 60%, rgba(239, 176, 141, 0.18));
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 18px;
  padding: 18px 0 26px;
}

.step__number {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-top: 1px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: linear-gradient(180deg, #2f231f, #211815);
  color: var(--accent-light);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22), 0 0 0 4px rgba(197, 103, 73, 0.06);
}

.step h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 560;
  letter-spacing: -0.02em;
}

.step p {
  max-width: 58ch;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.75;
}

/* Download */
.section--download {
  background:
    radial-gradient(700px 280px at 70% 0%, rgba(197, 103, 73, 0.1), transparent 65%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.012), rgba(255, 255, 255, 0));
}

.downloads {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.download-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px 26px;
  min-width: 0;
  padding: 28px 30px;
  border: 1px solid rgba(239, 176, 141, 0.16);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
    linear-gradient(135deg, #2e211d, #211715);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.02) inset,
    0 22px 50px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), border-color 220ms var(--ease);
}

.download-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(300px 220px at var(--mx, 80%) var(--my, 20%), rgba(239, 176, 141, 0.12), transparent 70%);
  opacity: 0.75;
  transition: opacity 220ms var(--ease);
  pointer-events: none;
}

.download-card::after {
  content: '';
  position: absolute;
  top: -60px;
  right: -40px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 176, 141, 0.16), transparent 68%);
  pointer-events: none;
}

.download-card:hover {
  transform: translateY(-2px);
  border-color: rgba(239, 176, 141, 0.26);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 28px 60px rgba(0, 0, 0, 0.34),
    0 0 40px rgba(197, 103, 73, 0.08);
}

.download-card:hover::before {
  opacity: 1;
}

.download-card__main {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.download-card__icon {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.32);
}

.download-card__info { min-width: 0; }

.download-card__actions {
  position: relative;
  width: 200px;
  min-width: 0;
}

.download-card__heading {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.download-card h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border: 1px solid rgba(239, 176, 141, 0.22);
  border-radius: 999px;
  background: rgba(197, 103, 73, 0.12);
  color: var(--accent-light);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1;
}

.download-card__description {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.download-card__meta {
  margin: 10px 0 0;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 11.5px;
  text-align: center;
}

/* FAQ */
.faq {
  display: grid;
  gap: 12px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.018);
  overflow: hidden;
  transition: border-color 200ms var(--ease), background 200ms var(--ease), box-shadow 200ms var(--ease);
}

.faq details[open] {
  border-color: var(--line-strong);
  background: rgba(197, 103, 73, 0.045);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.12);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  font-size: 15.5px;
  font-weight: 550;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
  transition: color 180ms var(--ease);
}

.faq summary:hover {
  color: #fff;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary > span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--accent-light);
  font-size: 18px;
  line-height: 1;
  transition: transform 220ms var(--ease), background 220ms var(--ease), border-color 220ms var(--ease);
}

.faq details[open] summary > span {
  transform: rotate(45deg);
  background: rgba(197, 103, 73, 0.14);
  border-color: rgba(239, 176, 141, 0.2);
}

.faq p {
  max-width: 62ch;
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.75;
}

.faq p a {
  color: var(--accent-light);
  text-decoration: underline;
  text-decoration-color: rgba(239, 176, 141, 0.35);
  text-underline-offset: 3px;
  transition: color 180ms var(--ease), text-decoration-color 180ms var(--ease);
}

.faq p a:hover {
  color: #ffd0b8;
  text-decoration-color: rgba(239, 176, 141, 0.65);
}

/* Footer */
.footer {
  padding: 30px 0 36px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.01), transparent);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px 24px;
}

.footer .brand {
  font-size: 19px;
}

.footer .brand img {
  width: 30px;
  height: 30px;
  box-shadow: none;
}

.footer__links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer__links a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  transition: color 180ms var(--ease), background 180ms var(--ease);
}

.footer__links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.footer p {
  margin: 0;
  color: var(--muted-2);
  font-size: 12px;
}

/* ===== Reveal animations ===== */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Keyframes ===== */
@keyframes heroGlowDrift {
  0% { transform: translateX(-50%) translateY(0) scale(1); opacity: 0.9; }
  100% { transform: translateX(-48%) translateY(14px) scale(1.04); opacity: 1; }
}

@keyframes textShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.25); opacity: 0.7; }
}

@keyframes buttonSheen {
  0% { left: -60%; opacity: 0; }
  20% { opacity: 1; }
  100% { left: 130%; opacity: 0; }
}

@keyframes attentionPulse {
  0% { transform: scale(1); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 8px 24px rgba(197, 103, 73, 0.28), 0 0 0 0 rgba(239, 176, 141, 0); }
  30% { transform: scale(1.03); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 16px 38px rgba(197, 103, 73, 0.38), 0 0 0 10px rgba(239, 176, 141, 0.16); }
  60% { transform: scale(1.01); }
  100% { transform: scale(1); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 8px 24px rgba(197, 103, 73, 0.28), 0 0 0 22px rgba(239, 176, 141, 0); }
}

@keyframes borderFlow {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

@keyframes floatCard {
  0%, 100% { transform: perspective(1200px) rotateY(-2deg) rotateX(1deg) translateY(0); }
  50% { transform: perspective(1200px) rotateY(-1.2deg) rotateX(0.5deg) translateY(-4px); }
}

/* ===== Responsive ===== */
@media (max-width: 1080px) {
  .hero__layout { gap: 32px; }
  .section__layout { grid-template-columns: 220px minmax(0, 1fr); gap: 36px; }
  .download-card { padding: 24px; }
  .download-card__actions { width: 180px; }
}

@media (max-width: 860px) {
  .header-inner {
    flex-wrap: wrap;
    min-height: 70px;
    gap: 0 12px;
  }

  .header-actions { margin-left: auto; }

  .nav {
    order: 3;
    width: 100%;
    margin: 10px 0 0;
    flex-wrap: wrap;
    gap: 4px;
    border-radius: 16px;
  }

  .js .nav {
    position: absolute;
    left: var(--gutter);
    right: var(--gutter);
    top: calc(100% + 6px);
    width: auto;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 8px;
    border: 1px solid var(--line-strong);
    border-radius: 16px;
    background: rgba(26, 20, 18, 0.96);
    backdrop-filter: blur(16px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-6px) scale(0.99);
    pointer-events: none;
    transition: opacity 180ms var(--ease), transform 180ms var(--ease), visibility 180ms var(--ease);
  }

  .js .nav a {
    padding: 13px 14px;
    border-radius: 10px;
    font-size: 14.5px;
  }

  .js .site-header.is-open .nav {
    visibility: visible;
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .hero { padding: 44px 0 58px; }

  .hero__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }

  .hero__description { max-width: 46ch; }

  .preview {
    max-width: 720px;
    transform: none;
    animation: none;
  }
  .preview:hover { transform: translateY(-2px); }

  .section { padding: 52px 0; }

  .section__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .section__intro { position: static; }

  .section__intro > p { max-width: 52ch; }

  .requirements {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 18px;
  }

  .requirements > div + div { border-top: 0; }
  .requirements > div {
    border-top: 1px dashed rgba(244, 239, 234, 0.08);
  }
  .requirements > div:nth-child(-n + 2) { border-top: 0; }
}

@media (max-width: 640px) {
  .features { grid-template-columns: minmax(0, 1fr); }
  .download-card { grid-template-columns: minmax(0, 1fr); }
  .download-card__actions { width: 100%; }
}

@media (max-width: 520px) {
  .brand { gap: 8px; font-size: 20px; }
  .brand img { width: 32px; height: 32px; }
  .header-inner { gap: 0 8px; }
  .header-actions { gap: 8px; }
  .button--small { min-height: 40px; padding: 8px 13px; font-size: 12.5px; }

  .hero__title { font-size: clamp(64px, 19vw, 92px); }
  .hero__subtitle { font-size: 22px; }
  .hero__description { font-size: 15px; }
  .hero__actions { gap: 10px 14px; }
  .hero__actions .button { width: 100%; }

  .compatibility li { font-size: 12px; padding: 7px 10px; }

  .preview { padding: 10px; border-radius: 20px; }
  .preview__stage { border-radius: 14px; }
  .preview__caption { font-size: 11.5px; }

  .feature { padding: 22px 20px 24px; }
  .feature h3 { font-size: 20px; }

  .requirements { grid-template-columns: 1fr; }
  .requirements > div:nth-child(2) { border-top: 1px dashed rgba(244, 239, 234, 0.08); }

  .step { grid-template-columns: 42px minmax(0, 1fr); gap: 14px; }

  .download-card { padding: 22px 20px; border-radius: 18px; }
  .download-card__icon { width: 58px; height: 58px; border-radius: 15px; }
  .download-card h3 { font-size: 23px; }

  .faq summary { padding: 16px 16px; font-size: 15px; }
  .faq p { padding: 0 16px 16px; }

  .footer__inner { align-items: flex-start; }
  .footer__links { margin-left: auto; }
  .footer p { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .preview, .preview:hover { transform: none; animation: none !important; }
  .button.is-attention { animation: none !important; }
}
