@font-face {
  font-family: "Oxanium";
  src: url("/assets/fonts/Oxanium-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --bg: #F2F2F7;
  --panel: #FFFFFF;
  --ph: #E5E8EE;
  --text: #132033;
  --text-2: #3A4756;
  --muted: #566779;
  --line: #CFD8E3;
  --link: #132033;
  --accent: #FFC83D;
  --on-accent: #1D232A;
  --focus: #132033;
  --bezel: #11151A;
  --shell-edge: rgb(0 0 0 / 0.14);
  --gutter: max(1.25rem, env(safe-area-inset-left), env(safe-area-inset-right));
  --page: 76rem;
  --edge: calc((100vw - min(100vw, var(--page))) / 2 + var(--gutter));
  --section: clamp(5.5rem, 13vw, 10.5rem);
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
  --display: "Oxanium", var(--sans);
}
@media (prefers-contrast: more) {
  :root {
    --muted: #3A4756;
    --line: #8A96A4;
  }
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1D232A;
    --panel: #262E37;
    --ph: #2B333D;
    --text: #E4ECF5;
    --text-2: #B8C8DA;
    --muted: #8EA2B8;
    --line: #3A434E;
    --link: #FFC83D;
    --focus: #FFC83D;
    --bezel: #0A0D10;
    --shell-edge: rgb(255 255 255 / 0.14);
  }
}
@media (prefers-color-scheme: dark) and (prefers-contrast: more) {
  :root {
    --muted: #B8C8DA;
    --line: #7A8694;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--accent);
  color: var(--on-accent);
}

a {
  color: var(--link);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
a:hover {
  text-decoration-thickness: 2px;
}
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}
main:focus {
  outline: none;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  padding: 0.6rem 1rem;
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.skip:focus {
  top: 1rem;
}

.wrap {
  width: 100%;
  max-width: var(--page);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.narrow {
  max-width: 40rem;
}
.center {
  text-align: center;
}
.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(1rem, 2.4vw, 2rem);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 2.75rem;
  color: var(--text);
  font-weight: 600;
  font-size: 1.1875rem;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.brand img {
  display: block;
  width: 2rem;
  height: 2rem;
}
.site-header nav {
  display: flex;
  gap: 0.25rem;
}
.site-header nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding-inline: 0.65rem;
  color: var(--muted);
  font-size: 0.9375rem;
  text-decoration: none;
}
.site-header nav a:hover,
.site-header nav a[aria-current="page"] {
  color: var(--text);
}
.site-header nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.35em;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 600;
  text-wrap: balance;
}
p {
  margin: 0;
  text-wrap: pretty;
}

.eyebrow {
  margin-bottom: 0.9rem;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.005em;
}
h1 {
  font-size: clamp(2.125rem, 3.6vw + 0.9rem, 3.5rem);
  line-height: 1.06;
  letter-spacing: -0.026em;
}
h2 {
  font-size: clamp(1.625rem, 1.9vw + 1rem, 2.375rem);
  line-height: 1.12;
  letter-spacing: -0.021em;
}
.lede {
  margin-top: 1.4rem;
  color: var(--text-2);
  font-size: clamp(1.1875rem, 0.7vw + 1rem, 1.375rem);
  line-height: 1.42;
  letter-spacing: -0.008em;
}
.copy p {
  margin-top: 1.1rem;
  max-width: 30rem;
  color: var(--text-2);
}
.copy p:first-child {
  margin-top: 0;
}
.copy .eyebrow {
  margin-bottom: 0.9rem;
  color: var(--muted);
}
.copy .small,
.small {
  color: var(--muted);
  font-size: 0.9375rem;
}

.status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1.1rem;
  margin-top: 2rem;
}
.center .status {
  justify-content: center;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.75rem;
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  font-weight: 600;
}
.dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
}
.button {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.5rem 1.35rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  text-decoration: none;
}
.button:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.hero {
  padding-top: clamp(3rem, 8vw, 6rem);
}
.hero__text {
  max-width: 38rem;
}
.stage {
  position: relative;
  margin-top: clamp(2.75rem, 6vw, 4.5rem);
  padding-bottom: 7%;
}
.stage .device--ipad {
  width: 80%;
  margin-left: auto;
}
.stage .device--iphone {
  position: absolute;
  left: 8%;
  bottom: 0;
  width: 21%;
}

