@font-face {
  font-family: "Overpass";
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/overpass-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+2215;
}
@font-face {
  font-family: "Overpass";
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/overpass-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Overpass";
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/overpass-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+2215;
}
@font-face {
  font-family: "Overpass";
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/overpass-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Overpass";
  font-weight: 800;
  font-display: swap;
  src: url("/fonts/overpass-latin-800-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+2215;
}
@font-face {
  font-family: "Overpass";
  font-weight: 800;
  font-display: swap;
  /* Macrons: Kaikōura, Wānaka, Ngāi Tahu */
  src: url("/fonts/overpass-latin-ext-800-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --paper: #f2f5f4;
  --ink: #12292c;
  --muted: #364a4c;
  --line: #d3dddb;
  --teal: #095c65;
  --teal-deep: #06363b;
  --night: #0f2224;
  --kiwi: #ffc20e;
  --post: #9aa5a6;
  --bar: #ffffff;
  --shade: rgba(6, 30, 33, 0.13);
  --shade-deep: rgba(4, 22, 25, 0.45);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0d1b1d;
    --ink: #e5eeed;
    --muted: #bccdcc;
    --line: #23393b;
    --night: #071113;
    --post: #5d6a6b;
    --bar: #071113;
    --shade: rgba(0, 0, 0, 0.55);
    --shade-deep: rgba(0, 0, 0, 0.7);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1.0625rem/1.6 "Overpass", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 0.2em; }
a:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--kiwi);
  outline-offset: 4px;
  border-radius: 6px;
}
h1, h2, h3, .brand, .sign, .wordmark {
  font-family: "Overpass", system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
/* Heavy weight kept for the road-sign voice: the sign, the brand and the numbers */
.brand, .sign, .wordmark { font-weight: 800; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.25rem); margin: 0; max-width: 14ch; }
h2 { font-size: clamp(1.8rem, 4vw, 2.75rem); margin: 0; max-width: 22ch; }
h3 { font-size: 1.15rem; margin: 0 0 0.3em; }
/* The middle step between section headings and body text */
.day h3, .guide-sec h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); margin-bottom: 14px; }
p { margin: 0 0 1em; }
ul { list-style: none; margin: 0; padding: 0; }

.wrap { width: min(100% - 32px, 1120px); margin-inline: auto; }
@media (min-width: 768px) { .wrap { width: min(100% - 64px, 1120px); } }
.small { font-size: 0.92rem; color: var(--muted); }
main > section { margin-block: clamp(64px, 9vw, 120px); }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p { color: var(--muted); max-width: 56ch; margin: 0; font-size: 1.15rem; }
@media (min-width: 1024px) {
  .section-head { grid-template-columns: 1fr 1fr; align-items: end; column-gap: 64px; }
  .section-head p { padding-bottom: 0.35em; }
  .shots-intro .section-head { grid-template-columns: 1fr; }
}

/* Top bar */
/* The logo bar: its own colour, apart from the teal hero below it */
/* Shadows only where the background colour changes */
.topbar { position: relative; z-index: 2; background: var(--bar); color: var(--ink); box-shadow: 0 10px 24px -12px var(--shade-deep); }
.topbar .wrap { padding-block: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.2rem; }

