/* Aerial's site. Philosophy (after Paraform and Harvey): imagery is the canvas and the product floats
   on it as proof; a fine serif carries every statement, a quiet sans everything else; sections move
   light → night → image; each block says one thing. Flat tints over images, never gradients. */

@font-face {
  font-family: "Newsreader";
  src: url("/fonts/newsreader.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("/fonts/manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --ink: #141f2e;
  --blue: #213f69;
  --muted: #5d6b7e;
  --faint: #98a3b2;
  --line: #e5e9ee;
  --soft: #f4f5f3;
  --white: #ffffff;
  --night: #070b14;
  --night-2: #0d1422;
  --night-text: #edf0f5;
  --night-quiet: #9aa5b8;
  --night-line: rgb(160 180 220 / 0.14);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4.4vw, 64px);
  --wide: 1360px;
  /* The page's one column edge: the gutter, or further in once the screen is wider than --wide. */
  --edge: max(var(--gutter), calc((100vw - var(--wide)) / 2 + var(--gutter)));
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  font-synthesis: none;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  top: 16px;
  left: 16px;
  z-index: 50;
  padding: 8px 12px;
  background: var(--white);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

:focus-visible {
  outline: 2px solid #8ea4f0;
  outline-offset: 3px;
  border-radius: 6px;
}

.serif {
  font-family: var(--serif);
  font-weight: 300;
  letter-spacing: -0.02em;
}

/* The mark: Aerial's line A; a light runs along it while it works. */
.mark {
  display: block;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
}

.mark__base {
  stroke-dasharray: 1;
}

.mark__trace {
  stroke-dasharray: 0.16 2;
  opacity: 0;
}

[data-working="true"] .mark__base {
  opacity: 0.25;
}

[data-working="true"] .mark__trace {
  opacity: 1;
  animation: trace 1.6s linear infinite;
}

@keyframes trace {
  from {
    stroke-dashoffset: 2.16;
  }
  to {
    stroke-dashoffset: 0.84;
  }
}

/* ── Header: over the image at first, solid once the page moves ─────────── */

.top {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 18px var(--edge);
  color: var(--ink);
  background: rgb(255 255 255 / 0.96);
  border-bottom: 1px solid var(--line);
  transition:
    background-color 300ms var(--ease),
    color 300ms var(--ease),
    border-color 300ms var(--ease);
}

.top[data-over-image="true"] {
  background: transparent;
  border-bottom-color: transparent;
  color: var(--white);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.nav {
  display: flex;
  gap: 30px;
  font-size: 14.5px;
}

.nav a,
.link {
  opacity: 0.78;
  text-decoration: none;
  transition: opacity 180ms var(--ease);
}

.nav a:hover,
.link:hover {
  opacity: 1;
}

.top__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  font-size: 14.5px;
}

.pill {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-weight: 500;
  text-decoration: none;
  transition:
    background-color 300ms var(--ease),
    color 300ms var(--ease);
}

.top[data-over-image="true"] .pill {
  background: var(--white);
  color: var(--ink);
}

/* ── Hero: compared in place, see hero.css ─────────────────────────────── */

.hero {
  position: relative;
}

.closing img,
.canvas__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

/* The one ask: a button that opens a work email in place. */
.look {
  display: grid;
}

.look__offer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
}

.look__offer span {
  color: rgb(255 255 255 / 0.66);
  font-size: 13.5px;
}

.look__book,
.look__form button {
  height: 44px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition:
    background-color 180ms var(--ease),
    transform 160ms var(--ease);
}

.look__book:hover,
.look__form button:hover {
  background: #e4e9f2;
}

.look__book:active {
  transform: scale(0.97);
}

.look__form {
  display: flex;
  gap: 6px;
  width: min(100%, 440px);
  padding: 4px 4px 4px 18px;
  border-radius: 999px;
  background: var(--white);
  animation: rise 420ms var(--ease) both;
}

.look__form input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
}

.look__form input::placeholder {
  color: var(--faint);
}

.look__form button {
  height: 40px;
  background: var(--ink);
  color: var(--white);
}

.look__form button:hover {
  background: var(--blue);
}

