:root {
  color-scheme: dark;
  --bg: #03070d;
  --surface: rgba(7, 17, 29, 0.88);
  --surface-strong: #07111c;
  --line: rgba(118, 200, 255, 0.19);
  --text: #f6fbff;
  --muted: #a7b9c8;
  --cyan: #06c8ff;
  --cyan-soft: #87e9ff;
  --blue: #0788ff;
  --yellow: #ffe100;
  --green: #4de7b1;
  --purple: #a96cff;
  --red: #ff435c;
  --radius: 1.15rem;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { max-width: 100%; overflow-x: clip; scroll-behavior: smooth; }

body {
  max-width: 100%;
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -14rem, rgba(0, 160, 255, 0.17), transparent 34rem),
    linear-gradient(180deg, #02060b 0%, #040a12 45%, #03070d 100%);
  font-size: 1rem;
  line-height: 1.55;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  content: "";
  opacity: 0.16;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

button, a { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }

.ambient {
  position: fixed;
  z-index: -2;
  width: 36rem;
  height: 36rem;
  border-radius: 50%;
  filter: blur(105px);
  pointer-events: none;
  opacity: 0.12;
}

.ambient-one { top: 12vh; left: -22rem; background: var(--cyan); }
.ambient-two { right: -24rem; bottom: 8vh; background: #0659ff; }

main { padding: 0 1.25rem 6rem; }

.section-shell {
  width: min(100%, 74rem);
  margin: 0 auto 5rem;
}

.hero {
  position: relative;
  display: flex;
  min-height: 32rem;
  margin-bottom: 1.5rem;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  background: radial-gradient(circle at 50% 37%, rgba(0, 184, 255, .09), transparent 27rem);
}

.hero::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.hero::after {
  right: 10%;
  bottom: 14%;
  left: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 198, 255, 0.44), transparent);
}

.brand-stack { width: min(100%, 46rem); margin-bottom: 2.15rem; }
.brand-stack-label { display: block; margin-bottom: .55rem; color: #5f7886; font-size: .62rem; font-weight: 850; letter-spacing: .24em; text-transform: uppercase; }
.brand-rail { display: flex; min-height: 4.35rem; padding: .7rem 1rem; align-items: center; justify-content: center; gap: 1.05rem; border: 1px solid rgba(118, 200, 255, .16); border-radius: 1rem; background: linear-gradient(120deg, rgba(8, 20, 31, .82), rgba(4, 12, 21, .66)); box-shadow: 0 20px 60px rgba(0,0,0,.3), inset 0 1px rgba(255,255,255,.035); backdrop-filter: blur(12px); }
.partner { display: inline-flex; flex: 0 0 auto; min-width: 0; align-items: center; gap: .5rem; color: #dce8ee; white-space: nowrap; }
.partner strong { font-size: .82rem; letter-spacing: -.015em; }
.partner--svc { width: 6.6rem; justify-content: center; }
.brand-logo { display: block; width: 6.15rem; height: auto; filter: drop-shadow(0 7px 18px rgba(0, 190, 255, .18)); }
.brand-divider { flex: 0 0 1px; width: 1px; height: 1.55rem; background: linear-gradient(transparent, rgba(154,220,248,.32), transparent); }
.partner-mark { display: grid; width: 1.7rem; height: 1.7rem; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; color: #f3f8fb; font-size: 1rem; }
.flow-mark { position: relative; display: block; width: 1.9rem; height: 1.55rem; }
.flow-mark i { position: absolute; width: .62rem; height: .62rem; border-radius: 50%; box-shadow: 0 0 9px currentColor; }
.flow-mark i:nth-child(1) { top: 0; left: .05rem; color: #4285f4; background: currentColor; }
.flow-mark i:nth-child(2) { top: .44rem; right: .05rem; color: #ea4335; background: currentColor; }
.flow-mark i:nth-child(3) { bottom: 0; left: .25rem; color: #fbbc05; background: currentColor; }
.capcut-mark { position: relative; display: block; width: 1.8rem; height: 1.25rem; }
.capcut-mark::before, .capcut-mark::after { position: absolute; top: 50%; left: 50%; width: 1.55rem; height: .36rem; content: ""; border: 2px solid #f4f8fa; border-radius: .08rem; transform: translate(-50%,-50%) rotate(22deg); }
.capcut-mark::after { transform: translate(-50%,-50%) rotate(-22deg); }

.eyebrow,
.section-kicker,
.access-line,
.student-only {
  margin: 0;
  color: var(--cyan-soft);
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.eyebrow { font-size: 0.79rem; }

.hero h1 {
  margin: 0.45rem 0 0.6rem;
  font-size: clamp(2.65rem, 7vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.hero h1 span {
  display: inline-block;
  color: var(--cyan);
  text-shadow: 0 0 28px rgba(0, 187, 255, 0.28);
}

.hero-copy {
  max-width: 38rem;
  margin: 0.6rem 0 1.05rem;
  color: #dbe8f0;
  font-size: clamp(1rem, 2vw, 1.17rem);
}

.access-line { font-size: 0.75rem; }
.access-line b { padding: 0 0.3rem; color: rgba(118, 228, 255, 0.48); }

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(17rem, 30rem);
  gap: 2rem;
  margin-bottom: 1.3rem;
  padding-bottom: 1rem;
  align-items: end;
  border-bottom: 1px solid var(--line);
}

.section-heading--compact { margin-bottom: 1rem; }
.section-kicker { margin-bottom: 0.3rem; font-size: 0.75rem; }
.section-kicker--yellow { color: var(--yellow); }

h2, h3, p { text-wrap: pretty; }

.section-heading h2,
.earn-heading h2,
.svap-section h2 {
  margin: 0;
  font-size: clamp(1.65rem, 4vw, 2.5rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.heading-icon {
  display: inline-grid;
  width: 2.15rem;
  height: 2.15rem;
  margin-right: 0.42rem;
  place-items: center;
  color: #03101b;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 22px rgba(0, 200, 255, 0.32);
  font-size: 0.85rem;
  vertical-align: 0.18em;
}

.resource-icon { border-radius: 0.7rem; }

.section-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.section-note strong { color: var(--cyan); }

.card-grid { display: grid; min-width: 0; gap: 1rem; }
.tutorial-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.resource-grid { grid-template-columns: 1.45fr .82fr .82fr; }

.module-card,
.resource-card {
  min-width: 0;
  max-width: 100%;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(13, 32, 49, 0.9), rgba(4, 11, 19, 0.92));
  box-shadow: var(--shadow);
}

.module-card {
  display: flex;
  min-height: 33rem;
  padding: 0.7rem;
  flex-direction: column;
  border-radius: var(--radius);
}

.module-card::after {
  position: absolute;
  right: -15%;
  bottom: -36%;
  width: 12rem;
  height: 12rem;
  content: "";
  border-radius: 50%;
  filter: blur(35px);
  opacity: 0.14;
  background: currentColor;
}

.module-card--technical { color: var(--cyan); border-color: rgba(0, 200, 255, 0.52); }
.module-card--strategy { color: var(--yellow); border-color: rgba(255, 225, 0, 0.34); }

.card-visual {
  position: relative;
  overflow: hidden;
  height: 12rem;
  margin: 0;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: .85rem;
  background: #07111b;
  isolation: isolate;
}

.card-visual::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: linear-gradient(180deg, transparent 35%, rgba(2,7,12,.9) 100%);
  pointer-events: none;
}

.card-visual::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
  background: url("./assets/cinematic-light-overlay.png") center / 100% 100% no-repeat;
  opacity: .27;
  mix-blend-mode: screen;
  pointer-events: none;
}

.card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.2,.8,.2,1), filter .3s ease;
}

.module-card:hover .card-visual img { transform: scale(1.055); filter: saturate(1.1) contrast(1.04); }
.card-visual--workflow { background: linear-gradient(135deg, #073251, #07121d 58%, #604c00); }

.product-stack {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.05fr .8fr 1.05fr;
  gap: 3px;
}

.product-stack img {
  min-width: 0;
  object-fit: cover;
  filter: saturate(.88) contrast(1.03);
}

.product-stack img:first-child { object-position: 51% 28%; }
.product-stack img:nth-child(2) { object-position: 50% 48%; }
.product-stack img:last-child { object-position: 52% 72%; }
.card-visual--proof img { object-fit: cover; }
.card-visual--tiktok-proof img { object-position: 50% 19%; }
.card-visual--fundamental-proof img { object-position: 50% 12%; }

.card-visual figcaption {
  position: absolute;
  right: .7rem;
  bottom: .65rem;
  left: .7rem;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  color: #effbff;
  font-size: .75rem;
  font-weight: 850;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.card-visual figcaption span {
  padding: .25rem .42rem;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: rgba(3,10,16,.64);
  backdrop-filter: blur(8px);
}

.card-visual figcaption b { color: currentColor; opacity: .72; }
.visual-play {
  position: absolute;
  top: .7rem;
  right: .7rem;
  z-index: 3;
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border: 1px solid rgba(255,255,255,.46);
  border-radius: 50%;
  color: #061019;
  background: rgba(255,255,255,.9);
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
  font-size: .75rem;
}

.card-topline { display: flex; min-height: 3.9rem; padding: .35rem .55rem 0; align-items: center; justify-content: space-between; gap: 0.75rem; }
.card-symbol { font-size: 2.35rem; line-height: 1; filter: drop-shadow(0 0 16px currentColor); }

.pill {
  display: inline-block;
  padding: 0.28rem 0.6rem;
  color: #02070b;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pill--cyan { background: var(--cyan); }
.pill--yellow { background: var(--yellow); }

.module-card h3 {
  margin: .7rem .55rem 0.55rem;
  color: var(--text);
  font-size: 1.65rem;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.module-card p { margin: 0 .55rem 1.3rem; color: var(--muted); }

.action {
  position: relative;
  z-index: 1;
  display: flex;
  width: calc(100% - 1.1rem);
  min-height: 3rem;
  margin: auto .55rem .55rem;
  padding: 0.7rem 1rem;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-radius: 0.8rem;
  color: #02101a;
  cursor: pointer;
  font-weight: 900;
  transition: transform .2s ease, filter .2s ease;
}

.action:hover, .action:focus-visible, .earn-button:hover, .earn-button:focus-visible, .svap-action:hover, .svap-action:focus-visible { transform: translateY(-2px); filter: brightness(1.08); }
.action:focus-visible, .text-link:focus-visible, .earn-button:focus-visible, .svap-action:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.action--cyan { background: linear-gradient(90deg, #03a5ff, #2ee3ff); }
.action--yellow { background: linear-gradient(90deg, #ffd600, #ffec49); }

.resource-card {
  display: grid;
  min-height: 12.5rem;
  padding: 1.25rem;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  border-radius: 1rem;
}

.resource-card--vault {
  display: flex;
  min-height: 15.5rem;
  padding: .7rem;
  flex-direction: column;
}

.resource-preview {
  position: relative;
  overflow: hidden;
  min-height: 8rem;
  margin: 0 0 .75rem;
  border: 1px solid rgba(202,162,255,.3);
  border-radius: .8rem;
  background: #050e16;
  perspective: 700px;
}

.resource-preview::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
  background: url("./assets/cinematic-light-overlay.png") center / 100% 100% no-repeat;
  opacity: .26;
  mix-blend-mode: screen;
  pointer-events: none;
}

.resource-preview::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: linear-gradient(90deg, transparent 35%, rgba(2,7,13,.08)), linear-gradient(180deg, transparent 45%, rgba(2,7,13,.88));
  pointer-events: none;
}

.resource-preview img {
  width: 112%;
  height: 100%;
  object-fit: cover;
  object-position: 51% 18%;
  transform: translate(-3%, 3%) rotateX(4deg) rotateY(-3deg) scale(1.04);
  filter: saturate(.92) contrast(1.08);
  transition: transform .55s cubic-bezier(.2,.8,.2,1);
}

.resource-card--vault:hover .resource-preview img { transform: translate(-3%, 1%) rotateX(1deg) rotateY(-1deg) scale(1.08); }
.resource-preview > span {
  position: absolute;
  right: .55rem;
  bottom: .5rem;
  z-index: 3;
  padding: .25rem .45rem;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  color: #fff;
  background: rgba(2,8,14,.68);
  font-size: .75rem;
  font-weight: 850;
  letter-spacing: .06em;
}

.resource-card-copy { display: grid; padding: 0 .45rem .35rem; grid-template-columns: auto 1fr; gap: .85rem; }

.resource-card--purple { border-color: rgba(169,108,255,.5); }
.resource-card--blue { border-color: rgba(0,193,255,.48); }
.resource-card--green { border-color: rgba(77,231,177,.46); }

.resource-symbol {
  display: grid;
  width: 3.25rem;
  height: 3.25rem;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 0.85rem;
  background: rgba(255,255,255,.04);
  box-shadow: inset 0 0 24px currentColor;
  font-size: 1.7rem;
}

.resource-card--purple .resource-symbol, .resource-card--purple .text-link { color: #caa2ff; }
.resource-card--blue .resource-symbol, .resource-card--blue .text-link { color: var(--cyan-soft); }
.resource-card--green .resource-symbol, .resource-card--green .text-link { color: #87ffd3; }

.resource-card h3 { margin: 0.2rem 0 0.35rem; font-size: 1.1rem; }
.resource-card p { margin: 0 0 1rem; color: var(--muted); font-size: 0.9rem; }

.text-link {
  display: inline-flex;
  padding: 0;
  align-items: center;
  gap: 0.45rem;
  border: 0;
  background: none;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 850;
}

.text-link:hover span { transform: translateX(3px); }
.text-link span { transition: transform .2s ease; }

.earn-section {
  position: relative;
  overflow: hidden;
  padding: clamp(1.35rem, 4vw, 2.25rem);
  border: 1px solid rgba(255, 225, 0, 0.72);
  border-radius: 1.4rem;
  background: linear-gradient(135deg, rgba(40,34,0,.86), rgba(6,10,12,.95) 55%, rgba(0,48,70,.45));
  box-shadow: 0 0 0 5px rgba(255,225,0,.035), 0 24px 80px rgba(0,0,0,.48), inset 0 0 70px rgba(255,225,0,.06);
}

.earn-glow {
  position: absolute;
  top: -8rem;
  right: -6rem;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  background: var(--yellow);
  filter: blur(100px);
  opacity: .08;
}

.earn-heading { position: relative; display: flex; align-items: center; gap: 1rem; }
.earn-heading h2 span { color: var(--yellow); }
.crown { color: var(--yellow); font-size: 3.25rem; filter: drop-shadow(0 0 14px rgba(255,225,0,.45)); }
.earn-content { position: relative; display: grid; margin-top: 1.55rem; grid-template-columns: minmax(0, 1.1fr) minmax(18rem, .9fr); gap: 1.3rem; align-items: stretch; }
.earn-copy { max-width: 52rem; }
.earn-copy p { margin: .35rem 0; color: #dce6eb; }
.earn-copy strong { color: var(--yellow); }
.earn-label { color: #fff !important; font-size: clamp(1.25rem, 3vw, 1.8rem); font-weight: 900; }
.clarifier { color: #aeb9bf !important; font-size: .86rem; }
.earn-proof {
  position: relative;
  overflow: hidden;
  height: 22rem;
  margin: 0;
  border: 1px solid rgba(255,225,0,.34);
  border-radius: 1rem;
  background: #07090c;
}

.earn-proof::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 48%, rgba(2,4,6,.92));
  pointer-events: none;
}

.earn-proof::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
  background: url("./assets/cinematic-light-overlay.png") center / 100% 100% no-repeat;
  opacity: .2;
  mix-blend-mode: screen;
  pointer-events: none;
}

.earn-proof img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 12%;
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}

.earn-section:hover .earn-proof img { transform: scale(1.035); }
.earn-proof figcaption {
  position: absolute;
  right: .8rem;
  bottom: .75rem;
  left: .8rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: .55rem;
  color: #fff;
  font-size: .82rem;
  font-weight: 850;
}

.earn-proof figcaption span {
  padding: .28rem .5rem;
  border-radius: 999px;
  color: #151000;
  background: var(--yellow);
  font-size: .75rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.earn-actions { display: grid; grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem; }

.earn-button {
  display: grid;
  min-height: 4.35rem;
  padding: .65rem .9rem;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: .7rem;
  align-items: center;
  border: 0;
  border-radius: .9rem;
  color: #031019;
  cursor: pointer;
  text-align: left;
  transition: transform .2s ease, filter .2s ease;
}

.earn-button > span { grid-row: 1 / span 2; font-size: 1.2rem; }
.earn-button b { line-height: 1.15; }
.earn-button small { opacity: .72; font-size: .75rem; }
.earn-button--yellow { background: linear-gradient(110deg, #ffd900, #fff04f); }
.earn-button--blue { background: linear-gradient(110deg, #08a8ff, #69d8ff); }
.earn-button--green { background: linear-gradient(110deg, #55e6af, #8afbd2); }

.svap-section {
  position: relative;
  display: grid;
  overflow: hidden;
  min-height: 22rem;
  padding: clamp(1.5rem, 5vw, 3.5rem);
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: end;
  border: 1px solid rgba(0, 200, 255, .35);
  border-radius: 1.4rem;
  background:
    linear-gradient(90deg, rgba(4,13,23,.98), rgba(4,13,23,.75)),
    radial-gradient(circle at 100% 30%, rgba(0,200,255,.4), transparent 44%);
  box-shadow: var(--shadow);
}

.svap-mark {
  position: absolute;
  top: -4.8rem;
  right: 4%;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0,200,255,.15);
  font-size: clamp(12rem, 25vw, 20rem);
  font-weight: 950;
  line-height: 1;
  letter-spacing: -.12em;
}

.svap-copy { position: relative; max-width: 48rem; }
.svap-question { margin: 1.25rem 0 0; color: #c9d9e2; font-size: 1.05rem; }
.svap-section h2 { margin: .2rem 0 1.5rem; }
.svap-section h2 span { color: var(--cyan); }
.svap-section h3 { margin: 0 0 .15rem; color: #fff; font-size: clamp(1.25rem, 3vw, 1.75rem); }
.svap-section p { color: var(--muted); }
.svap-keyline { margin: 0 0 .9rem; color: var(--cyan-soft) !important; font-weight: 850; }

.svap-action {
  position: relative;
  display: flex;
  min-width: 12rem;
  min-height: 3.5rem;
  padding: .85rem 1.2rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 999px;
  color: #04111b;
  background: linear-gradient(90deg, var(--cyan), #84edff);
  cursor: pointer;
  font-weight: 950;
  transition: transform .2s ease, filter .2s ease;
}

footer {
  border-top: 1px solid rgba(132, 213, 255, .18);
  background: linear-gradient(180deg, rgba(4,10,17,.9), #010409);
}

.footer-shell {
  width: min(100% - 2rem, 74rem);
  margin: 0 auto;
  padding: 3.5rem 0 4rem;
  text-align: center;
}

.student-only {
  display: inline-flex;
  min-height: 2.3rem;
  padding: .55rem 1rem;
  align-items: center;
  border: 1px solid rgba(135,233,255,.65);
  border-radius: 999px;
  font-size: .65rem;
}

.warning { margin: 1.5rem 0; color: var(--red); font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.warning span { padding-right: .35rem; }
blockquote { margin: 0 auto .55rem; color: #d9e5eb; font-size: 1rem; font-style: italic; }
cite { color: var(--cyan-soft); font-size: .85rem; font-style: normal; }

.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 10;
  max-width: min(24rem, calc(100vw - 2rem));
  padding: .9rem 1rem;
  border: 1px solid rgba(0,200,255,.55);
  border-radius: .8rem;
  color: #dff8ff;
  background: rgba(5,16,26,.96);
  box-shadow: 0 18px 60px rgba(0,0,0,.55);
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity .2s ease, transform .2s ease;
  pointer-events: none;
}

.toast.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .section-shell { margin-bottom: 4rem; }
  .hero { min-height: 29rem; }
  .section-heading { grid-template-columns: 1fr; gap: .8rem; align-items: start; }
  .tutorial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .module-card:last-child { grid-column: 1 / -1; min-height: 18rem; }
  .resource-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .resource-card--vault { grid-column: 1 / -1; }
  .resource-card:last-child { grid-column: 1 / -1; }
  .earn-content { grid-template-columns: 1fr; }
  .earn-proof { height: 20rem; min-height: 0; }
  .earn-actions { grid-column: auto; grid-template-columns: 1fr; }
  .svap-section { grid-template-columns: 1fr; align-items: start; }
  .svap-action { width: fit-content; }
}

@media (max-width: 620px) {
  main { padding-right: .85rem; padding-left: .85rem; }
  .section-shell { margin-bottom: 3.25rem; }
  .hero { min-height: 31rem; background-position: center top; }
  .brand-stack { width: calc(100vw - 1.7rem); margin-bottom: 1.9rem; }
  .brand-stack-label { margin-bottom: .45rem; }
  .brand-rail { justify-content: flex-start; gap: .72rem; overflow-x: auto; padding: .65rem .8rem; scrollbar-width: none; }
  .brand-rail::-webkit-scrollbar { display: none; }
  .brand-divider { height: 1.35rem; }
  .partner--svc { width: 5.45rem; }
  .brand-logo { width: 5.15rem; }
  .partner strong { font-size: .74rem; }
  .hero h1 { font-size: clamp(2.25rem, 11vw, 2.7rem); letter-spacing: -.045em; }
  .hero h1 span { display: block; margin-top: .15rem; }
  .hero-copy { width: 100%; max-width: 21rem; }
  .section-heading > *, .card-topline > *, .resource-card > *, .earn-heading > *, .svap-section > * { min-width: 0; }
  .section-heading h2 { font-size: clamp(1.55rem, 8vw, 2rem); }
  .tutorial-grid, .resource-grid { grid-template-columns: 1fr; }
  .module-card, .module-card:last-child { min-height: 31rem; grid-column: auto; }
  .card-visual { height: 13rem; }
  .resource-card, .resource-card:last-child { min-height: auto; grid-column: auto; }
  .earn-section { border-radius: 1rem; }
  .earn-heading { align-items: flex-start; }
  .crown { font-size: 2.5rem; }
  .earn-actions { gap: .55rem; }
  .svap-section { min-height: 27rem; border-radius: 1rem; }
  .svap-action { width: 100%; }
  .warning { font-size: .78rem; }
  blockquote { font-size: .9rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
