:root {
  --purple: #6126ff;
  --deep-purple: #330559;
  --black: #271f20;
  --pink: #ff0058;
  --green: #00c878;
  --yellow: #fff21c;
  --mint: #a6ffd9;
  --orange: #ff8500;
  --white: #ffffff;
  --soft: #f6f2ff;
  --text: #27212b;
  --muted: #665b6f;
  --line: rgba(51, 5, 89, 0.1);
  --radius: 8px;
  --max: 1180px;
  --page-gutter: clamp(20px, 7vw, 92px);
  --content-gutter: clamp(92px, 9.35vw, 150px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  padding-top: 58px;
  color: var(--text);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: clip;
}

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

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

section {
  scroll-margin-top: 58px;
}

button,
input,
select {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 58px;
  padding: 0 var(--content-gutter);
  background: var(--white);
  box-shadow: 0 1px 0 rgba(51, 5, 89, 0.08);
}

.brand img {
  width: 128px;
}

.nav-links {
  display: flex;
  justify-content: flex-end;
  gap: clamp(16px, 3vw, 36px);
  color: var(--deep-purple);
  font-size: 0.84rem;
  font-weight: 800;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  cursor: pointer;
}

.header-cta {
  color: var(--white);
  background: var(--purple);
  font-size: 0.82rem;
  white-space: nowrap;
}

.button-mint {
  min-height: 50px;
  color: var(--deep-purple);
  background: var(--mint);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.16);
}

.button-ghost {
  min-height: 50px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.1);
}

.button-light {
  min-height: 48px;
  color: var(--deep-purple);
  background: var(--white);
  box-shadow: 0 14px 32px rgba(51, 5, 89, 0.16);
}

.button-pink {
  min-height: 50px;
  color: var(--white);
  background: var(--pink);
  box-shadow: 0 14px 30px rgba(255, 0, 88, 0.24);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  letter-spacing: 0;
}

h1 {
  margin-bottom: 24px;
  color: var(--white);
  font-size: clamp(1.6rem, 3.25vw, 3.15rem);
  line-height: 0.95;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2rem, 4.8vw, 4.4rem);
  line-height: 0.96;
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(1.08rem, 1.6vw, 1.32rem);
  line-height: 1.12;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: calc(100svh - 58px);
  display: grid;
  align-items: start;
  overflow: hidden;
  padding: clamp(90px, 14.4vw, 153px) var(--content-gutter) clamp(58px, 7vw, 86px);
  color: var(--white);
  background: var(--green);
}

.hero::before {
  content: none;
}

.hero::after {
  content: none;
}

.hero-bakery-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  width: 45vw;
  background: url("assets/current/bakery-hero-bg.jpeg") center right / cover no-repeat;
  pointer-events: none;
}

.hero-route-line {
  position: absolute;
  right: 0;
  bottom: clamp(131px, calc(21vw - 45px), 217px);
  left: 0;
  z-index: 2;
  width: 100%;
  height: 180px;
  overflow: visible;
  pointer-events: none;
}

.hero-route-line path {
  fill: none;
  stroke: var(--purple);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 12;
  filter: drop-shadow(0 12px 18px rgba(51, 5, 89, 0.18));
}

.hero-baker-cutout {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: block;
  width: 45vw;
  height: auto;
  pointer-events: none;
}

.hero-copy {
  text-shadow: 0 14px 34px rgba(51, 5, 89, 0.22);
}

.hero .eyebrow {
  color: var(--white);
}

.hero-inner {
  position: relative;
  z-index: 4;
  width: 100%;
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 560px);
  align-items: center;
  justify-content: start;
}

.hero-copy {
  max-width: 560px;
}

.hero-text {
  max-width: 560px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.02rem, 1.6vw, 1.28rem);
  line-height: 1.48;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-partners {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 22px;
  width: max-content;
  max-width: 100%;
  margin-top: clamp(44px, 5vw, 64px);
}

.hero-partner-pill {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 74px;
  padding: 12px 28px;
  border: 1px solid rgba(51, 5, 89, 0.12);
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 18px 34px rgba(51, 5, 89, 0.18);
}

.hero-partner-pill img {
  display: block;
  width: auto;
  object-fit: contain;
}

.hero-partner-combo {
  gap: 28px;
}

.hero-partner-combo img:first-child {
  height: 48px;
}

.hero-partner-combo img:last-child {
  height: 34px;
}

.hero-partner-otic {
  width: 86px;
  min-height: 86px;
  padding: 10px;
}

