:root {
  --paper: #f4efe5;
  --paper-bright: #fffaf0;
  --paper-deep: #e7dfd0;
  --ink: #151917;
  --muted: #5b625d;
  --teal: #0a7772;
  --teal-strong: #075e5a;
  --teal-soft: #cce9e4;
  --amber: #d59231;
  --film: #121411;
  --hairline: rgba(21, 25, 23, 0.2);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-soft: 0 28px 70px rgba(35, 29, 21, 0.18);
  --shadow-lift: 0 18px 42px rgba(35, 29, 21, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 4px;
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--film);
  color: var(--paper-bright);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 180ms var(--ease-out);
}

.skip-link:focus {
  transform: translateY(0);
}

.landing {
  overflow-x: clip;
}

.site-header {
  position: fixed;
  inset: 14px clamp(16px, 4vw, 66px) auto;
  z-index: 40;
  min-height: 64px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  padding: 9px 14px;
  background: rgba(247, 241, 231, 0.78);
  border-radius: 16px;
  box-shadow: 0 9px 30px rgba(39, 31, 21, 0.15);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
  backdrop-filter: blur(22px) saturate(145%);
}

@supports not (backdrop-filter: blur(1px)) {
  .site-header {
    background: var(--paper);
  }
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 760;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.site-brand img {
  display: block;
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 42px);
}

.site-nav a {
  color: #363b38;
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: none;
  transition: color 160ms ease;
}

.header-action {
  justify-self: end;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  background: var(--teal-strong);
  color: #fff;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 730;
  text-decoration: none;
  transition: transform 160ms var(--ease-out), background-color 160ms ease;
}

.header-action:active,
.primary-action:active,
.app-store-badge:active {
  transform: scale(0.97);
}

.hero {
  min-height: 84svh;
  display: grid;
  grid-template-columns: minmax(380px, 0.86fr) minmax(560px, 1.14fr);
  align-items: center;
  gap: 0;
  max-width: none;
  margin: 0 auto;
  padding: clamp(88px, 9vh, 104px) max(22px, calc((100vw - 1420px) / 2)) clamp(16px, 2vh, 24px);
  background-color: var(--paper);
  background-image: url("./assets/hero-light-table.jpg");
  background-position: center;
  background-size: cover;
  overflow: clip;
}

.hero-copy {
  position: relative;
  z-index: 4;
  align-self: center;
  width: min(112%, 640px);
  padding: clamp(20px, 2.2vw, 30px) clamp(30px, 4.6vw, 66px) clamp(20px, 2.4vw, 32px);
  background-color: var(--paper-bright);
  background-image: url("./assets/lab-paper.jpg");
  background-position: center;
  background-size: 100% 100%;
  box-shadow: 14px 22px 52px rgba(46, 36, 24, 0.2);
  transform: rotate(-0.3deg);
}

.lab-stamp {
  width: min(100%, 420px);
  display: grid;
  grid-template-columns: auto 1fr 1.4fr;
  gap: 12px;
  align-items: center;
  margin-bottom: clamp(20px, 3vh, 30px);
  padding-bottom: 11px;
  border-bottom: 1px solid var(--hairline);
  color: var(--teal-strong);
  font-size: 0.68rem;
  font-weight: 780;
  letter-spacing: 0.08em;
}

.lab-stamp span:not(:first-child) {
  padding-left: 12px;
  border-left: 1px solid var(--hairline);
}

.hero h1,
.section-intro h2,
.roll-heading h2,
.control-copy h2,
.final-copy h2 {
  margin: 0;
  font-weight: 780;
  letter-spacing: -0.035em;
  line-height: 0.98;
  text-wrap: balance;
}

.hero h1 {
  max-width: 9.8ch;
  font-size: clamp(3.35rem, 4.6vw, 4.1rem);
}

.hero-copy > p {
  max-width: 31ch;
  margin: 28px 0 0;
  color: #3e4541;
  font-size: clamp(1.08rem, 1.45vw, 1.34rem);
  line-height: 1.45;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 26px;
}

