:root {
  --bg: #f3ebe4;
  --bg-deep: #e9ddd3;
  --ink: #1a1216;
  --ink-soft: #5c4a52;
  --line: rgba(26, 18, 22, 0.12);
  --stamp: #e840a0;
  --panel: rgba(255, 249, 244, 0.55);
  --font-display: "Syne", sans-serif;
  --font-body: "Newsreader", Georgia, serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --max: 920px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    radial-gradient(900px 560px at 50% -15%, rgba(255, 150, 200, 0.32), transparent 55%),
    linear-gradient(165deg, var(--bg) 0%, var(--bg-deep) 100%);
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 0.16;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

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

.shell {
  width: min(100% - (var(--pad) * 2), var(--max));
  margin-inline: auto;
}

.top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.35rem 0 0;
  animation: rise 0.8s var(--ease) both;
}

.top-right {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.version {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.mark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.mark img {
  width: 28px;
  height: 28px;
  display: block;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.top-cta {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.55rem 0.95rem;
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(8px);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.top-cta:hover {
  border-color: var(--stamp);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 7rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 0 4.5rem;
  animation: rise 0.9s var(--ease) 0.08s both;
}

.brand {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.4rem, 10vw, 5.8rem);
  line-height: 0.92;
  letter-spacing: -0.055em;
  color: var(--ink);
}

.hero h1 {
  margin: 0;
  max-width: 16ch;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  line-height: 1.35;
  color: var(--ink);
}

.lede {
  margin: 1rem 0 0;
  max-width: 30ch;
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  padding: 0.9rem 1.25rem;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn.primary {
  background: var(--ink);
  color: #fff7f2;
}

.btn.primary:hover {
  background: var(--stamp);
  transform: translateY(-2px);
}

.btn.ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn.ghost:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.proof {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  padding: 0 0 4.5rem;
  animation: rise 0.9s var(--ease) 0.16s both;
}

.proof-item {
  min-width: 0;
}

.proof-value {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.85rem, 4vw, 2.45rem);
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
}

.proof-label {
  margin: 0.45rem 0 0;
  font-size: 1rem;
  line-height: 1.35;
  color: var(--ink-soft);
}

.shots,
.safe,
.install,
.changelog,
.legal {
  position: relative;
  z-index: 1;
  padding: 0 0 5rem;
  animation: rise 0.9s var(--ease) 0.2s both;
}

.shots h2,
.safe h2,
.install h2,
.changelog h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: var(--ink-soft);
}

.legal {
  padding-top: 2.5rem;
  max-width: 42rem;
}

.legal-kicker {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--stamp);
}

.legal h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.legal-updated {
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.legal-lead {
  margin: 1.5rem 0 0;
  font-size: 1.08rem;
  line-height: 1.55;
  color: var(--ink);
}

.legal-toc {
  display: grid;
  gap: 0.45rem;
  margin: 2rem 0 2.5rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
}

.legal-toc a {
  color: var(--ink-soft);
  transition: color 0.15s var(--ease);
}

.legal-toc a:hover {
  color: var(--stamp);
}

.legal section {
  margin: 0 0 2rem;
}

.legal h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.legal p,
.legal li {
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--ink);
}

.legal p {
  margin: 0 0 0.9rem;
}

.legal ul {
  margin: 0 0 0.9rem;
  padding-left: 1.2rem;
}

.legal li + li {
  margin-top: 0.35rem;
}

.legal-note {
  margin: 2.5rem 0 0;
  padding: 1.2rem 0 0;
  border-top: 1px solid var(--line);
}

.legal-note-sub {
  color: var(--ink-soft) !important;
  font-size: 0.95rem !important;
}

.legal-back {
  margin: 2rem 0 0;
  font-family: var(--font-display);
  font-weight: 600;
}

.legal-back a:hover {
  color: var(--stamp);
}

.foot a {
  color: inherit;
}

.foot a:hover {
  color: var(--stamp);
}

.section-lede {
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  line-height: 1.45;
  color: var(--ink);
}

.shot {
  margin: 0;
}

.shot img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(26, 18, 22, 0.08);
}

/* Safety verdict */
.verdict {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 1.75rem;
  align-items: start;
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  backdrop-filter: blur(8px);
}

.verdict-mark {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.4rem;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(232, 64, 160, 0.12), rgba(232, 64, 160, 0.04));
  border: 1px solid rgba(232, 64, 160, 0.22);
}

.verdict-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 0.35rem;
  border-radius: 50%;
  background: var(--stamp);
  color: #fff7f2;
  font-size: 1.3rem;
  font-weight: 700;
}

.verdict-word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.verdict-sub {
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--ink-soft);
}

.verdict-body p {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink);
}

.verdict-body ul {
  margin: 0 0 0.85rem;
  padding-left: 1.15rem;
  line-height: 1.55;
  color: var(--ink);
}

.verdict-body li + li {
  margin-top: 0.3rem;
}

.verdict-verify {
  font-size: 0.98rem !important;
  color: var(--ink-soft) !important;
}

.verdict-verify a {
  color: var(--stamp);
  border-bottom: 1px solid rgba(232, 64, 160, 0.4);
  transition: border-color 0.15s var(--ease);
}

.verdict-verify a:hover {
  border-color: var(--stamp);
}

/* Numbered steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.steps li {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.4rem 0;
  border-top: 1px solid var(--line);
}

.step-n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--stamp);
  background: var(--panel);
}

.step-body h3 {
  margin: 0.2rem 0 0.4rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.step-body p {
  margin: 0;
  max-width: 52ch;
  font-size: 1.08rem;
  line-height: 1.5;
  color: var(--ink);
}

.step-body em {
  font-style: italic;
  color: var(--ink-soft);
}

.steps code {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.9em;
  padding: 0.1em 0.35em;
  border: 1px solid var(--line);
  background: var(--panel);
}

/* SmartScreen callout — light dialog, like Windows 11 */
.smartscreen {
  position: relative;
  z-index: 51;
  isolation: isolate;
  margin-top: 1rem;
  max-width: 34rem;
  padding: 1.15rem 1.3rem;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(26, 18, 22, 0.14);
  box-shadow: 0 18px 44px rgba(26, 18, 22, 0.16);
}

.ss-title {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  color: #1a1216;
}

.ss-text {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #5c4a52;
}

.ss-flow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
}

.ss-step {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.ss-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 50%;
  background: #1a1216;
  color: #fff7f2;
  font-size: 0.82rem;
  font-weight: 700;
}

.ss-link {
  color: #1668d6;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ss-arrow {
  color: #9a8b91;
}

.ss-btn {
  padding: 0.42rem 0.9rem;
  border-radius: 6px;
  background: var(--stamp);
  color: #fff7f2;
}

.changelog-list {
  display: grid;
  gap: 1.5rem;
  border-top: 1px solid var(--line);
  padding-top: 1.4rem;
}

.change header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.65rem;
}

.change h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
}

.change time {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.change ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ink);
  line-height: 1.55;
}

.foot {
  position: relative;
  z-index: 1;
  padding: 0 0 2rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.sep {
  opacity: 0.5;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 700px) {
  .hero {
    min-height: auto;
    padding: 4rem 0 3rem;
  }

  .brand {
    font-size: clamp(2.8rem, 14vw, 4.2rem);
  }

  .proof {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding-bottom: 3.5rem;
  }

  .verdict {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1.25rem;
  }

  .step-body p {
    max-width: none;
  }

  .smartscreen {
    max-width: none;
  }

  .shot img {
    border-radius: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
