/* Homepage only. Legal pages continue to use the shared style.css. */
.landing {
  --line: #c4c1bc;
  --surface: #eeece8;
  --sans: system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  font-size: 15px;
  line-height: 1.65;
  display: block;
  overflow-x: clip;
}
.landing * {
  box-sizing: border-box;
}
.landing main {
  padding: 0;
}
.landing .container {
  width: min(1240px,calc(100% - 96px));
  margin-inline: auto;
}
.landing a {
  text-decoration: none;
}
.landing a:focus-visible,.landing button:focus-visible,.landing summary:focus-visible,.landing [tabindex]:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 5px;
}
.landing .skip {
  position: absolute;
  top: -100px;
  left: 20px;
  z-index: 10;
  background: var(--paper);
  padding: 12px;
}
.landing .skip:focus {
  top: 12px;
}
.landing h1,.landing h2,.landing h3 {
  font-family: 'Literata',Georgia,serif;
  font-weight: 400;
  text-transform: none;
  letter-spacing: -.045em;
  line-height: 1.13;
  margin: 0;
}
.landing h2 {
  font-size: clamp(36px,4.1vw,58px);
}
.landing h3 {
  font-size: 25px;
  letter-spacing: -.025em;
  line-height: 1.3;
}
.landing h1 em,.landing h2 em {
  font-weight: 300;
}
.landing p {
  margin: 0;
  color: var(--ink-muted);
}
.landing img {
  display: block;
  max-width: 100%;
}
.landing .eyebrow {
  font-family: 'Roboto Mono',monospace;
  font-size: 10px;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 25px;
}

/* Header */
.landing .site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 27px;
}
.landing .identity {
  display: flex;
  align-items: center;
  gap: 11px;
  white-space: nowrap;
}
.landing .identity img {
  width: 23px;
  height: 28px;
}
.landing .identity-name {
  font-size: 23px;
  letter-spacing: -.045em;
}
.landing .beta-label {
  font-family: 'Roboto Mono',monospace;
  font-size: 9px;
  line-height: 1;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 5px 6px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.landing .site-nav {
  display: flex;
  align-items: center;
  gap: 29px;
  font: 12px var(--sans);
}
.landing .site-nav>a:not(.button):hover {
  opacity: .55;
}
.landing .button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  padding: 15px 23px;
  background: var(--ink);
  color: var(--paper);
  font: 500 13px/1.4 var(--sans);
  transition: transform .2s,box-shadow .2s,background .2s;
  cursor: pointer;
}
.landing .button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 14px #1b191619;
  background: #34312c;
}
.landing .button.small {
  padding: 10px 16px;
  gap: 19px;
  font-size: 12px;
}
.landing .arrow {
  font-size: 20px;
  line-height: 1;
  font-weight: 400;
}

/* Hero: kept short so the pitch starts within the first scroll. */
.landing .hero {
  text-align: center;
  padding-top: 62px;
}
.landing .hero h1 {
  font-size: clamp(30px,calc(20px + 2.5vw),56px);
  max-width: 900px;
  margin-inline: auto;
  letter-spacing: -.058em;
  line-height: 1.07;
  margin-bottom: 26px;
  text-wrap: balance;
}
.landing .hero-copy {
  font: 16px/1.7 var(--sans);
  max-width: 440px;
  margin-inline: auto;
  text-wrap: pretty;
}
.landing .hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin: 28px 0 15px;
}
.landing .text-link {
  font: 12px var(--sans);
  padding: 10px 0;
  border-bottom: 1px solid transparent;
}
.landing .text-link:hover {
  border-color: var(--ink);
}
.landing .beta-note {
  font: 10px var(--sans);
  color: var(--ink-faint);
}
.landing .hero-figure {
  margin: 44px 0 0;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--wash);
}
.landing .hero-figure img {
  width: 100%;
  height: clamp(220px,42vw,520px);
  object-fit: cover;
  object-position: 50% 70%;
}
.landing .photo-label {
  position: absolute;
  bottom: 24px;
  left: 24px;
  padding: 10px 15px;
  border: 1px solid #ffffff25;
  border-radius: 5px;
  background: #25231de0;
  color: #f1eee8;
  font: 10px 'Roboto Mono',monospace;
  letter-spacing: .02em;
}

/* Pillars: one section per argument, three features each. */
.landing .pillar {
  padding-block: 104px 24px;
  scroll-margin-top: 24px;
}
.landing .pillar-heading {
  display: grid;
  grid-template-columns: minmax(0,1.4fr) minmax(0,1fr);
  align-items: end;
  gap: 48px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}
