/* Qubo landing — black and white, groovy, matching the App Store screenshots. */
@font-face {
  font-family: "Unbounded";
  src: url("/fonts/unbounded-latin.woff2") format("woff2");
  font-weight: 800 900;
  font-display: swap;
}

:root {
  --ink: #0b0d14;
  --paper: #f4f5f8;
  --muted: #6b6f7a;
  --max: 72rem;
  --display: "Unbounded", ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--ink); color: var(--paper); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.6; }
body { margin: 0; overflow-x: hidden; }
a { color: inherit; }
a:focus-visible, .pill:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; border-radius: 0.4rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.top, .hero-copy, .promises, .types, .get, .foot nav { width: min(calc(100% - 2rem), var(--max)); margin-inline: auto; }

.top { display: flex; align-items: center; justify-content: space-between; min-height: 5rem; }
.logo { display: inline-flex; align-items: center; gap: 0.6rem; font: 900 1.25rem var(--display); text-decoration: none; letter-spacing: -0.03em; }
.logo svg { width: 2rem; height: 2rem; fill: var(--paper); }

.pill { display: inline-flex; align-items: center; min-height: 3rem; padding: 0 1.4rem; border-radius: 999px; font-weight: 650; text-decoration: none; }
.pill-ghost { border: 2px solid var(--paper); }
.pill-ghost:hover { background: var(--paper); color: var(--ink); }
.pill-solid { background: var(--paper); color: var(--ink); }
.pill-light { background: var(--ink); color: var(--paper); }

.hero { position: relative; padding: clamp(3rem, 10vw, 7rem) 0 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 900; letter-spacing: -0.04em; line-height: 0.98; margin: 0; }
h1 { font-size: clamp(3.2rem, 12vw, 8.5rem); }
.lede { max-width: 34rem; margin: 1.5rem 0 2rem; font-size: clamp(1.05rem, 2.4vw, 1.3rem); color: #b7bac4; }
.ribbon { display: block; width: 100%; height: clamp(5rem, 16vw, 13rem); margin-top: 2rem; }
.ribbon path { fill: none; stroke: var(--paper); stroke-width: 56; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }

.shots { background: var(--paper); padding: 0 0 clamp(3rem, 8vw, 6rem); }
.shots-track { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 max(1rem, calc((100% - var(--max)) / 2)); scrollbar-width: none; }
.shots-track::-webkit-scrollbar { display: none; }
.shots-track img { flex: 0 0 auto; width: clamp(15rem, 62vw, 19rem); height: auto; border-radius: 1.6rem; scroll-snap-align: center; box-shadow: 0 1.5rem 3rem rgba(11, 13, 20, 0.14); }
.shots-track img:first-child { margin-top: -2.5rem; }

.promises, .types { color: var(--ink); }
.promises { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 2rem; padding: clamp(3rem, 8vw, 6rem) 0; }
main > .promises, main > .types { width: 100%; padding-inline: max(1rem, calc((100% - var(--max)) / 2)); background: var(--paper); }
.promises h3 { font-size: 1.45rem; margin-bottom: 0.7rem; }
.promises p, .types p { margin: 0; color: var(--muted); font-size: 1.05rem; }

.types { padding-bottom: clamp(3rem, 8vw, 6rem); }
.types h2 { font-size: clamp(2rem, 6vw, 3.5rem); margin-bottom: 1.5rem; }
.types ul { display: flex; flex-wrap: wrap; gap: 0.7rem; list-style: none; padding: 0; margin: 0 0 1.5rem; }
.types li { padding: 0.55rem 1.1rem; border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 650; }
.types p { max-width: 38rem; }

.get { padding: clamp(4rem, 10vw, 7rem) 0; text-align: center; }
main > .get { width: 100%; background: var(--paper); color: var(--ink); border-top: 2px solid #e2e4ea; }
.get h2 { font-size: clamp(2.6rem, 9vw, 6rem); margin-bottom: 2rem; }

.foot { padding: 2rem 0 3rem; }
.foot nav { display: flex; flex-wrap: wrap; gap: 1.4rem; color: #b7bac4; font-size: 0.95rem; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--paper); text-decoration: underline; }
