/* dub dub dub. One stylesheet: fonts, tokens, layout, components, motion. */

@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo.woff2") format("woff2");
  font-weight: 700 900;
  font-stretch: 62% 125%;
  font-display: swap;
  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;
}
@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  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;
}

:root {
  color-scheme: light only;
  --paper: #f4f1ea;
  --paper-2: #e9e4d8;
  --ink: #161513;
  --muted: #3f3d3a;
  --rule: #cfc9bc;
  --red: #c9331b;
  --red-deep: #a32814;
  --on-ink: #d6d0c3;
  --display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1280px;
  --gut: clamp(20px, 4vw, 48px);
  --gap: clamp(88px, 11vw, 160px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 2px 4px rgba(22, 21, 19, .06), 0 24px 48px -16px rgba(22, 21, 19, .28);
  /* One awning tile: an 8px band and one 48px scallop. Fixed size, so it never stretches. */
  --awning: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='18'%3E%3Crect width='48' height='8' fill='%23c9331b'/%3E%3Cpath d='M0 8a24 10 0 0 0 48 0z' fill='%23c9331b'/%3E%3C/svg%3E");
  --awning-small: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='10'%3E%3Crect width='24' height='4' fill='%23c9331b'/%3E%3Cpath d='M0 4a12 6 0 0 0 24 0z' fill='%23c9331b'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: 17px; font-weight: 450; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
p { margin: 0; }
abbr { text-decoration: none; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
mark.todo { background: #ffe58a; color: var(--ink); padding: 0 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 50; }
.skip:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 54px; padding: 0 28px; overflow: hidden; isolation: isolate;
  font: 600 14px/1 var(--body); letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; white-space: nowrap;
  transition: color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
/* A darker fill sweeps up from the bottom on hover. */
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: translateY(101%); transition: transform .35s var(--ease); }
.btn:hover::before { transform: none; }
.btn:active { transform: translateY(1px); }
.btn--red { background: var(--red); color: #fff; }
.btn--red::before { background: var(--ink); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark::before { background: var(--red); }
.btn--line { border-color: var(--ink); }
.btn--line::before { background: var(--ink); }
.btn--line:hover { color: #fff; }

/* ---------- Header ---------- */
.awning { height: 18px; background: var(--awning) repeat-x; transform-origin: 0 0; }
.nav { max-width: var(--max); margin: 0 auto; padding: 18px var(--gut); display: flex; align-items: center; gap: 28px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo__mark {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 11px; background: var(--red); color: #fff;
  font: 800 15px/1 var(--display); letter-spacing: -0.03em;
}
.logo__mark--tiny { width: 24px; height: 24px; border-radius: 6px; font-size: 14px; letter-spacing: -0.06em; }
.logo__words { display: flex; flex-direction: column; line-height: 1.1; }
.logo__name { white-space: nowrap; font: 800 25px/1.05 var(--display); font-stretch: 112%; letter-spacing: -0.02em; }
.logo__say { font-size: 14px; color: var(--muted); }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a { font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; background: linear-gradient(var(--red), var(--red)) 0 100% / 0 2px no-repeat; padding-bottom: 3px; transition: background-size .3s var(--ease); }
.nav__links a:hover { background-size: 100% 2px; }
.nav__cta { min-height: 46px; padding: 0 20px; }
@media (max-width: 760px) {
  .nav { gap: 12px; padding-top: 14px; padding-bottom: 14px; }
  .nav__links, .logo__say { display: none; }
  .nav__cta { margin-left: auto; padding: 0 14px; min-height: 44px; }
  .logo__name { font-size: 20px; }
  .logo__mark { width: 40px; height: 40px; font-size: 14px; border-radius: 10px; }
}

/* ---------- Shared ---------- */
main > section { max-width: var(--max); margin: 0 auto var(--gap); padding: 0 var(--gut); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 32px; margin-bottom: 40px; }
.section-title { position: relative; margin: 0; padding-bottom: 22px; font: 800 clamp(40px, 5.6vw, 72px)/0.98 var(--display); font-stretch: 112%; letter-spacing: -0.03em; }
/* A short run of awning under every section title; it unrolls when the title scrolls in. */
.section-title::after, .start__title::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 120px; height: 10px;
  background: var(--awning-small) repeat-x; transform-origin: 0 0; transition: transform .8s var(--ease) .15s;
}
.js [data-wipe]:not(.is-in)::after { transform: scaleX(0); }
.section-aside { color: var(--muted); max-width: 440px; }

/* ---------- Device frames ---------- */
.browser { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow), 0 0 0 1px rgba(22, 21, 19, .1); }
.browser__bar { display: flex; align-items: center; gap: 14px; height: 38px; padding: 0 14px; background: #ece8df; border-bottom: 1px solid #ddd7ca; }
.browser__dots { display: flex; gap: 6px; }
.browser__dots i { width: 10px; height: 10px; border-radius: 50%; background: #cfc8ba; }
.browser__dots i:first-child { background: var(--red); }
.browser__url {
  flex: 1; max-width: 320px; margin: 0 auto; padding: 4px 12px; border-radius: 99px; background: #fff;
  font-size: 14px; color: var(--muted); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.browser__screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #fff; }
.browser__screen img { width: 100%; height: auto; }
.phone { position: relative; border: 8px solid var(--ink); border-radius: 36px; background: var(--ink); overflow: hidden; box-shadow: var(--shadow); }
.phone__screen { position: relative; aspect-ratio: 390 / 844; overflow: hidden; border-radius: 28px; background: #fff; }
.phone__screen img { width: 100%; height: auto; }

/* ---------- Hero ---------- */
.hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 64px);
  align-items: center; padding-top: clamp(16px, 3vw, 40px) !important; margin-bottom: clamp(64px, 8vw, 112px) !important;
}
.hero__title { margin: 0; font: 800 clamp(44px, 4.7vw, 68px)/0.98 var(--display); font-stretch: 112%; letter-spacing: -0.03em; text-wrap: balance; }
.hero__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__title .w > span { display: inline-block; }
.hero__lede { font-size: clamp(18px, 1.5vw, 21px); margin-top: 26px; max-width: 32em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__note { font-size: 15px; color: var(--muted); margin-top: 16px; }

.stage { position: relative; }
.stage__devices { position: relative; padding: 0 12% 14% 0; }
.stage::before { content: ""; position: absolute; left: 8%; right: -6%; top: 14%; bottom: 22%; z-index: -1; background: var(--red); border-radius: 4px; }
.phone--stage { position: absolute; right: 0; bottom: 0; width: 27%; border-width: 6px; border-radius: 26px; }
.phone--stage .phone__screen { border-radius: 20px; }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .8s ease; }
.slide.is-on { opacity: 1; }
.slide img { will-change: transform; }
.stage .slide { transition: none; }
.stage.is-holding .slide.is-on img { animation: pan 7s cubic-bezier(.45, 0, .55, 1) both; }
.stage.is-paused .slide img { animation-play-state: paused; }
@keyframes pan { 0%, 8% { transform: translateY(0); } 92%, 100% { transform: translateY(var(--dy, 0)); } }

.stage__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; padding-right: 12%; }
.stage__caption { font-size: 15px; line-height: 1.35; }
.stage__caption strong { font: 800 18px/1.2 var(--display); font-stretch: 110%; margin-right: 6px; }
.stage__pause {
  flex: none; min-height: 44px; padding: 0 16px; background: transparent; border: 2px solid var(--ink); color: var(--ink);
  font: 600 14px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; cursor: pointer;
}
.stage__pause:hover, .stage__pause[aria-pressed="true"] { background: var(--ink); color: #fff; }
@media (max-width: 600px) {
  .stage__bar { flex-direction: column; align-items: flex-start; gap: 10px; padding-right: 0; }
  .stage__caption strong { display: block; }
}
@media (max-width: 960px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .stage { margin-top: 8px; }
  .stage::before { left: calc(var(--gut) * -1); right: calc(var(--gut) * -1); }
}

/* ---------- Contact strip ---------- */
.contact-strip { display: flex; align-items: center; gap: 24px; border-top: 3px solid var(--ink); border-bottom: 1px solid var(--rule); padding-top: 24px !important; padding-bottom: 24px !important; }
.contact-strip__text { font-size: clamp(18px, 1.6vw, 22px); max-width: 52em; }

/* ---------- Work index: client names in big type; a row opens to the site under their awning ---------- */
.ix { border-top: 3px solid var(--ink); }
.ix__row--s76 { --brand: #141414; --stripe: #f2f1ee; --fg: #f2f1ee; --band: #2b2926; }
.ix__row--mt { --brand: #0d0d0d; --stripe: #ffffff; --fg: #ffffff; --band: #242a2f; }
.ix__row--redcliff { --brand: #8a2c1e; --stripe: #f2e6dc; --fg: #ffffff; }
.ix__row--sts { --brand: #2f5d40; --stripe: #eef1ec; --fg: #ffffff; }
.ix__row { border-bottom: 1px solid var(--rule); }
.ix__h { margin: 0; }
.ix__btn, .ix__you {
  width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto 44px; align-items: center; gap: 24px;
  padding: 22px 0; background: none; border: 0; color: var(--ink); text-align: left; text-decoration: none; cursor: pointer;
}
.ix__name { font: 800 clamp(30px, 5vw, 72px)/1 var(--display); font-stretch: 100%; letter-spacing: -0.03em; transition: font-stretch .5s var(--ease), color .3s; }
.ix__btn:hover .ix__name, .ix__row.is-open .ix__name, .ix__you:hover .ix__name { font-stretch: 116%; }
.ix__meta { font-size: 16px; font-weight: 700; color: var(--muted); text-align: right; }
.ix__icon { position: relative; width: 28px; height: 28px; justify-self: end; }
.ix__icon::before, .ix__icon::after { content: ""; position: absolute; left: 0; right: 0; top: 12px; height: 4px; background: var(--red); transition: transform .3s var(--ease); }
.ix__icon::after { transform: rotate(90deg); }
.ix__row.is-open .ix__icon::after { transform: rotate(0); }
.ix__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.ix__row.is-open .ix__panel { grid-template-rows: 1fr; }
.ix__inner { overflow: hidden; }
.ix__band {
  position: relative; display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); gap: clamp(16px, 2.4vw, 32px); align-items: center;
  margin: 26px 0 28px; padding: 44px clamp(20px, 3vw, 40px) clamp(20px, 3vw, 36px); color: var(--fg);
  background: var(--brand); background: var(--band, color-mix(in oklab, var(--brand) 80%, #000000));
}
/* The client's awning: their two colours in stripes, scallops hanging off the bottom edge. */
.ix__band::before {
  content: ""; position: absolute; left: 0; right: 0; top: -26px; height: 40px; transform-origin: 50% 0;
  background:
    radial-gradient(ellipse 12px 10px at 12px 27px, var(--brand) 98%, transparent 100%) 0 0 / 48px 40px repeat-x,
    radial-gradient(ellipse 12px 10px at 36px 27px, var(--stripe) 98%, transparent 100%) 0 0 / 48px 40px repeat-x,
    repeating-linear-gradient(90deg, var(--brand) 0 24px, var(--stripe) 24px 48px) 0 0 / 100% 27px no-repeat;
  filter: drop-shadow(0 3px 0 rgba(0, 0, 0, .18));
}
.ix__row.is-open .ix__band::before { animation: unroll-down .7s var(--ease) both; }
@keyframes unroll-down { from { transform: scaleY(0); } }
.ix__win { position: relative; display: block; width: 100%; padding: 0; border: 0; overflow: hidden; background: #fff; cursor: pointer; box-shadow: 0 24px 48px -20px rgba(0, 0, 0, .55); }
.ix__win--desk { aspect-ratio: 16 / 10; }
.ix__win--phone { aspect-ratio: 390 / 844; border-radius: 22px; border: 5px solid #0b0b0b; }
.ix__win img { width: 100%; height: auto; transition: transform 4s cubic-bezier(.45, 0, .55, 1); }
.ix__win:focus-visible img, .ix__win.is-playing img { transform: translateY(var(--dy, 0)); }
@media (hover: hover) { .ix__win:hover img { transform: translateY(var(--dy, 0)); } }
.ix__win::after {
  content: "Tap to scroll"; position: absolute; left: 10px; bottom: 10px; padding: 6px 10px; background: rgba(22, 21, 19, .82); color: #fff;
  font: 700 14px/1 var(--body); border-radius: 99px; pointer-events: none; transition: opacity .3s;
}
@media (hover: hover) and (pointer: fine) { .ix__win::after { content: "Hover to scroll"; } }
.ix__win:hover::after, .ix__win.is-playing::after { opacity: 0; }
.ix__band :focus-visible { outline-color: #ffffff; }
.ix__note { grid-column: 1 / -1; font-size: clamp(17px, 1.4vw, 20px); max-width: 44em; }
.ix__you .ix__name { color: var(--red); }
.ix__arrow { justify-self: end; width: 28px; height: 4px; background: var(--red); position: relative; transition: transform .3s var(--ease); }
.ix__arrow::after { content: ""; position: absolute; right: -2px; top: -7px; width: 14px; height: 14px; border-top: 4px solid var(--red); border-right: 4px solid var(--red); transform: rotate(45deg); }
.ix__you:hover .ix__arrow { transform: translateX(6px); }
@media (max-width: 760px) {
  .ix__btn, .ix__you { grid-template-columns: minmax(0, 1fr) 32px; gap: 4px 12px; padding: 18px 0; }
  .ix__meta { grid-row: 2; text-align: left; font-size: 15px; }
  .ix__icon, .ix__arrow { grid-row: 1 / span 2; }
  .ix__band { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .ix__win--desk { display: none; }
  .ix__win--phone { width: min(78%, 300px); }
  .ix__note { text-align: left; }
}
@media (prefers-reduced-motion: reduce) { .ix__win img { transition: none; } .ix__win:hover img, .ix__win.is-playing img { transform: none; } }

/* ---------- How: three artefacts of the process ---------- */
.how__row { position: relative; list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.how__row::before {
  content: ""; position: absolute; left: 8%; right: 8%; top: 110px; height: 0; border-top: 2px dashed var(--rule);
  transform-origin: 0 0; transition: transform 1.4s var(--ease); z-index: -1;
}
.js .how__row:not(.is-in)::before { transform: scaleX(0); }
.how__item:nth-child(2) { transition-delay: .12s; }
.how__item:nth-child(3) { transition-delay: .24s; }
.how__h { margin: 28px 0 8px; font: 800 24px/1.15 var(--display); font-stretch: 110%; letter-spacing: -0.01em; }
.how__item p { color: var(--muted); }
.art { height: 220px; background: #fff; border-radius: 14px; box-shadow: var(--shadow), 0 0 0 1px rgba(22, 21, 19, .08); padding: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.art__label { font-weight: 700; color: var(--muted); }
.art { pointer-events: none; user-select: none; }
.art__field { background: var(--paper-2); border-radius: 6px; padding: 7px 10px; font-weight: 600; display: flex; align-items: center; }
.art__field--dim { color: var(--muted); font-weight: 500; }
.art__type { display: inline-block; overflow: hidden; white-space: nowrap; max-width: 14em; vertical-align: bottom; }
@keyframes blink { 50% { opacity: 0; } }
/* When the row scrolls in: the name types itself, the email arrives, then Go ahead gets pressed. */
@media (prefers-reduced-motion: no-preference) {
  .js .how__row:not(.is-in) .art__type { max-width: 0; }
  .how__row.is-in .art__type { animation: type 1.2s steps(13) .5s both; }
  @keyframes type { from { max-width: 0; } to { max-width: 7.6em; } }
  .how__row.is-in .art--mail { animation: arrive .8s var(--ease) 1.7s both; }
  @keyframes arrive { from { transform: translateY(-24px) scale(.96); box-shadow: none; } }
  .how__row.is-in .art__yes { animation: press .6s ease 2.9s both; }
  @keyframes press { 40% { transform: scale(.92); } 100% { background: var(--red); } }
}
.art__btn { align-self: flex-start; margin-top: 6px; background: var(--red); color: #fff; padding: 7px 16px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.art--mail { gap: 10px; }
.art__from { display: flex; align-items: center; gap: 8px; font-weight: 800; }
.art__subject { font: 800 18px/1.2 var(--display); font-stretch: 105%; }
.art__body { color: var(--muted); }
.art__link { align-self: flex-start; margin-top: auto; border-bottom: 2px solid var(--red); font-weight: 700; }
.art--phone { flex-direction: row; align-items: center; justify-content: center; gap: 18px; background: var(--paper-2); }
.art__mini { display: block; flex: none; width: 92px; height: 170px; border: 5px solid var(--ink); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.art__mini img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.art__choices { display: flex; flex-direction: column; gap: 8px; }
.art__yes { background: var(--ink); color: #fff; padding: 9px 16px; font-weight: 700; text-align: center; }
.art__no { border: 2px solid var(--ink); padding: 7px 16px; font-weight: 700; text-align: center; }
@media (max-width: 900px) {
  .how__row { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .how__row::before { left: 32px; right: auto; top: 40px; bottom: 40px; height: auto; border-top: 0; border-left: 2px dashed var(--rule); transform-origin: 0 0; }
  .js .how__row:not(.is-in)::before { transform: scaleY(0); }
  .art { max-width: 420px; }
  .art--phone { justify-content: flex-start; padding-left: 28px; }
  .art__choices { flex: 1; max-width: 200px; }
}

/* ---------- Prices: a shop counter under its own awning ---------- */
.prices__counter { position: relative; background: var(--paper-2); padding: clamp(48px, 6vw, 80px) clamp(20px, 4vw, 56px) clamp(32px, 4vw, 56px); }
.prices__counter::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 18px; background: var(--awning) repeat-x; }
.prices__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; }
.prices__h { margin: 0; font: 800 22px/1.2 var(--display); font-stretch: 110%; padding-bottom: 12px; border-bottom: 3px solid var(--ink); }
.price { display: flex; justify-content: space-between; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.price__name { margin: 0 0 4px; font: 800 20px/1.2 var(--display); font-stretch: 108%; }
.price__desc { color: var(--muted); font-size: 16px; max-width: 30em; }
.price__fit { margin-top: 6px; font-size: 15px; font-weight: 700; }
.price__cost { text-align: right; white-space: nowrap; font: 800 20px/1.3 var(--display); font-stretch: 105%; }
.prices:not([data-cur="nz"]) [data-show="nz"], .prices[data-cur="nz"] [data-show="au"] { display: none; }
.prices__note { color: var(--muted); margin: -16px 0 32px; }
.cur { display: flex; gap: 0; border: 2px solid var(--ink); }
.cur__chip { min-height: 44px; padding: 0 16px; border: 0; background: transparent; color: var(--ink); font: 700 15px/1 var(--body); cursor: pointer; transition: background-color .2s, color .2s; }
.cur__chip[aria-pressed="true"] { background: var(--ink); color: #fff; }
@media (max-width: 900px) { .prices__cols { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .price { flex-direction: column; gap: 8px; } .price__cost { text-align: left; } }

/* ---------- Straight answers ---------- */
.faq__list { margin-top: 40px; columns: 2 420px; column-gap: 64px; }
.faq__item { break-inside: avoid; border-top: 1px solid var(--rule); }
.faq__q { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font-size: 19px; font-weight: 800; line-height: 1.3; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after { content: ""; flex: none; width: 12px; height: 12px; margin-top: 6px; border-right: 3px solid var(--red); border-bottom: 3px solid var(--red); transform: rotate(45deg); transition: transform .3s var(--ease); }
.faq__item[open] .faq__q::after { transform: rotate(225deg); margin-top: 10px; }
.faq__item p { color: var(--muted); padding-bottom: 22px; max-width: 34em; }

/* ---------- Start (form) ---------- */
.start {
  position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px;
  max-width: none !important; margin-bottom: 0 !important;
  padding: clamp(72px, 9vw, 120px) max(var(--gut), calc((100% - var(--max)) / 2 + var(--gut))) !important;
  background: var(--ink); color: var(--paper);
}
.start::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 18px; background: var(--awning) repeat-x; }
.start__title { position: relative; margin: 0 0 20px; padding-bottom: 22px; font: 800 clamp(40px, 5vw, 68px)/1 var(--display); font-stretch: 112%; letter-spacing: -0.03em; }
.start__copy p { color: var(--on-ink); margin-top: 8px; }
.start a { color: var(--paper); }
.form { display: flex; flex-direction: column; gap: 16px; }
.form__field { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 16px; }
.form__field input, .form__field select {
  font: 500 17px/1.4 var(--body); color: var(--ink); background: var(--paper);
  border: 2px solid var(--paper); padding: 13px 14px; border-radius: 0; min-height: 52px;
}
.form__field input:focus, .form__field select:focus { outline: 3px solid var(--red); outline-offset: 0; }
.form__check { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 600; cursor: pointer; }
.form__check input { width: 22px; height: 22px; accent-color: var(--red); }
.form__hp { position: absolute; left: -9999px; }
.form__send { align-self: flex-start; min-width: 170px; }
.form__send::before { background: var(--paper); }
.form__send:hover { color: var(--ink); }
.form__small { font-size: 15px; color: var(--on-ink); }
.form__sent, .form__failed { background: var(--paper); color: var(--ink); padding: 14px 16px; font-weight: 700; }
.form__failed { border-left: 6px solid var(--red); }
@media (max-width: 860px) { .start { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Legal pages ---------- */
.legal { max-width: 760px !important; padding-top: 32px !important; }
.legal__title { margin: 0 0 20px; font: 800 clamp(44px, 6vw, 72px)/1 var(--display); font-stretch: 112%; letter-spacing: -0.03em; }
.legal h2 { margin: 32px 0 6px; font-size: 21px; font-weight: 800; }
.legal p { color: var(--muted); }
.legal__note { margin-bottom: 8px; }

/* ---------- Footer ---------- */
.footer { background: var(--paper-2); padding: 64px var(--gut) 32px; }
.footer > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.footer__brand { display: flex; align-items: center; gap: 20px; margin-bottom: 40px; }
.logo__mark--big { width: 72px; height: 72px; border-radius: 17px; font-size: 24px; }
.footer__word { font: 800 clamp(44px, 9vw, 132px)/0.9 var(--display); font-stretch: 100%; letter-spacing: -0.035em; transition: font-stretch .6s var(--ease); cursor: default; }
.footer__word:hover { font-stretch: 125%; }
.footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; border-top: 1px solid var(--rule); padding-top: 24px; }
.footer__h { margin: 0 0 8px; font-size: 16px; font-weight: 800; }
.footer__cols p { color: var(--muted); font-size: 16px; }
.footer__small { margin-top: 32px; font-size: 14px; color: var(--muted); }
@media (max-width: 760px) { .footer__cols { grid-template-columns: minmax(0, 1fr); } .footer__brand { flex-direction: column; align-items: flex-start; } }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .awning { animation: unroll 1s var(--ease) both; }
  @keyframes unroll { from { transform: scaleX(0); } }
  .logo__mark { animation: pop .6s var(--ease) .2s both; }
  @keyframes pop { from { transform: scale(.4) rotate(-12deg); } }
  /* The name opens out from narrow to wide: Archivo's width axis does the work. */
  .nav .logo__name { animation: open-up 1.1s var(--ease) .3s both; }
  @keyframes open-up { from { font-stretch: 62%; letter-spacing: -0.04em; } }
  .hero__title .w > span { animation: rise .9s var(--ease) both; }
  .hero__title .w:nth-child(1) > span { animation-delay: .25s; }
  .hero__title .w:nth-child(2) > span { animation-delay: .31s; }
  .hero__title .w:nth-child(3) > span { animation-delay: .37s; }
  .hero__title .w:nth-child(4) > span { animation-delay: .43s; }
  .hero__title .w:nth-child(5) > span { animation-delay: .49s; }
  .hero__title .w:nth-child(6) > span { animation-delay: .55s; }
  .hero__title .w:nth-child(7) > span { animation-delay: .61s; }
  .hero__title .w:nth-child(8) > span { animation-delay: .67s; }
  @keyframes rise { from { transform: translateY(105%); } }
  .hero__lede, .hero__ctas, .hero__note { animation: lift .9s var(--ease) .8s both; }
  .stage__devices { animation: slide-in 1.2s var(--ease) .4s both; }
  .phone--stage { animation: phone-in 1.2s var(--ease) .75s both; }
  @keyframes lift { from { transform: translateY(16px); } }
  @keyframes slide-in { from { transform: translateX(60px); } }
  @keyframes phone-in { from { transform: translateY(60px) rotate(4deg); } }
  [data-reveal] { transition: transform .8s var(--ease); }
  .js [data-reveal]:not(.is-in) { transform: translateY(28px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-wipe]:not(.is-in)::after, .js .how__row:not(.is-in)::before { transform: none; }
}