.app-store-badge {
  display: inline-flex;
  flex: none;
  transition: transform 160ms var(--ease-out), filter 160ms ease;
}

.app-store-badge img {
  display: block;
  width: auto;
  height: 48px;
}

.text-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--teal-strong);
  font-size: 0.96rem;
  font-weight: 730;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}

.text-action span {
  transition: transform 180ms var(--ease-out);
}

.convergence-stage {
  position: relative;
  z-index: 5;
  min-height: clamp(470px, 62vh, 650px);
  width: 114%;
  margin-left: -14%;
  isolation: isolate;
  overflow: visible;
}

.convergence-stage::before {
  content: "";
  position: absolute;
  inset: 3% 0 0 8%;
  z-index: -1;
  background: rgba(255, 250, 240, 0.7);
  box-shadow: inset 0 0 90px rgba(203, 173, 118, 0.18), 0 26px 90px rgba(70, 54, 32, 0.11);
}

.registration {
  position: absolute;
  z-index: 6;
  width: 30px;
  height: 30px;
  color: var(--teal);
}

.registration::before,
.registration::after {
  content: "";
  position: absolute;
  background: currentColor;
}

.registration::before {
  top: 14px;
  left: 0;
  width: 30px;
  height: 1px;
}

.registration::after {
  top: 0;
  left: 14px;
  width: 1px;
  height: 30px;
}

.registration-one {
  top: 2%;
  left: 12%;
}

.registration-two {
  right: 1%;
  bottom: 10%;
}

.film-strip {
  position: absolute;
  z-index: 0;
  aspect-ratio: 1;
  height: auto;
  overflow: hidden;
  background: var(--paper-bright);
  border: 7px solid var(--paper-bright);
  box-shadow: var(--shadow-lift);
  opacity: 0.95;
  transition: transform 1100ms var(--ease-out), opacity 700ms ease;
}

.film-strip img {
  position: absolute;
  width: 400%;
  height: auto;
  max-width: none;
  display: block;
}

.film-strip-top {
  top: -3%;
  right: 30%;
  width: 27%;
  transform: rotate(-4deg);
}

.film-strip-top img {
  top: 0;
  left: -300%;
}

.film-strip-bottom {
  bottom: -2%;
  left: 4%;
  width: 25%;
  transform: rotate(3deg);
}

.film-strip-bottom img {
  top: -200%;
  left: 0;
}

.film-strip-left {
  top: 31%;
  left: -7%;
  width: 24%;
  transform: rotate(-7deg);
}

.film-strip-left img {
  top: 0;
  left: -200%;
}

.film-strip-right {
  top: 34%;
  right: -8%;
  width: 25%;
  transform: rotate(7deg);
}

.film-strip-right img {
  top: -100%;
  left: -200%;
}

.contact-proof {
  position: absolute;
  z-index: 2;
  top: 15%;
  right: -2%;
  width: min(82%, 760px);
  margin: 0;
  padding: 10px;
  background: var(--film);
  box-shadow: var(--shadow-soft);
  transform: none;
  clip-path: inset(0 round 1px);
  filter: blur(0);
  opacity: 1;
  transition: transform 1200ms var(--ease-out), clip-path 1200ms var(--ease-out), filter 900ms ease, opacity 650ms ease;
}

.contact-proof img {
  width: 100%;
  height: auto;
  display: block;
}

.product-proof {
  position: absolute;
  z-index: 5;
  top: -1%;
  right: 1%;
  width: clamp(270px, 34%, 340px);
  margin: 0;
  padding: 8px;
  overflow: hidden;
  background: var(--paper-bright);
  border: 1px solid rgba(21, 25, 23, 0.16);
  border-radius: 16px;
  box-shadow: 14px 20px 44px rgba(30, 27, 22, 0.22);
  transform: rotate(1.8deg);
  transition: transform 1100ms var(--ease-out), opacity 650ms ease;
}

.product-shot-crop {
  position: relative;
  aspect-ratio: 970 / 2110;
  overflow: hidden;
  background: var(--paper);
  border-radius: 12px;
}

