html {scroll-behavior: smooth; scroll-padding-top: 92px}
.wrap {width: min(1160px, calc(100% - clamp(40px, 10vw, 160px))); margin-inline: auto}
.symbols {position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none}
.icon {display: inline-block; flex: none; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linejoin: round; stroke-linecap: round}
.site-nav {position: sticky; z-index: 5; top: 0; background: var(--glass); border-bottom: 1px solid rgba(24,25,28,.09); -webkit-backdrop-filter: saturate(150%) blur(20px); backdrop-filter: saturate(150%) blur(20px)}
.nav-inner {min-height: 70px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center}
.brand {display: inline-flex; align-items: center; min-height: 32px; width: fit-content; color: var(--ink); text-decoration: none; font-size: 24px; line-height: 1; letter-spacing: -.055em; font-weight: 670}
.nav-links, .nav-end, .hero-actions, .site-footer nav {display: flex; align-items: center}
.nav-links {gap: 32px}
.nav-links a, .site-footer nav a {display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: 14px; text-decoration: none}
.nav-links a:hover, .site-footer nav a:hover, .nav-links a[aria-current] {color: var(--ink)}
.nav-links a[aria-current] {font-weight: 600}
.nav-end {justify-self: end; gap: 8px}
.nav-action, .primary-action, .quiet-action, .draft-link, .demo-link {display: inline-flex; align-items: center; justify-content: center; gap: 9px; text-decoration: none; font-weight: 550}
.nav-action {border: 1px solid #dadce1; border-radius: 30px; padding: 9px 16px; font-size: 13px; min-height: 38px; background: rgba(255,255,255,.84)}
.nav-action:hover, .menu-toggle:hover {background: var(--soft); border-color: #b8bdc7}
.nav-action .icon, .draft-link .icon, .demo-link .icon {width: 15px; height: 15px}
.menu-toggle {display: none; align-items: center; justify-content: center; border: 1px solid var(--line); min-width: 44px; min-height: 44px; border-radius: 50%; background: var(--paper)}
.menu-toggle[aria-expanded="false"] svg:last-child, .menu-toggle[aria-expanded="true"] svg:first-child {display: none}
/* The hero includes the fixed header, so its bottom is the viewport boundary. */
.fullscreen-home {--nav-height: 64px; --page-gutter: clamp(28px, 6vw, 122px)}
.fullscreen-home .site-nav {position: fixed; inset: 0 0 auto; background: rgba(255,255,255,.85); border-bottom-color: rgba(24,25,28,.07)}
.fullscreen-home .nav-inner {width: min(1536px, calc(100% - 2 * var(--page-gutter))); min-height: var(--nav-height); padding-top: env(safe-area-inset-top)}
.brand {letter-spacing: -.047em; font-weight: 635}
.nav-action {background: var(--ink); color: white; border-color: var(--ink)}
.nav-action:hover {background: #33353a; border-color: #33353a}
.hero {position: relative; isolation: isolate; height: 100vh; height: 100dvh; overflow: hidden; background: white; --figure-x: calc(50% + min(12vw, 240px)); --film-inset: max(12px, calc(var(--nav-height) + env(safe-area-inset-top) - 5.6vh))}
.film {position: absolute; inset: 0; z-index: -2; overflow: hidden; pointer-events: none}
.film .still, .film video {position: absolute; left: var(--figure-x); bottom: 0; display: block; width: auto; max-width: none; height: calc(100% - var(--film-inset)); aspect-ratio: 16 / 9; transform: translateX(-50%); object-fit: contain}
.film video {opacity: 0; filter: brightness(1.01)}
.film video.playing {opacity: 1}
.hero h1 {position: absolute; left: max(var(--page-gutter), calc((100% - 1536px) / 2)); top: 51%; transform: translateY(-50%); margin: 0; font-size: clamp(56px, min(7.15vw, 14vh), 134px); font-weight: 610; line-height: .99; letter-spacing: -.066em; text-wrap: nowrap; color: #17181b}
.hero h1 span {display: block}
.hero h1 span + span {color: #61656d}
.scroll-cue {position: absolute; right: max(var(--page-gutter), calc((100% - 1536px) / 2)); bottom: max(26px, env(safe-area-inset-bottom)); display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #dedfe2; border-radius: 50%; background: rgba(255,255,255,.82); color: var(--ink); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px)}
.scroll-cue .icon {width: 18px; height: 18px; transition: transform .18s}
.scroll-cue:hover {background: white; border-color: #aeb1b7}
.scroll-cue:hover .icon {transform: translateY(2px)}
.format-section {padding-block: clamp(58px, 8.5vw, 132px); border-top: 1px solid var(--line)}
.examples-inner {display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(30px,7vw,112px)}
.studio-kicker {display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 580; margin: 0 0 16px}
.studio-kicker .icon {color: var(--accent); width: 19px; height: 19px; stroke-width: 1.9}
.examples-intro h2, .workflow h2, .demo-paper h3 {text-wrap: balance; margin: 0; font-weight: 610}
.examples-intro h2 {font-size: clamp(44px, 5vw, 73px); line-height: 1.01; letter-spacing: -.065em}
.lead {color: var(--muted); margin: 18px 0 23px; max-width: 36ch; font-size: clamp(17px, 1.45vw, 22px); line-height: 1.45; letter-spacing: -.023em}
.primary-action {border-radius: 99px; min-height: 46px; padding: 0 22px; color: white; background: var(--ink); font-size: 14px}
.primary-action:hover {background: #373a41}
.primary-action .icon {width: 17px; height: 17px}
.example-desk {min-width: 0; padding: clamp(18px, 2.6vw, 32px); border-radius: 26px; background: var(--soft); border: 1px solid var(--line)}
.micro {font-size: 10px; font-weight: 650; line-height: 1.4; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0}
.formats .micro {margin: 0 0 10px}
.format-options {display: flex; gap: 3px; padding: 3px; border-radius: 16px; background: #e8e9ed}
.format {flex: 1; min-width: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 7px; padding: 9px 5px; min-height: 40px; background: transparent; border: 1px solid transparent; border-radius: 13px; color: var(--muted); font-size: 13px; font-weight: 540; overflow-wrap: anywhere}
.format .icon {width: 15px; height: 15px}
.format:hover {color: var(--ink)}
.format[aria-pressed="true"] {background: white; color: var(--ink); border-color: #dddfe4; box-shadow: 0 1px 4px #191b220b}
.draft-card {margin-top: 18px; padding: clamp(17px, 2.2vw, 28px); border: 1px solid var(--line); border-radius: 18px; background: var(--paper)}
/* One grid track reserves the tallest example at the current text size and width. */
.draft-variants {display: grid; grid-template-columns: minmax(0, 1fr)}
.draft-variant {min-width: 0; grid-area: 1 / 1; overflow-wrap: anywhere}
.draft-variant[aria-hidden="true"] {visibility: hidden}
.draft-meta {display: flex; gap: 9px; align-items: center}
.card-symbol, .demo-symbol {display: inline-flex; align-items: center; justify-content: center; color: var(--accent); background: #edf1ff; flex: none}
.card-symbol {width: 27px; height: 27px; border-radius: 9px}
.card-symbol .icon {width: 15px; height: 15px}
.draft-variant > p {margin: 13px 0 4px; font-size: clamp(16px, 1.3vw, 20px); line-height: 1.45; letter-spacing: -.018em}
.draft-link, .demo-link {min-height: 40px; color: var(--accent); font-size: 13px; gap: 5px}
.draft-link:hover, .demo-link:hover {text-decoration: underline; text-underline-offset: .23em}

.workflow {border-top: 1px solid var(--line); background: #f7f8fa; padding-block: clamp(62px, 7vw, 108px); scroll-margin-top: 10px}
.workflow-layout {display: grid; grid-template-columns: 1fr 1.12fr; gap: clamp(30px, 7vw, 120px); align-items: center}
.workflow-copy > .micro {color: var(--accent); margin-bottom: 15px}
.workflow h2 {font-size: clamp(38px, 4.25vw, 65px); line-height: 1.05; letter-spacing: -.062em}
.workflow-steps {margin-top: 32px; max-width: 380px; border-top: 1px solid var(--line)}
.workflow-steps button {width: 100%; display: flex; gap: 15px; align-items: center; padding: 16px 3px; background: transparent; border: 0; border-bottom: 1px solid var(--line); text-align: left; font-size: 16px; font-weight: 520; color: var(--muted)}
.workflow-steps button:hover, .workflow-steps button[aria-pressed="true"] {color: var(--ink)}
.workflow-steps .step-no {color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; letter-spacing: .04em}
.workflow-steps button[aria-pressed="true"] .step-no, .workflow-steps .icon {color: var(--accent)}
.workflow-steps .icon {margin-left: auto; width: 16px; height: 16px; opacity: 0}
.workflow-steps button[aria-pressed="true"] .icon {opacity: 1}
.workflow-demo {padding: clamp(20px, 3.6vw, 59px); border-radius: 28px; border: 1px solid #e3e7f0; background: radial-gradient(ellipse at 15% 0, #e4eaff, transparent 62%),linear-gradient(135deg,#e7eaf0,#eceef1 55%,#e3e8ef); position: relative}
.demo-paper {position: relative; padding: clamp(18px, 2.6vw, 35px); background: var(--paper); min-height: 310px; border: 1px solid rgba(28,37,60,.1); border-radius: 20px; box-shadow: 0 16px 36px -17px #33436e42}
.demo-head {display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; font-weight: 500}
.demo-symbol {width: 32px; height: 32px; border-radius: 10px}
.demo-symbol .icon {width: 18px; height: 18px}
.demo-paper h3 {font-size: clamp(25px, 2vw, 34px); letter-spacing: -.05em; line-height: 1.15; margin-top: 17px}
.demo-paper > p, .paper-snippet p {font-size: 14px; line-height: 1.5; margin: 9px 0 0}
.demo-paper > p {color: var(--muted)}
.paper-snippet {padding: 14px 16px; background: var(--soft); border-radius: 12px; margin: 20px 0 5px}
.paper-snippet p {margin-top: 5px}
.site-footer {min-height: 105px; display: flex; align-items: center; justify-content: space-between; gap: 24px}
.site-footer .brand {font-size: 21px}
.site-footer nav {gap: 20px}
.motion-button {display: flex; align-items: center; gap: 8px; padding: 8px 0; min-height: 44px; background: transparent; color: var(--muted); border: 0; font-size: 13px}
.motion-button::before {content: ""; width: 23px; height: 14px; border-radius: 20px; border: 1px solid #8a8d97; background: radial-gradient(circle at 6px 50%, #6c707b 4px, transparent 4.5px)}
.motion-button[aria-pressed="true"]::before {border-color: var(--accent); background: radial-gradient(circle at 15px 50%, #fff 4px, transparent 4.5px),var(--accent)}
@media (max-width: 900px) {
  .wrap {width: calc(100% - 48px)}
  .workflow-layout {gap: 28px}
}
/* Portrait layouts leave the eyes clear and place the title over the lower torso. */
@media (max-aspect-ratio: 4/3) {
  .hero {--figure-x: 50%}
  .hero::after {content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(to bottom, transparent 53%, rgba(255,255,255,.12) 62%, rgba(255,255,255,.78) 78%, rgba(255,255,255,.97) 92%, white 100%)}
  .hero h1 {left: 0; right: 0; top: auto; bottom: max(8dvh, 68px); transform: none; text-align: center; font-size: clamp(51px, min(9.8vw, 12.2vh), 105px); line-height: 1}
  .scroll-cue {right: 50%; bottom: max(12px, env(safe-area-inset-bottom)); transform: translateX(50%)}
}
@media (max-width: 700px) {
  html {scroll-padding-top: 68px}
  .fullscreen-home {--nav-height: 56px; --page-gutter: max(20px, env(safe-area-inset-left))}
  .nav-inner {min-height: 56px; display: flex; justify-content: space-between}
  .brand {font-size: 22px}
  .menu-toggle {display: inline-flex}
  .nav-links {display: none; position: absolute; inset: calc(100% + 6px) 12px auto; padding: 6px; border-radius: var(--menu-radius); border: 1px solid var(--control-edge); box-shadow: var(--menu-shadow); background: var(--menu-surface); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px)}
  .nav-links a {padding: 8px 14px; border-radius: var(--control-radius)}
  .nav-links a:is(:hover,:focus-visible,[aria-current]) {background:var(--control-hover); color:var(--ink)}
  .nav-links a:focus-visible {outline-offset:-2px}
  .nav-links.open {display: grid; gap: 0}
  .nav-action {min-height: 40px; padding-inline: 14px}
  .examples-inner, .workflow-layout {grid-template-columns: 1fr; gap: 26px}
  .format-section,.workflow {padding-block: 54px}
  .workflow-steps {max-width: none; margin-top: 21px}
  .workflow h2 {font-size: 42px}
  .demo-paper {min-height: 0}
  .site-footer {flex-wrap: wrap; gap: 8px 20px; padding-block: 24px}
  .site-footer nav {order: 3; width: 100%; flex-wrap: wrap; gap: 0 19px}
}
@media (max-width: 370px) {
  .wrap {width: calc(100% - 30px)}
  .fullscreen-home {--page-gutter: 15px}
  .format {gap: 3px}
  .format .icon {width: 13px; height: 13px}
}
@media (max-height: 480px) and (min-aspect-ratio: 4/3) {
  .fullscreen-home {--nav-height: 48px}
  .fullscreen-home .nav-links a {min-height: 38px}
  .hero {--figure-x: 65%}
  .hero h1 {top: 55%; font-size: clamp(35px, min(7.4vw, 14vh), 65px)}
  .scroll-cue {bottom: 12px; height: 38px; width: 38px}
}
@media (prefers-reduced-transparency: reduce) {
  .site-nav, .fullscreen-home .site-nav, .scroll-cue, .nav-links.open {background: var(--paper); backdrop-filter: none; -webkit-backdrop-filter:none}
}
@media (pointer: coarse) {
  .format, .draft-link, .nav-action, .demo-link {min-height: 44px}
}

.public-footer {border-top: 1px solid var(--line); background: var(--soft); color:var(--ink)}
.footer-directory {display:grid;grid-template-columns:minmax(140px,1.6fr) repeat(3,minmax(0,1fr));align-items:start;gap:clamp(20px,5vw,75px);padding-block:clamp(30px,4vw,56px)}
.footer-identity {display:flex;flex-direction:column;align-items:start;gap:12px}
.footer-identity .brand {font-size:22px; min-height:36px}
.footer-identity .motion-button {font-size:12px}
.footer-column {display:grid;align-content:start;justify-items:start}
.footer-column h2 {margin:0 0 5px;font-size:13px;line-height:1.5;font-weight:640}
.footer-column a {display:inline-flex;align-items:center;min-height:35px;padding-block:5px;color:var(--muted);text-decoration:none;font-size:13px;line-height:1.4}
.footer-column a:hover,.footer-column a[aria-current] {color:var(--ink);text-decoration:underline;text-underline-offset:3px}
.footer-company {margin-block:0;padding:17px 0 24px;border-top:1px solid var(--line);font-size:12px;line-height:1.5;color:var(--muted)}
@media(max-width:700px) {
  .footer-directory {grid-template-columns:repeat(3,minmax(0,1fr));gap:13px 16px}
  .footer-identity {grid-column:1/-1;flex-direction:row;align-items:center;justify-content:space-between;margin-bottom:5px}
  .footer-column a {min-height:40px}
}
@media(max-width:390px) {
  .footer-directory {gap:10px}
  .footer-column a,.footer-column h2 {font-size:12px}
}
