/* jajantenang.id landing page
   Creative direction: Calm & Premium × Editorial Storytelling */

:root {
  --cream: #FFF9EF;
  --olive: #20251E;
  --lime: #D8F36A;
  --sage: #DCE6D5;
  --coral: #FF967A;
  --coral-soft: #FFD9CC;

  --ink-2: #3E453A;
  --ink-3: #4F574B;
  --on-dark-2: #C9D2C1;
  --line: #D9D1BF;
  --line-soft: #E5DECF;
  --dark-line: #3E463A;
  --dark-raise: #2A3027;

  --font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: Inter, system-ui, sans-serif;

  --gutter: clamp(16px, 5vw, 64px);
  --section-y: clamp(64px, 8vw, 120px);
  --radius: 24px;
  --shadow-float: 0 18px 40px rgba(32, 37, 30, 0.14);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--olive);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
em { font-style: italic; font-weight: 600; }
mark { color: inherit; background: none; }

:focus-visible {
  outline: 3px solid var(--olive);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--olive);
  color: var(--cream);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }

/* ---------- Type ---------- */

.h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.h2--sm { font-size: clamp(32px, 3.8vw, 48px); line-height: 1.08; }
.h2--cta { font-size: clamp(34px, 4vw, 54px); }

.h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.3;
}

.muted { color: var(--ink-3); }
.lime { color: var(--lime); }

.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.eyebrow--coral { color: var(--coral); }

.eyebrow-pill {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--olive);
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }

/* Lime highlight that sweeps in when revealed */
.hl {
  padding: 0 0.12em;
  border-radius: 0.16em;
  background-image: linear-gradient(var(--lime), var(--lime));
  background-repeat: no-repeat;
  background-position: 0 75%;
  background-size: 100% 84%;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.hl--sm { padding: 0 6px; border-radius: 4px; }
.js .hl[data-hl] { background-size: 0% 84%; transition: background-size 0.9s var(--ease) 0.35s; }
.js .hl[data-hl].is-on { background-size: 100% 84%; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.2s;
}
.btn svg { transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }

.btn--sm { min-height: 44px; padding: 0 20px; font-size: 15px; font-weight: 600; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 17px; }

.btn--lime { background: var(--lime); color: var(--olive); box-shadow: 0 1px 0 var(--olive); }
.btn--lime:hover { transform: translateY(-2px); box-shadow: 0 4px 0 var(--olive); }

.btn--dark { background: var(--olive); color: var(--cream); }
.btn--dark:hover { background: #343B30; }

.btn--outline { border: 1px solid var(--olive); background: transparent; color: var(--olive); font-weight: 600; font-size: 16px; padding: 0 24px; }
.btn--outline:hover { background: var(--olive); color: var(--cream); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 249, 239, 0.92);
  -webkit-backdrop-filter: saturate(1.2) blur(8px);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 16px;
}

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__mark { width: 36px; height: 36px; border-radius: 10px; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.brand__name span { color: var(--ink-3); font-weight: 600; }
.brand__name--lg { font-size: 22px; }

.nav {
  display: flex;
  align-items: center;
  gap: 8px 28px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
}
.nav__link { text-decoration: none; position: relative; }
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--olive);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__link:hover::after { transform: scaleX(1); }

@media (max-width: 760px) {
  .nav__link { display: none; }
}

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

.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(40px, 5vw, 72px);
  padding-top: clamp(24px, 4vw, 56px);
  padding-bottom: clamp(56px, 7vw, 96px);
}
.hero__copy {
  flex: 1.15 1 500px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(44px, 6vw, 86px);
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.hero__lead { max-width: 520px; font-size: 19px; color: var(--ink-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero__trust { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-3); }

.hero__visual { flex: 1 1 460px; min-width: 0; position: relative; }

.photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: #EAD9BF;
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo img[data-parallax] {
  height: calc(100% + 60px);
  margin-top: -30px;
  will-change: transform;
}

.photo--hero { height: clamp(440px, 52vw, 640px); border-radius: 28px; }
.photo--hero img { object-position: 50% 30%; }

.float-card {
  position: absolute;
  max-width: calc(100% - 24px);
  padding: 16px 18px;
  border-radius: 18px;
  box-shadow: var(--shadow-float);
}
.float-card--income {
  top: 28px;
  left: -20px;
  width: 290px;
  background: var(--cream);
  display: flex;
  gap: 12px;
  align-items: center;
  animation: float 7s ease-in-out infinite;
}
.float-card--saved {
  bottom: 56px;
  right: -12px;
  width: 270px;
  background: var(--olive);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 18px 40px rgba(32, 37, 30, 0.22);
  animation: float 7s ease-in-out -3.5s infinite;
}
.float-card__icon {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--olive);
  display: flex;
  align-items: center;
  justify-content: center;
}
.float-card__body { display: flex; flex-direction: column; gap: 2px; }
.float-card__label { font-size: 12px; color: var(--ink-3); }
.float-card--saved .float-card__label { color: var(--on-dark-2); }
.float-card__value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.float-card--saved .float-card__value { font-size: 22px; }
.float-card__value small { font-weight: 600; font-size: 14px; color: var(--lime); }

.sticker {
  position: absolute;
  top: -14px;
  right: 36px;
  transform: rotate(6deg);
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--coral);
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  font-size: 14px;
  box-shadow: 0 6px 16px rgba(32, 37, 30, 0.12);
}

