/* concentrigasm.app — design direction B, "Toy Box".
   White ground, the icon's colours (blue, amber, red), ink #15171A, Press Start 2P for display type. */

@font-face {
  font-family: "Press Start 2P";
  src: url("../fonts/PressStart2P-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #15171a;
  --muted: #4a4e55;
  --line: #34373c;
  --paper: #ffffff;
  --blue: #2fa8ff;
  --amber: #ffb000;
  --red: #ff3b5c;
  --blue-tint: #e8f5ff;
  --amber-tint: #fff4d9;
  --red-tint: #ffe7ec;
  --grey-tint: #f0f1f3;
  --link: #0a64b0;
  --link-hover: #07467c;
  --on-dark: #ffffff;
  --on-dark-muted: #c9ccd2;
  --on-dark-link: #69c0ff;
  --pixel: "Press Start 2P", ui-monospace, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Roboto, sans-serif;
  --wrap: 1160px;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* The hero ring runs off the right edge; clip it here so the page never scrolls sideways. */
main { flex: 1 0 auto; overflow-x: clip; }

a { color: var(--link); text-underline-offset: 0.15em; }
a:hover { color: var(--link-hover); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

img { max-width: 100%; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: 24px; padding-right: 24px; }

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--ink);
  color: var(--on-dark);
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 10;
}
.skip:focus { top: 12px; }

/* ---------- header ---------- */

.site-header {
  padding-top: 22px;
  padding-bottom: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  z-index: 2;
}

.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand-icon { width: 40px; height: 40px; border-radius: 10px; display: block; }
.brand-name { font-family: var(--pixel); font-size: 12px; }

.site-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 15px; font-weight: 500; }
.site-nav a { color: var(--ink); text-decoration: none; padding: 6px 0; }
.site-nav a:hover, .site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; }

/* ---------- landing: hero ---------- */

.hero {
  position: relative;
  padding-top: 40px;
  padding-bottom: 96px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px;
}

.hero-copy {
  flex: 1 1 440px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 26px;
  position: relative;
  z-index: 1;
  container-type: inline-size;
}

/* The wordmark stays on one line at every width: sized to its container, never wrapped or hyphenated. */
.wordmark {
  margin: 0;
  font-family: var(--pixel);
  font-weight: 400;
  font-size: min(46px, 7.2cqi);
  line-height: 1.2;
  white-space: nowrap;
  hyphens: none;
}

.tagline {
  margin: 0;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.01em;
  max-width: 14em;
}

.lead { margin: 0; color: var(--muted); max-width: 30em; }

.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.cta-note { color: var(--muted); font-size: 15px; }
.soon {
  display: inline-flex;
  align-items: center;
  min-height: 56px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--amber);
  font-family: var(--pixel);
  font-size: 13px;
}
.store-badge img { display: block; height: 60px; width: auto; }

.hero-art {
  flex: 1 1 380px;
  min-width: 0;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 600px;
}

.hero-ring {
  position: absolute;
  width: 760px;
  max-width: none;
  height: auto;
  left: 50%;
  top: 50%;
  transform: translate(-42%, -50%);
}