.device {
  margin: 0;
}
.device .shot {
  box-shadow:
    0 0 0 var(--shell) var(--bezel),
    0 0 0 calc(var(--shell) + 1px) var(--shell-edge),
    0 10px 24px -14px rgb(0 0 0 / 0.28);
}
.device--ipad {
  --shell: 3px;
}
.device--ipad .shot {
  border-radius: 1.8% / 2.4%;
}
.device--iphone {
  --shell: 2px;
}
.device--iphone .shot {
  border-radius: 14% / 6.45%;
}
.shot {
  display: block;
  width: 100%;
  height: auto;
  overflow: hidden;
}

.ph {
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35em;
  padding: 6%;
  background: var(--ph);
  color: var(--muted);
  text-align: center;
}
.ph__name {
  font-family: var(--mono);
  font-size: clamp(0.5rem, 5.2cqw, 0.875rem);
  font-weight: 600;
  color: var(--text-2);
  overflow-wrap: anywhere;
}
.ph__spec {
  font-size: clamp(0.5rem, 3.6cqw, 0.8125rem);
}
.ratio-ipad {
  aspect-ratio: 2752 / 2064;
}
.ratio-iphone {
  aspect-ratio: 1320 / 2868;
}
.ratio-43 {
  aspect-ratio: 4 / 3;
}

.crop {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.05), 0 20px 40px -24px rgb(0 0 0 / 0.3);
}
.crop > .shot {
  border-radius: 0;
}

.journey {
  margin-top: var(--section);
}
.journey__head {
  grid-column: 1 / 7;
}
.journey__copy {
  grid-column: 8 / 13;
  align-self: end;
}
.strip {
  margin: clamp(2.75rem, 6vw, 4.5rem) auto 0;
  width: 100%;
  max-width: 88rem;
  border-width: 1px 0 0;
  border-radius: 0;
  box-shadow: none;
}
.strip > .ph {
  aspect-ratio: 2752 / 1180;
}
@media (min-width: 88rem) {
  .strip {
    border-width: 1px 1px 0;
    border-radius: 1.5rem 1.5rem 0 0;
  }
}

.journal {
  margin-top: var(--section);
  align-items: center;
}
.journal__text {
  grid-column: 1 / 6;
}
.collage {
  position: relative;
  grid-column: 7 / 13;
  aspect-ratio: 1 / 1.02;
}
.collage > * {
  position: absolute;
  margin: 0;
}
.collage__photo {
  left: 0;
  top: 6%;
  width: 56%;
  z-index: 1;
}
.collage__phone {
  left: 44%;
  top: 0;
  width: 38%;
  z-index: 2;
}
.collage__model {
  right: 0;
  bottom: 0;
  width: 48%;
  z-index: 3;
}
.photo {
  border-radius: 0.75rem;
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: 0 20px 40px -24px rgb(0 0 0 / 0.3);
}
.photo > .ph {
  aspect-ratio: 4 / 5;
}

.paints {
  margin-top: var(--section);
}
.paints .copy p {
  margin-inline: auto;
}
.paints h2 {
  max-width: 20ch;
  margin-inline: auto;
}
.paints__shot {
  width: min(100%, 62rem);
  margin: clamp(2.75rem, 6vw, 4.5rem) auto 0;
}
.paints__shot > .ph {
  aspect-ratio: 16 / 10;
}

