@font-face {
  font-family: "IBM Plex Sans";
  src: url("assets/fonts/plex-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("assets/fonts/plex-sans-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("assets/fonts/plex-sans-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("assets/fonts/plex-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0a0b0d;
  --bg-2: #111318;
  --panel: #16191f;
  --ink: #f3eee4;
  --muted: #b4aea2;
  --faint: #7d786e;
  --line: #2c3038;
  --brass: #d4b06a;
  --brass-2: #f0d48a;
  --cut: #7dcea0;
  --focus: #f0d48a;
  --max: 68rem;
  --prose: 42rem;
  --radius: 14px;
  --header-h: 4.25rem;
}

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

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background:
    radial-gradient(1200px 520px at 12% -10%, rgba(212, 176, 106, 0.07), transparent 55%),
    radial-gradient(900px 420px at 100% 0%, rgba(125, 206, 160, 0.04), transparent 46%),
    repeating-linear-gradient(
      90deg,
      transparent 0 72px,
      rgba(255, 255, 255, 0.012) 72px 73px
    ),
    var(--bg);
  font-family: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--brass-2);
  text-underline-offset: 0.18em;
}

a:hover {
  color: #fff6d8;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  z-index: 20;
  padding: 0.6rem 0.85rem;
  background: var(--panel);
  color: var(--ink);
  border: 1px solid var(--brass);
}

.skip:focus {
  top: 0.75rem;
}

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(10, 11, 13, 0.86);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  text-decoration: none;
  min-height: 44px;
}

.brand:hover {
  color: var(--ink);
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  border: 1px solid var(--line);
}

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name strong {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand-name span {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.85rem;
  color: var(--muted);
  text-decoration: none;
  border-radius: 999px;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
}

.nav a[aria-current="page"] {
  box-shadow: inset 0 0 0 1px var(--line);
}

main {
  flex: 1;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(14rem, 0.85fr);
  gap: 2.5rem;
  align-items: center;
  padding: 3.4rem 0 2.4rem;
}

.kicker {
  margin: 0 0 0.85rem;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
}

h1,
h2,
h3 {
  letter-spacing: -0.03em;
  line-height: 1.15;
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.15rem, 5vw, 3.55rem);
  font-weight: 600;
}

.lede {
  margin: 0 0 1.5rem;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.15rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.15rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
}

.btn-primary {
  color: #16120a;
  background: linear-gradient(180deg, var(--brass-2), var(--brass));
}

.btn-primary:hover {
  color: #16120a;
  filter: brightness(1.06);
}

.btn.is-disabled {
  opacity: 0.62;
  cursor: default;
  user-select: none;
}

.btn-primary.is-disabled:hover {
  color: #16120a;
  filter: none;
}

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

.btn-ghost:hover {
  color: var(--ink);
  border-color: var(--brass);
}

.hero-art {
  position: relative;
  justify-self: end;
  width: min(100%, 22rem);
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 8% -6%;
  border: 1px solid rgba(212, 176, 106, 0.2);
  border-radius: 22px;
  pointer-events: none;
}