.hero-partner-otic img {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: contain;
}

.intro {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 0.92fr) minmax(320px, 1.08fr);
  align-items: start;
  gap: clamp(32px, 7vw, 94px);
  min-height: 165svh;
  padding: 90px var(--page-gutter) 0;
  background: var(--white);
}

.intro-copy {
  position: sticky;
  top: calc(58px + 90px);
  z-index: 2;
  width: min(580px, 100%);
  margin-left: auto;
  padding: 24px 28px clamp(240px, 23vw, 340px);
}

.intro-copy h2 {
  color: var(--deep-purple);
}

.intro-copy p:not(.eyebrow),
.more-copy p,
.apply-copy p,
.apply-copy li {
  color: var(--muted);
  font-size: clamp(1rem, 1.24vw, 1.14rem);
  line-height: 1.5;
}

.intro-visual {
  position: sticky;
  top: calc(58px + 90px);
  z-index: 2;
  width: min(620px, 100%);
  padding-block: 0 clamp(240px, 23vw, 340px);
}

.intro-photo {
  width: 100%;
  aspect-ratio: 1.08;
  border-radius: var(--radius);
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
  box-shadow: 0 22px 52px rgba(39, 31, 32, 0.12);
}

.van-scroll {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.van-sticky {
  position: sticky;
  top: 58px;
  height: calc(100svh - 58px);
  overflow: hidden;
}

.van-drive {
  --van-x: -58vw;
  position: absolute;
  left: 0;
  bottom: clamp(-58px, -4vw, -34px);
  width: clamp(300px, 42vw, 600px);
  max-width: none;
  transform: translate3d(var(--van-x), 0, 0);
  will-change: transform;
  filter: drop-shadow(0 22px 22px rgba(39, 31, 32, 0.18));
}

.tools-section {
  position: relative;
  z-index: 3;
  margin-top: clamp(-72px, -5vw, -44px);
  padding: clamp(70px, 9vw, 116px) var(--content-gutter);
  color: var(--white);
  background: var(--pink);
}

.tools-heading {
  width: 100%;
  margin: 0 0 32px;
}

.tools-heading .eyebrow,
.limited-section .eyebrow {
  color: var(--mint);
}

.tools-heading h2 {
  max-width: 780px;
}

.tools-grid {
  width: 100%;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.tools-grid article {
  min-height: 220px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: var(--radius);
  color: var(--black);
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 18px 42px rgba(51, 5, 89, 0.16);
}

.tools-grid span {
  display: block;
  margin-bottom: 30px;
  color: var(--purple);
  font-size: 0.86rem;
  font-weight: 900;
}

.tools-grid h3 {
  color: var(--deep-purple);
}

.tools-grid p {
  margin: 0;
  color: rgba(39, 31, 32, 0.75);
  line-height: 1.42;
}

.more-section {
  display: grid;
  grid-template-columns: minmax(420px, 0.98fr) minmax(320px, 1.02fr);
  align-items: center;
  gap: clamp(28px, 4.4vw, 64px);
  padding: clamp(70px, 9vw, 116px) var(--content-gutter);
  background: var(--green);
}

.more-media {
  width: min(620px, 100%);
  margin-left: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 22px 52px rgba(39, 31, 32, 0.18);
  overflow: hidden;
}

.more-media img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center;
}

.more-copy {
  max-width: 660px;
}

.more-copy .eyebrow {
  color: var(--mint);
}

.more-copy h2 {
  color: var(--white);
}

.more-section .more-copy p {
  color: rgba(255, 255, 255, 0.86);
}

.limited-section {
  position: relative;
  overflow: hidden;
  padding: clamp(82px, 10vw, 132px) var(--content-gutter) clamp(210px, 19vw, 310px);
  color: var(--white);
  background: var(--black);
}

.limited-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("assets/current/cupos-bg-metro.jpeg") center / cover no-repeat;
  filter: grayscale(1) brightness(0.66) contrast(1.12);
  transform: scale(1.03);
}

.limited-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.32));
  pointer-events: none;
}

.limited-inner {
  position: relative;
  z-index: 3;
  width: min(820px, 100%);
  margin: 0 auto;
  text-align: center;
}

.limited-inner p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
  line-height: 1.5;
}

