/* ────────────────────────────────────────────────────────────────
   MacBook Pro · Landing page styles
   Dark, editorial, cinematic. Serif italics for emphasis.
   ──────────────────────────────────────────────────────────────── */

:root {
  --bg:        #07070a;
  --bg-2:      #0d0d11;
  --surface:   #14141a;
  --surface-2: #1c1c24;
  --line:      rgba(255, 255, 255, 0.09);
  --line-2:    rgba(255, 255, 255, 0.16);
  --text:      #f3f1ec;
  --text-2:    #b6b3ad;
  --text-3:    #7a7770;
  --accent:    #ff7a1a;     /* M5 ember */
  --accent-2:  #e8c8a0;     /* warm parchment */
  --shadow-1:  0 30px 80px -30px rgba(0,0,0,.7);

  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --serif: "Instrument Serif", "Times New Roman", Georgia, serif;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;

  --pad-side: clamp(20px, 5vw, 80px);
  --maxw: 1280px;
}

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

html, body { margin: 0; padding: 0; }

html {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(255,122,26,.08), transparent 60%),
    radial-gradient(900px 500px at 5% 10%, rgba(232,200,160,.05), transparent 60%),
    var(--bg);
}

img, svg, video { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

::selection { background: var(--accent); color: #fff; }

/* ─── reveal animation ─── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 1.05s cubic-bezier(.2,.7,.2,1) forwards;
  animation-delay: calc(var(--delay, 0) * 1ms);
}
@keyframes rise {
  to { opacity: 1; transform: none; }
}

/* in-view fade-up (for sections, set via JS) */
.in-view-target {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1);
}
.in-view-target.is-visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 14px var(--pad-side);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  background: linear-gradient(180deg, rgba(7,7,10,.7), rgba(7,7,10,.35));
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.nav.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(7,7,10,.78);
}
.nav__brand {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500;
  letter-spacing: -0.01em;
}
.nav__links {
  display: flex; justify-content: center; gap: 26px;
  font-size: 13px; color: var(--text-2);
}
.nav__links a {
  position: relative;
  padding: 6px 2px;
  transition: color .2s ease;
}
.nav__links a:hover { color: var(--text); }
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.nav__links a:hover::after { transform: scaleX(1); }

.nav__cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--text);
  color: #0c0c10;
  font-size: 13px; font-weight: 500;
  transition: transform .25s ease, background .25s ease;
}
.nav__cta:hover { transform: translateY(-1px); background: #fff; }

@media (max-width: 760px) {
  .nav { grid-template-columns: auto auto; gap: 16px; }
  .nav__links { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: 0 var(--pad-side) clamp(48px, 8vw, 96px);
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute; inset: 0;
  background-image: url("MacProBackgroundWide.png");
  background-size: cover;
  background-position: center 45%;
  background-repeat: no-repeat;
  z-index: -2;
  animation: heroBreath 22s ease-in-out infinite alternate;
}
@keyframes heroBreath {
  0%   { transform: scale(1) translateY(0); }
  100% { transform: scale(1.06) translateY(-10px); }
}

.hero__veil {
  position: absolute; inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(7,7,10,0) 0%, rgba(7,7,10,.15) 40%, rgba(7,7,10,.85) 92%),
    linear-gradient(90deg, rgba(7,7,10,.55) 0%, rgba(7,7,10,.05) 50%, rgba(7,7,10,.45) 100%);
}

/* film grain overlay */
.hero::after {
  content: "";
  position: absolute; inset: -50%;
  pointer-events: none;
  z-index: -1;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .35 0'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.5'/></svg>");
  opacity: .12;
  mix-blend-mode: overlay;
  animation: grainShift 6s steps(4) infinite;
}
@keyframes grainShift {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(-4%, 2%); }
  50%  { transform: translate(3%, -3%); }
  75%  { transform: translate(-2%, 4%); }
  100% { transform: translate(0, 0); }
}

.hero__inner {
  max-width: var(--maxw);
  width: 100%;
  margin: 0 auto;
  padding-top: 30vh;
}

.hero__eyebrow {
  margin: 0 0 18px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}
.hero__eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px; height: 1px;
  background: var(--accent);
  vertical-align: middle;
  margin-right: 10px;
  transform: translateY(-2px);
}