@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}

@media (max-width: 560px) {
  .float-card--income { left: 12px; top: 20px; width: auto; }
  .float-card--saved { right: 12px; bottom: 20px; width: 230px; }
  .sticker { right: 16px; font-size: 13px; }
}

/* Progress bars */
.bar { display: block; height: 6px; border-radius: 999px; overflow: hidden; }
.bar--dark { background: #3A4236; }
.bar--light { height: 8px; background: var(--cream); }
.bar__fill { display: block; height: 100%; width: 0; border-radius: inherit; transition: width 1.4s var(--ease) 0.3s; }
.bar--dark .bar__fill { background: var(--lime); }
.bar--light .bar__fill { background: var(--olive); }

/* ---------- Story strip ---------- */

.story { border-block: 1px solid var(--olive); }
.story__list {
  list-style: none;
  margin-block: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}
.story__list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 22px 16px 22px 0;
}
.story__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}
.story__title { font-family: var(--font-display); font-weight: 700; font-size: 17px; }
.story__mood { font-size: 13px; color: var(--ink-3); }

@media (max-width: 900px) {
  .story__list { grid-template-columns: repeat(3, 1fr); }
  .story__list li:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .story__list { grid-template-columns: repeat(2, 1fr); }
  .story__list li { border-bottom: 1px solid var(--line); }
  .story__list li:nth-last-child(-n+2) { border-bottom: 0; }
}

/* ---------- Section head ---------- */

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 48px;
  margin-bottom: 48px;
}
.section-head .h2 { flex: 1 1 520px; min-width: 0; }
.section-head__aside { flex: 1 1 300px; max-width: 400px; font-size: 17px; color: var(--ink-2); }

.lifestyle .h2 { font-size: clamp(36px, 4.6vw, 64px); }

/* ---------- Collage ---------- */

.collage { display: flex; flex-wrap: wrap; gap: 20px; }
.collage__main { flex: 2 1 480px; min-width: 0; height: 520px; background: #F2C9B6; }
.collage__main img { object-position: 50% 40%; }
.collage__col { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.collage__col--offset { flex-basis: 300px; padding-top: clamp(0px, 4vw, 56px); }
.collage__sm { height: 250px; background: var(--sage); }
.collage__xs { height: 214px; background: #E9DCC6; }
.collage__xs img { object-position: 30% 50%; }
.collage__tall { height: 330px; background: #E4D4F0; }
.collage__tall img { object-position: 50% 20%; }

.tag {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--cream);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.collage .photo img { transition: transform 0.8s var(--ease); }
.collage .photo:hover img:not([data-parallax]) { transform: scale(1.04); }

.quote {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--olive);
  color: var(--cream);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 22px;
  line-height: 1.3;
}

@media (max-width: 760px) {
  .collage__main { height: 420px; }
}

/* ---------- Problem (dark) ---------- */

.dark { background: var(--olive); color: var(--cream); }

.problem {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(40px, 5vw, 80px);
}
.photo--dark { background: #2F362C; }
.problem__photo { flex: 1 1 440px; min-width: 0; height: 560px; }
.problem__photo img { object-position: 50% 35%; }
.problem__copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.problem__lead { max-width: 500px; font-size: 18px; color: var(--on-dark-2); }

.spend-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  border-top: 1px solid var(--dark-line);
}
.spend-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--dark-line);
}
.spend-list__amt { font-family: var(--font-display); font-weight: 600; color: var(--coral); white-space: nowrap; }
.problem__kicker { font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: 18px; }

@media (max-width: 560px) {
  .problem__photo { height: 420px; }
}

/* ---------- Product ---------- */

.product {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
}
.product__visual {
  flex: 1 1 380px;
  min-width: 0;
  position: relative;
  display: flex;
  justify-content: center;
  padding: 40px 0;
}
.product__backdrop {
  position: absolute;
  inset: 0 8%;
  border-radius: 40px;
  background: var(--sage);
}
.product__copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 36px; }
.product .h2 { font-size: clamp(34px, 4.2vw, 56px); }
.stack-18 { display: flex; flex-direction: column; gap: 18px; }