.landing .pillar-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 0;
}
.landing .pillar-heading h2 {
  max-width: 14.5em;
}
.landing .pillar-heading>p {
  font: 14px/1.8 var(--sans);
  max-width: 380px;
  padding-bottom: 6px;
  text-wrap: pretty;
}
/* Default feature: copy on the left, a square-ish or portrait shot on the
   right. `.wide` stacks instead and gives the media the whole width, for a
   shot that needs the sidebar and the content together. */
.landing .feature {
  display: grid;
  grid-template-columns: minmax(0,5fr) minmax(0,7fr);
  align-items: center;
  gap: 6%;
  padding-block: 72px 80px;
  border-bottom: 1px solid var(--line);
}
.landing .feature:last-child {
  border-bottom: 0;
}
.landing .feature-copy .eyebrow {
  margin-bottom: 18px;
}
.landing .feature h3 {
  font-size: clamp(26px,2.6vw,36px);
  max-width: 13em;
  margin-bottom: 22px;
  text-wrap: balance;
}
.landing .feature-text>p {
  font: 15px/1.85 var(--sans);
  max-width: 440px;
  text-wrap: pretty;
}
.landing .feature-text>p+p {
  margin-top: 14px;
}
.landing .feature .feature-media {
  justify-content: flex-end;
}
.landing .feature .shot.filled>img,.landing .feature .shot.filled>video {
  width: auto;
  max-width: 100%;
  max-height: 780px;
  margin-left: auto;
}
/* Wide: stacked. */
.landing .feature.wide {
  display: block;
}
.landing .feature.wide .feature-copy {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  align-items: start;
  gap: 48px;
  margin-bottom: 44px;
}
.landing .feature.wide .feature-copy .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 0;
}
.landing .feature.wide h3 {
  margin-bottom: 0;
}
.landing .feature.wide .feature-text>p {
  max-width: 520px;
}
.landing .feature.wide .feature-media {
  justify-content: flex-start;
}
.landing .feature.wide .shot.filled>img,.landing .feature.wide .shot.filled>video {
  width: 100%;
  max-height: none;
  margin-left: 0;
}
.landing .nowrap {
  white-space: nowrap;
}
.landing .feature-text>p {
  font: 15px/1.85 var(--sans);
  max-width: 520px;
  text-wrap: pretty;
}
.landing .feature-text>p+p {
  margin-top: 14px;
}
.landing .feature-media {
  display: flex;
  align-items: stretch;
  gap: 18px;
  min-width: 0;
}
.landing .feature-media>.shot {
  flex: 1 1 0;
  min-width: 0;
}
.landing .feature-media>.shot.phone {
  flex: 0 0 auto;
  width: clamp(140px,22%,270px);
  align-self: center;
}
.landing .three-up {
  justify-content: center;
  gap: 5%;
}
.landing .three-up>.shot.phone {
  width: clamp(140px,26%,300px);
}
.landing .coda {
  border-top: 1px solid var(--line);
  padding-block: 72px;
}
.landing .coda h3 {
  font-size: clamp(30px,3.4vw,46px);
}

/* Placeholder for an animated screenshot. Replace the .shot-slot contents
   with a <video autoplay muted loop playsinline> or an <img> of the same
   aspect ratio; the frame, bar and caption styles stay. */
.landing .shot {
  margin: 0;
}
.landing .shot-frame {
  border: 1px solid #b7b3ac;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 18px 46px #24211c0a;
  background: var(--paper);
}
.landing .shot-bar {
  display: flex;
  gap: 6px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.landing .shot-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid var(--line);
}
.landing .shot.phone .shot-bar {
  justify-content: center;
  padding-block: 9px;
}
.landing .shot.phone .shot-bar i {
  width: 28px;
  height: 4px;
  border-radius: 2px;
  background: var(--line);
  border: 0;
}
.landing .shot-slot {
  position: relative;
  aspect-ratio: 16 / 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px;
  text-align: center;
  background:
    repeating-linear-gradient(-45deg,transparent 0 14px,#0000000a 14px 15px),
    var(--surface);
}
.landing .feature:not(.wide) .shot-slot {
  aspect-ratio: 5 / 4;
}
.landing .shot.phone .shot-slot {
  aspect-ratio: 9 / 18;
  padding: 16px 12px;
}
.landing .shot-slot::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px dashed #aeaaa2;
  border-radius: 6px;
  pointer-events: none;
}
.landing .shot-tag {
  font: 9px 'Roboto Mono',monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.landing .shot-name {
  font: 13px/1.5 var(--sans);
  color: var(--ink-muted);
  max-width: 28ch;
  text-wrap: balance;
}
.landing .shot.phone .shot-name {
  font-size: 11px;
}
.landing .shot-slot>video,.landing .shot-slot>img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* A real device: a photograph of a Boox Go 10.3 with its screen cut out, and
   the recording showing through the hole. The clip carries screen pixels
   only, graded to e-ink tones (ink around 25, paper around 240 as a lit Lumi
   panel shows it, a touch cool); the body is one image for every e-ink clip,
   and can be restyled without re-exporting a frame of video. The
   percentages are where the screen sits in the photograph, measured from the
   hole cut out of it; the clip is 4:3 and the hole 1.34:1, a
   stretch of half a percent that no eye can see. */
.landing .shot.device {
  margin: 0;
}
.landing .device-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 2747 / 2117;
}
/* The shadow is a box under the whole device, not a filter on the body: a
   drop-shadow filter follows the alpha, and the cut-out screen is an edge
   in that alpha, so it cast a shadow inward onto the clip. A box-shadow
   only ever falls outside its box. The box sits a hair inside the device
   outline with its corners rounded to match, so nothing peeks out. */