.hero__title {
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.92;
  font-size: clamp(56px, 11vw, 168px);
}
.hero__title span {
  display: block;
}
.hero__title em {
  font-size: 1.05em;
  line-height: 1;
}

.hero__sub {
  margin: 28px 0 38px;
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  color: var(--text-2);
  font-size: clamp(15px, 1.6vw, 18px);
}
.hero__sub > :first-child { margin-right: 4px; }

.chip-pill {
  display: inline-flex; align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255,255,255,.04);
  font-size: 13px;
  color: var(--text);
  letter-spacing: 0;
}

/* CTAs */
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: transform .25s ease, background .25s ease, border-color .25s ease, color .25s ease;
}
.btn--solid {
  background: var(--accent);
  color: #0c0c10;
}
.btn--solid:hover {
  transform: translateY(-1px);
  background: #ff8a2e;
  box-shadow: 0 14px 40px -10px rgba(255,122,26,.55);
}
.btn--ghost {
  border: 1px solid var(--line-2);
  color: var(--text);
}
.btn--ghost:hover {
  background: rgba(255,255,255,.06);
  border-color: var(--text-2);
}

/* scroll cue */
.hero__scrollcue {
  position: absolute;
  right: var(--pad-side);
  bottom: 26px;
  display: flex; align-items: center; gap: 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-3);
  writing-mode: horizontal-tb;
}
.hero__scrollcue i {
  display: block;
  width: 1px; height: 42px;
  background: linear-gradient(180deg, var(--text-3), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(0.4); transform-origin: top; opacity: .3; }
  50%      { transform: scaleY(1); opacity: 1; }
}

@media (max-width: 760px) {
  .hero__bg {
    background-position: center center;
    /* Scale image so the laptop reads on phones */
    background-size: 220% auto;
  }
  .hero__inner { padding-top: 24vh; }
  .hero__scrollcue { display: none; }
  .hero__title { font-size: clamp(48px, 14vw, 92px); }
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
.marquee__track {
  display: flex;
  width: max-content;
  gap: 48px;
  animation: scrollX 38s linear infinite;
}
.marquee__track ul {
  display: flex; gap: 48px;
  margin: 0; padding: 0;
  list-style: none;
  color: var(--text-2);
  font-size: clamp(20px, 3.2vw, 32px);
  font-weight: 300;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.marquee__track b {
  color: var(--text);
  font-weight: 500;
  font-feature-settings: "tnum";
}
.marquee__track em {
  color: var(--accent-2);
}
@keyframes scrollX {
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

/* ============================================================
   SECTION SCAFFOLDING
   ============================================================ */
.section-head {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 var(--pad-side);
  text-align: left;
}
.section-head--center {
  text-align: center;
}
.section-head h2,
.feature h2,
.buy h2,
.exploded h2 {
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  font-size: clamp(38px, 6.4vw, 92px);
  margin: 12px 0 18px;
}
.kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}
.lede {
  color: var(--text-2);
  font-size: clamp(16px, 1.5vw, 19px);
  max-width: 56ch;
  margin: 16px 0 0;
}

/* ============================================================
   EXPLODED VIDEO
   ============================================================ */
.exploded {
  padding: clamp(80px, 12vw, 160px) 0 clamp(60px, 9vw, 120px);
  background: linear-gradient(180deg, var(--bg-2), var(--bg) 60%);
}
.exploded .section-head { margin-bottom: 56px; }
.exploded__stage {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-side);
}
.exploded__stage video {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--r-xl);
  background: #000;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
}
.exploded__stage figcaption {
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-3);
  text-align: center;
}
.exploded__playbtn {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) scale(1);
  width: 84px; height: 84px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  color: #0c0c10;
  display: grid; place-items: center;
  transition: transform .3s cubic-bezier(.2,.7,.2,1), background .25s ease, opacity .35s ease;
  box-shadow: 0 20px 60px -10px rgba(0,0,0,.6);
}
.exploded__playbtn:hover { transform: translate(-50%, -50%) scale(1.06); background: #fff; }
.exploded__playbtn .ico-pause { display: none; }
.exploded__playbtn[aria-pressed="true"] .ico-play { display: none; }
.exploded__playbtn[aria-pressed="true"] .ico-pause { display: inline; }
.exploded__playbtn.is-fading {
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 760px) {
  .exploded__stage video { aspect-ratio: 4 / 5; }
  .exploded__playbtn { width: 64px; height: 64px; }
}

/* ============================================================
   CHIP TIERS
   ============================================================ */
.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.tier {
  background: var(--bg-2);
  padding: clamp(36px, 5vw, 64px);
  display: flex; flex-direction: column;
  min-height: 460px;
  transition: background .35s ease, transform .35s ease;
}
.tier:hover {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
}
.tier__num {
  font-size: clamp(80px, 10vw, 168px);
  line-height: 0.85;
  letter-spacing: -0.05em;
  margin-bottom: auto;
  color: var(--text);
  display: flex; align-items: baseline; gap: 0;
}
.tier__num .serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}
.tier__num .num { color: var(--accent); }
.tier__num .suffix {
  font-size: 0.24em;
  margin-left: .12em;
  color: var(--text-2);
  letter-spacing: 0;
}
.tier h3 {
  margin: 26px 0 8px;
  font-weight: 500;
  font-size: clamp(20px, 1.8vw, 24px);
  letter-spacing: -0.02em;
}
.tier p {
  margin: 0;
  color: var(--text-2);
  font-size: 15px;
  max-width: 38ch;
}
.tier__stats {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: flex; gap: 20px; flex-wrap: wrap;
  color: var(--text-3);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .04em;
}
.tier__stats span {
  display: block;
  color: var(--text);
  font-size: 22px;
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: -0.02em;
}
.tier--mid .tier__num .num { color: var(--accent-2); }
.tier--max .tier__num .num {
  background: linear-gradient(180deg, var(--accent) 0%, #ffb56e 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

@media (max-width: 980px) {
  .tiers { grid-template-columns: 1fr; }
  .tier { min-height: 0; }
}

/* ============================================================
   FEATURE ROWS
   ============================================================ */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  border-bottom: 1px solid var(--line);
}
.feature__copy {
  padding: clamp(64px, 9vw, 128px) clamp(28px, 5vw, 80px);
  display: flex; flex-direction: column; justify-content: center;
}
.feature__art {
  min-height: 60vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}
.feature__art::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,7,10,0) 60%, rgba(7,7,10,.4));
}