.product-shot-crop img {
  position: absolute;
  top: -27%;
  left: -16%;
  width: 132%;
  height: auto;
  max-width: none;
  display: block;
}

.image-missing {
  min-height: 230px;
  display: grid;
  place-items: center;
  background: var(--paper-deep);
  color: var(--teal-strong);
}

.image-missing::before {
  content: "SharedShots screen";
  max-width: 12ch;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 740;
}

.image-missing img {
  display: none;
}

.control-mark {
  font-family: "Aptos Narrow", "Bahnschrift SemiCondensed", sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.js:not(.motion-ready) .film-strip-top {
  opacity: 0.58;
  transform: translate3d(18%, -24%, 0) rotate(2deg);
}

.js:not(.motion-ready) .film-strip-bottom {
  opacity: 0.58;
  transform: translate3d(-18%, 24%, 0) rotate(-3deg);
}

.js:not(.motion-ready) .film-strip-left {
  opacity: 0.5;
  transform: translate3d(-26%, 0, 0) rotate(-12deg);
}

.js:not(.motion-ready) .film-strip-right {
  opacity: 0.5;
  transform: translate3d(28%, 0, 0) rotate(12deg);
}

.js:not(.motion-ready) .contact-proof {
  opacity: 0.72;
  filter: blur(4px);
  clip-path: inset(10% 9% 11% 10% round 1px);
  transform: translate3d(5%, 3%, 0) rotate(1deg) scale(0.96);
}

.js:not(.motion-ready) .product-proof {
  opacity: 0.68;
  transform: translate3d(18%, -12%, 0) rotate(7deg);
}

.final-cta {
  max-width: 1240px;
  margin: 0 auto;
  padding-left: clamp(22px, 5vw, 76px);
  padding-right: clamp(22px, 5vw, 76px);
}

.host-flow {
  display: grid;
  grid-template-columns: minmax(340px, 0.78fr) minmax(420px, 1.22fr);
  align-items: center;
  gap: clamp(64px, 9vw, 150px);
  max-width: 1480px;
  margin: 0 auto;
  padding: clamp(72px, 8vw, 118px) clamp(22px, 5vw, 76px) clamp(84px, 9vw, 132px);
}

.roll-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(260px, 0.82fr);
  gap: clamp(44px, 8vw, 126px);
  align-items: end;
}

.section-intro h2,
.roll-heading h2,
.control-copy h2,
.final-copy h2 {
  font-size: clamp(2.7rem, 5vw, 5rem);
}

.roll-heading > p {
  max-width: 36ch;
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.6;
  text-wrap: pretty;
}

.flow-list {
  counter-reset: flow-step;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  margin: clamp(42px, 5vw, 64px) 0 0;
  padding: 0;
}

.flow-list li {
  counter-increment: flow-step;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  column-gap: 18px;
  padding: 22px 0 23px;
  border-top: 1px solid var(--ink);
}

.flow-list li::before {
  content: "0" counter(flow-step);
  grid-column: 1;
  grid-row: 1 / span 2;
  padding-top: 4px;
  color: var(--teal-strong);
  font-family: "Aptos Narrow", "Bahnschrift SemiCondensed", sans-serif;
  font-size: 0.74rem;
  font-weight: 760;
  letter-spacing: 0.08em;
}

.flow-list h3 {
  grid-column: 2;
  margin: 0 0 7px;
  font-size: 1.42rem;
  letter-spacing: -0.02em;
}