.look__sent {
  margin: 0;
  color: rgb(255 255 255 / 0.86);
  font-size: 15px;
  animation: rise 420ms var(--ease) both;
}

.closing .look {
  justify-items: center;
}

.closing .look__offer {
  justify-content: center;
}

/* ── Sections ───────────────────────────────────────────────────────────── */

.light,
.night {
  padding: clamp(104px, 12vw, 176px) var(--gutter);
}

.light--soft {
  background: var(--soft);
}

.night {
  background: var(--night);
  color: var(--night-text);
}

.intro {
  display: grid;
  justify-items: center;
  gap: 18px;
  max-width: 900px;
  margin: 0 auto clamp(56px, 7vw, 88px);
  text-align: center;
}

.intro h2 {
  margin: 0;
  font-size: clamp(38px, 4.6vw, 68px);
  line-height: 1.04;
  text-wrap: balance;
}

.intro p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13.5px;
}

.label::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.night .label,
.night .intro p {
  color: var(--night-quiet);
}

/* The product floating on an image. */
.canvas {
  position: relative;
  max-width: var(--wide);
  margin: 0 auto;
  padding: clamp(28px, 6vw, 96px);
  overflow: hidden;
  border-radius: 20px;
  background: var(--night);
}

.canvas__image {
  filter: saturate(0.7) brightness(0.62);
}

.frame {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 50px 120px -40px rgb(0 0 0 / 0.65);
  font-size: 14px;
}

.frame__bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 52px;
  padding: 0 22px;
  border-bottom: 1px solid var(--line);
}

.frame__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.frame__brand .mark {
  width: 19px;
  height: 19px;
  color: var(--blue);
}

.frame__brand span,
.frame__tools {
  color: var(--muted);
}

.frame__meta i {
  padding: 2px 7px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
  font-size: 11.5px;
  font-style: normal;
}

.frame__tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}

