/* Veetours landing page. Colours and font are the app's own (lib/ui/common/app_colors.dart). */

@font-face { font-family: Satoshi; src: url(/assets/fonts/Satoshi-Regular.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Satoshi; src: url(/assets/fonts/Satoshi-Medium.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: Satoshi; src: url(/assets/fonts/Satoshi-Bold.woff2) format('woff2'); font-weight: 700; font-display: swap; }
/* Satoshi has no naira sign; this tiny font only covers ₦. */
@font-face { font-family: NotoSansNaira; src: url(/assets/fonts/NotoSansNaira.woff2) format('woff2'); unicode-range: U+20A6; font-display: swap; }

:root {
  --orange: #E85D00;
  --orange-deep: #C24D00;
  --ink: #0E0400;
  --ink-2: #5E5754;
  --ink-3: #908C8A; /* only for large or decorative text: too light for small text */
  --cream: #FFF0E6;
  --paper: #FFFAF6;
  --line: #EADFD6;
  --white: #fff;
  --error: #B42318;

  --font: Satoshi, NotoSansNaira, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --radius: 18px;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1200px;
  --section: clamp(80px, 12vw, 150px);
}

/* `hidden` must win over any display: grid/flex below (the form hides itself on success). */
[hidden] { display: none !important; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; line-height: 1.05; letter-spacing: -0.03em; font-weight: 700; }
h2 { font-size: clamp(2rem, 4.6vw, 3.5rem); text-wrap: balance; }
h3 { font-size: 1.375rem; letter-spacing: -0.015em; }
p, dl, dd { margin: 0; }
a { color: inherit; }
.naira { font-family: NotoSansNaira, var(--font); }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
section:focus { outline: none; }

/* Small label above a heading: only in the hero and on Vee, so it means something. */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 18px; color: var(--white);
}
.vee .eyebrow { color: #FFB27A; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(232, 93, 0, 0.25); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(232, 93, 0, 0); } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px; border: 0; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  background: var(--orange); color: var(--white);
  transition: background-color .2s, transform .2s;
}
.btn:hover { background: var(--orange-deep); }
.btn:active { transform: scale(0.98); }
.btn--ghost { background: rgba(255, 255, 255, 0.12); color: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.55); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.22); }
.btn--small { min-height: 42px; padding: 0 18px; font-size: 0.9375rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; }

/* Header: clear over the photo, solid once you scroll past it */
.bar { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color .3s, box-shadow .3s; }
.bar__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.bar__logo { position: relative; display: block; width: 113px; height: 34px; flex: none; }
.bar__logo img { position: absolute; inset: 0; transition: opacity .3s; }
.bar .logo-dark { opacity: 0; }
.bar__nav { display: none; gap: 32px; margin-left: auto; }
.bar__nav a { color: var(--white); text-decoration: none; font-weight: 500; font-size: 0.9375rem; transition: color .3s; }
.bar__nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
.bar.is-solid { background: rgba(255, 250, 246, 0.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.bar.is-solid .logo-light { opacity: 0; }
.bar.is-solid .logo-dark { opacity: 1; }
.bar.is-solid .bar__nav a { color: var(--ink); }
@media (min-width: 860px) { .bar__nav { display: flex; } }

/* 1. Hero */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; color: var(--white); overflow: hidden; background: #2d6aa3; }
.hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; transform: scale(1.06); animation: settle 2.2s cubic-bezier(.2, .7, .2, 1) forwards; }
@keyframes settle { to { transform: scale(1); } }
.hero__shade { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(14, 4, 0, .45) 0%, rgba(14, 4, 0, 0) 22%),
  linear-gradient(0deg, rgba(14, 4, 0, .88) 0%, rgba(14, 4, 0, .6) 40%, rgba(14, 4, 0, .15) 72%, rgba(14, 4, 0, 0) 85%),
  linear-gradient(90deg, rgba(14, 4, 0, .35) 0%, rgba(14, 4, 0, 0) 60%); }