/* Hero: words, then the road photo with the app in it. From tablet width up they sit side by side. */
/* The brand-teal band behind the logo bar and hero; deeper in dark mode so it still stands apart from the page */
.masthead { position: relative; z-index: 1; background: linear-gradient(180deg, #074c54 0%, var(--teal) 100%); color: #fff; padding-bottom: clamp(40px, 6vw, 72px); box-shadow: 0 20px 44px -22px var(--shade-deep); }
@media (prefers-color-scheme: dark) { .masthead { background: linear-gradient(180deg, #06323a 0%, #0a4950 100%); } }
.masthead .lead { color: #d6e8e7; }
.masthead .small { color: #c4dbda; }
.hero { display: grid; }
.hero-copy { padding-block: 32px 28px; }
.hero-copy h1 { margin-bottom: 20px; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 46ch; margin-bottom: 8px; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 0 20px; margin-top: 12px; }
.hero-cta .small { margin: 0; }
/* Apple's badge, unchanged: at least 40px high, clear space a quarter of its height */
.badge { display: inline-block; border-radius: 9px; }
.badge img { height: 54px; width: auto; margin: 14px 0; }
.hero-cta .badge img { height: 50px; margin: 13px 0; }
.cta-copy .badge { margin-top: 8px; }
.footer-cols .footer-get { margin-top: 20px; }
.phone {
  background: #0b1416;
  padding: 7px;
  border-radius: 30px;
  box-shadow: 0 24px 60px -18px rgba(6, 30, 33, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}
/* The screenshot fills the frame whatever width the frame is given */
.phone img { width: 100%; border-radius: 23px; }
.stage {
  position: relative;
  overflow: hidden;
  height: 440px;
  border-radius: 20px;
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.55);
}
.stage-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 45% 30%; }
.stage-phone { position: absolute; left: 50%; transform: translateX(-50%); bottom: 20px; width: clamp(150px, 46vw, 190px); }
@media (min-width: 768px) {
  .hero { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(32px, 4.5vw, 64px); padding-top: clamp(32px, 4vw, 56px); }
  .hero-copy { padding: 0; }
  .hero-copy h1 { font-size: clamp(3rem, 6.2vw, 5.25rem); }
  /* Tall enough to hold one big, whole, readable phone */
  .stage { height: auto; aspect-ratio: 3 / 4; max-height: 820px; border-radius: 28px; }
  .stage-photo { object-position: 50% 30%; }
  /* Two screens, staggered and slightly tilted, the map in front */
  .stage-phone { width: 56%; max-width: 340px; bottom: 5%; }
}

/* Features: open a row to see its screen (native details, no script).
   Phones show the screen inside the row; wide screens move it onto the photo panel. */
.features-grid { display: grid; gap: 48px; position: relative; }
.features { border-top: 1px solid var(--line); }
.features details { border-bottom: 1px solid var(--line); }
.features summary {
  display: grid;
  grid-template-columns: 22px 1fr 20px;
  align-items: center;
  column-gap: 14px;
  padding-block: 20px;
  cursor: pointer;
  list-style: none;
}
.features summary::-webkit-details-marker { display: none; }
.features summary::before {
  content: "";
  width: 12px;
  height: 12px;
  margin-left: 4px;
  background: var(--kiwi);
  border: 2px solid var(--ink);
  border-radius: 2px;
  transform: rotate(45deg);
}
.features summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--muted); text-align: center; }
.features details[open] summary::after { content: "\2212"; }
.features summary h3 { margin: 0; font-size: 1.25rem; }
.features summary:focus-visible { outline: 3px solid var(--kiwi); outline-offset: 2px; border-radius: 6px; }
.feat-body { padding: 0 0 22px 36px; }
.feat-body p { color: var(--muted); margin: 0; max-width: 46ch; }
.feat-visual { width: 210px; margin: 20px auto 4px; }
.panel { display: none; }

.sharecard { position: relative; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; color: #fff; box-shadow: 0 24px 60px -18px rgba(6, 30, 33, 0.55); }
.sharecard > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sharecard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(18, 41, 44, 0.85), transparent 55%); }
.sharecard span { position: absolute; z-index: 1; left: 16px; right: 16px; }
.sc-top { top: 14px; font-size: 0.8rem; font-weight: 600; }
.sc-name { bottom: 44px; font-family: "Overpass", system-ui, sans-serif; font-weight: 800; font-size: 1.4rem; line-height: 1.1; }
.sc-brand { bottom: 14px; display: flex; align-items: center; gap: 6px; font-size: 0.8rem; font-weight: 600; }

/* Side by side from tablet width */
@media (min-width: 768px) {
  .features-grid { grid-template-columns: 1fr 1fr; gap: 48px; align-items: stretch; }
  .features { align-self: center; }
  .panel { display: block; min-height: 660px; position: relative; margin: 0; border-radius: 24px; overflow: hidden; background: var(--teal); }
  .panel-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .panel::after { content: ""; position: absolute; inset: 0; background: rgba(6, 30, 33, 0.25); }
  /* Centre of the right-hand column */
  .feat-visual { position: absolute; z-index: 2; top: 50%; left: calc(100% - (100% - 48px) / 4); transform: translate(-50%, -50%); width: 235px; margin: 0; }
  /* The whole phone, centred, as big as the panel allows */
  .feat-visual.phone { width: 270px; }
  .sharecard { width: min(34vw, 320px); transform: translate(-50%, -50%) rotate(-3deg); }
}

/* Places strip */
.places, .shots {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px max(16px, (100% - 1120px) / 2) 16px;
  scroll-padding-inline: max(16px, (100% - 1120px) / 2);
}
.places li { flex: 0 0 min(72vw, 300px); scroll-snap-align: start; }
.places img { aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; }
.places p { margin: 10px 2px 0; color: var(--muted); font-size: 0.95rem; line-height: 1.4; }
.places strong { display: block; color: var(--ink); font-size: 1rem; }
/* Wider screens: a grid, nothing to scroll sideways with a mouse */
@media (min-width: 768px) {
  .places { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 20px; overflow: visible; width: min(100% - 64px, 1120px); margin-inline: auto; padding: 0; }
  .places img { aspect-ratio: 4 / 3; }
}

/* Screenshots: dark band */
main > .shots-sec, main > .guide-sec { box-shadow: inset 0 26px 40px -26px var(--shade-deep), inset 0 -26px 40px -26px var(--shade-deep); }
main > .shots-sec {
  background: var(--night);
  color: #e5eeed;
  padding-block: clamp(64px, 10vw, 120px);
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 14px 14px;
}
.shots-sec .section-head p { color: #a6bab9; }
.shots li { flex: 0 0 min(64vw, 280px); scroll-snap-align: start; }
.shots-intro { width: min(100% - 32px, 1120px); margin-inline: auto; }
.shots-poster { display: none; }
.shots-poster img { border-radius: 18px; }
@media (min-width: 768px) and (max-width: 1023px) { .shots-intro { width: min(100% - 64px, 1120px); } }
.shots img { border-radius: 18px; }
/* Two centred rows (4 then 3), in the App Store order */
@media (min-width: 1024px) {
  /* Heading and poster on the left, the six app screens three to a row on the right (same order) */
  .shots-layout { display: grid; grid-template-columns: 240px 1fr; gap: 48px; width: min(100% - 64px, 1120px); margin-inline: auto; }
  .shots-intro { width: auto; margin: 0; }
  .shots-poster { display: block; }
  .shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 24px; overflow: visible; padding: 0; }
  .shots-first { display: none; }
}

/* Numbers band */
.stats { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.stats li { padding: 24px 20px 8px; border-bottom: 1px solid var(--line); }
.stats li:nth-child(even) { border-left: 1px solid var(--line); }
.stats strong {
  display: block;
  font-family: "Overpass", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--teal);
}
.stats span { display: block; color: var(--muted); padding-block: 10px 14px; }
@media (prefers-color-scheme: dark) { .stats strong { color: var(--kiwi); } }
@media (min-width: 900px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stats li + li { border-left: 1px solid var(--line); }
}

/* Suggested trips: the sign stands in front of Lake Pukaki */
.trip-stage { position: relative; }
.trip-photo { width: 100%; border-radius: 24px; aspect-ratio: 4 / 3; object-fit: cover; }
.sign { margin: -40px 12px 0; position: relative; }
.sign ul {
  position: relative;
  z-index: 1;
  background: var(--teal);
  color: #fff;
  border-radius: 14px;
  box-shadow: inset 0 0 0 4px var(--teal), inset 0 0 0 7px #fff, 0 22px 40px -20px rgba(0, 0, 0, 0.6);
  padding: 20px 26px;
  font-size: clamp(1.02rem, 3vw, 1.3rem);
}
.sign li { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding-block: 9px; }
.sign li + li { border-top: 2px solid rgba(255, 255, 255, 0.28); }
.sign li span:first-child { font-weight: 600; }
.sign li span:last-child { color: var(--kiwi); white-space: nowrap; }
.sign::before, .sign::after {
  content: none;
  position: absolute;
  bottom: 0;
  height: 80px;
  width: 12px;
  background: linear-gradient(90deg, var(--post), #c9d0d1 45%, var(--post));
  border-radius: 2px;
}
.sign::before { left: 22%; }
.sign::after { right: 22%; }
@media (min-width: 768px) {
  .trip-photo { aspect-ratio: auto; min-height: 460px; }
  .sign::before, .sign::after { content: ""; }
  .sign { position: absolute; right: 4%; bottom: 0; width: min(58%, 560px); margin: 0; padding-bottom: 72px; }
  .sign::before, .sign::after { height: 110px; }
}

/* A sample day from a suggested trip */
.day { display: grid; gap: 24px; margin-top: clamp(40px, 6vw, 64px); }
.day p { color: var(--muted); max-width: 44ch; }
.day-list { list-style: none; margin: 0; padding: 0; border-left: 3px solid var(--teal); }
.day-list li { position: relative; display: grid; grid-template-columns: 6.5em 1fr; gap: 12px; padding: 12px 0 12px 22px; }
.day-list li::before { content: ""; position: absolute; left: -8px; top: 1.15em; width: 13px; height: 13px; border-radius: 50%; background: var(--paper); border: 3px solid var(--teal); }
.day-list time { font-variant-numeric: tabular-nums; color: var(--muted); }
@media (prefers-color-scheme: dark) { .day-list, .day-list li::before { border-color: var(--kiwi); } }
@media (min-width: 768px) {
  .day { gap: 28px; }
  .day-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; border-left: 0; border-top: 3px solid var(--teal); }
  .day-list li { display: block; padding: 24px 0 0; }
  .day-list li::before { left: 0; top: -8px; }
  .day-list time { display: block; margin-bottom: 4px; }
}

/* Guide */
main > .guide-sec {
  background: var(--teal);
  color: #fff;
  padding-block: clamp(64px, 10vw, 120px);
}
.guide-sec .section-head p, .guide-note { color: #cfe3e2; }
.guide-grid { display: grid; gap: 48px; }
.guide-sec h3 { margin-bottom: 14px; }
/* A plain list: these are the guide's contents, not links */
.topics { columns: 2 22ch; column-gap: 24px; }
.topics li { position: relative; padding: 0 0 12px 18px; break-inside: avoid; font-size: 1.05rem; }
.topics li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 7px; height: 7px; background: var(--kiwi); transform: rotate(45deg); }
.excerpt { margin: 0; padding: clamp(24px, 3vw, 40px); border-radius: 22px; background: var(--paper); color: var(--ink); align-self: start; }
.excerpt figcaption { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 0.95rem; }
.excerpt figcaption::before { content: ""; width: 9px; height: 9px; background: var(--kiwi); border: 2px solid var(--ink); border-radius: 2px; transform: rotate(45deg); }
.excerpt figcaption strong { color: var(--ink); font-weight: 600; }
.excerpt blockquote { margin: 18px 0 0; }
.excerpt blockquote p { margin: 0; font-size: clamp(1.15rem, 1.8vw, 1.35rem); line-height: 1.55; }
.excerpt-note { margin: 18px 0 0; color: var(--muted); font-size: 0.92rem; }
.guide-lists { display: grid; gap: 36px; }
@media (min-width: 768px) { .guide-grid { grid-template-columns: 1fr 1fr; gap: 72px; } }

/* Final download: the campervan */
.cta { position: relative; border-radius: 28px; overflow: hidden; min-height: 520px; display: flex; align-items: center; background: var(--teal-deep); }
.cta-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(4, 22, 25, 0.82) 0%, rgba(4, 22, 25, 0.55) 38%, transparent 62%); }
@media (max-width: 719px) {
  .cta { align-items: flex-end; }
  .cta::before { background: linear-gradient(0deg, rgba(4, 22, 25, 0.92) 0%, rgba(4, 22, 25, 0.75) 45%, rgba(4, 22, 25, 0.2) 75%, transparent 100%); }
}
.cta-copy { position: relative; z-index: 2; padding: clamp(24px, 5vw, 56px); color: #fff; }
.cta-copy h2 { max-width: 14ch; }
.cta-copy p { margin: 12px 0 0; color: #dce9e8; }

/* Footer */
footer { padding-top: 40px; font-size: 0.9rem; color: var(--muted); border-top: 1px solid var(--line); overflow: hidden; }
.footer-cols { display: grid; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.footer-cols p { margin: 0 0 0.4em; }
.footer-about .brand { margin-bottom: 12px; color: var(--ink); }
.footer-cols .footer-h { color: var(--ink); font-weight: 600; margin-bottom: 10px; }
.footer-cols ul li { margin-bottom: 8px; }
.footer-cols a { color: var(--ink); text-decoration: none; }
.footer-cols a:hover { text-decoration: underline; }
@media (min-width: 768px) { .footer-cols { grid-template-columns: 2fr 1fr 1fr 1.3fr; } }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; margin-bottom: 24px; color: var(--ink); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
footer p { margin-bottom: 0.6em; max-width: 90ch; }
.credits { margin-bottom: 0.6em; }
.credits summary { cursor: pointer; color: var(--ink); width: max-content; list-style: none; text-decoration: underline; text-underline-offset: 0.2em; }
.credits summary::-webkit-details-marker { display: none; }
.credits summary:focus-visible { outline: 3px solid var(--kiwi); outline-offset: 4px; border-radius: 4px; }
.credits p { margin-top: 0.6em; line-height: 1.55; }
.wordmark {
  margin: 72px 0 0;
  text-align: center;
  white-space: nowrap;
  font-size: 19vw;
  line-height: 0.75;
  color: color-mix(in srgb, var(--line) 55%, var(--paper));
  user-select: none;
}

/* Privacy policy and terms */
.legal { max-width: 72ch; padding-block: clamp(24px, 5vw, 64px) clamp(56px, 8vw, 96px); }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.25rem); margin-bottom: 12px; }
.legal h3 { font-size: 1.25rem; margin: 2em 0 0.5em; }
.legal ul { list-style: disc; padding-left: 1.3em; }
.legal li { margin-bottom: 0.7em; }
.legal-contact { margin-top: 3em; padding-top: 1.5em; border-top: 1px solid var(--line); }
footer .brand { text-decoration: none; }
.topbar .brand { text-decoration: none; }
/* Bigger logo once there is room for it */
@media (min-width: 768px) {
  .topbar .wrap { padding-block: 20px; }
  .topbar .brand { font-size: 1.6rem; gap: 14px; }
  .topbar .brand img { width: 44px; height: 44px; }
}
