/* Roost - shared styles. Light only: cream paper and Colour Cards, like the app. */

@font-face {
  font-family: "Instrument Serif";
  src: url("/fonts/instrument-serif.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/fonts/instrument-serif-italic.woff2") format("woff2");
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("/fonts/instrument-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "DM Mono";
  src: url("/fonts/dm-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "DM Mono";
  src: url("/fonts/dm-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  color-scheme: only light;
  --cream: #f2efe9;
  --paper: #fbf8f3;
  --tint: #f7e9dc;
  --ink: #15211e;
  --ink-muted: #5c5a53;
  --line: #e4ddd0;
  --crimson: #a3162c;
  --on-ink: #e9e5dc;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --measure: 70ch;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

img { max-width: 100%; height: auto; }
a { color: var(--crimson); }
svg.i { width: 1em; height: 1em; flex: none; }

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 6px;
  box-shadow: 0 0 0 3px #fff;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--paper);
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 8px;
  z-index: 10;
}
.skip:focus { left: 16px; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 44px; }
.prose { max-width: var(--measure); margin: 0 auto; padding: 0 16px; }

.mono {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

/* ---------- colour cards, same hues and gradient as the app ---------- */

.crimson { background: linear-gradient(155deg, #b0374a, #a3162c 42%, #891325); color: #fff; }
.rust { background: linear-gradient(155deg, #ac5a28, #a64e18 42%, #8b4114); color: #fff; }
.gold { background: linear-gradient(155deg, #e0b34e, #dba631 42%, #b88b29); color: var(--ink); }
.teal { background: linear-gradient(155deg, #30757b, #0e5e66 42%, #0c4f56); color: #fff; }
.navy { background: linear-gradient(155deg, #3b5684, #1b3a70 42%, #17315e); color: #fff; }
.ink { background: linear-gradient(155deg, #36403e, #15211e 42%, #121c19); color: #fff; }

.pic {
  position: absolute;
  filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.26));
  pointer-events: none;
}

.phone {
  background: var(--ink);
  border-radius: 40px;
  padding: 7px;
  box-shadow: 0 30px 60px -18px rgba(21, 33, 30, 0.55), 0 10px 20px -8px rgba(21, 33, 30, 0.3);
}
.phone img { display: block; width: 100%; border-radius: 33px; }

/* ---------- header ---------- */

header.site {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(242, 239, 233, 0.9);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  min-height: 70px;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.012em;
}

.mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  overflow: hidden;
  flex: none;
}
.mark img { width: 100%; height: 100%; display: block; }

nav.site { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; }
nav.site a {
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding: 10px 0;
}
nav.site a:hover, nav.site a[aria-current="page"] { color: var(--crimson); }

/* ---------- mobile menu ---------- */

details.menu { display: none; position: relative; }
details.menu summary {
  list-style: none;
  cursor: pointer;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  font-size: 22px;
}
details.menu summary::-webkit-details-marker { display: none; }
details.menu .ic-open { display: grid; }
details.menu .ic-close { display: none; }
details.menu[open] .ic-open { display: none; }
details.menu[open] .ic-close { display: grid; }
details.menu[open] summary { background: var(--crimson); }

.menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: min(280px, calc(100vw - 40px));
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 22px 50px rgba(21, 33, 30, 0.22);
  padding: 8px;
  display: grid;
  gap: 2px;
  z-index: 20;
}
.menu-panel a {
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  text-decoration: none;
}
.menu-panel a:hover, .menu-panel a:focus-visible { background: var(--tint); color: var(--crimson); }

@media (max-width: 760px) {
  nav.site { display: none; }
  details.menu { display: block; }
  header.site .wrap { flex-wrap: nowrap; min-height: 66px; }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 22px;
  border-radius: 16px;
  border: 1.5px solid transparent;
  background: var(--paper);
  color: var(--ink);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  text-decoration: none;
}
.btn svg.i { font-size: 22px; }

.btn-primary { background: var(--crimson); color: #fff; }

.btn-store {
  gap: 12px;
  min-height: 58px;
  padding: 9px 24px 9px 20px;
  border-radius: 18px;
  background: var(--ink);
  color: #fff;
  font-size: 17px;
  line-height: 1.1;
}
.btn-store small {
  display: block;
  margin-bottom: 2px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.75;
}
.btn-store span { text-align: left; white-space: nowrap; }
.btn-store img { width: 24px; height: 24px; flex: none; display: block; }
.btn-store:not(a) { background: none; color: var(--ink); border-color: #a9a294; cursor: default; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  min-height: max(800px, min(100vh, 940px));
}

.hero-text {
  position: relative;
  z-index: 2;
  width: 44%;
  min-height: inherit;
  padding: 112px 28px 40px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-text p.mono { margin: 0 0 14px; color: var(--crimson); }
.hero h1 {
  margin: 0;
  font-size: clamp(64px, 6.9vw, 104px);
  line-height: 0.98;
}
.hero .lead {
  margin: 20px 0 26px;
  max-width: 24em;
  font-size: 20px;
  line-height: 1.38;
  color: #3b3f3a;
}

.trust {
  display: grid;
  gap: 6px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
  color: var(--crimson);
}

.cols {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 56%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.col { position: relative; overflow: hidden; padding: 24px 22px; }
.col p { position: relative; z-index: 2; margin: 0; }
.col .phone {
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: min(calc(100% - 40px), 280px);
}
.col .pic { left: 0; right: 0; margin: 0 auto; width: min(150px, 62%); }
.col:nth-child(1) .phone { top: 29.5%; }
.col:nth-child(2) .phone { top: 10.5%; }
.col:nth-child(3) .phone { top: 38.75%; }
.col:nth-child(1) .pic { top: 8.75%; }
.col:nth-child(3) .pic { top: 15%; }

@media (min-width: 1201px) {
  body.home header.site {
    position: absolute;
    top: 0;
    left: 0;
    width: 44%;
    background: none;
    border: 0;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  body.home header.site .wrap {
    max-width: none;
    margin: 0;
    padding: 22px 16px 0 44px;
  }
  body.home nav.site { gap: 4px 18px; }
  body.home section[id] { scroll-margin-top: 0; }
}

/* ---------- sections ---------- */

section.block { padding: 84px 0; }
section[id] { scroll-margin-top: 72px; }

.section-head { max-width: 760px; margin: 0 0 40px; }
.section-head .mono { margin: 0 0 12px; color: var(--crimson); }
.section-head h2 { margin: 0; font-size: clamp(46px, 6vw, 76px); line-height: 1; }
.section-head p:not(.mono) { margin: 16px 0 0; max-width: 34em; font-size: 19px; line-height: 1.42; color: var(--ink-muted); }

/* ---------- feature cards ---------- */

.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }

.card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  border-radius: 28px;
}
.card a { color: inherit; }
.card h2, .card h3 { margin: 0; line-height: 1.04; }

.bento .card { min-height: 340px; }
.bento .w3 { grid-column: span 3; }
.bento .w4 { grid-column: span 4; }
.bento .w5 { grid-column: span 5; }
.bento .w7 { grid-column: span 7; }
.bento h3 { font-size: 36px; }
.bento p { margin: 8px 0 0; font-size: 16px; line-height: 1.42; }
.bento .pic { top: 16px; right: 16px; width: 128px; }
.bento .w5 .pic, .bento .w7 .pic { width: 164px; }

/* ---------- colour bands ---------- */

.band { position: relative; overflow: hidden; padding: 84px 0 0; }
.band .in {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 44px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.band.flip .in { grid-template-columns: 1fr 1.1fr; }
.band.flip .txt { order: 2; }
.band .txt { padding-bottom: 84px; }
.band .mono { margin: 0 0 12px; }
.band h2 { margin: 0; font-size: clamp(50px, 6vw, 76px); line-height: 1; }
.band .txt > p:not(.mono) { margin: 16px 0 0; max-width: 30em; font-size: 19px; line-height: 1.42; }

.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 9px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; font-size: 16px; line-height: 1.4; }
.ticks svg.i { font-size: 21px; margin-top: 1px; }

.stage { position: relative; height: 520px; align-self: end; }
.stage .phone { position: absolute; top: 0; left: 50%; width: 290px; margin-left: -145px; }
.stage .pic { left: -70px; bottom: 56px; width: 220px; }
.flip .stage .pic { left: auto; right: -70px; }

/* ---------- steps ---------- */

.how { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; }
.how .section-head { margin: 0; }
.how .section-head h2 { font-size: clamp(46px, 5vw, 60px); }

.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 72px 1fr;
  column-gap: 10px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.steps li::before {
  content: counter(step);
  grid-row: span 2;
  font-family: var(--serif);
  font-style: italic;
  font-size: 58px;
  line-height: 0.95;
  color: var(--crimson);
}
.steps h3, .steps p { grid-column: 2; }
.steps h3 { margin: 0; font-size: 28px; line-height: 1.1; }
.steps p { margin: 4px 0 0; color: var(--ink-muted); font-size: 16px; }

/* ---------- open-by-design panel ---------- */

.open {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  padding: 56px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
  align-items: center;
}
.open .mono { margin: 0 0 12px; }
.open h2 { margin: 0; font-size: clamp(46px, 6vw, 76px); line-height: 1; }
.open div > p:not(.mono) { margin: 16px 0 0; max-width: 34em; font-size: 19px; line-height: 1.42; }
.open a { color: inherit; }
.open .pic { position: static; width: 100%; max-width: 300px; justify-self: center; }

/* ---------- FAQ ---------- */

.faq-wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: start; }
.faq-side { position: sticky; top: 96px; }
.faq-side .section-head { margin: 0; }
.faq-side .section-head h2 { font-size: clamp(46px, 5vw, 60px); }
.faq-side .pic { position: static; display: block; width: 190px; margin: 26px 0 0 -10px; }

.faq details { background: var(--paper); border-radius: 20px; padding: 2px 20px; margin-bottom: 10px; }
.faq summary {
  cursor: pointer;
  font-weight: 700;
  min-height: 48px;
  margin: 0 -20px;
  padding: 14px 20px;
  border-radius: 20px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 500;
  line-height: 1;
}
.faq details[open] summary::after { content: "\2212"; background: var(--crimson); }
.faq details p, .faq details ul, .faq details ol { color: var(--ink-muted); margin: 0 0 16px; }
.faq details ul, .faq details ol { padding-left: 22px; }

/* ---------- call to action ---------- */

section.block.last { padding-top: 0; }

.cta { position: relative; overflow: hidden; border-radius: 32px; padding: 64px 56px; }
.cta h2 { margin: 0; max-width: 8em; font-size: clamp(50px, 7vw, 92px); line-height: 1; }
.cta > p { margin: 16px 0 26px; max-width: 28em; font-size: 19px; line-height: 1.42; }
.cta .pic { top: 50%; right: 56px; width: 280px; margin-top: -140px; }
.cta .btn-store { background: #fff; color: var(--ink); }
.cta .btn-store:not(a) { background: none; color: #fff; border-color: rgba(255, 255, 255, 0.6); }
.cta-link { margin: 20px 0 0; }
.cta-link a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 0;
}

/* ---------- page header (policy and support pages) ---------- */

.page-head { position: relative; overflow: hidden; padding: 56px 0; }
.page-head .wrap {
  display: grid;
  grid-template-columns: 1fr 190px;
  gap: 32px;
  align-items: center;
  max-width: var(--measure);
  padding: 0 16px;
}
.page-head h1 { margin: 0 0 8px; font-size: clamp(46px, 6vw, 68px); line-height: 1; }
.page-head p { margin: 0; font-size: 18px; }
.page-head .pic { position: static; width: 190px; }
.page-head .actions { margin-top: 22px; }
.page-head .btn-primary { background: var(--ink); color: #fff; }
.page-head .btn-line { background: none; color: var(--ink); border-color: var(--ink); }
.page-head.whole { display: grid; align-items: center; min-height: calc(100vh - 72px); }

/* ---------- policy pages ---------- */

.doc { padding: 40px 0 84px; }

.doc h2 {
  font-size: 36px;
  line-height: 1.08;
  margin: 44px 0 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 84px;
}
.doc h3 { font-size: 25px; line-height: 1.15; margin: 28px 0 8px; }
.doc p, .doc li { color: var(--ink-muted); }
.doc strong { color: var(--ink); }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin-bottom: 8px; }

.toc {
  background: var(--paper);
  border-radius: 20px;
  padding: 20px 24px;
  margin: 8px 0;
  font-size: 15px;
}
.toc p {
  margin: 0 0 8px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink);
}
.toc ol { margin: 0; columns: 2 220px; column-gap: 28px; }
.toc li { margin: 0 0 4px; break-inside: avoid; }
.toc a { text-decoration: none; }

.callout { background: var(--tint); border-radius: 20px; padding: 18px 22px; margin: 24px 0; }
.callout p { margin: 0; color: var(--ink); font-size: 16px; }
.callout p + p { margin-top: 8px; }

table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 15px; background: var(--paper); }
th, td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink);
}
td { color: var(--ink-muted); }
td:first-child { width: 42%; }
.table-scroll { overflow-x: auto; }

/* ---------- support ---------- */

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 8px 0 32px;
}
.contact .card { min-height: 280px; padding: 104px 22px 22px; }
.contact .card:first-child { grid-column: 1 / -1; min-height: 0; padding: 22px 150px 22px 22px; }
.contact .card h2 { font-size: 32px; margin: 0; padding: 0; border: 0; }
.contact .card p { margin: 6px 0 0; font-size: 15.5px; color: inherit; }
.contact .card .pic { top: 12px; right: 12px; width: 112px; }
.contact .card:first-child .pic { width: 130px; }
.contact .card p.send { margin-top: 14px; }
.contact .card .btn-primary { background: #fff; color: var(--ink); }

/* ---------- footer ---------- */

footer.site { background: var(--ink); color: var(--on-ink); padding: 26px 0; }
footer.site .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px 18px;
  flex-wrap: wrap;
  font-size: 14.5px;
}
footer.site .brand { font-size: 26px; color: #fff; }
footer.site .mark { width: 30px; height: 30px; border-radius: 9px; }
footer.site nav { display: flex; flex-wrap: wrap; gap: 0 18px; }
footer.site nav a { color: var(--on-ink); text-decoration: none; font-weight: 600; display: inline-block; padding: 13px 0; }
footer.site nav a:hover { color: #fff; text-decoration: underline; }

/* ---------- small screens ---------- */

@media (max-width: 1200px) {
  .hero { min-height: 0; }
  .hero-text { width: auto; min-height: 0; padding: 48px 44px 40px; }
  .hero .lead { max-width: 30em; }
  .trust { display: flex; flex-wrap: wrap; gap: 6px 22px; }
  .cols { position: relative; width: auto; height: clamp(430px, 62vw, 620px); }
}

@media (max-width: 1000px) {
  .bento { grid-template-columns: repeat(6, 1fr); }
  .bento .w3, .bento .w4, .bento .w5, .bento .w7 { grid-column: span 3; }
  .bento .card:nth-child(7), .bento .card:nth-child(8) { grid-column: span 6; min-height: 230px; }
  .bento .pic, .bento .w5 .pic, .bento .w7 .pic { width: 120px; }
  .band .in, .band.flip .in { grid-template-columns: 1fr 1fr; gap: 28px; }
  .stage { min-width: 0; height: 450px; }
  .stage .phone { width: 250px; margin-left: -125px; }
  .stage .pic { left: -40px; width: 150px; }
  .flip .stage .pic { right: -40px; }
  .how, .faq-wrap { grid-template-columns: 1fr; gap: 26px; }
  .faq-side { position: static; }
  .faq-side .pic { display: none; }
  .open { grid-template-columns: 1fr; gap: 20px; padding: 40px; }
  .open .pic { grid-row: 1; justify-self: start; width: 150px; }
  .cta { padding: 48px 40px; }
  .cta .pic { top: 24px; right: 24px; width: 150px; margin: 0; }
  .cta h2 { max-width: 6em; }
}

@media (max-width: 700px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .hero-text { padding: 34px 20px 26px; }
  .hero h1 { font-size: clamp(46px, 15vw, 64px); }
  .hero .lead { font-size: 17px; margin-bottom: 22px; }
  .trust { display: grid; margin-top: 20px; }
  .col { padding: 14px 8px; }
  .col p { font-size: 11px; letter-spacing: 0.05em; }
  .col .phone { width: calc(100% - 16px); padding: 4px; border-radius: 22px; }
  .col .phone img { border-radius: 18px; }
  .col .pic { width: 76px; }
  section.block { padding: 52px 0; }
  .section-head p:not(.mono) { font-size: 17px; }
  .bento { grid-template-columns: 1fr; gap: 12px; }
  .bento .w3, .bento .w4, .bento .w5, .bento .w7,
  .bento .card:nth-child(7), .bento .card:nth-child(8) { grid-column: auto; min-height: 0; }
  .bento .card { padding: 112px 22px 24px; }
  .bento .pic, .bento .w5 .pic, .bento .w7 .pic { width: 108px; top: 12px; right: 12px; }
  .bento h3 { font-size: 34px; }
  .band { padding-top: 44px; }
  .band .in, .band.flip .in { grid-template-columns: 1fr; gap: 26px; padding: 0 20px; }
  .band.flip .txt { order: 0; }
  .band .txt { padding-bottom: 0; }
  .band .txt > p:not(.mono) { font-size: 17px; }
  .stage { height: 330px; }
  .stage .phone { width: 240px; margin-left: -120px; }
  .stage .pic { left: -8px; top: 10px; bottom: auto; width: 110px; }
  .flip .stage .pic { right: -8px; }
  .steps li { grid-template-columns: 54px 1fr; }
  .steps li::before { font-size: 46px; }
  .open, .cta { padding: 28px 22px 30px; border-radius: 26px; }
  .open div > p:not(.mono), .cta > p { font-size: 17px; }
  .open .pic { width: 110px; }
  .cta .pic { position: static; display: block; width: 110px; margin: 0 0 10px; }
  .cta h2 { max-width: none; }
  .actions .btn-store { flex: 1 1 160px; justify-content: flex-start; }
  .page-head { padding: 34px 0 38px; }
  .page-head .wrap { grid-template-columns: 1fr 96px; gap: 14px; }
  .page-head .pic { width: 96px; }
  .doc h2 { font-size: 32px; }
  .contact { grid-template-columns: 1fr; }
  .contact .card, .contact .card:first-child { min-height: 0; padding: 104px 22px 22px; }
  .contact .card:first-child .pic { width: 100px; }
}

@media print {
  .skip, nav.site, details.menu { display: none; }
  header.site { position: static; background: none; }
  .page-head, .page-head h1, .page-head p, footer.site, footer.site a, footer.site .brand { background: none; color: var(--ink); }
  .page-head .pic { display: none; }
}

/* ---------- motion ---------- */

@media screen and (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }

  @keyframes rise {
    from { opacity: 0; transform: translateY(18px); }
  }
  @keyframes bob {
    to { transform: translateY(-8px); }
  }
  @keyframes lift {
    from { transform: translateY(44px); }
  }

  .hero-text > * { animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero-text > :nth-child(2) { animation-delay: 0.06s; }
  .hero-text > :nth-child(3) { animation-delay: 0.12s; }
  .hero-text > :nth-child(4) { animation-delay: 0.18s; }
  .hero-text > :nth-child(5) { animation-delay: 0.24s; }

  .col .phone { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .col:nth-child(1) .phone { animation-delay: 0.14s; }
  .col:nth-child(2) .phone { animation-delay: 0.26s; }
  .col:nth-child(3) .phone { animation-delay: 0.38s; }

  .pic { animation: bob 6s ease-in-out infinite alternate; }
  .bento .card:nth-child(even) .pic, .col:nth-child(3) .pic { animation-delay: -3s; }

  @supports (animation-timeline: view()) {
    .bento .card, .band .txt, .how, .open {
      animation: rise linear both;
      animation-timeline: view();
      animation-range: entry 5% entry 55%;
    }
    .stage .phone {
      animation: lift linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 80%;
    }
  }
}
