/* Gain Curve: the quiet sleeve. Graphite, bone, fog; Jost; no boxes, hairlines and space do the grouping. */
@font-face { font-family: "Jost"; src: url("fonts/Jost.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #141516; --bg2: #191A1B; --text: #E6E3DC; --dim: #BDC0C2; --faint: #8F9396; --line: #2A2C2E; --line2: #3A3D40;
  --sage: #9DB8A8; --warm: #C98A6B;
  --sans: "Jost", -apple-system, "Helvetica Neue", sans-serif;
  --pad: clamp(20px, 4vw, 56px); --max: 1280px;
  color-scheme: dark;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--text); font: 400 1.1875rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums; overflow-x: hidden; }
::selection { background: var(--text); color: var(--bg); }
:focus-visible { outline: 1px solid var(--text); outline-offset: 4px; }
html { scrollbar-color: var(--line2) var(--bg); }
::-webkit-scrollbar { width: 10px; } ::-webkit-scrollbar-track { background: var(--bg); } ::-webkit-scrollbar-thumb { background: var(--line2); border: 3px solid var(--bg); border-radius: 6px; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input { font: inherit; color: inherit; }

.lc { text-transform: lowercase; letter-spacing: .04em; font-size: 1rem; font-weight: 400; }
.dim { color: var(--dim); } .faint { color: var(--faint); }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 20; display: flex; align-items: center; gap: 36px; padding: 26px var(--pad); color: var(--dim); transition: background .4s, padding .4s; }
.nav.solid { background: rgba(20,21,22,.94); padding-top: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.nav a { text-decoration: none; } .nav a:hover { color: var(--text); }
.nav .links { display: flex; gap: 36px; }
.nav .name { color: var(--text); margin-right: auto; display: flex; align-items: center; gap: 10px; letter-spacing: .04em; font-size: 17px; }
.nav .name svg { width: 26px; height: 19px; }
.nav .buy { color: var(--text); border-bottom: 1px solid var(--text); padding-bottom: 2px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 30px; font-weight: 500; background: var(--text); color: var(--bg); text-decoration: none; transition: background .2s; }
.btn:hover { background: #fff; }
.btn.line { background: none; color: var(--text); border: 1px solid var(--line2); }
.btn.line:hover { border-color: var(--text); }
.btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.word { text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }

/* type */
h1 { font-weight: 300; font-size: clamp(36px, 4.2vw, 58px); line-height: 1.14; letter-spacing: -.01em; text-wrap: balance; }
h2 { font-weight: 300; font-size: clamp(31px, 3.4vw, 46px); line-height: 1.18; letter-spacing: -.008em; text-wrap: balance; }
h3 { font-weight: 500; font-size: 1.3125rem; line-height: 1.35; }
p { max-width: 66ch; }
section { padding-top: clamp(96px, 12vw, 168px); }
.rule { border-top: 1px solid var(--line); }

/* rows: the list grammar used instead of cards */
.rows { list-style: none; margin-top: 40px; }
.rows li { display: grid; grid-template-columns: minmax(140px, 220px) 1fr; gap: 24px; padding: 20px 0; border-top: 1px solid var(--line); color: var(--dim); }
.rows li b { color: var(--text); font-weight: 500; }
.rows li:last-child { border-bottom: 1px solid var(--line); }

/* questions */
details { border-top: 1px solid var(--line); }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 24px 0; font-size: 1.25rem; font-weight: 400; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: none; width: 12px; height: 12px; margin-top: 8px; background: linear-gradient(var(--dim), var(--dim)) center / 12px 1px no-repeat, linear-gradient(var(--dim), var(--dim)) center / 1px 12px no-repeat; transition: transform .3s cubic-bezier(.16,1,.3,1); }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--dim); padding: 0 0 24px; margin-top: -6px; }
:root { interpolate-size: allow-keywords; }
details::details-content { height: 0; overflow: clip; opacity: 0; transition: height .42s cubic-bezier(.16,1,.3,1), opacity .3s, content-visibility .42s allow-discrete; }
details[open]::details-content { height: auto; opacity: 1; }
summary { transition: color .2s; } summary:hover { color: #fff; }

/* footer */
footer { margin-top: clamp(120px, 14vw, 200px); border-top: 1px solid var(--line); padding: 64px 0 calc(56px + env(safe-area-inset-bottom)); }
.fgrid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.fgrid h4 { font-weight: 500; color: var(--dim); margin-bottom: 14px; }
.fgrid a { display: block; text-decoration: none; color: var(--dim); padding: 5px 0; font-size: 1.0625rem; } .fgrid a:hover { color: var(--text); }
.fbrand { color: var(--text); letter-spacing: .04em; font-size: 17px; display: flex; gap: 10px; align-items: center; }
.fbrand svg { width: 24px; height: 18px; }
.fnote { color: var(--dim); margin-top: 14px; font-size: 1rem; max-width: 34ch; }
.social { margin-top: 18px; display: flex; gap: 14px; }
.fgrid .social a { display: inline-flex; padding: 0; color: var(--dim); }
.social svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.social svg .dot { fill: currentColor; stroke: none; }
.fbottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 56px; color: var(--faint); font-size: .9375rem; }