.hero__content { position: relative; padding-top: 140px; padding-bottom: clamp(56px, 9vh, 96px); }
.hero__title { font-size: clamp(2.9rem, 9vw, 6.75rem); line-height: .95; letter-spacing: -0.045em; max-width: 12ch; }
.hero__lede { margin-top: 24px; max-width: 36rem; font-size: clamp(1.0625rem, 1.6vw, 1.25rem); color: rgba(255, 255, 255, .9); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__caption { position: absolute; right: 0; bottom: 18px; text-align: right; font-size: .75rem; letter-spacing: .04em; color: rgba(255, 255, 255, .85); }
@media (max-width: 599px) {
  .hero__caption { display: none; }
  /* On a phone the text sits over the busy tents and chairs: more shade. */
  .hero__shade { background:
    linear-gradient(180deg, rgba(14, 4, 0, .45) 0%, rgba(14, 4, 0, 0) 20%),
    linear-gradient(0deg, rgba(14, 4, 0, .9) 0%, rgba(14, 4, 0, .72) 50%, rgba(14, 4, 0, .2) 75%, rgba(14, 4, 0, 0) 88%); }
}

/* 2. Towns ticker (pauses under the pointer) */
.towns { background: var(--orange); color: var(--white); overflow: hidden; padding: 18px 0; }
.towns__track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.towns:hover .towns__track { animation-play-state: paused; }
.towns__list { display: flex; margin: 0; padding: 0; list-style: none; }
.towns__list li { font-weight: 700; font-size: clamp(1.25rem, 2.4vw, 1.75rem); letter-spacing: -0.02em; white-space: nowrap; padding-inline: 28px; position: relative; }
.towns__list li::after { content: ''; position: absolute; right: -4px; top: 50%; width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .5); transform: translateY(-50%); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* 3. How it works: heading with the photo stack, then three steps across */
.how { padding-block: var(--section); }
.how__top { display: grid; gap: 32px; align-items: center; margin-bottom: clamp(48px, 7vw, 88px); }
.how__top h2 { max-width: 14ch; font-size: clamp(2.25rem, 5.4vw, 4.25rem); }
.how__art { width: 100%; max-width: 560px; justify-self: center; filter: drop-shadow(0 30px 40px rgba(14, 4, 0, .14)); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.step { padding: 28px 0; border-top: 2px solid var(--ink); }
.step__num { display: block; font-size: .9375rem; font-weight: 700; color: var(--orange); font-variant-numeric: tabular-nums; margin-bottom: 14px; }
.step p { margin-top: 10px; color: var(--ink-2); max-width: 32rem; }
@media (min-width: 960px) {
  .how__top { grid-template-columns: 1fr 1fr; gap: 64px; }
  .how__art { justify-self: end; transform: rotate(2deg) scale(1.05); }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; }
}

/* 4. Vee */
.vee { background: var(--ink); color: var(--white); padding-block: var(--section); position: relative; overflow: hidden; }
.vee::before { content: ''; position: absolute; width: 640px; height: 640px; right: -180px; top: -200px; border-radius: 50%; background: radial-gradient(closest-side, rgba(232, 93, 0, .35), rgba(232, 93, 0, 0)); pointer-events: none; }
.vee__inner { position: relative; display: grid; gap: 56px; align-items: center; }
.vee__copy p:not(.eyebrow) { margin-top: 20px; color: rgba(255, 255, 255, .78); max-width: 32rem; }
.vee__copy h2 { max-width: 15ch; }
.vee__cta { margin-top: 32px; }
@media (min-width: 960px) { .vee__inner { grid-template-columns: 1fr 1fr; gap: 80px; } }

.plan { background: var(--paper); color: var(--ink); border-radius: 24px; padding: 24px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); transform: rotate(1.2deg); max-width: 460px; justify-self: center; width: 100%; }
.plan__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding-bottom: 18px; border-bottom: 1px dashed var(--line); }
.plan__kicker { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-deep); }
.plan__title { font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em; margin-top: 4px; }
.plan__meta { text-align: right; font-size: .875rem; color: var(--ink-2); line-height: 1.4; font-weight: 500; }
.plan__day { padding: 16px 0; border-bottom: 1px dashed var(--line); }
.plan__date { font-weight: 700; font-size: .9375rem; }
.plan__date span { font-weight: 500; color: var(--ink-2); }
.plan__day ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.plan__day li { display: grid; grid-template-columns: 48px 1fr auto; gap: 10px; align-items: baseline; font-size: .9375rem; }
.plan__day .t { color: var(--ink-2); font-variant-numeric: tabular-nums; font-size: .8125rem; }
.plan__day em { font-style: normal; font-size: .6875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-deep); background: var(--cream); padding: 3px 8px; border-radius: 999px; }
.plan__foot { padding-top: 16px; font-size: .875rem; font-weight: 500; color: var(--ink-2); }

/* 5. For businesses: cream band, photo and the four reasons */
.biz { background: var(--cream); padding-block: var(--section); }
.biz__inner { display: grid; gap: 48px; align-items: center; }
.biz__photo { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 0 30px 60px -30px rgba(14, 4, 0, .45); }
.biz__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.biz__photo figcaption { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-radius: 14px; background: rgba(255, 250, 246, .95); }
.tag { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-deep); }
.price { font-weight: 700; font-size: 1.125rem; }
.price small { font-weight: 500; font-size: .875rem; color: var(--ink-2); }
.biz__copy h2 { max-width: 14ch; }
.perks { margin: 28px 0 36px; }
.perks div { padding: 16px 0; border-top: 1px solid rgba(14, 4, 0, .12); }
.perks div:last-child { border-bottom: 1px solid rgba(14, 4, 0, .12); }
.perks dt { display: inline; font-weight: 700; }
.perks dt::after { content: ' '; }
.perks dd { display: inline; color: var(--ink-2); }
@media (min-width: 960px) {
  .biz__inner { grid-template-columns: 1fr 1fr; gap: 80px; }
  .biz__photo { aspect-ratio: 4 / 5; }
}