.ring { transform-origin: 200px 200px; }
.ring-1 { animation: spin 40s linear infinite; }
.ring-2 { animation: spin-back 28s linear infinite; }
.ring-3 { animation: spin 18s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spin-back { to { transform: rotate(-360deg); } }
@media (prefers-reduced-motion: reduce) { .ring { animation: none; } }

.phone {
  display: block;
  height: auto;
  border-radius: 28px;
  border: 6px solid var(--line);
}
.hero-phone {
  position: relative;
  width: 250px;
  border-radius: 34px;
  border: 8px solid var(--ink);
  box-shadow: 0 24px 60px rgba(21, 23, 26, 0.28);
}

/* ---------- landing: how to play ---------- */

.how { padding-top: 24px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 36px; }

.pixel-heading { margin: 0; font-family: var(--pixel); font-weight: 400; font-size: clamp(16px, 2.6vw, 24px); line-height: 1.3; }

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.step { border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.step-1 { background: var(--blue-tint); }
.step-2 { background: var(--amber-tint); }
.step-3 { background: var(--red-tint); }
.step-4 { background: var(--grey-tint); }
.step-n {
  display: inline-flex;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-family: var(--pixel);
  font-size: 16px;
  color: var(--ink);
}
.step-1 .step-n { background: var(--blue); }
.step-2 .step-n { background: var(--amber); }
.step-3 .step-n { background: var(--red); }
.step-4 .step-n { background: var(--ink); color: var(--on-dark); }
.step-title { margin: 0; font-size: 20px; font-weight: 700; line-height: 1.3; }
.step-detail { margin: 0; color: var(--muted); }
.how-after { margin: 0; font-size: 20px; font-weight: 700; }

/* ---------- landing: black band ---------- */

.band { background: var(--ink); color: var(--on-dark); border-radius: 40px 40px 0 0; }
.band a { color: var(--on-dark-link); }
.band a:hover { color: var(--on-dark); }

.band-shots { padding-top: 80px; padding-bottom: 80px; display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.pay { flex: 1 1 280px; display: flex; flex-direction: column; gap: 22px; }
.pixel-kicker { margin: 0; font-family: var(--pixel); font-weight: 400; font-size: 12px; line-height: 1.6; color: var(--amber); }
.pay-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; font-size: 22px; font-weight: 600; }
.pay-list .pay-note { color: var(--on-dark-muted); font-size: 17px; font-weight: 400; }
.band-phones { flex: 2 1 480px; display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; }
.band-phones .phone { width: 200px; }

.band-split { border-top: 1px solid var(--line); }
.split { padding-top: 64px; padding-bottom: 64px; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; }
.split section { display: flex; flex-direction: column; gap: 14px; }
.split h2 { margin: 0; font-size: 26px; line-height: 1.2; }
.split p { margin: 0; color: var(--on-dark-muted); }

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}
.band .pill-amber, .pill-amber { background: var(--amber); color: var(--ink); }
.band .pill-amber:hover, .pill-amber:hover { background: #ffc233; color: var(--ink); }
.band .pill-ghost { border: 2px solid var(--on-dark-muted); color: var(--on-dark); }
.band .pill-ghost:hover { border-color: var(--on-dark); color: var(--on-dark); }
.pill-ink { background: var(--ink); color: var(--on-dark); }
.pill-ink:hover { background: #2a2d32; color: var(--on-dark); }

/* ---------- inner pages ---------- */

.page-head { padding: 32px 0 8px; display: flex; flex-direction: column; gap: 14px; }
.page-title { margin: 0; font-family: var(--pixel); font-weight: 400; font-size: clamp(20px, 4.4vw, 34px); line-height: 1.3; }
.updated { margin: 0; color: var(--muted); font-size: 15px; }

.prose { max-width: calc(44em + 48px); padding-bottom: 96px; }
.prose p, .prose li { max-width: 44em; }
.prose h2 { font-size: 24px; line-height: 1.25; margin: 48px 0 12px; }
.prose section > h2:first-child { margin-top: 48px; }
.prose p { margin: 0 0 16px; }

.faq { margin: 0; }
.qa { padding: 20px 0; border-top: 1px solid #e2e4e8; }
.qa:last-child { border-bottom: 1px solid #e2e4e8; }
.qa dt { font-weight: 700; font-size: 19px; margin-bottom: 6px; }
.qa dd { margin: 0; max-width: 44em; }

.press { padding-bottom: 96px; }
.download { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 24px 0 0; }
.download span { color: var(--muted); }
.press-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 0 56px; }
.press-grid .prose { padding-bottom: 0; }
.press h2 { font-size: 24px; line-height: 1.25; margin: 48px 0 12px; }
.facts { width: 100%; border-collapse: collapse; font-size: 16px; }
.facts th, .facts td { text-align: left; vertical-align: top; padding: 10px 0; border-top: 1px solid #e2e4e8; }
.facts tr:last-child th, .facts tr:last-child td { border-bottom: 1px solid #e2e4e8; }
.facts th { width: 38%; padding-right: 16px; font-weight: 600; }
.press ul:not(.assets) { padding-left: 1.2em; margin: 0 0 16px; }

.assets { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: 24px; }
.asset { display: flex; flex-direction: column; gap: 10px; }
.asset a { display: block; }
.asset p { margin: 0; font-size: 14px; color: var(--muted); }
.asset strong { color: var(--ink); }
.asset-icon img { width: 100%; height: auto; border-radius: 22%; display: block; }
.phone-small { width: 100%; border-radius: 18px; border: 4px solid var(--ink); }
.usage { color: var(--muted); margin-top: 28px; }

.lost { padding-top: 24px; padding-bottom: 120px; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.lost p { margin: 0; max-width: 32em; }
.lost-ring { width: 160px; height: 160px; }

/* ---------- footer ---------- */

.site-footer { background: var(--ink); color: #a9adb5; border-top: 1px solid var(--line); font-size: 14px; }
.page-home .site-footer { border-top-color: var(--line); }
.footer-inner { padding-top: 28px; padding-bottom: 44px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer a { color: var(--on-dark-muted); }
.site-footer a:hover { color: var(--on-dark); }

/* ---------- small screens ---------- */

@media (max-width: 640px) {
  .hero { padding-top: 16px; padding-bottom: 64px; gap: 24px; }
  .hero-art { min-height: 520px; }
  .hero-ring { width: 600px; transform: translate(-38%, -50%); }
  .hero-phone { width: 220px; }
  .how { padding-bottom: 64px; }
  .band { border-radius: 28px 28px 0 0; }
  .band-shots { padding-top: 56px; padding-bottom: 56px; gap: 40px; }
  .band-phones { gap: 16px; }
  .band-phones .phone { width: calc((100% - 32px) / 3); border-width: 3px; border-radius: 14px; }
  .site-nav { gap: 4px 18px; }
}