/* sub pages */
.page { padding-top: 160px; }
.page .lead { color: var(--dim); font-size: 1.375rem; margin-top: 22px; max-width: 60ch; }
.prose h2 { margin-top: 72px; font-size: 28px; }
.prose h3 { margin-top: 36px; }
.prose p, .prose li { color: var(--dim); margin-top: 14px; max-width: 70ch; }
.prose ul { padding-left: 20px; }
.prose b { color: var(--text); font-weight: 400; }
.prose ol { padding-left: 22px; }
.prose a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a.btn { color: var(--bg); text-decoration: none; }
.prose a.btn.line { color: var(--text); }
.prose .cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 20px; }
.prose table { width: 100%; max-width: 760px; border-collapse: collapse; margin-top: 22px; font-size: 16px; }
.prose th, .prose td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line, #3A3D40); vertical-align: top; }
.prose th { color: var(--text); font-weight: 400; }
.prose td { color: var(--dim); }
.prose td:first-child { color: var(--text); }
.guides { list-style: none; padding: 0; margin-top: 40px; }
.guides li { padding: 22px 0; border-bottom: 1px solid var(--line, #3A3D40); }
.guides a { font-size: 22px; color: var(--text); text-decoration: none; }
.guides p { margin-top: 8px; color: var(--dim); max-width: 70ch; }

/* colour fields: a section can own a full-bleed ground. .lift = a step lighter graphite; .paper = the bone sleeve, graphite ink */
.band { position: relative; background: var(--bandbg); box-shadow: 0 0 0 100vmax var(--bandbg); clip-path: inset(0 -100vmax); padding-bottom: clamp(96px, 12vw, 168px); margin-top: clamp(96px, 12vw, 168px); }
.band + section { padding-top: clamp(96px, 12vw, 168px); }
.band + .band { margin-top: 0; }   /* two fields meet edge to edge, no graphite strip between them */
@media (max-width: 860px) { .band { padding-top: 72px; padding-bottom: 72px; } .band + section:not(.band) { padding-top: 88px; } }
.lift { --bandbg: #1D1E20; }
.paper { --bandbg: #E6E3DC; --text: #161718; --bg: #E6E3DC; --dim: #45494D; --faint: #5E6266; --line: #C4C1B9; --line2: #8F9396; color: var(--text); }
.paper ::selection { background: #161718; color: #E6E3DC; }
.paper a:not(.btn) { color: var(--text); }
.paper .btn:hover { background: #000; }

/* keyboard: jump past the nav */
.skip { position: absolute; left: var(--pad); top: -80px; z-index: 50; background: var(--text); color: var(--bg); padding: 12px 18px; text-decoration: none; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* "Increase contrast" in macOS / iOS: secondary text goes to full bone, lines get stronger */
@media (prefers-contrast: more) { :root { --dim: #E6E3DC; --faint: #C9CBCC; --line: #55595D; --line2: #8F9396; } }

@media (max-width: 860px) {
  .nav .links { display: none; }
  .fgrid { grid-template-columns: 1fr 1fr; }
  .fgrid > :first-child { grid-column: 1 / -1; }
  .rows li { grid-template-columns: 1fr; gap: 4px; }
  .fbottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }

/* Newsletter: footer form and the after-download card */
.news { margin-top: 40px; max-width: 520px; }
.news label { color: var(--dim); }
.news .field { display: flex; gap: 12px; margin-top: 10px; }
.news input[type="email"] { flex: 1; min-width: 0; min-height: 48px; background: transparent; color: var(--text); border: 0; border-bottom: 1px solid var(--line2); padding: 0 2px; font: inherit; font-size: 17px; outline: none; }
.news input[type="email"]:focus { border-bottom-color: var(--text); }
.news input::placeholder { color: var(--faint); }
.news .btn { min-height: 48px; padding: 0 22px; }
.news .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.news button[disabled] { opacity: .5; cursor: progress; }
.news .msg { margin-top: 10px; font-size: .95rem; color: var(--faint); min-height: 1.6em; }
.news .msg.err { color: var(--text); }
.news.done .field, .news.done label { display: none; }
.news.done .msg { color: var(--text); font-size: 1.05rem; }
.news-card { position: fixed; right: 20px; bottom: 20px; z-index: 50; width: min(420px, calc(100vw - 32px)); background: var(--bg); border: 1px solid var(--line2); padding: 22px 22px 8px; box-shadow: 0 18px 50px rgba(0,0,0,.35); transform: translateY(16px); opacity: 0; transition: transform .35s ease, opacity .35s ease; }
.news-card.in { transform: none; opacity: 1; }
.news-card .news { margin-top: 0; }
.news-card .x { position: absolute; top: 6px; right: 8px; background: none; border: 0; color: var(--faint); font-size: 26px; line-height: 1; cursor: pointer; padding: 6px; }
.news-card .x:hover { color: var(--text); }
@media (max-width: 640px) { .news .field { flex-direction: column; } .news-card { right: 16px; bottom: 16px; } }
@media (prefers-reduced-motion: reduce) { .news-card { transition: none; } }
.news .check { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: .95rem; color: var(--dim); cursor: pointer; }
.news .check input { margin-top: 4px; accent-color: var(--text); }
.news.done .check { display: none; }

/* Home 1.4.1: current app photography, within the original page rhythm. */
.home-141 .product-view { margin: 48px auto 0; max-width: 1112px; }
.home-141 figcaption { margin-top: 14px; color: var(--dim); font-size: .9375rem; }
.home-141 .product-view .shot img { display: block; height: auto; }
.home-141 .feature-details { margin-top: 28px; }
.home-141 .feature-details summary { min-height: 48px; }
.home-141 .feature-details .rows { margin-top: 16px; }
.home-141 .feature-details p { color: var(--dim); }
.home-141 .feature-details strong { color: var(--text); font-weight: 500; }
.home-141 .export-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px,6vw,96px); align-items: center; margin-top: 40px; }
.home-141 .export-view { order: 2; }
.home-141 .export-view img { display: block; width: 100%; height: auto; }
.home-141 .targets { grid-template-columns: 1fr 1fr; margin-top: 0; }
.home-141 .voice-heading { max-width: 760px; }
.home-141 .voice-heading p { margin-top: 18px; }
.home-141 .transcript-view { margin: 36px 0 0; }
.home-141 .transcript-view img { width: 100%; height: auto; display: block; }
.home-141 .voice-feature .feature-details { margin-top: 32px; }
.home-141 .voice-link { margin-top: 20px; }
.home-141 .daw-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px,6vw,96px); align-items: start; }
.home-141 .daw-layout p { color: var(--dim); margin-top: 18px; }
.home-141 .plugin-view img { display: block; height: auto; }
@media (max-width: 860px) {
  .home-141 .export-layout, .home-141 .daw-layout { grid-template-columns: 1fr; }
  .home-141 .export-view { order: 0; }
  .home-141 .export-view img { max-width: 632px; }
  .home-141 .mob-knobs { gap: 24px; }
  .home-141 .mob-knobs img { width: 100%; max-width: 440px; }
  .home-141 .mob-knobs img:nth-child(2) { width: 74.545%; max-width: 328px; }
  .home-141 .mob-knobs img:last-child { width: 54.545%; max-width: 240px; }
  .home-141 .product-view { margin-top: 32px; }
  .home-141 .product-view .shot { background: #161718; }
  .home-141 .product-view .shot::after { color: #BDC0C2; padding-bottom: 10px; }
  .home-141 .daw-layout { gap: 32px; }
}
@media (max-width: 600px) {
  .home-141 .transcript-view { margin-top: 28px; }
  .home-141 .transcript-view img { aspect-ratio: 528 / 112; }
  .home-141 .export-view img { aspect-ratio: 636 / 352; }
}
.home-141 .daw-layout > *, .home-141 .export-layout > * { min-width: 0; }

/* 1.5 additions: one quiet clip beside its description; existing guide typography. */
.home-141 .clips-feature { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: clamp(40px,6vw,96px); align-items: center; }
.home-141 .clips-copy { max-width: 600px; }
.home-141 .clips-copy h2 { margin-top: 12px; }
.home-141 .clips-copy > p:not(.lc) { margin-top: 18px; color: var(--dim); }
.home-141 .clips-copy .clips-license { font-size: 1rem; max-width: 48ch; }
.home-141 .clips-film video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; background: var(--bg); }
.home-141 .clips-film figcaption { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; margin-top: 8px; }
.home-141 .clips-film .lc { font-size: 13px; }
.home-141 .clips-film button { font-size: 14px; min-height: 44px; padding: 0 4px; color: var(--dim); }
.home-141 .clips-film button:hover { color: var(--text); }
.assistants-guide .prose pre { max-width: 900px; margin: 22px 0; padding: 18px 20px; background: var(--bg2); border-left: 1px solid var(--line2); white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; line-height: 1.65; }
.assistants-guide .prose code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; overflow-wrap: anywhere; }
.assistants-guide .prose pre code { font-size: inherit; }
.assistants-guide .assistants-fallback { margin-top: 24px; max-width: 900px; }
.assistants-guide .assistants-fallback p { margin-top: 14px; padding-bottom: 16px; }
@media (max-width: 860px) {
  .home-141 .clips-feature { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .home-141 .clips-film { width: 216px; justify-self: center; }
  .home-141 .clips-film figcaption { flex-wrap: wrap; }
  .assistants-guide .prose pre { padding: 16px; }
}


/* 1.5.1: native-scale phone crops, with scrolling contained in the image frames. */
@media (max-width:860px){
  .home-151 .shot img{width:1112px;max-width:none}
  .home-151 .mob-knobs{min-width:0;display:flex;flex-direction:column;align-items:flex-start}
  .home-151 .knob-strip{width:100%;max-width:440px;background:#161718}
  .home-151 .knob-strip img,.home-151 .knob-strip img:last-child{width:100%;max-width:none;height:auto;display:block}
}
@media (max-width:600px){.home-151 .transcript-view img{aspect-ratio:670 / 272}}
@media (max-width:860px){
  /* Extend the two phone nav hit areas without moving their visible type or rule. */
  .home-151 .nav a{position:relative}
  .home-151 .nav a::after{content:"";position:absolute;inset:-8px 0;min-height:44px}
}
