/* Original dark-only styling inspired by Gyroflow. No upstream site code or artwork. */
:root {
  color-scheme: dark;
  --bg: #111214; --surface: #1c1e22; --tint: #17191c;
  --ink: #f4f5f6; --ink-soft: #b9bdc5; --faint: #9ba2ae;
  --line: #30343a; --brand: #65b7ed; --brand-hover: #93cff6;
  --accent: #79c4f5; --mint: #a2dbbd; --focus: #a2dbbd;
  --radius: 18px; --gutter: clamp(20px, 4vw, 48px);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; border-radius: 4px; }
h1, h2, h3 { font-weight: 750; color: var(--ink); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.wrap { max-width: 1280px; margin: 0 auto; padding-inline: var(--gutter); }

.skip {
  position: absolute; left: 16px; top: -80px; z-index: 100;
  background: var(--surface); padding: 12px 16px; border-radius: 8px; box-shadow: 0 4px 16px rgb(21 40 32 / .12);
}
.skip:focus { top: 12px; }

/* Header: brand and section links left, the main action right. */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgb(17 18 20 / .93);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
}
.header-inner { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; white-space: nowrap; }
.wordmark { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.05; }
.wordmark-name { font-size: 22px; font-weight: 750; letter-spacing: -.035em; }
.plus { display: inline-block; margin-left: 2px; color: var(--accent); font-size: 1.2em; font-weight: 650; line-height: .8; vertical-align: -.03em; }
.wordmark-sub { margin-top: 4px; color: var(--faint); font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.primary-nav { display: flex; gap: 4px; }
.primary-nav a, .site-footer nav a {
  display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 10px;
  color: var(--ink-soft); font-size: 14px; font-weight: 600; text-decoration: none; border-radius: 8px;
}
.primary-nav a:hover, .site-footer nav a:hover { color: var(--ink); background: var(--tint); }
.header-action { margin-left: auto; }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border: 1px solid transparent; border-radius: 10px;
  font: 650 16px/1.3 var(--font); text-decoration: none;
  transition: background-color .15s ease, border-color .15s ease;
}
.button-small { min-height: 40px; padding: 0 16px; font-size: 14px; }
.button-primary { background: var(--brand); border-color: var(--brand); color: #0b1b26; }
.button-primary:hover { background: var(--brand-hover); border-color: var(--brand-hover); }
.button-ghost { border-color: #4b515a; color: var(--ink); }
.button-ghost:hover { background: var(--tint); }

/* Hero */
.hero { padding: clamp(56px, 9vw, 112px) 0 clamp(48px, 7vw, 88px); }
.eyebrow { margin: 0; color: var(--accent); font-size: 12px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
h1 {
  max-width: 900px; margin: 18px 0 28px;
  font-size: clamp(42px, 4.7vw, 66px); line-height: 1.04; letter-spacing: -.05em;
}
.hero-body { max-width: 760px; }
.lead { color: var(--ink-soft); font-size: clamp(18px, 1.6vw, 20px); line-height: 1.65; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 20px; }
.status { color: var(--faint); font-size: 14px; }
.hero-detail {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 48px;
  margin-top: clamp(48px, 6vw, 72px); padding-top: 32px; border-top: 1px solid var(--line);
}
.hero-detail p { margin: 0; }

.prose { color: var(--ink-soft); }
.prose a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { color: var(--brand-hover); }
.fine { font-size: 14px; color: var(--faint); }

/* Features */
.features { padding: clamp(48px, 7vw, 88px) 0; background: var(--tint); border-block: 1px solid var(--line); }
section[id] { scroll-margin-top: 88px; }
h2 { margin: 0 0 28px; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.15; letter-spacing: -.035em; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.card h3 { margin: 0 0 10px; font-size: 21px; line-height: 1.3; letter-spacing: -.02em; }
.card p { color: var(--ink-soft); font-size: 15px; line-height: 1.65; }

/* Workflow */
.workflow { padding: clamp(56px, 8vw, 104px) 0; }
.workflow-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px 64px; align-items: start; }
.workflow-grid h2 { margin: 0; }
.workflow .fine { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); color: var(--faint); font-size: 13px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-block: 28px 32px; }
.footer-inner p { margin: 0; max-width: 620px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 4px; margin-right: -10px; }
.site-footer nav a { font-size: 13px; }

/* Not found page */
.not-found { padding: clamp(72px, 12vw, 160px) 0; }
.not-found h1 { font-size: clamp(36px, 5vw, 56px); }

@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr; }
  .workflow-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .header-inner { min-height: 64px; gap: 12px; }
  .wordmark-name { font-size: 20px; }
  .primary-nav { gap: 0; }
  .primary-nav a { padding: 0 8px; }
  .primary-nav a + a { display: none; }
  .hero-detail { grid-template-columns: 1fr; }
  .actions .button { flex: 1 1 auto; }
  .card { padding: 22px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .site-footer nav { margin-left: -10px; }
}
@media (max-width: 360px) {
  .primary-nav { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
    .button { transition: none; }
}
@media print {
  .site-header { position: static; }
  }

/* Split hero with the actual development-app recording. */
.hero { background: radial-gradient(ellipse at 80% 30%, rgb(74 143 184 / .09), transparent 55%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 44px; align-items: start; }
.hero-copy .lead { font-size: 18px; }
.hero-detail { grid-column: 1 / -1; margin-top: 12px; font-size: 15px; }
.plus { color: var(--mint); }
.grade { color: var(--mint); }
.showcase { margin: 0; min-width: 0; }
.showcase figcaption { margin: 18px 0 0; color: var(--faint); font-size: 13px; }
.video-toggle { float: right; margin: 0 0 12px 20px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink); font: inherit; cursor: pointer; }
.video-toggle:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; }
.demo-description, .demo-credit { display: block; line-height: 1.6; }
.demo-credit { margin-top: 6px; }
.demo-credit a { color: var(--brand); text-underline-offset: 3px; }
/* The recording is the app window itself: a clean frame with the window's own corners. */
.showcase video { display: block; width: 100%; height: auto; aspect-ratio: 2560 / 1398; background: #121519; border-radius: 12px; box-shadow: 0 0 0 1px rgb(255 255 255 / .08), 0 24px 60px rgb(0 0 0 / .45); }
.upstream { padding: 88px 0; border-top: 1px solid var(--line); }
.section-intro { max-width: 750px; margin-bottom: 36px; }
.section-intro h2 { margin-top: 16px; }
.section-intro h2 span { color: var(--brand); }
.section-lead { color: var(--ink-soft); }
.foundation-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.foundation-card { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.foundation-card h3 { margin: 18px 0 10px; font-size: 23px; letter-spacing: -.025em; }
.foundation-card p { font-size: 15px; color: var(--ink-soft); }
.feature-number { color: var(--brand); font-size: 13px; font-variant-numeric: tabular-nums; }
.feature-details { margin-top: 28px; }
.feature-details details { background: var(--tint); border: 1px solid var(--line); border-radius: 14px; margin-top: 12px; padding: 0 24px; }
.feature-details summary { cursor: pointer; padding: 22px 0; font-weight: 600; list-style: none; display: flex; align-items: baseline; gap: 12px; }
.feature-details summary::-webkit-details-marker { display: none; }
.feature-details summary::before { content: '▸'; content: '▸' / ''; color: var(--brand); flex: none; transition: transform .16s cubic-bezier(.22,1,.36,1); }
.feature-details details[open] > summary::before { transform: rotate(90deg); }
.feature-details details > div { max-width: 88ch; padding-bottom: 24px; font-size: 15px; color: var(--ink-soft); }
.feature-details a { color: var(--brand); text-underline-offset: 3px; }
.features .eyebrow { margin-bottom: 16px; color: var(--mint); }
.features { background: linear-gradient(145deg, #18231f, #171c1b 60%); }
.features .card { background: #1d2824; border-color: #35473f; }
.plus-badge { display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 24px; border: 1px solid #526f5f; border-radius: 9px; color: var(--mint); font-size: 24px; font-weight: 400; line-height: 1; }
.workflow-grid { padding-block: 48px; padding-inline: clamp(24px, 4vw, 48px); border-radius: 20px; border: 1px solid var(--line); background: var(--surface); }
.workflow > .wrap { max-width: calc(1280px - 2 * var(--gutter)); }
@media (max-width: 1000px) { .hero-grid { grid-template-columns: 1fr; } .hero-copy { max-width: 760px; } .showcase { width: 100%; } }
@media (max-width: 640px) { .foundation-grid { grid-template-columns: 1fr; } .foundation-card { padding: 24px; } .hero-grid { gap: 32px; } .hero-detail { margin-top: 0; } .primary-nav a { font-size: 12px; } .primary-nav a + a { display: none; } .primary-nav a:first-child { max-width: 72px; line-height: 1.2; } .wordmark-sub { font-size: 8px; } .brand img { width: 28px; height: 28px; } .header-inner { gap: 6px; } .button-small { padding-inline: 12px; } .upstream { padding-block: 56px; } .workflow { padding-inline: var(--gutter); } .workflow > .wrap { max-width: none; } }
summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; border-radius: 4px; }

/* Cards still waiting for their entrance must print and show under reduced motion. */
@media print, (prefers-reduced-motion: reduce) {
  [data-motion-pending] { opacity: 1 !important; transform: none !important; }
}

/* Shared Motion foundation, presentation only (2026-10-10).
   Hero: a short stagger that starts with the first paint, so nothing is shown
   and then hidden by a late script. The accepted demo video keeps its layout
   and playback; only its frame fades in. Print and reduced motion stay at rest. */
@media screen and (prefers-reduced-motion: no-preference) {
  .hero-copy > .eyebrow, .hero-copy > h1, .hero-body { animation: gp-hero-rise .5s cubic-bezier(.22,1,.36,1) both; }
  .hero-copy > h1 { animation-delay: .06s; }
  .hero-body { animation-delay: .12s; }
  .showcase { animation: gp-hero-fade .6s cubic-bezier(.22,1,.36,1) .16s both; }
}
@keyframes gp-hero-rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes gp-hero-fade { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .feature-details summary::before { transition: none; }
}

/* Footer reveal: opted in only by the runtime's data-footer-reveal. Without it
   (no JavaScript, reduced motion, print, tall footer, short page) the footer
   is the normal static footer. */
html[data-footer-reveal] main { position: relative; z-index: 1; background: var(--bg); box-shadow: 0 18px 40px rgb(0 0 0 / .35); }
html[data-footer-reveal] main + footer { position: sticky; bottom: 0; z-index: 0; }
html[data-footer-reveal] main + footer > * { opacity: calc(.35 + .65 * var(--footer-reveal, 1)); transform: translateY(calc((1 - var(--footer-reveal, 1)) * 16px)); }
@media print, (prefers-reduced-motion: reduce) {
  html[data-footer-reveal] main, html[data-footer-reveal] main + footer { position: static; box-shadow: none; }
  html[data-footer-reveal] main + footer > * { opacity: 1; transform: none; }
}

/* Before and after, the Mac text comparison and the editions (site 1.0). */
.results, .readable, .get { padding: clamp(56px, 8vw, 104px) 0; border-top: 1px solid var(--line); }
.screen, .ba-frame img, .compare img { border-radius: 12px; box-shadow: 0 0 0 1px rgb(255 255 255 / .08), 0 24px 60px rgb(0 0 0 / .45); background: #121519; }
.ba { position: relative; }
.ba input { position: absolute; opacity: 0; pointer-events: none; }
.ba label { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; margin: 0 6px 20px 0; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-soft); font-size: 14px; font-weight: 650; cursor: pointer; }
.ba label:hover { color: var(--ink); background: var(--tint); }
.ba input:checked + label { color: #0b1b26; background: var(--brand); border-color: var(--brand); }
.ba input:focus-visible + label { outline: 3px solid var(--focus); outline-offset: 3px; }
.ba-frames { display: grid; }
.ba-frame { grid-area: 1 / 1; margin: 0; transition: opacity .35s ease, visibility .35s; }
.ba-frame img { width: 100%; height: auto; }
#ba-graded:checked ~ .ba-frames .ba-frame-original, #ba-original:checked ~ .ba-frames .ba-frame-graded { opacity: 0; visibility: hidden; }
.results .fine, .readable .fine { margin-top: 20px; }
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.compare figure { margin: 0; }
.compare img { width: 100%; height: auto; }
.compare figcaption { margin-top: 12px; font-size: 14px; font-weight: 650; color: var(--ink-soft); }
.card a { color: var(--brand); text-underline-offset: 3px; }
.editions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.edition { display: flex; flex-direction: column; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.edition h3 { margin: 0 0 10px; font-size: 21px; letter-spacing: -.02em; }
.edition p { color: var(--ink-soft); font-size: 15px; }
.edition-status { margin-top: auto; padding-top: 16px; color: var(--accent) !important; font-weight: 650; }
.edition-status a { color: var(--brand); text-decoration: none; }
.workflow { border-top: 1px solid var(--line); }
@media (max-width: 900px) { .compare, .editions { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .ba-frame { transition: none; } }

/* Privacy and support pages: one readable column. */
.legal { padding: clamp(48px, 8vw, 96px) 0; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(34px, 5vw, 48px); line-height: 1.1; margin: 0 0 .6em; letter-spacing: -.02em; }
.legal h2 { font-size: 22px; margin: 1.8em 0 .5em; }
.legal ul { padding-left: 1.2em; margin: 0 0 1em; }
.legal li { margin-bottom: .5em; }
.legal strong { color: var(--ink); }