/* 6. FAQ */
.faq { padding-block: var(--section); display: grid; gap: 40px; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-weight: 700; font-size: 1.125rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 14px; height: 14px; background: linear-gradient(var(--orange), var(--orange)) center / 100% 2px no-repeat, linear-gradient(var(--orange), var(--orange)) center / 2px 100% no-repeat; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; color: var(--ink-2); max-width: 40rem; }
@media (min-width: 960px) { .faq { grid-template-columns: .8fr 1.2fr; gap: 80px; } }

/* 7. Waitlist: dark band, the white form card is the loudest thing on the page */
.waitlist { background: var(--ink); color: var(--white); padding-block: var(--section); position: relative; overflow: hidden; }
.waitlist::before { content: ''; position: absolute; width: 720px; height: 720px; left: -240px; bottom: -320px; border-radius: 50%; background: radial-gradient(closest-side, rgba(232, 93, 0, .3), rgba(232, 93, 0, 0)); pointer-events: none; }
.waitlist__inner { position: relative; display: grid; gap: 40px; align-items: center; }
.waitlist__copy h2 { font-size: clamp(2.75rem, 6.4vw, 5.25rem); letter-spacing: -0.045em; line-height: .98; max-width: 11ch; }
.waitlist__copy p { margin-top: 24px; color: rgba(255, 255, 255, .78); max-width: 28rem; font-size: 1.125rem; }
@media (min-width: 960px) { .waitlist__inner { grid-template-columns: 1fr 1fr; gap: 80px; } }

.card { background: var(--white); color: var(--ink); border-radius: 24px; padding: clamp(22px, 4vw, 36px); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { font-weight: 700; font-size: .9375rem; padding: 0; }
.optional { font-weight: 500; color: var(--ink-2); }
.field input[type=text], .field input[type=email], .field input[type=tel] {
  width: 100%; min-height: 54px; padding: 0 16px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--paper);
  font: inherit; font-size: 1rem; color: var(--ink);
  transition: border-color .2s, background-color .2s;
}
.field input::placeholder { color: #A39C98; }
.field input:hover { border-color: #D8C9BE; }
.field input:focus { outline: none; border-color: var(--orange); background: var(--white); box-shadow: 0 0 0 4px rgba(232, 93, 0, .14); }
.field input[aria-invalid=true] { border-color: var(--error); }
.field__error { font-size: .875rem; color: var(--error); }
.field__error:empty { display: none; }

.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; }
.choice label { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice span { display: flex; align-items: center; justify-content: center; min-height: 50px; border-radius: 12px; border: 1.5px solid var(--line); font-weight: 500; transition: all .2s; background: var(--paper); }
.choice input:checked + span { border-color: var(--orange); background: var(--cream); color: var(--orange-deep); font-weight: 700; }
.choice input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { font-size: .9375rem; color: var(--error); }
.form__status:empty { display: none; }
.form__note { font-size: .8125rem; color: var(--ink-2); text-align: center; }

.done { text-align: center; padding: 28px 8px; }
.done img { margin: 0 auto 18px; }
.done h3 { font-size: clamp(1.375rem, 4vw, 1.75rem); text-wrap: balance; }
.done p { margin-top: 10px; color: var(--ink-2); }
.done:focus { outline: none; }

/* Footer */
.foot { background: var(--ink); color: rgba(255, 255, 255, .78); padding-block: 48px; font-size: .9375rem; border-top: 1px solid rgba(255, 255, 255, .1); }
.foot__inner { display: grid; gap: 14px; justify-items: start; }
.foot__line { color: var(--white); font-weight: 500; }
.foot__links a { color: var(--white); text-underline-offset: 4px; }
.foot__copy { font-size: .8125rem; margin-top: 18px; }
@media (min-width: 760px) {
  .foot__inner { grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; }
  .foot__copy { grid-column: 1 / -1; }
}

/* Scroll reveals (only when JS is on: html.js) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .plan.reveal.is-in { transform: rotate(1.2deg); }
@media (min-width: 960px) { .js .how__art.reveal.is-in { transform: rotate(2deg) scale(1.05); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero__photo { transform: none; }
  .towns__track { flex-wrap: wrap; width: auto; justify-content: center; }
  .towns__list[aria-hidden] { display: none; }
  .towns__list { flex-wrap: wrap; justify-content: center; }
}