/* Reuse the wide background image creatively across features */
.feature__art--display {
  background-image:
    radial-gradient(circle at 50% 50%, rgba(255,122,26,.12), transparent 60%),
    url("MacProBackgroundWide.png");
  background-position: right center;
  background-size: 180% auto;
}
.feature__art--battery {
  background-image:
    radial-gradient(circle at 30% 60%, rgba(232,200,160,.12), transparent 60%),
    url("MacProBackgroundWide.png");
  background-position: 15% center;
  background-size: 200% auto;
}
.feature__art--ai {
  background-image:
    radial-gradient(circle at 70% 40%, rgba(255,122,26,.15), transparent 60%),
    url("MacProBackgroundWide.png");
  background-position: 80% center;
  background-size: 240% auto;
  filter: hue-rotate(-10deg) saturate(1.05);
}

.feature--battery { background: var(--bg-2); }

.metric-row {
  margin: 32px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.metric-row > div { display: flex; flex-direction: column; gap: 2px; }
.metric-row dt {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--text-3);
}
.metric-row dd {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 500;
  letter-spacing: -0.02em;
  font-feature-settings: "tnum";
}

.battery-bar { margin-top: 32px; display: flex; flex-direction: column; gap: 14px; }
.battery-bar .bar {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--r-md);
  background: var(--surface);
  overflow: hidden;
}
.battery-bar .bar::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: var(--w);
  background: linear-gradient(90deg, var(--accent), #ffb56e);
  opacity: .22;
  z-index: 0;
}
.battery-bar .bar > * { position: relative; z-index: 1; }
.battery-bar .bar span {
  font-size: 14px;
  color: var(--text-2);
}
.battery-bar .bar b {
  font-weight: 500;
  font-family: var(--mono);
  font-size: 14px;
  color: var(--text);
}
.battery-bar .bar--prev::before,
.battery-bar .bar--m1::before {
  background: linear-gradient(90deg, var(--text-3), transparent);
  opacity: .25;
}

