/* The homepage: a film that flies into the app on a studio desk, then the page.
   Photographed scenes show the real app through their keyed screens. */
.es-day { background: linear-gradient(rgb(235 240 240 / 0) 55%, #ebf0f0) center top / var(--wall-w) calc(var(--wall-w) * .5628) no-repeat, url("/home/media/wall-day.webp") center top / var(--wall-w) auto no-repeat, #ebf0f0; }
.es-dusk { background: linear-gradient(rgb(8 23 22 / 0) 55%, #081716) center top / var(--wall-w) calc(var(--wall-w) * .5628) no-repeat, url("/home/media/wall-dusk.webp") center top / var(--wall-w) auto no-repeat, #081716; }
.es-landing main { overflow: clip; }
.es-landing .h-import h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 5vw, 66px); line-height: 1.04; letter-spacing: -.022em; }
/* The story thread */
.h-story { display: grid; gap: 70px; }
.h-thread { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.h-thread::before { content: ""; position: absolute; left: 7px; right: 0; top: 11px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--teal), color-mix(in srgb, var(--teal) 30%, transparent)); }
.h-thread-item { position: relative; display: flex; flex-direction: column; gap: 18px; }
.h-when { position: relative; z-index: 1; width: fit-content; padding: 0 14px 0 30px; background: var(--paper); font-size: 13px; font-weight: 650; line-height: 24px; color: var(--ink-2); }
.h-when::before { content: ""; position: absolute; left: 0; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 2px solid var(--teal); box-sizing: border-box; }
.h-thread-ask .h-when::before { background: var(--teal); }
.h-card { flex: 1; padding: 22px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(16, 35, 34, .04), 0 12px 32px rgba(16, 35, 34, .05); }
.h-card-kind { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: var(--muted); }
.h-card-kind .ico { font-size: 15px; }
.h-card-title { margin-top: 12px; font-size: 17px; font-weight: 650; }
.h-card > p:last-child { margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.h-card-answer { background: var(--ink); border-color: var(--ink); color: var(--night-text); box-shadow: 0 20px 50px rgba(16, 35, 34, .22); }
.h-card-question { font-family: var(--serif); font-size: 22px; line-height: 1.2; color: #fff; }
.h-card-answer > p:not(.h-card-question):not(.h-card-sources) { margin-top: 12px; font-size: 15px; line-height: 1.55; color: var(--night-text); }
.h-card .h-card-sources { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.h-card-sources span { font-size: 12px; padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: var(--night-text); }
/* Dark sections */
.h-dark { color: var(--night-text); }
.h-dark .h-heading > p { color: var(--night-muted); }
.h-split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 80px; align-items: center; }
.h-points { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 14px; }
.h-points li { position: relative; padding-left: 28px; font-size: 16px; line-height: 1.5; color: var(--night-text); }
.h-points li::before { content: ""; position: absolute; left: 3px; top: .5em; width: 8px; height: 8px; border-radius: 50%; background: var(--teal-bright); }
.h-source-demo { position: relative; display: grid; gap: 16px; }
.h-answer-card { padding: 30px; border-radius: 22px; background: var(--night-2); border: 1px solid var(--night-line); font-size: 19px; line-height: 1.6; color: var(--night-text); }
.h-answer-q { margin-bottom: 14px; font-family: var(--serif); font-size: 30px; line-height: 1.1; color: #fff; }
.h-dark .cite { background: rgba(60, 199, 171, .18); color: var(--teal-bright); }
.h-dark .cite:hover, .h-dark .cite[aria-pressed="true"] { background: var(--teal-bright); color: var(--night); }
.h-source-card { margin-left: 44px; padding: 22px 24px; border-radius: 18px; background: #fafdfd; color: var(--ink); box-shadow: 0 30px 60px rgba(0, 0, 0, .35); animation: h-rise .45s var(--ease); }
.h-source-head { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 14px; font-weight: 650; }
.h-source-head .ico { color: var(--teal); font-size: 16px; }
.h-source-head small { font-size: 12.5px; font-weight: 450; color: var(--muted); }
.h-source-card > p:last-child { margin-top: 12px; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.h-source-card mark { background: rgba(60, 199, 171, .26); color: var(--ink); border-radius: 4px; padding: 1px 3px; }
@keyframes h-rise { from { opacity: 0; transform: translateY(10px); } }
/* Feature grid */
.h-bento { margin-top: 64px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.h-tile { position: relative; display: flex; flex-direction: column; min-height: 240px; padding: 28px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.h-tile-wide { grid-column: span 2; }
.es-landing .h-tile h3 { margin-top: 26px; font-size: 19px; font-weight: 650; letter-spacing: -.015em; line-height: 1.25; }
.h-tile p { margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.h-tile code { font: 600 .9em ui-monospace, "SF Mono", Menlo, monospace; color: var(--teal); background: var(--teal-soft); padding: 1px 5px; border-radius: 5px; }
.es-landing .h-tile-copy h3 { margin-top: 0; }
.h-tile-spaces, .h-tile-write { justify-content: space-between; }
.h-write-sample { margin-top: 26px; padding: 18px 20px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-size: 16px; line-height: 1.65; color: var(--ink-2); }
.h-md { color: var(--muted); opacity: .6; margin-right: 4px; font-weight: 600; }
.h-write-sample strong { color: var(--ink); }
.h-squiggle { text-decoration: underline wavy #e0584a; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
/* Import */
.h-import { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.h-import > div > p { margin-top: 18px; font-size: 18px; line-height: 1.55; color: var(--ink-2); max-width: 470px; }
.h-import-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.h-import-list li { display: flex; align-items: center; gap: 14px; padding: 20px 22px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); font-size: 17px; font-weight: 600; }
.h-import-list .ico { font-size: 22px; color: var(--teal); }
#import { padding-top: 60px; }
/* Pricing */
.h-pricing { background: linear-gradient(180deg, var(--paper), var(--paper-2)); }
.es-landing .es-billing { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 40px; }
.es-landing .es-billing:not([data-ready]) { display: none; }
.es-landing .billing-toggle { display: inline-flex; gap: 0; margin: 0; padding: 3px; border: 0; border-radius: 11px; background: rgba(16, 35, 34, .07); }
.es-landing .billing-toggle button { min-width: 100px; height: 34px; min-height: 0; padding: 0 14px; border: 0; border-radius: 9px; background: transparent; font-size: 14px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.es-landing .billing-toggle button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(16, 35, 34, .12); }
.es-landing #billing-savings { font-size: 13px; color: var(--muted); }
.es-landing .es-plan-grid { margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.es-landing .plan-row { display: flex; flex-direction: column; padding: 30px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); }
.es-landing .plan-row:nth-child(2) { background: var(--ink); color: var(--night-text); border-color: var(--ink); box-shadow: 0 30px 70px rgba(16, 35, 34, .25); }
.es-landing .plan-identity h3 { font-size: 17px; font-weight: 650; }
.es-landing .plan-amount { margin-top: 14px; font-family: var(--serif); font-size: 54px; font-weight: 500; line-height: 1; letter-spacing: -.02em; }
.es-landing .plan-amount small { margin-left: 6px; font-family: var(--sans); font-size: 15px; letter-spacing: 0; color: var(--muted); }
.es-landing .plan-equivalent { display: block; margin-top: 8px; font-size: 13px; color: var(--muted); }
.es-landing .plan-row:nth-child(2) .plan-amount small, .es-landing .plan-row:nth-child(2) .plan-equivalent { color: var(--night-muted); }
.es-landing .plan-detail { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.es-landing .plan-row:nth-child(2) .plan-detail { border-color: var(--night-line); }
.es-landing .plan-detail > p { font-size: 15px; line-height: 1.5; color: inherit; }
.es-landing .plan-features { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.es-landing .plan-features li { position: relative; padding-left: 20px; font-size: 14.5px; line-height: 1.45; }
.es-landing .plan-features li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.es-landing .plan-row:nth-child(2) .plan-features li::before { background: var(--teal-bright); }
.es-landing .plan-actions { margin-top: auto; padding-top: 28px; display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
.es-landing .plan-actions .button { min-height: 46px; border-radius: 11px; font-size: 15px; font-weight: 600; background: var(--ink); color: #fff; }
.es-landing .plan-actions .button:hover { transform: none; }
.es-landing .plan-row:nth-child(2) .plan-actions .button { background: #fff; color: var(--ink); }
.es-landing .plan-actions .button[disabled] { opacity: .45; cursor: not-allowed; }
.es-landing .plan-aside { font-size: 12.5px; line-height: 1.45; color: var(--muted); text-align: center; }
.es-landing .plan-row:nth-child(2) .plan-aside { color: var(--night-muted); }
.es-landing .price-secondary-action { min-height: 36px; font-size: 13.5px; font-weight: 600; color: inherit; }
.es-landing .price-secondary-action[disabled] { opacity: .55; cursor: not-allowed; }
.es-landing .es-pricing-status { margin-top: 18px; text-align: center; font-size: 13px; color: var(--muted); }
.es-landing .es-pricing-status:empty { display: none; }
.t-notes { max-width: 760px; margin: 36px auto 0; }
/* Questions */
.h-faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
.t-faq details, .t-notes details { border-bottom: 1px solid var(--line-2); }
.t-faq details:first-child, .t-notes details:first-child { border-top: 1px solid var(--line-2); }
.es-landing :is(.t-faq, .t-notes) summary { position: relative; list-style: none; padding: 22px 40px 22px 0; font-size: 18px; font-weight: 600; letter-spacing: -.01em; cursor: pointer; }
.es-landing .t-notes summary { font-size: 15px; padding-block: 16px; }
.es-landing :is(.t-faq, .t-notes) summary::-webkit-details-marker { display: none; }
.es-landing :is(.t-faq, .t-notes) summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 12px; height: 12px; margin-top: -6px; background: linear-gradient(var(--ink), var(--ink)) center / 12px 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.5px 12px no-repeat; transition: transform .3s var(--ease); }
.es-landing :is(.t-faq, .t-notes) details[open] summary::after { transform: rotate(45deg); }
.es-landing :is(.t-faq, .t-notes) p { padding: 0 40px 24px 0; font-size: 16px; line-height: 1.65; color: var(--ink-2); }
.t-faq a { color: var(--teal); font-weight: 600; }
/* Closing */
.h-closing { position: relative; padding: 150px 0; background: var(--night); color: #fff; text-align: center; isolation: isolate; overflow: hidden; }
.h-closing-copy { display: flex; flex-direction: column; align-items: center; }
.es-landing .h-closing h2 { margin-top: 22px; font-family: var(--serif); font-weight: 500; font-size: clamp(46px, 6.6vw, 90px); line-height: 1; letter-spacing: -.025em; }
.h-closing-copy > p:not(.h-fineprint) { margin: 22px 0 36px; font-size: 19px; color: var(--night-muted); }
.h-closing .h-fineprint { color: var(--night-muted); }
@media (max-width: 1050px) {
  .h-thread { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .h-thread::before { display: none; }
  .h-split, .h-faq-layout, .h-import { grid-template-columns: 1fr; gap: 50px; }
  .h-bento { grid-template-columns: repeat(2, 1fr); }
  .es-landing .es-plan-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
}
@media (max-width: 700px) {
  .h-thread, .h-bento { grid-template-columns: 1fr; }
  .h-tile-wide { grid-column: auto; }
  .h-tile { min-height: 0; }
  .h-source-card { margin-left: 16px; }
  .h-closing { padding: 110px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .es-landing *, .es-landing *::before, .es-landing *::after { transition: none !important; animation: none !important; }
}
@media (prefers-reduced-motion: no-preference) {
  .h-fineprint { animation: h-enter 1.1s var(--ease) both; }
  .h-fineprint { animation-delay: .38s; }
  @keyframes h-enter { from { opacity: 0; transform: translateY(22px); filter: blur(6px); } }
  @keyframes h-stage { from { opacity: 0; transform: translateY(60px) scale(.97); } }
  @supports (animation-timeline: view()) {
    @keyframes h-tilt { from { transform: perspective(1800px) rotateX(10deg) scale(.95); } to { transform: none; } }
  }
}
.h-tile, .h-card, .h-import-list li, .es-landing .plan-row { transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; }
.h-tile:hover, .h-import-list li:hover { transform: translateY(-3px); box-shadow: 0 22px 50px rgba(16, 35, 34, .09); border-color: rgba(16, 35, 34, .16); }
.h-card:hover { transform: translateY(-3px); }
.h-source-card { animation: h-swap .5s var(--ease); }
@keyframes h-swap { from { opacity: 0; transform: translateY(12px) scale(.985); } }
.h-dark, .h-closing { position: relative; isolation: isolate; }
/* Assets: window light on the hero wall, the app icon, dusk in the dark sections,
   the real drawings and photos, the Mac, and the studio desk to close */
@media (prefers-reduced-motion: no-preference) {
  @keyframes h-icon-in { from { opacity: 0; transform: translateY(14px) scale(.92); } }
}
.h-card-photo { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; margin-top: 14px; border-radius: 10px; }
.h-tile-files { justify-content: space-between; gap: 22px; }
.h-files { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.h-files li { display: flex; flex-direction: column; gap: 8px; font-size: 12px; font-weight: 550; color: var(--ink-2); }
.h-file { position: relative; display: block; aspect-ratio: 1 / 1.1; border-radius: 9px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); transition: transform .35s var(--ease); }
.h-file::before { content: ""; position: absolute; inset: 10px; background: var(--teal); opacity: .9; -webkit-mask: var(--drawing) center / contain no-repeat; mask: var(--drawing) center / contain no-repeat; }
.h-tile-files:hover .h-file:nth-child(odd), .h-tile-files:hover li:nth-child(odd) .h-file { transform: translateY(-4px); }
.h-tile-files:hover li:nth-child(even) .h-file { transform: translateY(-2px); }
.h-file-plan { --drawing: url("/home/media/drawing-plan.webp"); }
.h-file-tiles { --drawing: url("/home/media/drawing-tile-detail.webp"); }
.h-file-ceiling { --drawing: url("/home/media/drawing-ceiling.webp"); }
.h-file-facade { --drawing: url("/home/media/drawing-facade.webp"); }
.h-closing { min-height: min(max(640px, 64vw), 1300px); padding: max(84px, 6.5vw) 0 0; background: #d9d4c9; color: var(--ink); }
.h-closing-copy { position: relative; }
.es-landing .h-closing h2 { margin-top: 0; font-size: clamp(42px, 5vw, 76px); color: var(--ink); }
.h-closing-copy > p:not(.h-fineprint) { margin: 14px 0 26px; color: var(--ink-2); }
@media (min-width: 900px) {
  .h-br { display: none; }
}
.h-closing .h-fineprint { color: var(--ink-2); }
@media (max-width: 700px) {
  .h-closing { min-height: 620px; padding-top: 90px; }
  .h-files { grid-template-columns: 1fr 1fr; }
}
/* The dark sections are panels set into the page, not bands across it; the
   Answers wall is kept quiet so the cards lead. */
.h-dark { margin-inline: 14px; border-radius: 32px; background-color: var(--night); overflow: hidden; }
.h-dark.es-dusk { box-shadow: inset 0 0 0 100vmax rgb(12 27 26 / .58); }
@media (max-width: 700px) {
  .h-dark { margin-inline: 8px; border-radius: 22px; }
}
/* Round 3 assets: Space covers, the journal on paper, painted icons, the plane */
.h-spaces { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.h-spaces li { display: flex; flex-direction: column; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.h-spaces img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 12px; box-shadow: 0 0 0 1px var(--line); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.h-tile-spaces:hover .h-spaces li:nth-child(odd) img { transform: translateY(-4px) rotate(-1.2deg); }
.h-tile-spaces:hover .h-spaces li:nth-child(even) img { transform: translateY(3px) rotate(1deg); }
.h-tile-photo { padding: 0; }
.h-tile-img { display: block; width: 100%; height: 150px; object-fit: cover; object-position: 30% 45%; }
.es-landing .h-tile-photo h3, .h-tile-photo p { padding-inline: 28px; }
.h-tile-photo p { padding-bottom: 28px; }
.es-landing .h-tile-photo h3 { margin-top: 22px; }
.h-tile-app-icon { display: block; width: 52px; height: 52px; margin-bottom: auto; filter: drop-shadow(0 8px 14px rgba(16, 35, 34, .18)); transition: transform .45s var(--ease); }
.h-tile:hover .h-tile-app-icon { transform: translateY(-3px) rotate(-3deg); }
@media (max-width: 700px) {
  .h-spaces { grid-template-columns: 1fr 1fr; }
}
/* Your work is yours: the plane photo runs off the left edge, the promises sit
   beside it as plain text. No panel, no cards. */
.h-own { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 88px); align-items: center; max-width: 1560px; margin-inline: auto; padding-right: 40px; }
@media (min-width: 1561px) {
  .h-own { padding-inline: 40px; }
  .h-own-photo .es-frame { border-radius: 28px !important; }
  .h-own-photo figcaption { margin-left: 0 !important; }
}
.h-own-photo { margin: 0; }
.h-own-photo .es-frame { border-radius: 0 28px 28px 0; box-shadow: 0 40px 90px rgba(16, 35, 34, .16); }
.h-own-photo figcaption { margin: 14px 0 0 max(24px, calc((100vw - var(--width)) / 2)); font-size: 13px; color: var(--muted); }
.h-own-copy .h-heading { max-width: 600px; }
.es-landing .h-own-copy h2 { font-size: clamp(40px, 4.2vw, 62px); }
.h-promises { margin: 44px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 34px clamp(28px, 3vw, 56px); max-width: 720px; }
.h-promises dt { font-size: 17px; font-weight: 650; color: var(--ink); }
.h-promises dd { margin: 8px 0 0; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.h-own-link { margin-top: 36px; }
.h-own-link a { font-size: 15px; font-weight: 600; color: var(--teal); border-bottom: 1px solid rgba(8, 123, 108, .35); padding-bottom: 2px; }
@media (max-width: 900px) {
  .h-own { grid-template-columns: 1fr; padding-right: 0; }
  .h-own-photo .es-frame { border-radius: 0; }
  .h-own-copy { padding-inline: 24px; }
  .h-promises { grid-template-columns: 1fr; }
}
/* Take 5: take 2's film as the opening, then take 4's page. The film's rules
   come from take 2, on take 4's palette and type. */
.es-landing {
  --signal: var(--teal);
  --signal-bright: var(--teal-bright);
  --display: var(--serif);
  --body: var(--sans);
  --rule: var(--line);
  --canvas: var(--paper);
}
/* take 4's floating header rides over the film */
.es-landing .h-header { margin-bottom: -68px; }
.es-landing .c-film-head { top: 116px; align-items: end; }
.es-landing .c-film h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(46px, 5vw, 76px); line-height: 1.02; letter-spacing: -.028em; color: var(--ink); }
.es-landing .c-hero-side p { font-size: 18px; line-height: 1.5; color: var(--ink-2); max-width: 430px; }
.es-landing .c-hero-side small { font-size: 13px; color: var(--ink-2); opacity: .8; }
.c-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.es-landing .h-ghost .h-play { background: rgb(255 255 255 / .7); }
/* The closing: the daylight wall and the app icon (the film already opens on the desk) */
.es-landing .h-closing { --wall-w: max(1672px, 100%); min-height: 0; padding: 150px 0 160px; background: linear-gradient(rgb(235 240 240 / 0) 55%, #ebf0f0) center top / var(--wall-w) calc(var(--wall-w) * .5628) no-repeat, url("/home/media/wall-day.webp") center top / var(--wall-w) auto no-repeat, #ebf0f0; }
.h-closing-icon { width: 104px; height: 104px; margin-bottom: 26px; filter: drop-shadow(0 18px 26px rgba(16, 35, 34, .22)); }
/* The film: a studio desk, the app on the Mac's screen; take.js flies the camera */
.c-film { position: relative; background: #bfb8ae; color: var(--ink); }
.c-film-stage { position: relative; overflow: hidden; isolation: isolate; }
.c-film-world { position: relative; width: 100%; aspect-ratio: 1672 / 941; transform-origin: 0 0; --S: 1; }
.c-film-desk { position: absolute; inset: 0; display: block; width: 100%; height: 100%; pointer-events: none; user-select: none; }
/* The app sits behind the photo, showing through its keyed screen. */
.c-film-screen { position: absolute; left: 40.13%; top: 51.75%; width: 19.68%; height: 21.57%; background: #fafdfd; overflow: hidden; }
.c-film-screen img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: left top; opacity: 0; transition: opacity .7s var(--ease); }
.c-film-screen img.is-shown { opacity: 1; }
.c-film-mark { position: absolute; opacity: 0; border-radius: calc(7px / var(--S)); box-shadow: 0 0 0 calc(2px / var(--S)) var(--signal-bright), 0 0 0 calc(7px / var(--S)) rgba(55, 198, 176, .22), 0 0 0 300vmax rgba(8, 20, 19, .2); pointer-events: none; transition: left .5s var(--ease), top .5s var(--ease), width .5s var(--ease), height .5s var(--ease); }
.c-film-head { position: absolute; left: 50%; top: 104px; transform: translateX(-50%); display: grid; grid-template-columns: 1.25fr 1fr; gap: 64px; align-items: end; }
.c-hero-side { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding-bottom: 6px; }
/* Without the film (phones, reduced motion, no script): the desk, then each stop as a close-up */
.c-film:not(.film-ready) .c-film-stage { display: flex; flex-direction: column; }
.c-film:not(.film-ready) .c-film-head { position: static; transform: none; order: -1; padding: 120px 0 48px; width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.c-film:not(.film-ready) .c-film-deck { width: min(1200px, calc(100% - 64px)); margin: 72px auto 110px; }
.c-film-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 48px 36px; }
.es-landing .c-film-steps h2 { margin-top: 20px; font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.c-film-steps p { margin-top: 8px; font-size: 16px; line-height: 1.55; color: var(--ink-2); }
/* A still close-up of the real app: --s zoom, --l/--t the image's visible corner */
.c-crop { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 14px; background: #fafdfd; box-shadow: 0 0 0 1px rgba(16, 35, 34, .1), 0 18px 40px rgba(16, 35, 34, .12); }
.c-crop img { position: absolute; inset: 0; width: 100%; height: 100%; transform-origin: 0 0; transform: scale(var(--s, 1)) translate(calc(var(--l, 0) * -100%), calc(var(--t, 0) * -100%)); transition: transform 1.4s var(--ease); }
/* With the film */
.c-film.film-ready { height: max(640px, 100vh); }
.film-ready .c-film-stage { position: relative; height: 100%; cursor: grab; touch-action: pan-y; }
.film-ready .c-film-stage.is-dragging { cursor: grabbing; }
.film-ready .c-film-world { position: absolute; left: 0; top: 0; width: 1672px; aspect-ratio: auto; height: 941px; }
.film-ready .c-film-head { opacity: var(--intro, 1); transform: translate(-50%, calc((1 - var(--intro, 1)) * -50px)); cursor: auto; }
.film-ready .c-film-deck { position: absolute; left: max(32px, calc(50vw - 640px)); bottom: 40px; width: 392px; padding: 24px 24px 18px; border-radius: 20px; background: rgba(12, 24, 23, .9); color: var(--night-text); -webkit-backdrop-filter: blur(24px) saturate(1.4); backdrop-filter: blur(24px) saturate(1.4); box-shadow: 0 0 0 1px rgba(255, 255, 255, .07), 0 30px 70px rgba(0, 0, 0, .35); cursor: auto; opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.film-ready .has-caption .c-film-deck { opacity: 1; transform: none; pointer-events: auto; }
.film-ready .c-film-steps { display: grid; grid-template-columns: none; gap: 0; }
.film-ready .c-film-steps li { grid-area: 1 / 1; opacity: 0; transform: translateY(8px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.film-ready .c-film-steps li.is-active { opacity: 1; transform: none; transition-delay: .1s; }
.film-ready .c-film-steps .c-crop { display: none; }
.es-landing .film-ready .c-film-steps h2 { margin: 0; font-size: 24px; line-height: 1.15; letter-spacing: -.025em; color: #fff; }
.film-ready .c-film-steps p { font-size: 16px; color: var(--night-muted); }
/* The controls */
.c-film-controls { margin-top: 20px; }
.c-film-chapters { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 5px; }
.c-film-chapters button { display: flex; flex-direction: column; gap: 8px; padding: 0 0 2px; border: 0; background: none; font: 600 11.5px/1.2 var(--body); letter-spacing: .01em; color: var(--night-muted); text-align: left; cursor: pointer; transition: color .2s; }
.c-film-chapters i { display: block; height: 3px; border-radius: 2px; background: linear-gradient(var(--signal-bright), var(--signal-bright)) left / calc(var(--fill, 0) * 100%) 100% no-repeat, rgba(233, 244, 241, .16); }
.c-film-chapters button:hover { color: #fff; }
.c-film-chapters button[aria-current] { color: #fff; }
.c-film-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(233, 244, 241, .1); }
.c-film-pair { display: flex; gap: 6px; }
.c-film-hint { font-size: 12.5px; color: var(--night-muted); }
.c-knob { position: relative; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(233, 244, 241, .09); color: var(--night-text); cursor: pointer; transition: background .2s, transform .15s var(--ease); }
.c-knob:hover { background: rgba(233, 244, 241, .18); color: #fff; }
.c-knob:active { transform: scale(.93); }
.c-knob::before { content: ""; position: absolute; left: 9px; top: 9px; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--glyph) center / contain no-repeat; mask: var(--glyph) center / contain no-repeat; }
.c-knob-prev { --glyph: var(--c-chevron-left); }
.c-knob-next { --glyph: var(--c-chevron-right); }
.c-knob-in { --glyph: var(--c-plus); }
.c-knob-out { --glyph: var(--c-minus); }
.es-landing {
  --c-chevron-left: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M10 3.5 5.5 8l4.5 4.5' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --c-chevron-right: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6 3.5 10.5 8 6 12.5' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --c-plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3v10M3 8h10' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  --c-minus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8h10' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  --c-arrow-down: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 2.5v10.5M3.5 8.5 8 13l4.5-4.5' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
/* The pointer inside the app: a Mac arrow kept the same size on screen at any zoom */
.c-film-cursor { position: absolute; z-index: 3; width: calc(19px / var(--S)); height: calc(28px / var(--S)); margin: calc(-2px / var(--S)) 0 0 calc(-3px / var(--S)); opacity: 0; pointer-events: none; transform: scale(calc(1 - var(--press, 0) * (1 - var(--press, 0)) * .5)); transform-origin: 15% 10%; filter: drop-shadow(0 calc(2px / var(--S)) calc(3px / var(--S)) rgba(0, 0, 0, .35)); }
.c-film-cursor::before { content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 19 28'%3E%3Cpath d='M2 1.5v21.2l5.1-4.9 3.3 7.6 3.6-1.6-3.3-7.4h7.1z' fill='%23111' stroke='%23fff' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.c-film-cursor i { position: absolute; left: calc(3px / var(--S)); top: calc(2px / var(--S)); width: calc(34px / var(--S)); height: calc(34px / var(--S)); margin: calc(-17px / var(--S)) 0 0 calc(-17px / var(--S)); border-radius: 50%; border: calc(2px / var(--S)) solid var(--signal-bright); opacity: calc((1 - var(--press, 0)) * min(1, var(--press, 0) * 8)); transform: scale(calc(.4 + var(--press, 0) * 1.2)); }
/* The task being ticked */
.c-film-tick { position: absolute; z-index: 2; border-radius: 22%; background: var(--signal); transform: scale(.4); opacity: 0; transition: opacity .25s, transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.c-film-tick::before { content: ""; position: absolute; inset: 18%; background: #fff; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5 6.5 11.5 12.5 4.5' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5 6.5 11.5 12.5 4.5' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.c-film-tick.is-on { opacity: 1; transform: none; }
/* Play and pause */
.c-knob-play { --glyph: var(--c-play); background: rgba(55, 198, 176, .2); color: #fff; }
.c-knob-play.is-playing { --glyph: var(--c-pause); background: rgba(233, 244, 241, .09); }
.c-knob-stop { --glyph: var(--c-stop); }
/* At the end, or after Stop, the headline eases back in. */
.film-ready .is-settling .c-film-head { transition: opacity .9s var(--ease), transform .9s var(--ease); }
.es-landing {
  --c-play: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5.5 3.6v8.8a.7.7 0 0 0 1.06.6l7-4.4a.7.7 0 0 0 0-1.2l-7-4.4a.7.7 0 0 0-1.06.6z'/%3E%3C/svg%3E");
  --c-pause: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect x='4' y='3.5' width='2.6' height='9' rx='.9'/%3E%3Crect x='9.4' y='3.5' width='2.6' height='9' rx='.9'/%3E%3C/svg%3E");
  --c-stop: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect x='4' y='4' width='8' height='8' rx='1.4'/%3E%3C/svg%3E");
}
@media (max-width: 1000px) {
  .c-film-head { grid-template-columns: 1fr; gap: 28px; }
  .es-landing .h-header { margin-bottom: 0; }
}