.landing .device-frame::before {
  content: "";
  position: absolute;
  inset: 0.6%;
  border-radius: 1.4% / 1.8%;
  box-shadow: 0 30px 40px #24211c3d, 0 6px 12px #24211c2e;
}
.landing .device-screen {
  position: absolute;
  z-index: 1;
  left: 3.93%;
  top: 4.49%;
  width: 88.57%;
  height: 85.73%;
  display: block;
  object-fit: fill;
  background: #e3e5e9;
}
.landing .device-body {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 2;
  pointer-events: none;
}

/* A filled shot: the recording carries its own margin, so no frame or bar. */
.landing .shot.filled>img,.landing .shot.filled>video {
  width: 100%;
  height: auto;
  border: 1px solid #b7b3ac;
  border-radius: 10px;
  box-shadow: 0 18px 46px #24211c0a;
}

/* The dark pillar. */
.landing .pillar.dark {
  background: var(--ink);
  color: var(--paper);
  padding-block: 96px 40px;
  margin-block: 80px 0;
}
.landing .pillar.dark .eyebrow {
  color: #aaa69e;
}
.landing .pillar.dark h2,.landing .pillar.dark h3 {
  color: var(--paper);
}
.landing .pillar.dark p {
  color: #bdb9b0;
}
.landing .pillar.dark .pillar-heading,.landing .pillar.dark .feature {
  border-color: #ffffff2a;
}
/* A filled shot on ink: the same edge and lift the dark frame has. The light
   section's hairline read as a bright line here, brighter than the rule
   under the feature; this is that rule's colour, flattened onto the ink (#ffffff2a over #1b1916). */
.landing .pillar.dark .shot.filled>img,.landing .pillar.dark .shot.filled>video {
  border-color: #413f3c;
  box-shadow: 0 18px 46px #00000040;
}
.landing .pillar.dark .shot-frame {
  border-color: #ffffff30;
  background: #24211c;
  box-shadow: 0 18px 46px #00000040;
}
.landing .pillar.dark .shot-bar {
  background: #2c2924;
  border-color: #ffffff1a;
}
.landing .pillar.dark .shot-bar i {
  border-color: #ffffff35;
}
.landing .pillar.dark .shot-slot {
  background:
    repeating-linear-gradient(-45deg,transparent 0 14px,#ffffff0c 14px 15px),
    #24211c;
}
.landing .pillar.dark .shot-slot::before {
  border-color: #ffffff3a;
}
.landing .pillar.dark .shot-tag {
  color: #8f8b83;
}
.landing .pillar.dark .shot-name {
  color: #bdb9b0;
}
.landing .pillar.dark+.pillar {
  padding-top: 96px;
}

/* FAQ */
.landing .faq {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 12%;
  border-top: 1px solid var(--line);
  margin-top: 56px;
  padding-top: 76px;
  padding-bottom: 80px;
}
.landing .faq h2 {
  font-size: 42px;
}
.landing .faq details {
  border-bottom: 1px solid var(--line);
}
.landing .faq summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  font: 14px/1.5 var(--sans);
  padding: 21px 0;
}
.landing .faq details:first-child summary {
  padding-top: 0;
}
.landing .faq summary::-webkit-details-marker {
  display: none;
}
.landing .faq summary:after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
}
.landing .faq details[open] summary:after {
  content: '−';
}
.landing .faq details p {
  font: 13px/1.9 var(--sans);
  padding-bottom: 24px;
}
.landing .faq details a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Closing */
.landing .closing {
  text-align: center;
  padding: 66px 0 103px;
}
.landing .closing>img {
  width: 34px;
  height: 39px;
  margin: 0 auto 28px;
}
.landing .closing h2 {
  font-size: clamp(48px,5.5vw,74px);
  margin: 0 0 31px;
}
.landing .closing .beta-note {
  margin-top: 18px;
}

/* Footer */
.landing .site-footer {
  border-top: 1px solid var(--line);
  padding: 29px 0;
  margin: 0;
  font: 11px var(--sans);
}
.landing .site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.landing .site-footer nav {
  display: flex;
  gap: 26px;
}
.landing .site-footer a:hover {
  text-decoration: underline;
}
.landing .site-footer small {
  font-size: 10px;
  color: var(--ink-faint);
}