.progress {
  margin-top: var(--section);
  align-items: center;
}
.progress__text {
  grid-column: 9 / 13;
  grid-row: 1;
}
.progress__media {
  grid-column: 1 / 8;
  grid-row: 1;
  margin-left: calc(-1 * var(--edge));
  border-left: 0;
  border-radius: 0 1.25rem 1.25rem 0;
}
.progress__media > .ph {
  aspect-ratio: 2752 / 2064;
}
.copy .stat {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 2.5rem;
  max-width: 24rem;
}
.stat::before {
  content: "";
  width: 2.5rem;
  height: 3px;
  margin-bottom: 0.9rem;
  background: var(--accent);
}
.stat__value {
  font-family: var(--display);
  font-size: clamp(2.75rem, 3.4vw + 1.4rem, 4.25rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.005em;
}
.stat__label {
  color: var(--text-2);
}
.stat__sample {
  color: var(--muted);
  font-size: 0.875rem;
}

.collection {
  margin-top: var(--section);
  align-items: start;
}
.collection__text {
  grid-column: 1 / 6;
  padding-top: clamp(0rem, 4vw, 3rem);
}
.stagger {
  position: relative;
  grid-column: 7 / 13;
  padding-bottom: 14%;
}
.stagger__list {
  width: 64%;
  margin-left: auto;
}
.stagger__list > .ph {
  aspect-ratio: 1320 / 1815;
}
.stagger__box {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 52%;
}
.stagger__box > .ph {
  aspect-ratio: 4 / 5;
}

.trust {
  margin-top: var(--section);
}
.trust h2 {
  font-size: clamp(1.5rem, 1.3vw + 1.1rem, 2rem);
}
.trust p {
  margin: 1rem auto 0;
  max-width: 30rem;
  color: var(--text-2);
}

.closing {
  padding-block: var(--section) clamp(4rem, 9vw, 7rem);
}
.closing__icon {
  display: block;
  width: 5.5rem;
  height: 5.5rem;
  margin: 0 auto 1rem;
}
.closing__name {
  color: var(--muted);
  font-size: 0.9375rem;
  font-weight: 500;
}
.closing h2 {
  max-width: 18ch;
  margin: 0.6rem auto 0;
}

.more {
  margin-top: clamp(3.5rem, 8vw, 6rem);
  text-align: center;
}
.more + .trust {
  margin-top: clamp(3.5rem, 8vw, 6rem);
}
.more a {
  font-weight: 500;
  white-space: nowrap;
}

.ratio-45 {
  aspect-ratio: 4 / 5;
}
.ratio-31 {
  aspect-ratio: 3 / 1;
}
.ratio-3340 {
  aspect-ratio: 33 / 40;
}

.jump {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 1.25rem;
}
.jump a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding-inline: 0.8rem;
  color: var(--muted);
  font-size: 0.9375rem;
  text-decoration: none;
}
.jump a:first-child {
  padding-left: 0;
}
.jump a + a::before {
  content: "";
  width: 1px;
  height: 0.9em;
  margin-right: 0.8rem;
  background: var(--line);
}
.jump a:hover {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 0.3em;
}
.h2__sub {
  display: block;
  color: var(--muted);
}