.flow-list p {
  grid-column: 2;
  max-width: 36ch;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.guest-join-copy {
  margin-top: clamp(34px, 4vw, 52px);
  padding-top: 24px;
  border-top: 3px solid var(--teal);
}

.guest-join-copy h3 {
  max-width: 17ch;
  margin: 0;
  font-size: clamp(1.65rem, 2.4vw, 2.25rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.guest-join-copy p {
  max-width: 41ch;
  margin: 16px 0 19px;
  color: var(--muted);
  line-height: 1.6;
}

.code-proof {
  position: relative;
  justify-self: center;
  width: min(100%, 430px);
  margin: 0;
  padding: 12px;
  background: var(--paper-bright);
  border: 1px solid rgba(21, 25, 23, 0.18);
  box-shadow: 22px 28px 58px rgba(36, 30, 23, 0.2);
  transform: rotate(1deg);
}

.code-proof::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: -12px;
  left: 50%;
  width: 88px;
  height: 24px;
  background: rgba(226, 211, 180, 0.72);
  transform: translateX(-50%) rotate(-1.5deg);
}

.code-proof img {
  width: 100%;
  height: auto;
  display: block;
}

.code-proof figcaption {
  padding: 12px 4px 3px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.code-proof figcaption strong {
  color: var(--ink);
}

.roll-section {
  max-width: 1480px;
  margin: 0 auto;
  padding: clamp(56px, 7vw, 88px) clamp(22px, 5vw, 76px) clamp(84px, 10vw, 132px);
  overflow-x: clip;
}

.screen-run {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 480px));
  justify-content: center;
  gap: clamp(18px, 3vw, 38px);
  align-items: start;
  margin-top: clamp(38px, 5vw, 64px);
}

.screen-run:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: -3px;
}

.screen-frame {
  margin: 0;
  padding: 18px 18px 13px;
  background: rgba(255, 250, 240, 0.58);
  border: 1px solid rgba(21, 25, 23, 0.17);
}

.screen-frame img {
  width: 100%;
  display: block;
}

.screen-frame figcaption {
  padding-top: 11px;
  color: var(--teal-strong);
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.screen-frame-one {
  transform: rotate(-1.2deg);
}

.screen-frame-two {
  transform: rotate(1.4deg);
}

.control-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(340px, 1.14fr);
  gap: clamp(70px, 11vw, 170px);
  align-items: center;
  min-height: 760px;
  padding: clamp(100px, 12vw, 170px) max(22px, calc((100vw - 1120px) / 2));
  background: var(--film);
  color: var(--paper-bright);
}

.control-visual {
  position: relative;
  justify-self: center;
  width: min(100%, 390px);
  padding: 52px 42px 42px;
  background: var(--paper-bright);
  box-shadow: 22px 30px 74px rgba(0, 0, 0, 0.46);
  transform: rotate(-2deg);
}

.control-visual img {
  width: 100%;
  display: block;
}

.control-mark {
  position: absolute;
  right: -26px;
  bottom: 34px;
  padding: 10px 13px;
  background: var(--teal-soft);
  color: var(--teal-strong);
  font-size: 0.66rem;
  transform: rotate(4deg);
}

.control-copy {
  max-width: 630px;
}

.control-copy p {
  max-width: 50ch;
  margin: 32px 0 0;
  color: #c8d0c8;
  font-size: 1.08rem;
  line-height: 1.68;
}

.control-copy ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
}

.control-copy li {
  padding: 9px 13px;
  border: 1px solid rgba(242, 237, 225, 0.28);
  border-radius: 999px;
  color: #f3edde;
  font-size: 0.82rem;
  font-weight: 650;
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 48px;
  padding-top: clamp(78px, 10vw, 128px);
  padding-bottom: clamp(86px, 11vw, 142px);
  border-top: 1px solid var(--ink);
}

.final-copy h2 {
  max-width: 15ch;
}

.final-copy p {
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 1.15rem;
}

.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 58px;
  padding: 0 24px;
  background: var(--teal-strong);
  color: #fff;
  border-radius: 14px;
  font-size: 0.96rem;
  font-weight: 740;
  text-decoration: none;
  transition: transform 160ms var(--ease-out), background-color 160ms ease;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px 48px;
  padding: 34px clamp(22px, 5vw, 76px) 42px;
  border-top: 1px solid var(--hairline);
  color: var(--muted);
  font-size: 0.78rem;
}

.footer-brand {
  font-size: 0.9rem;
}

.footer-brand img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 26px;
}

.footer-links a {
  color: var(--ink);
  font-weight: 650;
  text-decoration: none;
}

.site-footer p {
  margin: 0;
}

