/* W3Schools app pages (v2 design) — shared base: fonts, reset, variables, top nav.
   Fonts are self-hosted in /adventure/fonts/ (extracted from the v2 design files). */

@font-face {
  font-family: "PS2P";
  src: url(fonts/ps2p.woff2) format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "SMono";
  src: url(fonts/smono-400.woff2) format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "SMono";
  src: url(fonts/smono-700.woff2) format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --ink: #16181d;
  --muted: #6e6e73;
  --green: #04aa6d;
  --gold: #f5c44e;
  --sky: #a3cffb;
  --paper: #fff;
  --soft: #f5f5f7;
  --line: #e4e4e9;
  --dark: #1e2029;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "SMono", monospace;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img {
  image-rendering: pixelated;
}
.ps {
  font-family: "PS2P";
  text-transform: uppercase;
  line-height: 1.75;
}
.eyebrow {
  font-family: "PS2P";
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--green);
  text-transform: uppercase;
}

/* ---------- nav (w3schools.com style) ---------- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: #fff;
  box-shadow:
    0 1px 0 var(--line),
    0 2px 10px rgba(22, 24, 29, 0.04);
  display: flex;
  align-items: center;
  padding: 7px 28px;
  font-family:
    "Source Sans Pro", "Segoe UI", system-ui, Helvetica, Arial, sans-serif;
}
nav .w3logo {
  display: block;
  text-decoration: none;
}
nav .w3logo img {
  height: 42px;
  width: auto;
  display: block;
  image-rendering: auto;
}
nav .navright {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 22px;
}
nav .signin {
  color: var(--ink);
  text-decoration: none;
  font-size: 15.5px;
  font-weight: 600;
  white-space: nowrap;
}
nav .signin:hover {
  text-decoration: underline;
}
nav .signin-btn {
  color: var(--ink);
  border: 1.5px solid var(--ink);
  background: #fff;
  text-decoration: none;
  font-size: 15.5px;
  font-weight: 600;
  border-radius: 8px;
  padding: 7.5px 22px;
  white-space: nowrap;
  transition: background 0.12s;
}
nav .signin-btn:hover {
  background: var(--soft);
}
nav .getapp {
  background: var(--green);
  color: #fff;
  text-decoration: none;
  font-size: 15.5px;
  font-weight: 600;
  border-radius: 8px;
  padding: 9px 24px;
  white-space: nowrap;
  transition: filter 0.12s;
}
nav .getapp:hover {
  filter: brightness(1.07);
}
@media (max-width: 560px) {
  nav {
    padding: 7px 16px;
  }
  nav .navright {
    gap: 14px;
  }
  nav .getapp {
    padding: 8px 18px;
  }
}
/* ---------- features ---------- */
#features {
  background: var(--soft);
  padding: 130px 0 140px;
}
.featgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 20px;
  margin-top: 60px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 34px 28px;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 6px 6px 0 rgba(22, 24, 29, 0.06);
}
.card .ic {
  height: 56px;
  display: flex;
  align-items: center;
}
.card .ic img {
  max-height: 56px;
}
.card .ic .ictext {
  font-family: "PS2P";
  font-size: 15px;
  color: var(--green);
}
.card h3 {
  font-family: "PS2P";
  font-size: 12px;
  text-transform: uppercase;
  margin-top: 20px;
  line-height: 1.8;
}
.card p {
  margin-top: 12px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--muted);
}
.card .imgbox {
  background: var(--soft);
  border-radius: 8px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps {
  max-width: 640px;
  margin: 56px auto 0;
  text-align: left;
  display: grid;
  gap: 44px;
}
.step {
  display: flex;
  gap: 26px;
  align-items: flex-start;
}
.step .n {
  font-family: "PS2P";
  font-size: 15px;
  background: #fff;
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 rgba(22, 24, 29, 0.18);
  padding: 12px 15px;
  border-radius: 2px;
  flex: 0 0 auto;
}
.step h3 {
  font-family: "PS2P";
  font-size: 13px;
  text-transform: uppercase;
  line-height: 1.7;
}
.step p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  margin-top: 8px;
}
