/* virtualdrivethru.app. Brand: cream, lime, deep olive ink, violet accent (same as the app).
   Shapes: buttons and chips are full pills; cards and pictures use 24px corners. */

:root {
  --bg: #F6F4D8;
  --bg-2: #EEEBC6;
  --paper: #FFFDF0;
  --ink: #2B2E12;
  --ink-2: #464A22;
  --muted: #5E623A;
  --lime: #D3D46B;
  --lime-deep: #B4B54A;
  --on-lime: #2B2E12;
  --violet: #6E58B8;
  --on-violet: #FFFDF0;
  --line: rgba(43, 46, 18, .14);
  --shadow: 0 18px 48px rgba(43, 46, 18, .16);
  --r: 24px;
  --wrap: 1200px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1A1C0B;
    --bg-2: #22250F;
    --paper: #272A12;
    --ink: #F4F2D6;
    --ink-2: #DEDCBA;
    --muted: #B9B894;
    --line: rgba(244, 242, 214, .14);
    --violet: #8E7AD8;
    --shadow: 0 18px 48px rgba(0, 0, 0, .4);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Archivo", system-ui, sans-serif; font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.02; }
h1, h2 { font-weight: 900; font-stretch: 125%; text-transform: uppercase; letter-spacing: -.01em; }
h1 { font-size: clamp(38px, 5.2vw, 68px); }
h2 { font-size: clamp(30px, 4vw, 52px); }
h3 { font-size: 20px; font-weight: 800; line-height: 1.2; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 32px; } }
.narrow { max-width: 760px; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); max-width: 46ch; margin-top: 18px; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 30; background: var(--paper); padding: 8px 14px; border-radius: 99px; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; white-space: nowrap;
  background: var(--lime); color: var(--on-lime); font: inherit; font-weight: 800; font-size: 17px;
  padding: 14px 26px; border-radius: 99px; border: 2px solid var(--lime); text-decoration: none; cursor: pointer;
  transition: transform .15s cubic-bezier(.16, 1, .3, 1), background .15s;
}
.btn:hover { background: var(--lime-deep); border-color: var(--lime-deep); }
.btn:active { transform: scale(.98); }
.btn-sm { padding: 9px 18px; font-size: 15px; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn[disabled] { opacity: .6; cursor: wait; }
.arrow-link { display: inline-block; margin-top: 18px; font-weight: 800; text-decoration-thickness: 2px; text-underline-offset: 5px; }

/* top bar */
.nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.wordmark { font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: 15px; line-height: .95; text-decoration: none; letter-spacing: -.01em; }
.nav nav { display: none; gap: 26px; margin-left: auto; }
.nav nav a { text-decoration: none; font-weight: 700; font-size: 15px; color: var(--ink-2); }
.nav nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.nav .btn { margin-left: auto; }
@media (min-width: 900px) { .nav nav { display: flex; } .nav .btn { margin-left: 0; } }

/* pictures of the app */
.shot { border-radius: var(--r); }
.shot.phone { border-radius: 38px; box-shadow: var(--shadow); }

/* hero */
.hero { padding: 40px 0 56px; overflow: hidden; }
.hero-in { display: grid; gap: 40px; align-items: center; }
.hero h1 { max-width: 15ch; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-art { position: relative; height: 520px; }
.plate { position: absolute; width: 440px; height: 440px; max-width: 100%; aspect-ratio: 1; left: 50%; top: 50%; transform: translate(-50%, -50%); border-radius: 50%; background: var(--lime); }
.plate::after { content: ""; position: absolute; inset: 14%; border-radius: 50%; border: 2px solid rgba(43, 46, 18, .12); }
.phone-a { position: absolute; width: 230px; left: 50%; top: 0; transform: translateX(-72%) rotate(-4deg); z-index: 2; }
.phone-b { position: absolute; width: 200px; left: 50%; top: 70px; transform: translateX(8%) rotate(5deg); z-index: 1; }
@media (min-width: 900px) {
  .hero { padding: 56px 0 80px; }
  .hero-in { grid-template-columns: 1.05fr .95fr; }
  .hero-art { height: 600px; }
  .phone-a { width: 270px; }
  .phone-b { width: 236px; top: 90px; }
}
@media (max-width: 420px) { .hero-art { height: 440px; } .phone-a { width: 196px; } .phone-b { width: 170px; top: 60px; } .plate { width: 340px; height: 340px; } }

/* the problem */
.manifesto { padding: 72px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.manifesto .big { font-size: clamp(28px, 3.6vw, 46px); font-weight: 800; line-height: 1.15; max-width: 24ch; letter-spacing: -.01em; }
.manifesto .sub { margin-top: 22px; max-width: 60ch; color: var(--ink-2); }
@media (min-width: 900px) { .manifesto .sub { margin-left: auto; margin-top: -8px; } }

/* how it works: a row of phones that scrolls sideways on small screens */
.how { padding: 88px 0 72px; }
.steps { list-style: none; margin: 40px -16px 0; padding: 8px 16px 24px; display: grid; grid-auto-flow: column; grid-auto-columns: 74%; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; }
.step { scroll-snap-align: start; }
.step img { width: 100%; }
.step h3 { margin-top: 20px; }
.step p { margin-top: 6px; color: var(--ink-2); }
@media (min-width: 640px) { .steps { grid-auto-columns: 44%; } }
@media (min-width: 1024px) {
  .steps { margin: 48px 0 0; padding: 0; grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); gap: 28px; overflow: visible; }
  .step:nth-child(even) { margin-top: 56px; }
}

/* kitchen screen */
.kitchen { padding: 72px 0 88px; }
.screen-frame { margin: 36px 0 0; padding: 14px; background: var(--ink); border-radius: calc(var(--r) + 14px); box-shadow: var(--shadow); }
.screen-frame img { width: 100%; border-radius: var(--r); }

/* features */
.features { padding: 88px 0; background: var(--bg-2); border-top: 1px solid var(--line); }
.bento { display: grid; gap: 16px; margin-top: 40px; }
.cell { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.cell p { color: var(--ink-2); }
.cell.ink { background: #2B2E12; border-color: #2B2E12; }
.cell.ink h3 { color: var(--lime); font-size: clamp(26px, 2.6vw, 36px); font-weight: 900; font-stretch: 125%; text-transform: uppercase; line-height: 1.05; }
.cell.ink p { color: #E8E6C6; font-size: 19px; max-width: 34ch; }
.cell.lime { background: var(--lime); border-color: var(--lime); }
.cell.lime h3, .cell.lime p { color: #2B2E12; }
.cell.violet { background: var(--violet); border-color: var(--violet); }
.cell.violet h3, .cell.violet p { color: var(--on-violet); }
.cell.tint { background: color-mix(in srgb, var(--lime) 28%, var(--paper)); }
.cell.ink { justify-content: flex-end; min-height: 300px; }
.tag-low { display: inline-block; background: #FBE3DD; color: #A2301C; font-weight: 800; font-size: 14px; padding: 3px 10px; border-radius: 99px; margin: 2px 4px 2px 0; }
.bubbles { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 8px; }
.bubbles li { background: var(--bg-2); border: 1px solid var(--line); padding: 9px 14px; border-radius: 18px 18px 18px 6px; width: fit-content; max-width: 100%; font-weight: 600; font-size: 15px; }
.cell.photo { padding: 0; overflow: hidden; flex-direction: row; align-items: stretch; gap: 0; }
.cell.photo img { width: 42%; object-fit: cover; object-position: top; border-radius: 0; }
.cell.photo > div { padding: 28px; display: flex; flex-direction: column; gap: 10px; justify-content: center; }
@media (min-width: 768px) {
  .bento { grid-template-columns: repeat(4, 1fr); }
  .c-paid { grid-column: 1 / 3; grid-row: 1 / 3; }
  .c-slots { grid-column: 3 / 5; }
  .c-texts { grid-column: 3 / 4; }
  .c-pin { grid-column: 4 / 5; }
  .c-brand { grid-column: 1 / 3; grid-row: 3 / 5; }
  .c-loyal { grid-column: 3 / 5; }
  .c-cater { grid-column: 3 / 5; }
  .c-reviews { grid-column: 1 / 5; flex-direction: row; align-items: baseline; gap: 24px; }
  .c-reviews h3 { flex: 0 0 auto; }
  .cell.photo img { width: 48%; }
}

/* who it's for */
.kinds { padding: 88px 0; }
.chips { list-style: none; margin: 28px 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { border: 2px solid var(--ink); border-radius: 99px; padding: 10px 20px; font-weight: 800; font-size: 17px; }

/* e-Transfer colour block */
.etransfer { background: #2B2E12; color: #F4F2D6; padding: 88px 0; }
.et-in { display: grid; gap: 28px; }
.etransfer h2 { color: var(--lime); max-width: 18ch; }
.etransfer p { font-size: 19px; max-width: 48ch; color: #E8E6C6; }
.etransfer .arrow-link { color: var(--lime); }
@media (min-width: 900px) { .et-in { grid-template-columns: 1.2fr 1fr; align-items: end; } }

/* questions */
.faq { padding: 88px 0; }
.faq-in { display: grid; gap: 28px; }
@media (min-width: 900px) { .faq-in { grid-template-columns: 1fr 1.6fr; gap: 56px; } .faq h2 { position: sticky; top: 100px; align-self: start; } }
.qa details { border-bottom: 1px solid var(--line); }
.qa details:first-child { border-top: 1px solid var(--line); }
.qa summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 800; font-size: 19px; position: relative; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 500; transition: transform .2s; }
.qa details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.qa details p { padding: 0 0 22px; color: var(--ink-2); max-width: 62ch; }

/* join the pilot */
.join { padding: 88px 0 104px; background: color-mix(in srgb, var(--lime) 30%, var(--bg)); border-top: 1px solid var(--line); }
.join-in { display: grid; gap: 36px; }
@media (min-width: 900px) { .join-in { grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; } }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; font-weight: 700; }
.ticks li::before { content: "\2713"; display: inline-grid; place-items: center; width: 26px; height: 26px; margin-right: 10px; border-radius: 50%; background: var(--ink); color: var(--lime); font-size: 14px; }
.pilot-form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: grid; gap: 16px; box-shadow: var(--shadow); }
@media (min-width: 640px) { .pilot-form { padding: 32px; } }
.row2 { display: grid; gap: 16px; }
@media (min-width: 640px) { .row2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field > span { font-weight: 700; font-size: 15px; }
.field em { font-style: normal; color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--ink); background: var(--bg); border: 1.5px solid color-mix(in srgb, var(--ink) 35%, transparent);
  border-radius: 14px; padding: 12px 14px; width: 100%;
}
.field textarea { resize: vertical; min-height: 88px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px color-mix(in srgb, var(--violet) 30%, transparent); }
.field .err { color: #B3321D; font-weight: 700; font-size: 14px; min-height: 0; }
.field.bad input, .field.bad textarea { border-color: #B3321D; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .field .err { color: #FF9C86; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pilot-form .btn { justify-self: start; }
.form-note:empty { display: none; }
.form-note { font-weight: 700; }
.form-note.bad { color: #B3321D; }
.fine { font-size: 14px; color: var(--muted); }
.joined { text-align: left; }
.joined h3 { font-size: 26px; font-weight: 900; font-stretch: 125%; text-transform: uppercase; }
.joined p { margin-top: 10px; color: var(--ink-2); }

/* inner pages */
.page-head { padding: 64px 0 40px; }
.page-head h1 { max-width: 16ch; }
.page-head .btn { margin-top: 28px; }
.crumb { font-size: 15px; color: var(--muted); margin-bottom: 18px; }
.crumb a { color: var(--muted); }
.et-steps { padding: 24px 0 72px; }
.et-grid { display: grid; gap: 40px; align-items: start; }
.et-phone { margin: 0; max-width: 300px; }
@media (min-width: 900px) { .et-grid { grid-template-columns: 340px 1fr; gap: 64px; } .et-phone { position: sticky; top: 100px; } }
.flow { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 28px; }
.flow li { counter-increment: s; display: grid; grid-template-columns: 48px 1fr; column-gap: 18px; }
.flow li::before { content: counter(s); grid-row: span 2; width: 44px; height: 44px; border-radius: 50%; background: var(--lime); color: #2B2E12; display: grid; place-items: center; font-weight: 900; font-size: 18px; }
.flow p { color: var(--ink-2); margin-top: 6px; max-width: 54ch; }
.cta-band { padding: 72px 0 96px; border-top: 1px solid var(--line); }
.cta-in { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.prose { padding: 8px 0 96px; }
.prose h2 { font-size: 22px; font-stretch: 100%; text-transform: none; font-weight: 800; margin: 32px 0 10px; letter-spacing: 0; }
.prose p { color: var(--ink-2); max-width: 65ch; }
.note-page { padding: 96px 16px; }
.note-page p { margin-top: 16px; }
.note-page .btn { margin-top: 12px; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 48px 0 24px; }
.foot-in { display: grid; gap: 28px; }
.foot-in p { margin-top: 12px; font-size: 15px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.foot nav a { text-decoration: none; font-weight: 700; font-size: 15px; }
.foot nav a:hover { text-decoration: underline; }
.foot-small { margin-top: 32px; font-size: 13px; color: var(--muted); }
@media (min-width: 900px) { .foot-in { grid-template-columns: 1fr auto; align-items: start; } }

/* gentle reveal as sections come into view, only where the browser supports it and motion is welcome */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: rise .7s cubic-bezier(.16, 1, .3, 1) both; }
  .phone-a { animation: in-a .9s .1s cubic-bezier(.16, 1, .3, 1) both; }
  .phone-b { animation: in-b .9s .25s cubic-bezier(.16, 1, .3, 1) both; }
  @supports (animation-timeline: view()) {
    .reveal:not(.hero-copy) { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
  }
}
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes in-a { from { opacity: 0; transform: translateX(-72%) translateY(30px) rotate(-8deg); } }
@keyframes in-b { from { opacity: 0; transform: translateX(8%) translateY(40px) rotate(10deg); } }
.nb { white-space: nowrap; }