.limited-scooter {
  --scooter-x: -60vw;
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  width: clamp(130px, 15vw, 230px);
  max-width: none;
  transform: translate3d(var(--scooter-x), 0, 0);
  filter: grayscale(1) contrast(1.12) drop-shadow(0 18px 18px rgba(0, 0, 0, 0.3));
  opacity: 1;
  pointer-events: none;
  will-change: transform;
}

.apply-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.86fr) minmax(340px, 1.14fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: start;
  padding: clamp(70px, 9vw, 118px) var(--page-gutter);
  background: var(--soft);
}

.apply-copy {
  width: min(520px, 100%);
  margin-left: auto;
}

.apply-copy h2 {
  color: var(--deep-purple);
}

.apply-copy ul {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.apply-copy li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
}

.apply-copy li::before {
  content: "";
  width: 12px;
  height: 12px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(0, 200, 120, 0.14);
}

.lead-form {
  display: grid;
  gap: 18px;
  width: min(640px, 100%);
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(51, 5, 89, 0.08);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 24px 58px rgba(39, 31, 32, 0.12);
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: var(--deep-purple);
  font-size: 0.9rem;
  font-weight: 900;
}

.lead-form input,
.lead-form select {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid rgba(51, 5, 89, 0.16);
  border-radius: var(--radius);
  color: var(--text);
  background: #fbfaff;
  outline: none;
}

.lead-form input:focus,
.lead-form select:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 4px rgba(97, 38, 255, 0.13);
}

.consent {
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 12px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.42;
}

.consent input {
  min-height: 20px;
  height: 20px;
  margin: 2px 0 0;
  padding: 0;
  accent-color: var(--purple);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

.form-note.is-success {
  color: var(--green);
  font-weight: 900;
}

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 56px var(--content-gutter);
  color: var(--white);
  background: var(--black);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: -50% auto auto -10%;
  width: 420px;
  aspect-ratio: 1;
  border: 34px solid rgba(255, 0, 88, 0.28);
  border-radius: 50%;
}

.footer-content {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-content img {
  width: 142px;
}

.footer-content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
}

.footer-content a {
  font-weight: 900;
  color: var(--mint);
}

@media (max-width: 920px) {
  body {
    padding-top: 64px;
  }

  .site-header {
    min-height: 64px;
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-links {
    display: none;
  }

  .hero-inner,
  .intro,
  .more-section,
  .apply-section {
    grid-template-columns: 1fr;
  }

  .intro {
    min-height: auto;
    padding-top: clamp(58px, 9vw, 86px);
    padding-bottom: clamp(128px, 22vw, 180px);
  }

  .intro-copy,
  .intro-visual {
    position: relative;
    top: auto;
    padding-block: 0;
  }

  .van-sticky {
    position: absolute;
    inset: auto 0 0;
    height: 180px;
  }

  .van-drive {
    left: auto;
    right: -26vw;
    bottom: -42px;
    width: min(420px, 92vw);
    transform: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-route-line {
    display: none;
  }

  .hero-bakery-bg,
  .hero-baker-cutout {
    display: none;
  }

  .intro-copy,
  .apply-copy,
  .more-media {
    margin-left: 0;
  }

  .tools-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  :root {
    --page-gutter: 18px;
    --content-gutter: 18px;
  }

  .brand img {
    width: 112px;
  }

  .header-cta {
    min-height: 36px;
    padding: 0 14px;
    font-size: 0.76rem;
  }

  h1 {
    font-size: clamp(1.65rem, 8.45vw, 2.25rem);
  }

  h2 {
    font-size: clamp(1.95rem, 10vw, 3rem);
  }

  .hero,
  .intro,
  .tools-section,
  .more-section,
  .limited-section,
  .apply-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-actions {
    display: grid;
  }

  .lead-form {
    padding: 20px;
  }

  .hero-partners {
    gap: 10px;
    width: 100%;
  }

  .hero-partners::before {
    height: 9px;
  }

  .hero-partner-pill {
    min-height: 62px;
    padding: 9px 14px;
  }

  .hero-partner-combo {
    flex: 1;
    gap: 12px;
  }

  .hero-partner-combo img:first-child {
    height: 38px;
  }

  .hero-partner-combo img:last-child {
    height: 24px;
  }

  .hero-partner-otic {
    flex: 0 0 64px;
    width: 64px;
    min-height: 64px;
    padding: 8px;
  }

  .hero-partner-otic img {
    width: 50px;
    height: 50px;
  }

  .tools-grid {
    grid-template-columns: 1fr;
  }

  .tools-grid article {
    min-height: 0;
  }

  .footer-content {
    display: grid;
  }
}