.ref-intro {
  padding-top: clamp(2rem, 5vw, 3.5rem);
  padding-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
}
.ref-intro h1 {
  max-width: 38rem;
  font-size: clamp(1.875rem, 1.5vw + 1.4rem, 2.5rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.ref-intro .lede {
  max-width: 34rem;
  margin-top: 0.9rem;
  font-size: 1.125rem;
}

.ref-sec {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 6fr) minmax(0, 3fr);
  grid-template-areas: "head main visual";
  column-gap: clamp(1.25rem, 2.4vw, 2rem);
  padding-block: clamp(1.75rem, 3.5vw, 2.5rem);
  border-top: 1px solid var(--line);
  scroll-margin-top: 0.5rem;
}
.ref-sec--text {
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  grid-template-areas: "head main";
}
.ref-head {
  grid-area: head;
  align-self: start;
}
.ref-main {
  grid-area: main;
}
.ref-visual {
  grid-area: visual;
  align-self: start;
}
.ref-sec .crop {
  border-radius: 0.75rem;
  box-shadow: none;
}
.ref-head .eyebrow {
  margin-bottom: 0.4rem;
}
.ref-head h2 {
  font-size: clamp(1.25rem, 0.7vw + 1.05rem, 1.5rem);
  line-height: 1.2;
  letter-spacing: -0.012em;
}
.ref-thumb {
  max-width: 15rem;
  margin-top: 1.25rem;
}
.ref-thumb > .ph {
  aspect-ratio: 4 / 3;
}
.ref-wide {
  margin: 0 0 1.75rem;
}
.ref-wide > .ph {
  aspect-ratio: 3 / 1;
}
.ref-visual > .ph {
  aspect-ratio: 4 / 5;
}
.ref-visual--tall > .ph {
  aspect-ratio: 33 / 40;
}

.items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem clamp(1.25rem, 2.4vw, 2rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.item h3,
.item h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.005em;
}
.item p {
  max-width: 32rem;
  margin-top: 0.2rem;
  color: var(--text-2);
  font-size: 0.9375rem;
  line-height: 1.5;
}
.groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem clamp(1.25rem, 2.4vw, 2rem);
}
.groups .items {
  grid-template-columns: 1fr;
}
.group > h3 {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.group--batch > h3 {
  color: var(--text);
}
.group--batch > h3::before {
  content: "";
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  margin-right: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
}
.ref-link {
  margin-top: 1.5rem;
  font-size: 0.9375rem;
}

.ref-close {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-block: clamp(1.75rem, 3.5vw, 2.5rem) clamp(2.5rem, 5vw, 3.5rem);
  border-top: 1px solid var(--line);
}
.ref-close h2 {
  max-width: 22rem;
  font-size: clamp(1.25rem, 0.7vw + 1.05rem, 1.5rem);
  line-height: 1.2;
}
.ref-close .status {
  margin-top: 0;
}

.prose {
  padding-block: clamp(2rem, 6vw, 4rem) clamp(3rem, 8vw, 6rem);
}
.prose h1 {
  font-size: clamp(2rem, 3vw + 1rem, 2.75rem);
}
.prose h2 {
  margin-top: 2.75rem;
  font-size: 1.5rem;
}
.prose h3 {
  margin-top: 1.75rem;
  font-size: 1.1875rem;
}
.prose h1 + p,
.prose h1 + p + p {
  margin-top: 1rem;
}
.prose p,
.prose ul {
  margin-top: 0.85rem;
}
.prose ul {
  padding-left: 1.25rem;
}
.prose li + li {
  margin-top: 0.45rem;
}
.prose em {
  color: var(--muted);
}
.prose strong {
  font-weight: 600;
}

.notfound {
  padding-block: clamp(3rem, 10vw, 7rem);
}
.notfound h1 {
  font-size: clamp(2rem, 3vw + 1rem, 2.75rem);
}
.notfound p {
  margin-top: 1rem;
}

.site-footer {
  padding-block: 2rem 3rem;
  border-top: 1px solid var(--line);
}
.site-footer p {
  max-width: 40rem;
  color: var(--muted);
  font-size: 0.875rem;
}
.site-footer p + p {
  margin-top: 0.6rem;
}
.site-footer a {
  color: var(--muted);
}

@media (max-width: 46rem) {
  .journey__head,
  .journey__copy,
  .journal__text,
  .collage,
  .progress__text,
  .progress__media,
  .collection__text,
  .stagger {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .journey__copy {
    margin-top: 1.5rem;
  }
  .journal__text,
  .collection__text {
    margin-bottom: 2.75rem;
  }
  .collection__text {
    padding-top: 0;
  }
  .progress__media {
    margin-inline: calc(-1 * var(--gutter));
    margin-top: 2.5rem;
    border-radius: 0;
    border-width: 1px 0;
  }
  .progress__text {
    grid-row: 1;
  }
  .progress__media {
    grid-row: 2;
  }
}

@media (max-width: 62rem) {
  .ref-sec {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    grid-template-areas:
      "head main"
      "visual main";
    grid-template-rows: auto 1fr;
    row-gap: 1.25rem;
  }
  .ref-sec--text {
    grid-template-areas: "head main";
    grid-template-rows: auto;
  }
  .ref-visual {
    max-width: 15rem;
  }
  .groups {
    grid-template-columns: 1fr;
  }
  .groups .items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 46rem) {
  .ref-sec,
  .ref-sec--text {
    grid-template-columns: 1fr;
    grid-template-areas:
      "head"
      "main"
      "visual";
    grid-template-rows: auto;
    row-gap: 1.25rem;
  }
  .ref-visual {
    max-width: none;
  }
  .ref-thumb {
    max-width: none;
  }
  .ref-visual > .ph,
  .ref-visual--tall > .ph {
    aspect-ratio: 3 / 2;
    object-fit: cover;
    object-position: 50% 0;
  }
  .items,
  .groups .items {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }
  .jump {
    gap: 0 1.25rem;
  }
  .jump a {
    padding-inline: 0;
  }
  .jump a + a::before {
    display: none;
  }
}

@media (max-width: 40rem) {
  .stage {
    padding-bottom: 25%;
  }
  .stage .device--ipad {
    width: 100%;
  }
  .stage .device--iphone {
    left: auto;
    right: 6%;
    width: 42%;
  }
  .collage {
    aspect-ratio: 1 / 1.18;
  }
  .collage__photo {
    top: 0;
    width: 72%;
  }
  .collage__phone {
    left: 48%;
    top: 16%;
    width: 50%;
  }
  .collage__model {
    display: none;
  }
  .stagger {
    padding-bottom: 18%;
  }
  .stagger__list {
    width: 74%;
  }
  .stagger__box {
    width: 56%;
  }
  .paints__shot {
    width: calc(100% + 2 * var(--gutter));
    margin-inline: calc(-1 * var(--gutter));
    border-radius: 0;
    border-width: 1px 0;
  }
  .strip > .shot {
    aspect-ratio: 5 / 4;
    object-fit: cover;
    object-position: 20% 0;
  }
  .paints__shot > .shot {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: 50% 0;
  }
  .ref-wide > .ph {
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: 20% 0;
  }
}

@media (max-width: 30rem) {
  .site-header .wrap {
    gap: 0.5rem;
  }
  .site-header nav {
    gap: 0;
  }
  .site-header nav a {
    padding-inline: 0.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