.ai-list {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
}
.ai-list li {
  display: flex; align-items: baseline; gap: 10px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
  color: var(--text);
}
.ai-list span {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 13px;
}

@media (max-width: 980px) {
  .feature { grid-template-columns: 1fr; }
  .feature--battery { display: flex; flex-direction: column-reverse; }
  .feature__art { min-height: 50svh; }
  .ai-list { grid-template-columns: 1fr; gap: 0; }
  .metric-row { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   COLORS
   ============================================================ */
.colors {
  padding: clamp(80px, 12vw, 160px) 0 clamp(40px, 6vw, 80px);
  text-align: center;
}
.swatches {
  display: flex; justify-content: center; gap: 14px;
  margin: 38px 0 56px;
  flex-wrap: wrap;
  padding: 0 var(--pad-side);
}
.swatch {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 16px 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color .3s ease, transform .3s ease, background .3s ease;
}
.swatch:hover { border-color: var(--line-2); transform: translateY(-1px); }
.swatch.is-active {
  border-color: var(--text);
  background: var(--surface-2);
}
.swatch__chip {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  position: relative;
  overflow: hidden;
}
.swatch--black .swatch__chip {
  background:
    radial-gradient(circle at 30% 30%, #3a3a40 0%, #1c1c20 45%, #0c0c10 100%);
}
.swatch--silver .swatch__chip {
  background:
    radial-gradient(circle at 30% 30%, #f4f4f0 0%, #cfcfc8 45%, #8d8d86 100%);
}
.swatch__label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
}

.color-stage {
  max-width: var(--maxw);
  margin: 0 auto;
  height: clamp(280px, 38vw, 540px);
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
  background-image: url("MacProBackgroundWide.png");
  background-size: cover;
  background-position: center 60%;
  transition: filter .6s ease, transform .6s ease;
  border: 1px solid var(--line);
  margin-left: var(--pad-side);
  margin-right: var(--pad-side);
}
.color-stage[data-color="black"]  { filter: brightness(0.9) contrast(1.04); }
.color-stage[data-color="silver"] { filter: brightness(1.18) contrast(0.96) saturate(0.7) hue-rotate(-8deg); }

.color-stage::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,7,10,0) 50%, rgba(7,7,10,.5));
  pointer-events: none;
}

/* ============================================================
   BUY
   ============================================================ */
.buy {
  padding: clamp(80px, 12vw, 160px) 0;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}
.buy__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-side);
}
.buy h2 { margin-bottom: 56px; }
.buy__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.buy-card {
  padding: 36px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 18px;
  transition: transform .3s ease, border-color .3s ease;
}
.buy-card:hover { transform: translateY(-3px); border-color: var(--line-2); }
.buy-card header { display: flex; flex-direction: column; gap: 6px; }
.buy-card h3 {
  margin: 0;
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 500;
  letter-spacing: -0.02em;
}
.buy-card header > p {
  margin: 0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-3);
}
.buy-card__price {
  margin: 0;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  letter-spacing: -0.025em;
  color: var(--text-2);
}
.buy-card__price b {
  color: var(--text);
  font-weight: 500;
  font-feature-settings: "tnum";
}
.buy-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex; flex-direction: column; gap: 8px;
  color: var(--text-2);
  font-size: 15px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.buy-card .btn { align-self: flex-start; }

.buy-card--featured {
  background: linear-gradient(180deg, rgba(255,122,26,.08), rgba(255,122,26,0) 70%), var(--surface);
  border-color: rgba(255,122,26,.35);
}
.ribbon {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: #0c0c10;
  font-size: 11px;
  font-family: var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 500;
}

@media (max-width: 760px) {
  .buy__cards { grid-template-columns: 1fr; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.foot {
  border-top: 1px solid var(--line);
  padding: 38px var(--pad-side) 56px;
  background: var(--bg);
}
.foot__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-3);
}
.foot__inner p { margin: 0; }
.foot__cred a {
  color: var(--text-2);
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
  transition: color .2s ease, border-color .2s ease;
}
.foot__cred a:hover { color: var(--text); border-color: var(--text); }

/* ============================================================
   MOTION SAFETY
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