.phone {
  position: relative;
  width: 320px;
  max-width: 100%;
  border-radius: 44px;
  background: var(--olive);
  padding: 12px;
  box-shadow: 0 30px 60px rgba(32, 37, 30, 0.22);
  transition: transform 0.6s var(--ease);
}
.product__visual:hover .phone { transform: translateY(-6px) rotate(-1deg); }
.phone__screen {
  border-radius: 34px;
  background: var(--cream);
  padding: 28px 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.phone__top { display: flex; justify-content: space-between; align-items: center; }
.phone__hello { font-family: var(--font-display); font-weight: 700; font-size: 16px; }
.phone__avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--coral); }
.phone__card { border-radius: 20px; display: flex; flex-direction: column; }
.phone__card--dark { background: var(--olive); color: var(--cream); padding: 18px; gap: 4px; }
.phone__card--sage { background: var(--sage); padding: 16px 18px; gap: 8px; }
.phone__label { font-size: 12px; color: var(--on-dark-2); }
.phone__balance { font-family: var(--font-display); font-weight: 800; font-size: 28px; letter-spacing: -0.02em; line-height: 1.2; }
.phone__note { font-size: 12px; color: var(--lime); }
.phone__row { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-2); }
.phone__saved { font-family: var(--font-display); font-weight: 800; font-size: 22px; line-height: 1.2; }
.phone__goal { font-size: 12px; color: var(--ink-2); }
.phone__section { font-family: var(--font-display); font-weight: 700; font-size: 13px; margin-top: 4px; }
.phone__tx { display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.phone__tx > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--line-soft);
}
.chip { font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--lime); white-space: nowrap; }

.features { border-top: 1px solid var(--olive); }
.feature {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.feature > div { display: flex; flex-direction: column; gap: 6px; }
.feature p { color: var(--ink-2); }
.feature__icon {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s var(--ease);
}
.feature:hover .feature__icon { transform: rotate(-6deg) scale(1.06); }
.feature__icon--sage { background: var(--sage); }
.feature__icon--coral { background: var(--coral-soft); }
.feature__icon--lime { background: var(--lime); }

/* ---------- Band ---------- */

.band { background: var(--lime); border-block: 1px solid var(--olive); }
.band__text {
  padding-block: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 40px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(22px, 3vw, 40px);
  letter-spacing: -0.02em;
  text-align: center;
}

/* ---------- Steps ---------- */

.sage { background: var(--sage); }
.steps { display: flex; flex-direction: column; }
.steps .section-head { margin-bottom: 48px; }
.steps .h2 { font-size: clamp(34px, 4.2vw, 56px); }
.steps .section-head__aside { max-width: 380px; font-size: 16px; }

.steps__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
}
.step {
  flex: 1 1 280px;
  min-width: 0;
  padding: 32px;
  border-radius: var(--radius);
  background: var(--cream);
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 1px 0 rgba(32, 37, 30, 0.08);
  transition: translate 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.step:hover { translate: 0 -4px; box-shadow: 0 16px 32px rgba(32, 37, 30, 0.1); }
.step p { color: var(--ink-2); }
.step .h3 { font-size: 22px; }
.step__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.04em;
}
.step--2 { margin-top: clamp(0px, 3vw, 40px); }
.step--3 { margin-top: clamp(0px, 6vw, 80px); }
.step--dark { background: var(--olive); color: var(--cream); }
.step--dark p { color: var(--on-dark-2); }
.step--dark .step__num { color: var(--lime); }