@media (hover: hover) and (pointer: fine) {
  .site-nav a:hover,
  .footer-links a:hover {
    color: var(--teal-strong);
  }

  .header-action:hover,
  .primary-action:hover {
    background: #064f4b;
  }

  .app-store-badge:hover {
    filter: brightness(1.08);
  }

  .text-action:hover span {
    transform: translate3d(3px, 2px, 0);
  }
}

@media (max-width: 1120px) {
  .hero {
    grid-template-columns: minmax(310px, 0.9fr) minmax(470px, 1.1fr);
  }

  .hero h1 {
    font-size: clamp(3.45rem, 6.8vw, 5.2rem);
  }

  .product-proof {
    width: 23%;
  }

  .screen-run {
    grid-template-columns: repeat(2, minmax(240px, 1fr));
  }
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-brand,
  .header-action,
  .footer-brand,
  .footer-links a {
    min-height: 44px;
  }

  .footer-brand,
  .footer-links a {
    display: inline-flex;
    align-items: center;
  }

  .site-nav {
    display: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 52px;
    padding-top: 128px;
  }

  .hero-copy {
    width: 100%;
    max-width: 650px;
  }

  .lab-stamp {
    margin-bottom: 42px;
  }

  .convergence-stage {
    min-height: 620px;
  }

  .roll-heading {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .host-flow {
    grid-template-columns: 1fr;
    gap: 56px;
    max-width: 720px;
  }

  .screen-run {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    row-gap: 70px;
  }

  .screen-frame-one,
  .screen-frame-two {
    transform: none;
  }

  .control-section {
    grid-template-columns: minmax(230px, 0.68fr) 1fr;
    gap: 52px;
  }

  .final-cta {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .primary-action {
    width: max-content;
  }

  .site-footer {
    grid-template-columns: auto 1fr;
  }

  .site-footer > p {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .landing {
    --mobile-gutter: clamp(20px, 5.5vw, 24px);
  }

  html {
    scroll-padding-top: 78px;
  }

  .site-header {
    top: max(14px, calc(env(safe-area-inset-top) + 8px));
    right: max(16px, env(safe-area-inset-right));
    left: max(16px, env(safe-area-inset-left));
    min-height: 68px;
    gap: 12px;
    padding: 10px 12px;
  }

  .site-brand {
    min-height: 44px;
    gap: 8px;
    font-size: 0.93rem;
  }

  .site-brand img {
    width: 38px;
    height: 38px;
    border-radius: 11px;
  }

  .header-action {
    min-height: 44px;
    padding: 0 12px;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .hero {
    gap: 36px;
    padding: calc(108px + env(safe-area-inset-top)) max(var(--mobile-gutter), env(safe-area-inset-right)) 54px max(var(--mobile-gutter), env(safe-area-inset-left));
  }

  .hero-copy {
    padding: 22px 24px 24px;
  }

  .lab-stamp {
    grid-template-columns: auto 1fr;
    margin-bottom: 20px;
  }

  .lab-stamp span:last-child {
    display: none;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 13vw, 3.65rem);
  }

  .hero-copy > p {
    margin-top: 18px;
    font-size: 1.05rem;
  }

  .hero-actions {
    align-items: flex-start;
    gap: 14px 20px;
    margin-top: 20px;
  }

  .app-store-badge img {
    height: 44px;
  }

  .convergence-stage {
    min-height: 430px;
  }

  .convergence-stage::before {
    inset: 2% -28px 0 4%;
  }

  .film-strip {
    height: auto;
    border-width: 4px;
  }

  .film-strip-top {
    top: 1%;
    right: 29%;
    width: 28%;
  }

  .film-strip-bottom {
    left: 1%;
    width: 27%;
  }

  .contact-proof {
    top: 18%;
    right: -8%;
    width: 93%;
    padding: 6px 6px 0;
  }

  .product-proof {
    top: -3%;
    right: -3%;
    width: 40%;
    min-width: 138px;
    padding: 5px;
  }

  .final-cta {
    padding-left: max(var(--mobile-gutter), env(safe-area-inset-left));
    padding-right: max(var(--mobile-gutter), env(safe-area-inset-right));
  }

  .host-flow {
    grid-template-columns: 1fr;
    gap: 52px;
    padding: 68px max(var(--mobile-gutter), env(safe-area-inset-right)) 78px max(var(--mobile-gutter), env(safe-area-inset-left));
  }

  .section-intro h2,
  .roll-heading h2,
  .control-copy h2,
  .final-copy h2 {
    font-size: clamp(2.55rem, 12vw, 3.85rem);
  }

  .flow-list {
    margin-top: 36px;
  }

  .flow-list li {
    grid-template-columns: 36px minmax(0, 1fr);
    column-gap: 14px;
  }

  .code-proof {
    width: min(92%, 390px);
  }

  .roll-section {
    padding: 64px max(var(--mobile-gutter), env(safe-area-inset-right)) 88px max(var(--mobile-gutter), env(safe-area-inset-left));
  }

  .screen-run {
    display: flex;
    justify-content: flex-start;
    gap: 14px;
    margin-left: calc(var(--mobile-gutter) * -1);
    margin-right: calc(var(--mobile-gutter) * -1);
    padding: 0 var(--mobile-gutter) 22px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: var(--mobile-gutter);
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .screen-run::-webkit-scrollbar {
    display: none;
  }

  .screen-frame {
    flex: 0 0 min(74vw, 300px);
    scroll-snap-align: start;
  }

  .control-section {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 96px 24px 104px;
  }

  .control-visual {
    width: min(76vw, 330px);
    padding: 38px 30px 30px;
  }

  .control-copy {
    order: -1;
  }

  .control-copy ul {
    gap: 8px;
  }

  .primary-action {
    width: 100%;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: start;
    padding: 30px max(var(--mobile-gutter), env(safe-area-inset-right)) max(38px, calc(22px + env(safe-area-inset-bottom))) max(var(--mobile-gutter), env(safe-area-inset-left));
  }

  .footer-links {
    justify-content: flex-start;
    gap: 20px;
  }

  .footer-brand,
  .footer-links a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .site-footer > p {
    grid-column: auto;
  }
}

@media (max-width: 360px) {
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .js:not(.motion-ready) .film-strip-top,
  .js:not(.motion-ready) .film-strip-bottom,
  .js:not(.motion-ready) .contact-proof,
  .js:not(.motion-ready) .product-proof {
    opacity: 1;
    filter: none;
    clip-path: none;
  }
}

/* Legal documents keep a quieter reading surface while sharing the brand. */
body:not(.landing) .wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 22px 80px;
}

body:not(.landing) .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  margin-bottom: 28px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 780;
  letter-spacing: -0.02em;
  text-decoration: none;
}

body:not(.landing) .brand-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  object-fit: cover;
}

body:not(.landing) main h1 {
  margin: 0 0 8px;
  font-size: 2rem;
  letter-spacing: -0.025em;
}

body:not(.landing) main h2 {
  margin: 38px 0 11px;
  font-size: 1.3rem;
}

body:not(.landing) main h3 {
  margin: 26px 0 8px;
  font-size: 1.02rem;
}

body:not(.landing) main p,
body:not(.landing) main li {
  color: #3a403c;
}

body:not(.landing) main a {
  color: var(--teal-strong);
}

body:not(.landing) em {
  color: var(--muted);
  font-style: normal;
}

body:not(.landing) table {
  width: 100%;
  margin: 16px 0;
  border-collapse: collapse;
  font-size: 0.88rem;
}

body:not(.landing) th,
body:not(.landing) td {
  padding: 9px 11px;
  border: 1px solid var(--hairline);
  text-align: left;
  vertical-align: top;
}

body:not(.landing) th {
  background: var(--paper-deep);
}

body:not(.landing) code {
  padding: 1px 5px;
  background: var(--paper-deep);
  border-radius: 4px;
  font-size: 0.9em;
}

body:not(.landing) hr {
  margin: 30px 0;
  border: 0;
  border-top: 1px solid var(--hairline);
}
