/* Shopaxolic landing page. Circuit brand, light only:
   off-white #FAFAF6, black, lime #D7FF00, purple #702BFF.
   Accents follow the app: lime face, black text, purple border and offset edge. */

@font-face {
  font-family: "Racing Sans One";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/brand/circuit/fonts/racing-sans-one-400.ttf") format("truetype");
}
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/brand/circuit/fonts/sora-400.ttf") format("truetype");
}
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/brand/circuit/fonts/sora-600.ttf") format("truetype");
}
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/brand/circuit/fonts/sora-700.ttf") format("truetype");
}
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/brand/circuit/fonts/sora-800.ttf") format("truetype");
}

:root {
  color-scheme: light;
  --paper: #fafaf6;
  --ink: #000000;
  --lime: #d7ff00;
  --purple: #702bff;
  --card: #ffffff;
  --muted: #4d4f4d;
  --line: #e1e1dd;
  --gutter: 16px;
  --display: "Racing Sans One", "Arial Black", sans-serif;
  --body: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

h1,
h2,
p,
figure,
ul {
  margin: 0;
}

a {
  color: inherit;
}

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

/* ---------- Hero ---------- */

.hero {
  padding: 28px var(--gutter) 0;
}

.hero-text {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.logo {
  width: 196px;
  margin: 0 auto;
}

h1 {
  margin-top: 30px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(46px, 12.4vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

/* The app's lime banner: purple border, purple offset edge, the pointed
   corners of the logo. */
.banner {
  margin: 26px 6px 0 0;
  padding: 14px 18px 15px;
  background: var(--lime);
  border: 2px solid var(--purple);
  border-radius: 18px 4px 18px 4px;
  box-shadow: 6px 6px 0 var(--purple);
  font-family: var(--display);
  font-size: clamp(24px, 6.6vw, 30px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-align: left;
  text-wrap: balance;
}

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.store {
  flex: 1 1 220px;
  min-height: 54px;
  padding: 12px 18px;
  font: 700 15px/1.2 var(--body);
  letter-spacing: -0.01em;
  color: var(--ink);
  background: var(--lime);
  border: 2px solid var(--purple);
  border-radius: 16px;
  box-shadow: 3px 3px 0 var(--purple);
  cursor: default;
  -webkit-appearance: none;
  appearance: none;
}

/* The app's second pill: off-white face, purple border, lime inner edge. */
.store-alt {
  background: var(--paper);
  box-shadow:
    inset -3px -3px 0 var(--lime),
    3px 3px 0 var(--purple);
}

/* Google Play badge: their own artwork, unmodified, no box or effect, with the
   clear space Google bakes into the asset. Height matched to the App Store pill. */
.store-badge {
  flex: 0 1 auto;
  display: inline-flex;
  align-items: center;
  min-height: 54px;
}
.store-badge img {
  height: 80px;
  width: auto;
  display: block;
}

/* The founder's line under the banner (14 October 2026). */
.lead {
  max-width: 440px;
  margin: 18px auto 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--muted);
}

/* ---------- Screens row ---------- */

.reel {
  margin: 34px calc(var(--gutter) * -1) 0;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: thin;
  scrollbar-color: var(--purple) transparent;
}

.reel:focus-visible {
  outline-offset: -3px;
}

.reel-track {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  width: max-content;
  padding: 6px var(--gutter) 26px;
  list-style: none;
}

.reel-track > li {
  flex: 0 0 auto;
  width: 212px;
  scroll-snap-align: start;
}

/* An unfolded iPhone Duo (14 October 2026): two phones wide, never wider than
   the screen; the row's order is the markup's (the founder: the moodboard and
   its look first, then the Duo, then the rest). */
.reel-track > li.wide {
  width: min(440px, calc(100vw - 2 * var(--gutter)));
}

.reel figcaption {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  color: var(--muted);
}

/* The phones and the iPhone Duo are shown in Apple's own product frames, as
   its marketing guidelines ask (14 October 2026): the frame is in the picture,
   straight on, nothing added, no shadow. */
.phone img,
.duo img {
  display: block;
  width: 100%;
  height: auto;
}

.phone img {
  aspect-ratio: 1470 / 3000;
}

.duo img {
  aspect-ratio: 3093 / 2247;
}

/* ---------- AI transparency ---------- */

.ai-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 1200px;
  margin: 40px auto 0;
  padding: 0 var(--gutter);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

.ai-mark {
  flex: 0 0 auto;
  width: auto;
  height: 20px;
}

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

.footer {
  max-width: 1200px;
  margin: 44px auto 0;
  padding: 26px var(--gutter) 40px;
  border-top: 2px solid var(--ink);
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.footer p + p,
.footer-links + p {
  margin-top: 6px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
  margin-bottom: 14px;
  font-weight: 700;
  color: var(--ink);
}

.footer a {
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
  text-decoration-color: var(--purple);
}

/* ---------- Wider screens ---------- */

@media (min-width: 640px) {
  :root {
    --gutter: 32px;
  }

  .hero {
    padding-top: 40px;
  }

  .reel-track > li {
    width: 230px;
  }

  .reel-track > li.wide {
    width: 476px;
  }
}

@media (min-width: 960px) {



  .ai-note {
    margin-top: 48px;
  }

  .footer {
    display: grid;
    grid-template-columns: 1fr auto;
    column-gap: 24px;
    margin-top: 56px;
  }

  .footer-links {
    grid-column: 1 / -1;
  }
}

/* Two columns: the words on the left, the phones running to the right edge. */
@media (min-width: 1024px) {
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 470px) minmax(0, 1fr);
    column-gap: 56px;
    align-items: center;
    padding: 56px 0 0 max(var(--gutter), calc((100% - 1200px) / 2));
  }

  .hero-text {
    margin: 0;
    text-align: left;
  }

  .logo {
    width: 230px;
    margin: 0;
  }

  h1 {
    margin-top: 40px;
    font-size: 76px;
  }

  .banner {
    font-size: 30px;
  }

  .lead {
    margin: 22px 0 0;
    font-size: 19px;
  }

  .reel {
    margin: 0;
    padding-top: 10px;
    scroll-padding-inline: 8px var(--gutter);
  }

  .reel-track {
    padding: 0 var(--gutter) 28px 8px;
  }

  .reel-track > li {
    width: 250px;
  }

  .reel-track > li.wide {
    width: 516px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