@media (max-width: 900px) {
  .step--2, .step--3 { margin-top: 0; }
}

/* ---------- Security ---------- */

.security {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 80px;
  align-items: flex-start;
  padding-block: clamp(64px, 8vw, 112px);
}
.security__copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.security__copy > p:last-child { max-width: 480px; color: var(--ink-2); }

.trust-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1 1 420px;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.trust {
  padding: 24px;
  border-radius: 20px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.3s, background-color 0.3s;
}
.trust:hover { border-color: var(--olive); background: #FFFDF8; }
.trust__title { font-family: var(--font-display); font-weight: 700; font-size: 17px; }
.trust__text { font-size: 14px; color: var(--ink-3); }

/* ---------- FAQ ---------- */

.faq-wrap { border-top: 1px solid var(--line); }
.faq {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 80px;
  padding-block: clamp(64px, 8vw, 104px);
}
.faq .h2 { flex: 1 1 300px; }
.faq__list { flex: 2 1 560px; min-width: 0; border-top: 1px solid var(--olive); }
.faq__item { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item p { margin-top: 12px; max-width: 640px; color: var(--ink-2); }
.faq__icon { position: relative; flex: none; width: 16px; height: 16px; }
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 2px;
  margin-top: -1px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease);
}
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }

/* ---------- CTA ---------- */

.cta { padding-bottom: clamp(64px, 8vw, 112px); }
.cta__card {
  border-radius: 32px;
  background: var(--olive);
  color: var(--cream);
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
}
.cta__photo { flex: 1 1 420px; min-width: 0; min-height: 440px; border-radius: 0; background: #F0C2AE; }
.cta__photo img { position: absolute; inset: 0; }
.cta__photo img[data-parallax] { top: -30px; margin-top: 0; }
.cta__body {
  flex: 1 1 460px;
  min-width: 0;
  padding: clamp(32px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}
.cta__lead { max-width: 440px; color: var(--on-dark-2); }

.waitlist { display: flex; flex-direction: column; gap: 8px; max-width: 480px; }
.waitlist label { font-size: 14px; font-weight: 500; color: var(--on-dark-2); }
.waitlist__row { display: flex; flex-wrap: wrap; gap: 10px; }
.waitlist input {
  flex: 1 1 220px;
  min-width: 0;
  min-height: 56px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--ink-3);
  background: var(--dark-raise);
  color: var(--cream);
  font: inherit;
  font-size: 16px;
  transition: border-color 0.2s;
}
.waitlist input::placeholder { color: #8C9586; }
.waitlist input:focus { outline: none; border-color: var(--lime); }
.waitlist input[aria-invalid="true"] { border-color: var(--coral); }
.waitlist .btn { flex: 0 0 auto; font-size: 16px; }
.waitlist .btn:hover { box-shadow: 0 4px 0 var(--cream); }
.waitlist .btn[disabled] { opacity: 0.7; cursor: wait; }
.waitlist__msg { min-height: 1.6em; font-size: 14px; color: var(--on-dark-2); }
.waitlist__msg.is-error { color: var(--coral); }
.waitlist__msg.is-ok { color: var(--lime); font-weight: 500; }

@media (max-width: 560px) {
  .cta__card { border-radius: 24px; }
  .cta__photo { min-height: 300px; }
  .waitlist .btn { flex: 1 1 100%; }
}

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

.site-footer { border-top: 1px solid var(--olive); }
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  padding-block: 48px;
}
.site-footer__brand { flex: 1 1 320px; display: flex; flex-direction: column; gap: 10px; }
.site-footer__tagline { font-family: var(--font-display); font-style: italic; font-weight: 500; color: var(--ink-2); }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 12px 32px; font-size: 15px; }
.site-footer__nav a { text-underline-offset: 3px; }
.site-footer__nav a:hover { text-decoration-thickness: 2px; }
.site-footer__legal { padding-bottom: 40px; font-size: 13px; color: var(--ink-3); }

/* ---------- Reveal motion ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  /* keeps hover transitions of revealed cards (translate, shadow, colors) undelayed */
  transition:
    opacity 0.8s var(--ease) var(--d, 0s),
    transform 0.8s var(--ease) var(--d, 0s),
    translate 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    border-color 0.3s,
    background-color 0.3s;
}
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .photo img[data-parallax] { transform: none !important; }
}