/* Motion */
.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease,transform .7s ease;
}
.reveal-ready .reveal.visible {
  opacity: 1;
  transform: none;
}
@media(prefers-reduced-motion:no-preference) {
  .landing .hero>h1,.landing .hero>.eyebrow,.landing .hero>.hero-copy {
    animation: arrive .8s both;
  }
  .landing .hero>h1 {
    animation-delay: .08s;
  }
  .landing .hero>.hero-copy {
    animation-delay: .16s;
  }
  @keyframes arrive {
    from {
      opacity: 0;
      transform: translateY(12px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}
@media(min-width:1500px) {
  .landing .hero {
    padding-top: 80px;
  }
}
@media(max-width:1000px) {
  .landing .container {
    width: calc(100% - 64px);
  }
  .landing .site-nav {
    gap: 18px;
  }
  .landing .pillar-heading {
    gap: 32px;
  }
  .landing .faq {
    gap: 7%;
  }
}
@media(max-width:700px) {
  .landing .container {
    width: calc(100% - 40px);
  }
  .landing .site-header {
    padding-block: 21px;
  }
  .landing .identity {
    gap: 8px;
  }
  .landing .identity-name {
    font-size: 20px;
  }
  .landing .identity img {
    width: 20px;
    height: 24px;
  }
  .landing .site-nav .explore-link,.landing .site-nav .button {
    display: none;
  }
  .landing .hero {
    padding-top: 44px;
  }
  .landing .hero h1 {
    margin-bottom: 22px;
  }
  .landing .hero-wide-break {
    display: none;
  }
  .landing .eyebrow {
    font-size: 9px;
    letter-spacing: .07em;
  }
  .landing .hero-copy {
    font-size: 14px;
    max-width: 340px;
  }
  .landing .hero-actions {
    flex-direction: column;
    gap: 10px;
    margin-top: 24px;
  }
  .landing .hero-figure {
    margin-top: 30px;
    border-radius: 8px;
  }
  .landing .hero-figure img {
    height: 200px;
  }
  .landing .photo-label {
    left: 15px;
    bottom: 15px;
    font-size: 9px;
  }
  .landing .pillar {
    padding-block: 64px 8px;
  }
  .landing .pillar.dark {
    padding-block: 64px 24px;
    margin-top: 56px;
  }
  .landing .pillar.dark+.pillar {
    padding-top: 64px;
  }
  .landing .pillar-heading {
    display: block;
    padding-bottom: 32px;
  }
  .landing .pillar-heading h2 {
    font-size: 35px;
    max-width: none;
  }
  .landing .pillar-heading>p {
    margin-top: 22px;
    max-width: 100%;
    font-size: 13px;
  }
  .landing .feature {
    display: block;
    padding-block: 44px 48px;
  }
  .landing .feature-copy,.landing .feature.wide .feature-copy {
    display: block;
    margin-bottom: 28px;
  }
  .landing .feature h3,.landing .feature.wide h3 {
    font-size: 26px;
    margin-bottom: 16px;
    max-width: none;
  }
  .landing .feature .shot.filled>img,.landing .feature .shot.filled>video {
    width: 100%;
    max-height: none;
    margin-left: 0;
  }
  .landing .feature-text>p {
    font-size: 14px;
    max-width: 100%;
  }
  .landing .feature-media {
    gap: 12px;
  }
  .landing .feature-media>.shot.phone {
    width: 34%;
  }
  .landing .three-up {
    gap: 4%;
  }
  .landing .three-up>.shot.phone {
    width: 30%;
  }
  .landing .three-up .shot-name {
    display: none;
  }
  .landing .shot-slot {
    padding: 16px;
  }
  .landing .shot-name {
    font-size: 12px;
  }
  .landing .coda {
    padding-block: 52px;
  }
  .landing .coda h3 {
    font-size: 30px;
  }
  .landing .faq {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 32px;
    padding-top: 52px;
    padding-bottom: 25px;
  }
  .landing .faq h2 {
    font-size: 37px;
  }
  .landing .closing {
    padding: 66px 0 73px;
  }
  .landing .closing h2 {
    font-size: 46px;
  }
  .landing .site-footer .container {
    flex-wrap: wrap;
    gap: 20px;
  }
  .landing .site-footer small {
    width: 100%;
  }
  .landing .site-footer nav {
    gap: 19px;
  }
}
@media(prefers-reduced-motion:reduce) {
  .landing *, .reveal-ready .reveal {
    animation: none!important;
    transition: none!important;
    transform: none!important;
    opacity: 1!important;
  }
  html {
    scroll-behavior: auto;
  }
}