.frame__avatar {
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.frame__body {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  min-height: 540px;
}

.queue {
  border-right: 1px solid var(--line);
}

.queue__head {
  display: grid;
  gap: 2px;
  padding: 24px 22px 18px;
  border-bottom: 1px solid var(--line);
}

.queue__head b {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.queue__head span {
  color: var(--muted);
}

.queue__head em {
  color: var(--ink);
  font-style: normal;
}

.queue ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.queue__item {
  display: grid;
  gap: 1px;
  padding: 15px 22px;
  border-bottom: 1px solid var(--line);
  border-left: 2px solid transparent;
  cursor: pointer;
  transition:
    background-color 360ms var(--ease),
    opacity 500ms var(--ease);
}

.queue__item[data-selected="true"] {
  border-left-color: var(--blue);
  background: #f5f7fa;
}

.queue__item[data-done="true"] {
  opacity: 0.4;
}

.queue__area {
  color: var(--blue);
  font-size: 12px;
  font-weight: 500;
}

.queue__item b {
  font-weight: 500;
}

.queue__item > span:last-child {
  color: var(--muted);
  font-size: 12.5px;
}

.detail {
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  gap: 18px;
  padding: 28px 34px 22px;
  animation: rise 420ms var(--ease) both;
}

.detail__head {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}

.detail__area {
  color: var(--muted);
}

.detail__state {
  color: var(--blue);
}

.detail h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(28px, 2.8vw, 38px);
  font-weight: 300;
  letter-spacing: -0.02em;
}

.detail__fig {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.detail__fig b {
  font-size: clamp(46px, 5vw, 66px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}

.detail__fig span {
  color: var(--muted);
}

.detail__prepared {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 13.5px;
}

.detail__prepared .mark {
  width: 18px;
  height: 18px;
  color: var(--blue);
}

.steps {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
}

.steps i {
  position: relative;
  width: 18px;
  height: 18px;
  border: 1px solid #d3dae3;
  border-radius: 50%;
  transition:
    background-color 300ms var(--ease),
    border-color 300ms var(--ease);
}

.steps li[data-done="true"] i {
  border-color: var(--blue);
  background: var(--blue);
}

.steps li[data-done="true"] i::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 6px;
  width: 4px;
  height: 7px;
  border: solid var(--white);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

.steps em {
  color: var(--faint);
  font-size: 13px;
  font-style: normal;
}

.detail__foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.yes {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-weight: 500;
  transition:
    transform 160ms var(--ease),
    background-color 300ms var(--ease);
}

.yes[data-pressed="true"] {
  transform: scale(0.96);
}

.yes[data-approved="true"] {
  background: var(--blue);
}

/* ── Service as software ────────────────────────────────────────────────── */

.compare {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  border-collapse: collapse;
  font-size: clamp(17px, 1.5vw, 20px);
  letter-spacing: -0.015em;
}

.compare th {
  padding: 0 24px 18px 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  text-align: left;
}

.compare th:last-child {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
}

.compare th .mark {
  width: 16px;
  height: 16px;
}

.compare td {
  width: 50%;
  padding: 22px 24px 22px 0;
  border-top: 1px solid var(--line);
  vertical-align: top;
}

.compare td:first-child {
  color: var(--faint);
}

.compare td:last-child {
  font-weight: 500;
}

/* ── Pricing ────────────────────────────────────────────────────────────── */

.pricing {
  display: grid;
  justify-items: center;
  gap: 10px;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.pricing h2 {
  margin: 10px 0 18px;
  font-size: clamp(38px, 4.4vw, 64px);
}

.pricing__value {
  font-size: clamp(72px, 9vw, 140px);
  line-height: 0.95;
  letter-spacing: -0.035em;
}

.pricing__unit {
  color: var(--muted);
}

.pricing p {
  max-width: 480px;
  margin: 18px 0 0;
  color: var(--muted);
}

/* ── Closing: the image again, and the ask ──────────────────────────────── */

.closing {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 86vh;
  padding: 120px var(--gutter);
  overflow: hidden;
  color: var(--white);
  text-align: center;
}

.closing__shade {
  position: absolute;
  inset: 0;
  background: rgb(5 9 18 / 0.55);
}

.closing__content {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 30px;
}

.closing h2 {
  margin: 0;
  font-size: clamp(44px, 6vw, 96px);
  line-height: 1;
}

.closing__signin {
  color: rgb(255 255 255 / 0.7);
  font-size: 14.5px;
}

.closing__signin a {
  color: var(--white);
}

.foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  padding: 26px var(--edge);
  background: var(--night);
  color: var(--night-quiet);
  font-size: 13.5px;
}

.foot__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--night-text);
  font-size: 15px;
  font-weight: 600;
}

.foot__spacer {
  flex: 1;
}

.foot a {
  color: var(--night-quiet);
  text-decoration: none;
}

.foot a:hover {
  color: var(--night-text);
}

/* ── Narrow screens ─────────────────────────────────────────────────────── */

@media (max-width: 900px) {
  .top {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .frame__body {
    grid-template-columns: 1fr;
  }

  .queue,
  .frame__tools,
  .frame__meta {
    display: none;
  }

  .frame__bar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .top__actions .pill {
    display: none;
  }

  .detail {
    padding: 22px 18px;
  }

  .steps em,
  .detail__later {
    display: none;
  }

  .compare td,
  .compare th {
    padding-right: 14px;
  }

  .foot__spacer {
    display: none;
  }
}

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

  .look__form,
  .look__sent,
  .detail,
  [data-working="true"] .mark__trace {
    animation: none;
  }
}

/* ── How it works: after Harvey's product list ─────────────────────────── */

/* Windows: large crops of the product. Each is cropped by the tile it sits on, so its far side
   keeps clear of the crop with --pad-end. */
.win {
  --pad: 22px;
  --pad-end: 22px;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  overflow: hidden;
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 40px 100px -40px rgb(0 0 0 / 0.75);
  font-size: 13.5px;
  line-height: 1.45;
}

.win__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 50px;
  padding: 0 var(--pad-end) 0 var(--pad);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.win__bar .mark {
  width: 16px;
  height: 16px;
  color: var(--blue);
}

.win__bar b {
  font-weight: 500;
}

.win__bar > span {
  color: var(--muted);
}

.win__bar > span::before {
  content: "·";
  margin-right: 10px;
  color: var(--faint);
}

.win__bar em {
  color: var(--ink);
  font-style: normal;
}

.win__label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 12.5px;
}