.hero-art picture,
.hero-art img {
  display: block;
  width: 100%;
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.stamp {
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  padding: 0.28rem 0.5rem;
  border: 1px solid rgba(125, 206, 160, 0.45);
  border-radius: 4px;
  background: rgba(10, 11, 13, 0.72);
  color: var(--cut);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section {
  padding: 1.2rem 0 2.6rem;
}

.section h2 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
}

.section-lead {
  margin: 0 0 1.4rem;
  max-width: 38rem;
  color: var(--muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.step,
.mode,
.feature {
  position: relative;
  padding: 1.15rem 1.15rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 40%), var(--panel);
}

.step::before,
.step::after,
.mode::before,
.feature::before {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-color: var(--brass);
  border-style: solid;
  opacity: 0.55;
}

.step::before,
.mode::before,
.feature::before {
  top: 8px;
  left: 8px;
  border-width: 1px 0 0 1px;
}

.step::after {
  right: 8px;
  bottom: 8px;
  border-width: 0 1px 1px 0;
}

.step-num,
.mode-kicker {
  margin: 0 0 0.45rem;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
}

.step h3,
.mode h3,
.feature h3 {
  margin: 0 0 0.4rem;
  font-size: 1.08rem;
}

.step p,
.mode p,
.feature p {
  margin: 0;
  color: var(--muted);
}

.modes,
.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.note {
  margin-top: 1.4rem;
  padding: 1.1rem 1.2rem;
  border-left: 3px solid var(--brass);
  background: var(--bg-2);
  color: var(--muted);
}

.legal {
  width: min(var(--prose), calc(100% - 2rem));
  margin: 0 auto;
  padding: 2.6rem 0 3.4rem;
}

.legal h1 {
  font-size: clamp(2rem, 4vw, 2.6rem);
}

.legal h2 {
  margin-top: 2rem;
  font-size: 1.25rem;
}

.legal p,
.legal li {
  color: #d8d2c6;
}

.legal .meta {
  margin: 0 0 1.6rem;
  color: var(--faint);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.82rem;
}

.legal ul {
  padding-left: 1.15rem;
}

.not-found {
  width: min(36rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: 5rem 0 6rem;
  text-align: center;
}

.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
  background: #08090b;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1.4rem;
  padding: 1.5rem 0 1.7rem;
}

.footer-brand {
  font-weight: 600;
}

.footer-copy,
.footer-links {
  margin: 0.35rem 0 0;
  color: var(--faint);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  justify-content: flex-end;
  align-content: center;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.footer-links a:hover {
  color: var(--ink);
}


/* Screenshot gallery */
.shots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem 1.1rem;
}

.shot {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  min-width: 0;
}

.shot figcaption {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.shot figcaption strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--ink);
  font-size: 1.02rem;
}

/* Tablet */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 1.6rem;
    padding: 2.2rem 0 1.8rem;
  }

  .hero-art {
    justify-self: center;
    width: min(100%, 16rem);
  }

  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .shots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .modes,
  .features,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

/* Phone */
@media (max-width: 640px) {
  :root {
    --header-h: auto;
  }

  body {
    font-size: 1rem;
    overflow-x: clip;
  }

  .wrap {
    width: min(var(--max), calc(100% - 1.25rem));
  }

  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 0.55rem 0 0.65rem;
    gap: 0.2rem;
  }

  .brand-name strong {
    font-size: 0.9rem;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
    gap: 0.1rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .nav a {
    padding-inline: 0.7rem;
    flex: 0 0 auto;
  }

  .hero {
    padding: 1.6rem 0 1.2rem;
    gap: 1.25rem;
  }

  h1 {
    font-size: clamp(1.85rem, 9vw, 2.35rem);
  }

  .lede {
    font-size: 1.05rem;
    margin-bottom: 1.15rem;
  }

  .actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .hero-art {
    width: min(100%, 14rem);
  }

  .section {
    padding: 0.9rem 0 2rem;
  }

  .section-lead {
    margin-bottom: 1.1rem;
  }

  .steps,
  .shots,
  .modes,
  .features {
    grid-template-columns: 1fr;
  }

  .shots {
    max-width: 22rem;
    margin-inline: auto;
  }

  .shot figcaption {
    font-size: 0.92rem;
  }

  .legal {
    width: min(var(--prose), calc(100% - 1.25rem));
    padding: 1.8rem 0 2.6rem;
  }

  .footer-inner {
    padding: 1.25rem 0 1.4rem;
    gap: 0.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}


.shot img {
  width: 100%;
  height: auto;
  border-radius: 1.1rem;
  border: 1px solid var(--line);
  background: #0a0b0d;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.keylist {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.keylist > div {
  display: grid;
  grid-template-columns: minmax(6.5rem, 9.5rem) minmax(0, 1fr);
  gap: 0.35rem 0.75rem;
  padding: 0.45rem 0.55rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.keylist dt {
  margin: 0;
  color: var(--brass-2);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  line-height: 1.35;
}

.keylist dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.4;
}

@media (max-width: 640px) {
  .keylist > div {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }
}

@media print {
  body {
    background: #fff;
    color: #111;
  }

  .site-header,
  .site-footer,
  .actions,
  .stamp,
  .hero-art,
  .shots {
    display: none;
  }

  a {
    color: inherit;
  }
}


@media print {
  body {
    background: #fff;
    color: #111;
  }

  .site-header,
  .site-footer,
  .actions,
  .stamp,
  .hero-art,
  .shots {
    display: none;
  }

  a {
    color: inherit;
  }
}


.store-actions {
  align-items: center;
}

.store-badge {
  display: inline-flex;
  line-height: 0;
  border-radius: 8px;
  transition: filter 0.15s ease, transform 0.15s ease;
}

.store-badge:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.store-badge img {
  display: block;
  height: 54px;
  width: auto;
}
