:root {
  color-scheme: dark;
  --bg: #080b0d;
  --panel: #11161a;
  --panel-2: #171d22;
  --line: rgba(239, 244, 242, 0.14);
  --text: #f1f5f3;
  --muted: #a4b0ae;
  --teal: #55d4c7;
  --amber: #efb04c;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 70px;
  padding: 0 clamp(18px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(8, 11, 13, 0.88);
  backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--teal);
  border-radius: 6px;
  color: var(--teal);
  font-size: 12px;
}
.site-header nav { display: flex; align-items: center; gap: 24px; color: var(--muted); font-size: 14px; }
.site-header nav a:hover, .text-link:hover { color: var(--text); }

.hero {
  position: relative;
  min-height: 78svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,8,10,.96) 0%, rgba(5,8,10,.78) 42%, rgba(5,8,10,.15) 78%), linear-gradient(0deg, rgba(8,11,13,.86), transparent 42%); }
.hero-content { position: relative; z-index: 2; width: min(100%, var(--max)); margin: 0 auto; padding: 150px clamp(20px, 5vw, 72px) 70px; }
.eyebrow { margin: 0 0 16px; color: var(--teal); font-size: 12px; font-weight: 800; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 760px; margin-bottom: 18px; font-size: clamp(4.3rem, 10vw, 8.5rem); line-height: .88; }
.hero-copy { max-width: 650px; margin-bottom: 28px; color: #d9e0de; font-size: clamp(1.15rem, 2.2vw, 1.55rem); line-height: 1.5; }
.hero-meta { margin: 18px 0 0; color: var(--muted); font-size: 13px; }
.actions, .card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 17px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(12, 17, 20, .82);
  font-size: 14px;
  font-weight: 800;
}
.button:hover { border-color: var(--teal); }
.button.primary { border-color: var(--accent, var(--teal)); background: var(--accent, var(--teal)); color: #06100f; }

.plugins { max-width: var(--max); margin: 0 auto; padding: 86px clamp(20px, 5vw, 72px); }
.section-heading { max-width: 690px; margin-bottom: 36px; }
.section-heading h2, .suite h2, .pledge h2 { margin-bottom: 14px; font-size: clamp(2.2rem, 5vw, 4.4rem); line-height: 1; }
.section-heading > p:last-child, .suite p, .pledge-copy > p { color: var(--muted); font-size: 17px; line-height: 1.6; }
.plugin-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.plugin-card { overflow: hidden; border: 1px solid var(--line); border-top-color: var(--accent); border-radius: 8px; background: var(--panel); }
.plugin-image { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #06090a; border-bottom: 1px solid var(--line); }
.plugin-image img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s ease; }
.plugin-card:hover .plugin-image img { transform: scale(1.018); }
.plugin-body { padding: 24px; }
.plugin-label { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 12px; color: var(--muted); font-size: 12px; text-transform: uppercase; }
.plugin-label strong { color: var(--accent); }
.plugin-card h3 { margin-bottom: 10px; font-size: 32px; }
.plugin-card p { min-height: 72px; margin-bottom: 22px; color: #c4cecb; line-height: 1.55; }
.text-link { color: var(--muted); font-size: 14px; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }

.suite, .pledge {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, .7fr);
  align-items: end;
  gap: 48px;
  padding: 76px max(clamp(20px, 5vw, 72px), calc((100vw - var(--max)) / 2 + 72px));
  border-top: 1px solid var(--line);
}
.suite { background: var(--panel-2); }
.suite > div:first-child { max-width: 700px; }
.suite .actions { justify-content: flex-end; }
.pledge { grid-template-columns: minmax(230px, .6fr) minmax(0, 1.4fr); align-items: center; }
.pledge-number { color: var(--amber); font-size: clamp(6rem, 16vw, 12rem); font-weight: 900; line-height: .8; }
.candidate-note { font-size: 14px !important; }

footer { display: flex; justify-content: space-between; gap: 20px; padding: 28px clamp(20px, 5vw, 72px); border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }

@media (max-width: 760px) {
  .site-header { min-height: 62px; }
  .brand > span:last-child { display: none; }
  .site-header nav { gap: 14px; font-size: 12px; }
  .site-header nav a:nth-child(2), .site-header nav a:nth-child(3) { display: none; }
  .hero { min-height: 72svh; }
  .hero > img { object-position: 62% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(5,8,10,.98) 8%, rgba(5,8,10,.76) 62%, rgba(5,8,10,.38)); }
  .hero-content { padding: 130px 20px 44px; }
  h1 { font-size: clamp(3.6rem, 20vw, 5.4rem); }
  .hero-copy { font-size: 18px; }
  .actions .button { width: 100%; }
  .plugin-grid, .suite, .pledge { grid-template-columns: 1fr; }
  .plugins { padding: 64px 18px; }
  .plugin-card p { min-height: 0; }
  .suite, .pledge { padding: 58px 20px; gap: 28px; }
  .suite .actions { justify-content: flex-start; }
  .pledge-number { font-size: 7rem; }
  footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .plugin-image img { transition: none; }
}
