/* OneMoreItem.com: the app's house style on the web.  The menu's space sky, the pixel font (inline
   SVG from the app's own glyphs), stepped corners, ink outlines, hard shadows, paper album pages,
   LED tags and chunky buttons.  No outside fonts or requests. */

:root {
  --ink: #0a0514;
  --night: #241a45;
  --night-light: #45366f;
  --night-dark: #120d26;
  --paper: #f7f0d9;
  --paper-shade: #d6c9ab;
  --yellow: #ffcc1f;
  --yellow-deep: #f2990d;
  --red: #db2429;
  --red-deep: #8f1216;
  --led: #ff8c1f;
  --green: #29a352;
  --lavender: #e2dcf8;
  --text: #f4f0ff;
  --text-dim: #c9c0e6;
  --doc-text: #241a3a;
  --gutter: 16px;
  --round: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--night-dark);
  color: var(--text);
  font-family: var(--round);
  font-size: 18px;
  line-height: 1.55;
  overflow-x: hidden;
}

/* The sky stays put behind everything (a fixed layer; background-attachment: fixed is unreliable on iOS). */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: var(--night-dark) url("/assets/sky.19f86a3d0e.jpg") center / cover no-repeat;
}

img { max-width: 100%; height: auto; }
a { color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: #fff; }

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

.skip { position: absolute; left: -999px; top: 8px; z-index: 10; background: var(--yellow); color: var(--ink); padding: 8px 12px; font-weight: 800; }
.skip:focus { left: 8px; }

/* ---- Pixel type ---------------------------------------------------------------------------------- */

svg.px { display: block; max-width: 100%; height: auto; image-rendering: pixelated; }
.pixelated, .sticker, .wordmark { image-rendering: pixelated; image-rendering: crisp-edges; }
h1, h2, h3 { margin: 0; font-weight: 900; line-height: 1.15; }
.px-heading { display: flex; justify-content: center; }
.px-heading.left { justify-content: flex-start; }

/* ---- Stepped panels: ink outline, face, hard shadow ---------------------------------------------- */

.panel {
  --a: 6px;             /* one stair of the stepped corner */
  --b: 3px;             /* the ink outline */
  --face: var(--paper);
  position: relative;
  isolation: isolate;
  filter: drop-shadow(6px 6px 0 rgba(10, 5, 20, 0.85));
}
.panel::before, .panel::after {
  content: "";
  position: absolute;
  z-index: -1;
  clip-path: polygon(
    calc(var(--a) * 2) 0, calc(100% - var(--a) * 2) 0, calc(100% - var(--a) * 2) var(--a),
    calc(100% - var(--a)) var(--a), calc(100% - var(--a)) calc(var(--a) * 2), 100% calc(var(--a) * 2),
    100% calc(100% - var(--a) * 2), calc(100% - var(--a)) calc(100% - var(--a) * 2),
    calc(100% - var(--a)) calc(100% - var(--a)), calc(100% - var(--a) * 2) calc(100% - var(--a)),
    calc(100% - var(--a) * 2) 100%, calc(var(--a) * 2) 100%, calc(var(--a) * 2) calc(100% - var(--a)),
    var(--a) calc(100% - var(--a)), var(--a) calc(100% - var(--a) * 2), 0 calc(100% - var(--a) * 2),
    0 calc(var(--a) * 2), var(--a) calc(var(--a) * 2), var(--a) var(--a), calc(var(--a) * 2) var(--a));
}
.panel::before { inset: 0; background: var(--ink); }
.panel::after { inset: var(--b); background: var(--face); }
.panel.night { --face: var(--night); }
.panel.night::after { background: linear-gradient(180deg, var(--night-light) 0, var(--night) 18px, var(--night) 100%); }
.panel.led { --face: #1b1022; --a: 4px; }

/* ---- Top bar ------------------------------------------------------------------------------------- */

.topbar {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.brand img { width: 40px; height: 40px; border-radius: 9px; flex: none; }
.brand svg.px { height: 18px; width: auto; }
.topnav { display: flex; gap: 18px; font-weight: 800; font-size: 16px; }
.topnav a { color: var(--text); text-decoration: none; }
.topnav a:hover, .topnav a[aria-current="page"] { color: var(--yellow); }
.topnav a.get { color: var(--yellow); }
.topnav a.get:hover { color: #fff; }

/* ---- The hero ------------------------------------------------------------------------------------ */

.hero {
  position: relative;
  overflow: hidden;
  min-height: min(78vh, 760px);
  display: grid;
  place-items: center;
  padding: 48px var(--gutter) 72px;
  text-align: center;
  border-bottom: 3px solid var(--ink);
}
.hero-media { position: absolute; inset: 0; z-index: -1; background: var(--night-dark) url("/media/hero-still.bdf242cded.jpg") center / cover; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 46%, rgba(18, 13, 38, 0.72) 0, rgba(18, 13, 38, 0.38) 46%, rgba(18, 13, 38, 0.1) 75%),
    linear-gradient(180deg, rgba(18, 13, 38, 0.15) 0, rgba(18, 13, 38, 0) 40%, rgba(18, 13, 38, 0.85) 100%);
}
.hero-inner { max-width: 820px; display: grid; justify-items: center; gap: 18px; }
.hero-icon { width: 132px; height: 132px; border-radius: 30px; box-shadow: 6px 6px 0 rgba(10, 5, 20, 0.85); border: 3px solid var(--ink); }
.wordmark { width: min(720px, 100%); height: auto; }
.tagline { font-size: clamp(24px, 4.2vw, 40px); font-weight: 900; line-height: 1.15; text-shadow: 3px 3px 0 var(--ink); margin: 0; text-wrap: balance; }
.tagline .hi { color: var(--yellow); display: block; }
.status { padding: 10px 16px; display: inline-flex; align-items: center; gap: 10px; }
.status svg.px { height: 22px; width: auto; }
.status .dot { width: 10px; height: 10px; background: var(--led); box-shadow: 0 0 10px var(--led); flex: none; }
.status .dot.live { background: #3ee06b; box-shadow: 0 0 10px #3ee06b; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.platforms { margin: 0; color: var(--text-dim); font-size: 16px; font-weight: 800; text-shadow: 2px 2px 0 var(--ink); }

/* ---- Buttons (ChunkyButtonStyle) ----------------------------------------------------------------- */

.btn {
  --face: var(--red);
  background: none;
  --a: 4px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px 15px;
  color: #fff;
  font-weight: 900;
  font-size: 18px;
  text-decoration: none;
  text-shadow: 2px 2px 0 rgba(10, 5, 20, 0.6);
}
.btn::after { background: linear-gradient(180deg, color-mix(in srgb, var(--face) 70%, #fff) 0 4px, var(--face) 4px calc(100% - 6px), color-mix(in srgb, var(--face) 60%, #000) calc(100% - 6px)); }
.btn.coin { --face: var(--yellow); color: var(--ink); text-shadow: none; }
.btn:hover { color: #fff; transform: translateY(1px); }
.btn.coin:hover { color: var(--ink); }
.btn:active { transform: translateY(3px); filter: drop-shadow(3px 3px 0 rgba(10, 5, 20, 0.85)); }
.btn.big { font-size: 22px; padding: 16px 28px 19px; gap: 12px; }
.btn:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.dl-arrow { display: block; width: 18px; height: auto; flex: none; image-rendering: pixelated; }
.btn.big .dl-arrow { width: 22px; }

/* ---- Sections ------------------------------------------------------------------------------------ */

main { display: block; }
.section { max-width: 1120px; margin: 0 auto; padding: 64px var(--gutter) 8px; }
.section-head { display: grid; justify-items: center; gap: 12px; text-align: center; margin-bottom: 30px; }
.section-head p { margin: 0; max-width: 640px; color: var(--text-dim); font-size: 19px; }
.lede { max-width: 760px; margin: 0 auto; text-align: center; font-size: 21px; color: var(--text); }
.lede strong { color: var(--yellow); }

/* Feature cards: paper album pages with a sticker stuck on the corner. */
.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 26px; }
.card { padding: 26px 22px 24px; color: var(--doc-text); min-height: 100%; }
.card h3 { margin: 6px 0 10px; padding-right: 66px; }
.card h3 svg.px { max-width: 100%; height: auto; }
.card p { margin: 0; font-size: 17px; line-height: 1.5; }
.card .sticker { position: absolute; top: -26px; right: -10px; width: 92px; height: auto; transform: rotate(4deg); }
.card:nth-child(even) .sticker { transform: rotate(-5deg); }

/* The numbers, on LED tags. */
.counters { list-style: none; margin: 40px auto 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; max-width: 980px; }
.counter { padding: 18px 16px 16px; text-align: center; }
.counter .num { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-weight: 800; font-size: 34px; color: var(--led); text-shadow: 0 0 12px rgba(255, 140, 31, 0.55); letter-spacing: 1px; display: block; }
.counter .what { color: var(--text-dim); font-size: 16px; font-weight: 700; }

/* The trailer in a stepped frame. */
.screen { padding: 12px; max-width: 960px; margin: 0 auto; --face: #0f0a1d; --a: 8px; }
.screen video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #000; }
.play-wrap { position: absolute; inset: 12px; display: grid; place-items: center; }
.play-wrap[hidden] { display: none; }
.play-btn { font-size: 20px; padding: 14px 24px 17px; border: 0; cursor: pointer; font-family: inherit; }
.play-btn .play-tri { width: 26px; height: 26px; image-rendering: pixelated; }
.play-btn:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }

/* The screenshot strip: scrolls sideways inside itself, never the page. */
.shots {
  list-style: none;
  margin: 0;
  padding: 8px var(--gutter) 22px;
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  max-width: 1120px;
  margin-inline: auto;
}
.shots li { flex: 0 0 260px; scroll-snap-align: center; }
@media (min-width: 900px) {
  .shots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; overflow: visible; }
  .shots li { flex: none; }
}
.shots img { display: block; width: 100%; height: auto; border: 3px solid var(--ink); border-radius: 18px; box-shadow: 6px 6px 0 rgba(10, 5, 20, 0.85); }

/* Every screen. */
.devices { display: flex; justify-content: center; align-items: flex-end; gap: 26px; flex-wrap: wrap; }
.devices figure { margin: 0; display: grid; justify-items: center; gap: 12px; }
.devices img { display: block; border: 3px solid var(--ink); border-radius: 18px; box-shadow: 6px 6px 0 rgba(10, 5, 20, 0.85); height: auto; }
.devices .ipad img { width: 380px; }
.devices .duo img { width: 300px; }
.devices .iphone img { width: 220px; }
.devices figcaption svg.px { height: 18px; width: auto; }

/* Private by design. */
.privacy-band { padding: 26px 26px 24px; max-width: 880px; margin: 0 auto; display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; color: var(--doc-text); }
.privacy-band img { width: 96px; height: auto; }
.privacy-band p { margin: 6px 0 0; font-size: 18px; }
.privacy-band a { color: #6b2bd1; font-weight: 800; }

.closing { text-align: center; padding: 72px var(--gutter) 40px; display: grid; justify-items: center; gap: 18px; }
.closing p { margin: 0; color: var(--text-dim); font-size: 20px; font-weight: 800; }

/* ---- Documents: privacy, terms, support ---------------------------------------------------------- */

.doc-wrap { max-width: 860px; margin: 0 auto; padding: 28px var(--gutter) 40px; }
.doc { padding: 40px 44px 36px; color: var(--doc-text); font-size: 17px; }
.doc h1 { margin: 0 0 6px; }
.doc h1 svg.px { height: 36px; width: auto; }
.doc .meta { color: #5d5275; font-weight: 700; margin: 8px 0 26px; font-size: 15px; }
.doc h2 { font-size: 22px; margin: 32px 0 8px; color: var(--ink); }
.doc h3 { font-size: 18px; margin: 22px 0 6px; color: var(--ink); }
.doc p, .doc li { line-height: 1.6; }
.doc ul { padding-left: 22px; }
.doc li { margin: 4px 0; }
.doc a { color: #6b2bd1; font-weight: 700; }
.doc a:hover { color: var(--ink); }
.doc .summary { background: rgba(214, 201, 171, 0.45); border-left: 6px solid var(--yellow-deep); padding: 14px 18px; margin: 0 0 18px; }
.doc .summary p { margin: 0; }
.doc details { border-top: 2px dashed rgba(36, 26, 58, 0.25); padding: 12px 0; }
.doc details:last-of-type { border-bottom: 2px dashed rgba(36, 26, 58, 0.25); }
.doc summary { font-weight: 900; font-size: 18px; cursor: pointer; color: var(--ink); }
.doc details p, .doc details ul { margin: 10px 0 4px; }
.doc code { font-family: ui-monospace, Menlo, monospace; font-size: 15px; background: rgba(214, 201, 171, 0.5); padding: 1px 5px; }

/* ---- Footer -------------------------------------------------------------------------------------- */

.footer { max-width: 1120px; margin: 40px auto 0; padding: 26px var(--gutter) 40px; border-top: 3px solid rgba(10, 5, 20, 0.6); display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; justify-content: space-between; color: var(--text-dim); font-size: 15px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; font-weight: 800; }
.footer a { color: var(--text); text-decoration: none; }
.footer a:hover { color: var(--yellow); }

/* ---- Small screens ------------------------------------------------------------------------------- */

@media (max-width: 900px) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .topnav { gap: 12px; font-size: 15px; }
  .brand svg.px { display: none; }
  .hero { min-height: 0; padding: 36px var(--gutter) 56px; }
  .hero-icon { width: 104px; height: 104px; border-radius: 24px; }
  .features { grid-template-columns: 1fr; gap: 34px; }
  .card .sticker { width: 78px; top: -22px; right: -4px; }
  .counters { grid-template-columns: 1fr; gap: 16px; }
  .section { padding-top: 52px; }
  .section-head svg.px { max-width: 100%; }
  .shots li { flex-basis: 62vw; }
  .devices .ipad img { width: 100%; max-width: 360px; }
  .devices .duo img { width: 62vw; }
  .devices .iphone img { width: 46vw; }
  .privacy-band { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 22px 18px; }
  .privacy-band h2 svg.px { margin: 0 auto; }
  .tagline { font-size: 25px; }
  .doc { padding: 28px 20px 26px; }
  .btn.big { font-size: 19px; padding: 14px 20px 17px; }
  .play-btn { font-size: 15px; padding: 7px 14px 10px; gap: 7px; }
  .play-btn .play-tri { width: 16px; height: 16px; }
  .play-wrap { inset: 8px; }
  .doc h1 svg.px { height: 26px; }
  .footer { flex-direction: column; align-items: flex-start; }
}

/* Reduced motion: the hero shows its still, nothing moves. */
@media (prefers-reduced-motion: reduce) {
  .hero-media video { display: none; }
  .btn:hover, .btn:active { transform: none; }
}
