@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src:
    url("./fonts/inter-latin-wght-normal.woff2") format("woff2-variations"),
    url("./fonts/inter-latin-wght-normal.woff2") format("woff2");
  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;
}

:root {
  --app-bg: #fbe7b6;
  --app-bg-top: #f7ecd5;
  --app-bg-bottom: #f3e2bf;
  --app-surface: rgba(255, 250, 244, 0.94);
  --app-border: rgba(164, 112, 41, 0.16);
  --app-title: #4A2D13;
  --app-text: #4A2D13;
  --app-muted: #a36e34;
  --app-accent: #f39c18;
  --app-accent-strong: #ec8609;
  --app-accent-dark: #80591F;
  --app-shadow: 0 9px 20px rgba(131, 82, 22, 0.07);
  font-family: "Inter", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  color: var(--app-text);
  background: var(--app-bg);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 80% 12%, rgba(255, 250, 244, 0.84), transparent 28%),
    linear-gradient(180deg, var(--app-bg-top) 0%, var(--app-bg) 48%, var(--app-bg-bottom) 100%);
}

a {
  color: inherit;
}

.topbar {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.topbar__links {
  width: 100%;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.pill {
  min-height: 34px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--app-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--app-muted);
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: auto;
  display: grid;
  align-items: start;
  padding: 0 0 16px;
}

.hero-card {
  padding: 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  border: 1px solid var(--app-border);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(255, 250, 244, 0.96), rgba(255, 248, 237, 0.78)),
    var(--app-surface);
  box-shadow: 0 30px 70px rgba(131, 82, 22, 0.16);
}

.hero-card > :not(.page-logo) {
  grid-column: 1;
}

.page-logo {
  grid-column: 2;
  grid-row: 1 / span 4;
  justify-self: end;
  width: clamp(96px, 14vw, 156px);
  height: clamp(96px, 14vw, 156px);
  display: block;
  color: var(--app-title);
  background: currentColor;
  -webkit-mask: url("./gnosisvn-caduceus-logo.svg") center / contain no-repeat;
  mask: url("./gnosisvn-caduceus-logo.svg") center / contain no-repeat;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--app-accent-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--app-title);
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.93;
  letter-spacing: 0;
}

.lede {
  max-width: 700px;
  margin-bottom: 0;
  color: var(--app-muted);
  font-size: clamp(1.06rem, 2vw, 1.28rem);
  line-height: 1.55;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 48px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--app-title);
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.button--primary {
  background: linear-gradient(180deg, var(--app-accent) 0%, var(--app-accent-strong) 100%);
  color: #fffaf0;
  box-shadow: 0 14px 28px rgba(179, 99, 13, 0.24);
}

.button--secondary {
  border-color: var(--app-border);
  background: rgba(255, 255, 255, 0.7);
}

.button--disabled {
  pointer-events: none;
  border-color: var(--app-border);
  background: rgba(255, 255, 255, 0.48);
  color: rgba(74, 45, 19, 0.48);
}

.downloads-section {
  padding-bottom: 22px;
}

.privacy-section {
  padding-bottom: 64px;
}

.card {
  padding: 26px;
  border: 1px solid var(--app-border);
  border-radius: 12px;
  background: var(--app-surface);
  box-shadow: var(--app-shadow);
}

.download-list {
  display: grid;
}

.download-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid var(--app-border);
}

.download-item:first-child {
  border-top: 0;
}

.download-item strong {
  display: block;
  margin-bottom: 6px;
  color: var(--app-title);
  font-size: 1.05rem;
}

.download-item__meta {
  color: var(--app-muted);
  font-size: 0.94rem;
  line-height: 1.45;
}

.download-item--loading {
  color: var(--app-muted);
}

.privacy-section h2 {
  margin-bottom: 12px;
  font-size: 1.5rem;
  letter-spacing: 0;
}

.privacy-section p:not(.eyebrow) {
  max-width: 860px;
  margin-bottom: 12px;
  color: var(--app-muted);
  font-size: 1rem;
  line-height: 1.6;
}

.privacy-section p:last-child {
  margin-bottom: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 760px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-card {
    grid-template-columns: 1fr;
  }

  .page-logo {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    width: 72px;
    height: 72px;
  }

  .download-item {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }
}