.win__label em {
  color: var(--faint);
  font-style: normal;
}

.win__label b {
  font-weight: 400;
}

/* It notices: the work list, a new item arriving on top. */
.win__rows {
  margin: 0;
  padding: 0;
  list-style: none;
}

.win__rows li {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 15px var(--pad-end) 15px calc(var(--pad) - 2px);
  border-bottom: 1px solid var(--line);
  border-left: 2px solid transparent;
}

.win__rows li > span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 500;
}

.win__rows b {
  font-weight: 500;
}

.win__rows time {
  color: var(--muted);
  font-size: 12.5px;
}

.win__rows li[data-new] {
  border-left-color: var(--blue);
  background: #f5f7fa;
}

.win__reading {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px var(--pad-end) 18px var(--pad);
  color: var(--muted);
  font-size: 12.5px;
}

.win__reading .mark {
  width: 16px;
  height: 16px;
  color: var(--blue);
}

/* It prepares: the plan checking itself off, and what it made. */
.win__split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
}

.win__split > section {
  padding: 18px var(--pad) 24px;
}

.win__split > section + section {
  padding-right: var(--pad-end);
  border-left: 1px solid var(--line);
}

.progress ol,
.outputs ul {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.progress li {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 10px;
}

.progress li i,
.win__plan i {
  position: relative;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  border: 1.5px dashed #c3cbd6;
  border-radius: 50%;
}

.progress li[data-s="working"] i {
  border: 1.5px solid #d3dae3;
  border-top-color: var(--blue);
  animation: spin 800ms linear infinite;
}

.progress li[data-s="done"] i,
.win__plan li[data-s="done"] i {
  border: 1.5px solid var(--blue);
  background: var(--blue);
}

.progress li[data-s="done"] i::after,
.win__plan li[data-s="done"] i::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 4.5px;
  width: 3.5px;
  height: 7px;
  border: solid var(--white);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

.progress li span {
  text-decoration: line-through;
  text-decoration-color: transparent;
  transition:
    color 500ms var(--ease),
    text-decoration-color 500ms var(--ease);
}

.progress li[data-s="done"] span {
  color: var(--faint);
  text-decoration-color: currentColor;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.outputs li {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}

.outputs li svg {
  width: 12px;
  height: 14px;
  fill: none;
  stroke: #9fb0c6;
  stroke-width: 1.3;
  stroke-linejoin: round;
}

.outputs li b {
  font-weight: 500;
}

.outputs li em {
  color: var(--faint);
  font-size: 12px;
  font-style: normal;
}

/* You decide: the item, its figure, its plan, and the yes. */
.win__decide {
  display: grid;
  gap: 16px;
  padding: 22px var(--pad-end) 22px var(--pad);
}

.win__decide h4 {
  margin: 0;
  font-size: 30px;
  line-height: 1.1;
}

.win__fig {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.win__fig b {
  font-size: 54px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}

.win__fig span {
  color: var(--muted);
}

.win__plan {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.win__plan li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.win__plan i {
  margin-top: 0;
  border-style: solid;
  border-color: #d3dae3;
  transition:
    background-color 300ms var(--ease),
    border-color 300ms var(--ease);
}

.win__decide footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

/* It proves it: each change judged, including the ones that did not work. */
.verdicts {
  margin: 0;
  padding: 0;
  list-style: none;
}

.verdicts li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px var(--pad-end) 17px var(--pad);
  border-bottom: 1px solid var(--line);
}

.verdicts div {
  display: grid;
  gap: 2px;
}

.verdicts b {
  font-weight: 500;
}

.verdicts span {
  color: var(--muted);
  font-size: 12.5px;
}

.verdicts em {
  padding: 4px 10px;
  border-radius: 999px;
  background: #f1f3f6;
  color: var(--muted);
  font-size: 12.5px;
  font-style: normal;
  white-space: nowrap;
}

.verdicts em[data-v="worked"] {
  background: #e7f1ec;
  color: #2f6b55;
}

.verdicts em[data-v="no"] {
  background: #f6ecea;
  color: #9a4b42;
}

.win__note {
  padding: 16px var(--pad-end) 20px var(--pad);
  color: var(--muted);
  font-size: 12.5px;
}

/* Things that arrive one by one when the window plays. */
.win [data-in] {
  transition:
    opacity 500ms var(--ease),
    transform 700ms var(--ease);
}

.win [data-in="false"] {
  opacity: 0;
  transform: translateY(10px);
}

/* The section holds while the steps open in turn. */
.acc {
  position: relative;
  height: 440vh;
}

.acc__hold {
  position: sticky;
  top: 0;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  align-items: center;
  gap: clamp(40px, 6vw, 112px);
  max-width: var(--wide);
  height: 100vh;
  height: 100svh;
  margin: 0 auto;
  padding: 88px 0 32px;
}

.acc__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.acc__list li {
  position: relative;
  padding: 22px 0 26px;
  border-top: 1px solid var(--night-line);
}

.acc__rule {
  position: absolute;
  top: -1px;
  right: 0;
  left: 0;
  height: 2px;
  overflow: hidden;
}

.acc__rule i {
  position: absolute;
  inset: 0;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: left;
}

.acc__list li[data-on="true"] .acc__rule i {
  transform: scaleX(calc(0.04 + var(--sp, 0) * 0.96));
}

.acc__list button {
  padding: 0;
  border: 0;
  background: none;
  color: rgb(237 240 245 / 0.36);
  font: 400 clamp(23px, 2.1vw, 30px) / 1.2 var(--sans);
  letter-spacing: -0.02em;
  text-align: left;
  cursor: pointer;
  transition: color 400ms var(--ease);
}

.acc__list li[data-on="true"] button {
  color: var(--white);
}

.acc__more {
  display: grid;
  grid-template-rows: 0fr;
  margin-top: 0;
  opacity: 0;
  transition:
    grid-template-rows 700ms var(--ease),
    margin-top 700ms var(--ease),
    opacity 400ms var(--ease);
}

.acc__more p {
  min-height: 0;
  max-width: 380px;
  margin: 0;
  overflow: hidden;
  color: var(--night-quiet);
  font-size: 17px;
}

.acc__list li[data-on="true"] .acc__more {
  grid-template-rows: 1fr;
  margin-top: 12px;
  opacity: 1;
}

.acc__tile {
  position: relative;
  height: min(60vh, 540px);
  container-type: inline-size;
  overflow: hidden;
  border-radius: 12px;
  background: var(--night-2);
}

.acc__tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 900ms var(--ease);
}

.acc__tile img[data-on="true"] {
  opacity: 1;
}

.acc__win {
  position: absolute;
  top: 12%;
  right: -12%;
  bottom: -48px;
  left: 9%;
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 500ms var(--ease),
    transform 900ms var(--ease);
}

.acc__win[data-on="true"] {
  opacity: 1;
  transform: none;
}

.acc__win .win {
  --pad-end: calc(12cqw + 28px);
  height: 100%;
  font-size: 15px;
}

@media (max-width: 900px) {
  .acc__hold {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    align-content: center;
    gap: 20px;
    padding: 76px 0 20px;
  }

  .acc__list li {
    padding: 14px 0 16px;
  }

  .acc__list button {
    font-size: 21px;
  }

  .acc__more p {
    font-size: 15px;
  }

  .acc__tile {
    height: 44svh;
  }

  .win__split {
    grid-template-columns: 1fr;
  }

  .win__split > section {
    padding-right: var(--pad-end);
  }

  .outputs,
  .win__rows time {
    display: none;
  }

  .win__rows li {
    grid-template-columns: 76px minmax(0, 1fr);
  }
}

@media (max-width: 900px) and (max-height: 700px) {
  .acc__tile {
    height: 38svh;
  }
}

@media (prefers-reduced-motion: reduce) {
  .acc__win,
  .acc__tile img,
  .acc__more,
  .progress li[data-s="working"] i {
    transition: none;
    animation: none;
  }
}
