/* ============================================================
   VENDIBLES — location owner landing page
   Colours come from the Vendibles logo: deep teal, light teal.
   The warm "sun" accent is only for buttons people should press.
   ============================================================ */

:root {
  --deep: #0d4b61;
  --deeper: #08364a;
  --teal: #80c1c6;
  --teal-soft: #e6f3f4;
  --sun: #f59e2c;
  --sun-dark: #d9821a;
  --ink: #12232b;
  --body: #3b4f58;
  --muted: #6a7f88;
  --line: #d8e4e7;
  --paper: #ffffff;
  --cream: #f6faf9;
  --radius: 18px;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Fraunces", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--deep); }
h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0; }
h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(28px, 4vw, 42px); letter-spacing: -0.01em; }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0; }

.wrap { width: min(1140px, 100% - 32px); margin-inline: auto; }

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--deep);
  margin-bottom: 14px;
}
.eyebrow--light { color: var(--teal); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  font: 700 16px/1 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--sun { background: var(--sun); color: var(--ink); }
.btn--sun:hover { background: var(--sun-dark); }
.btn--ghost { border-color: rgba(255,255,255,.45); color: #fff; }
.btn--ghost:hover { border-color: #fff; }
.btn--ink { background: var(--deep); color: #fff; }
.btn--ink:hover { background: var(--deeper); }
.btn--line { border-color: var(--line); color: var(--ink); background: #fff; }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }

/* ── Hero ── */
.hero {
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(128,193,198,.28), transparent 60%),
    linear-gradient(160deg, var(--deep), var(--deeper));
  color: #d7e9ec;
  padding-bottom: 72px;
}
.bar { display: flex; align-items: center; gap: 16px; padding: 18px 0; }
.mark { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -0.01em; }
.mark img { width: 40px; height: 40px; background: #fff; border-radius: 10px; padding: 3px; }
.tag { font-size: 14px; color: var(--teal); padding-left: 16px; border-left: 1px solid rgba(255,255,255,.2); }
.bar__cta { margin-left: auto; color: #fff; font-weight: 700; font-size: 15px; text-decoration: none; padding: 10px 18px; border: 2px solid rgba(255,255,255,.35); border-radius: 999px; }
.bar__cta:hover { border-color: #fff; }

.hero__grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 56px; align-items: center; padding-top: 40px; }
.hero .eyebrow { color: var(--teal); }
.hero__h { font-family: var(--serif); font-weight: 800; font-size: clamp(36px, 5.6vw, 64px); color: #fff; letter-spacing: -0.02em; line-height: 1.05; }
.hero__h em { font-style: normal; color: var(--sun); display: block; }
.hero__lede { font-size: 19px; margin-top: 22px; max-width: 34em; color: #d7e9ec; }
.hero__acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.facts { list-style: none; margin: 44px 0 0; padding: 24px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; border-top: 1px solid rgba(255,255,255,.15); }
.facts b { display: block; font-family: var(--serif); font-size: 28px; color: #fff; line-height: 1.1; }
.facts span { font-size: 14px; color: var(--teal); }

.hero__pic { margin: 0 0 0 auto; position: relative; max-width: 380px; width: 100%; }
.hero__pic::before { content: ""; position: absolute; inset: 24px -18px -18px 24px; border-radius: 26px; background: var(--teal); opacity: .35; }
.hero__pic img { position: relative; border-radius: 22px; aspect-ratio: 3 / 4; object-fit: cover; width: 100%; box-shadow: 0 30px 60px rgba(0,0,0,.35); }

/* ── Press ── */
.press-sec { padding: 34px 0; border-bottom: 1px solid var(--line); }
.press__label { text-align: center; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.press { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 22px 44px; }
.press img { height: 28px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1); opacity: .75; }

/* ── Sections ── */
.sec { padding: 96px 0; }
.sec--tint { background: var(--cream); }
.sec--deep { background: var(--deeper); color: #cfe3e6; }
.sec--deep h2 { color: #fff; }
.head { max-width: 760px; margin-bottom: 48px; }

/* What you get */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.card__ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--teal-soft); margin-bottom: 20px; }
.card__ic svg { width: 24px; height: 24px; fill: none; stroke: var(--deep); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 16px; }

/* What we need */
.needs { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.needs__lede { margin-top: 18px; }
.needs__list { list-style: none; margin: 0; padding: 0; counter-reset: n; display: grid; gap: 14px; }
.needs__list li { counter-increment: n; position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px 22px 76px; }
.needs__list li::before { content: counter(n); position: absolute; left: 22px; top: 20px; width: 36px; height: 36px; border-radius: 50%; background: var(--deep); color: #fff; font-weight: 800; display: grid; place-items: center; }
.needs__list b { display: block; color: var(--ink); font-size: 18px; }
.needs__list span { font-size: 16px; }

/* How it works */
.path { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.path li { border-top: 3px solid var(--teal); padding-top: 20px; }
.path li:last-child { border-top-color: var(--sun); }
.path__n { display: block; font-family: var(--serif); font-size: 34px; font-weight: 800; color: var(--teal); line-height: 1; margin-bottom: 14px; }
.path li:last-child .path__n { color: var(--sun); }
.path h3 { margin-bottom: 8px; }
.path p { font-size: 16px; }

/* Proof */
.proof__top { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: end; margin-bottom: 56px; }
.proof__p { font-size: 18px; }
.gallery__label { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); margin-bottom: 18px; }
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.gallery li { position: relative; border-radius: 14px; overflow: hidden; background: var(--deep); }
.gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.gallery span { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 12px 10px; font-size: 13px; font-weight: 700; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.75)); }

/* FAQ */
.faq-wrap { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font-weight: 700; font-size: 18px; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 28px; font-weight: 400; color: var(--deep); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; max-width: 44em; }

/* ── Form ── */
.apply { background: var(--teal-soft); }
.apply__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.apply__intro p { margin-top: 14px; }
.apply__note { font-size: 15px; color: var(--muted); }
.apply__pic { margin: 28px 0 0; }
.apply__pic img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

.formbox { background: #fff; border-radius: 24px; padding: 32px; box-shadow: 0 20px 50px rgba(13,75,97,.12); color-scheme: light; }
.progress { height: 6px; background: var(--teal-soft); border-radius: 99px; overflow: hidden; }
.progress span { display: block; height: 100%; width: 0; background: var(--deep); transition: width .3s ease; }
.stepcount { font-size: 13px; font-weight: 700; color: var(--muted); margin: 14px 0 6px; letter-spacing: .04em; }

.step { border: 0; margin: 0; padding: 0; display: none; }
.js .step.is-on { display: block; }
html:not(.js) .step { display: block; margin-bottom: 28px; }
legend { font-family: var(--serif); font-weight: 700; font-size: 26px; color: var(--ink); line-height: 1.2; margin-bottom: 20px; padding: 0; }
.sub { display: block; font-weight: 700; font-size: 15px; color: var(--ink); margin: 16px 0 6px; }
.sub small { font-weight: 400; color: var(--muted); }
input[type=text], input[type=tel], input[type=email], textarea {
  width: 100%; font: 400 17px/1.4 var(--sans); color: var(--ink);
  padding: 14px 16px; border: 2px solid var(--line); border-radius: 12px; background: #fff;
}
textarea { min-height: 96px; resize: vertical; }
input:focus, textarea:focus { outline: none; border-color: var(--deep); }
[aria-invalid=true] { border-color: #c2410c !important; }

.opts { display: grid; gap: 10px; }
.opts--2 { grid-template-columns: 1fr 1fr; }
.opts label { position: relative; cursor: pointer; }
.opts input { position: absolute; opacity: 0; inset: 0; }
.opts span { display: block; padding: 14px 16px; border: 2px solid var(--line); border-radius: 12px; font-weight: 600; color: var(--ink); transition: border-color .15s, background .15s; }
.opts label:hover span { border-color: var(--teal); }
.opts input:checked + span { border-color: var(--deep); background: var(--teal-soft); }
.opts input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 2px; }

.consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; font-size: 14px; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--deep); }

.formnav { display: flex; gap: 10px; margin-top: 26px; }
.formnav [data-next], .formnav [data-submit] { margin-left: auto; }
.formnav.is-first [data-back] { visibility: hidden; }
.formnav [data-submit] { display: none; }
.formnav.is-last [data-next] { display: none; }
.formnav.is-last [data-submit] { display: inline-flex; }
html:not(.js) .formnav [data-back], html:not(.js) .formnav [data-next] { display: none; }
html:not(.js) .formnav [data-submit] { display: inline-flex; }
.formmsg { min-height: 1.4em; margin-top: 12px; font-size: 15px; font-weight: 600; color: #c2410c; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.done h3 { font-family: var(--serif); font-size: 28px; margin-bottom: 10px; }
.done { padding: 20px 0 10px; }

/* ── Footer ── */
.foot { background: var(--deeper); color: #a9c7cc; padding: 56px 0 28px; font-size: 15px; }
.foot__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.12); }
.foot__tag { margin-top: 12px; max-width: 26em; }
.foot__contact { display: grid; gap: 8px; }
.foot a { color: #fff; text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; font-size: 14px; }

/* ── Phone dock ── */
.dock { position: fixed; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 20; display: none; transform: translateY(140%); transition: transform .25s ease; }
.dock .btn { width: 100%; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.dock[data-show=on] { transform: none; }

/* ── Responsive ── */
@media (max-width: 1000px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .path { grid-template-columns: 1fr; gap: 0; }
  .path li { display: grid; grid-template-columns: 64px 1fr; border-top: 0; border-left: 3px solid var(--teal); padding: 0 0 28px 20px; }
  .path li:last-child { border-left-color: var(--sun); padding-bottom: 0; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
  body { font-size: 16px; }
  .sec { padding: 68px 0; }
  .tag { display: none; }
  .hero { padding-bottom: 52px; }
  .hero__grid, .needs, .proof__top, .apply__grid { grid-template-columns: 1fr; gap: 36px; }
  .hero__grid { padding-top: 20px; }
  .hero__pic { max-width: 340px; margin: 0; }
  .hero__pic::before { inset: 16px -10px -10px 16px; }
  .facts { grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
  .facts b { font-size: 22px; }
  .facts span { font-size: 13px; }
  .apply__pic { display: none; }
  .formbox { padding: 24px 20px; }
  .dock { display: block; }
  .foot { padding-bottom: 96px; }
}
@media (max-width: 520px) {
  .cards { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .opts--2 { grid-template-columns: 1fr; }
  .hero__acts .btn { flex: 1 1 100%; }
  .press { gap: 18px 28px; }
  .press img { height: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
