:root {
  color-scheme: light;
  --paper: #fff;
  --ink: #19191b;
  --muted: #616267;
  --line: #e4e4e6;
  --stage: #f1f2f4;
  --panel: #202123;
  --dim: #b1b4bc;
  --blue: #97bfff;
  --yellow: #f3ca65;
  --focus: #2465c6;
  --button-shine: #badcff;
  --button-blue: #2467ca;
  --button-bottom: #74a9f5;
  --button-edge: #9bc2f7;
  --sticker-paper: #e4efff;
  --sticker-ink: #174da7;
  font: 16px/1.5 Inter, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body, h1, h2, h3, p, figure { margin: 0; }
button, summary, a { font: inherit; color: inherit; cursor: pointer; }
a { text-decoration: none; }
button { border: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.hero :focus-visible { outline-color: var(--blue); }
main, .site-header, #site-footer { width: min(calc(100% - 2 * clamp(14px, 2.2vw, 44px)), 1690px); margin-inline: auto; }
.hero {
  position: relative; isolation: isolate; overflow: hidden; border-radius: clamp(18px, 2vw, 36px);
  margin-top: clamp(14px, 2.2vw, 44px); min-height: clamp(440px, 53vw, 820px);
  display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem;
  padding: clamp(28px, 4.4vw, 88px); color: white;
  background: linear-gradient(transparent 49%, rgb(19 39 72 / 38%)), #447be8 url('../art/welcome-sky.webp') center / 100% 100%;
}
.contours { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; mask-image: linear-gradient(black 30%, rgb(0 0 0 / 42%)); }
.hero-signature {
  display: flex; align-items: center; gap: .65em; margin-bottom: clamp(14px, 1.6vw, 25px);
  font-size: clamp(14px, 1.25vw, 20px); line-height: 1.25; letter-spacing: -.015em;
}
h1 { font-size: clamp(44px, 5.95vw, 112px); line-height: 1.03; letter-spacing: -.052em; font-weight: 400; }
.downloads { position: relative; flex: none; z-index: 3; color: var(--ink); }
.downloads summary {
  display: inline-flex; align-items: center; gap: .45em; list-style: none;
  padding: .43em .85em; color: white; font-weight: 500; border-radius: 10px;
  border: 1px solid var(--button-edge);
  background: linear-gradient(to bottom, var(--button-shine), var(--button-blue) 48%, var(--button-blue) 68%, var(--button-bottom));
  box-shadow: inset 0 1px 3px rgb(255 255 255 / 60%), inset 0 -1px 3px rgb(255 255 255 / 30%), 0 2px 5px rgb(36 79 144 / 18%);
}
.downloads summary:active, .downloads[open] summary { transform: translateY(1px); box-shadow: inset 0 1px 2px rgb(0 0 0 / 16%); }
.downloads summary::-webkit-details-marker { display: none; }
.downloads summary svg { width: 17px; height: 17px; }
.downloads[open] summary .chevron { transform: rotate(180deg); }
.choices { position: absolute; top: calc(100% + 9px); right: 0; width: 190px; padding: 5px; background: white; border-radius: 15px; box-shadow: 0 8px 24px #16244030; }
.choices a { display: flex; align-items: center; gap: 9px; min-height: 44px; padding: 10px 13px; border-radius: 10px; }
.choices a:hover, .choices a:focus-visible { background: var(--stage); }
.choices small { margin-inline-start: auto; font: 500 .78rem/1.3 ui-monospace, monospace; color: var(--sticker-ink); }
.studio, .features, .lower-section, .download-banner { max-width: 1280px; }
.studio, .features { margin: clamp(72px, 8vw, 142px) auto 0; }
.studio { text-align: center; }
h2 { font-size: clamp(35px,4.2vw,72px); line-height: 1.05; letter-spacing: -.054em; font-weight: 500; }
.intro p { max-width: 43ch; margin: 14px auto 0; font-size: clamp(1rem, 1.4vw, 1.25rem); color: var(--muted); line-height: 1.45; }
/* The supplied 6000 × 4500 mockup, framed to a 3600 × 2920 window.
   Its screen occupies x 1367–4632, y 1021–2867 in the original artwork. */
.xdr { position: relative; width: min(96%, 1130px); aspect-ratio: 3600 / 2920; overflow: hidden; margin: clamp(30px, 4vw, 60px) auto 0; }
.xdr-frame, .xdr-screen { position: absolute; display: block; max-width: none; }
.xdr-frame { width: 166.6667%; height: auto; left: -33.3333%; top: -30.8219%; }
.xdr-screen { left: 4.61%; top: 4.11%; width: 90.78%; height: 63.29%; background: var(--ink); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; }
.section-head { margin-bottom: 32px; }
.grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(32px,4vw,72px) clamp(16px,2.4vw,38px); }
.demo { width: 100%; min-height: 190px; aspect-ratio: 1.62; overflow: hidden; border-radius: 20px; background: var(--stage); display: flex; flex-direction: column; justify-content: center; align-items: center; }
.mini { color: white; background: var(--panel); width: 74%; border-radius: 12px; padding: clamp(13px,1.4vw,22px); font-size: .875rem; }
.mini-title { display: block; font-weight: 500; margin-bottom: 8px; }
.file, .revision { display: flex; align-items: center; gap: 9px; margin: 5px 0; line-height: 1.5; }
.file img { width: 24px; height: 24px; object-fit: cover; border-radius: 4px; }
.code-demo code, .suggest, .revision time { font-family: 'SFMono-Regular', Consolas, monospace; }
.code-demo { line-height: 1.6; }
.code-demo code { white-space: pre; font-size: clamp(12px,1vw,15px); }
.code-demo em { font-style: normal; color: var(--blue); }
.explain { margin-top: 13px; padding-top: 10px; border-top: 1px solid #505258; }
.explain b { font-weight: 500; display: block; }
.explain span { color: var(--dim); font-size: .82rem; }
.complete { background: #f3efe6; }
.correction { text-decoration: underline wavy #e6aa91; text-underline-offset: 4px; }
.suggest { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; padding: 6px 10px; background: #34363a; border-radius: 5px; color: var(--blue); }
kbd { font-family: inherit; font-size: .75rem; line-height: 1.2; color: var(--dim); }
.together { background: #edf0eb; }
.together .mini { position: relative; min-height: 105px; }
.cursor { position: absolute; font-size: .68rem; line-height: 1; color: var(--ink); padding: 3px 5px; border-radius: 0 3px 3px 3px; }
.cursor::before { content:''; position:absolute; left:0; bottom:100%; width:2px; height:13px; background: inherit; }
.one { left: 46%; top: 35%; background: var(--blue); }
.two { left: 65%; top: 70%; background: var(--yellow); }
.revision { color: var(--dim); font-size: .8rem; }
.revision i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.revision time { margin-left: auto; font-size: .72rem; }
article h3 { font-weight: 500; font-size: clamp(19px,1.7vw,25px); letter-spacing: -.04em; margin-top: 18px; }
article p { margin-top: 5px; color: var(--muted); max-width: 42ch; }
@keyframes file-in { 0%,12% { opacity: 0; transform: translateY(8px); } 22%,100% { opacity: 1; transform: none; } }
@keyframes suggest { 0%,22% { opacity: .32; } 32%,100% { opacity: 1; } }
@keyframes cursor { 0%,22% { transform: translateX(-12px); } 50%,90% { transform: translateX(5px); } }
@keyframes version { 0%,25% { color: var(--dim); } 38%,85% { color: var(--blue); } }
.added { animation: file-in 4.8s infinite; }
.explain, .suggest { animation: suggest 4s infinite; }
.cursor { animation: cursor 4.5s infinite; }
.two { animation-delay: -2s; }
.revision:nth-child(2) { animation: version 4s infinite; }
@media (prefers-reduced-motion: reduce) { .demo * { animation: none; } }
@media (max-width: 850px) { .grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 590px) {
  .hero { min-height: 490px; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 26px; }
  h1 { font-size: clamp(31px,10vw,59px); }

  .grid { grid-template-columns: 1fr; }
  .section-head { align-items: center; }
  .studio, .features { padding-inline: 6px; }
  .xdr { width: 100%; }
  .demo { min-height: 210px; }
}
.correction { position: relative; }
.fixed { display: none; }
@keyframes before-edit { 0%,44% { display: inline; } 45%,100% { display: none; } }
@keyframes after-edit { 0%,44% { display: none; } 45%,100% { display: inline; } }
.typo { animation: before-edit 4s step-end infinite; }
.fixed { animation: after-edit 4s step-end infinite; }
.typo { text-decoration: underline wavy #e6aa91; }
.correction { text-decoration: none; }
.fixed { color: var(--blue); }

.platform-symbols { position: absolute; pointer-events: none; }
.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: clamp(12px, 1.5vw, 24px); padding: 9px 9px 9px 24px;
  background: var(--stage); border-radius: 999px;
}
.site-header nav, .nav-brand { display: flex; align-items: center; }
.nav-brand { font-weight: 500; font-size: 27px; gap: 6px; letter-spacing: -.06em; }
.nav-brand img { display: block; width: 40px; height: auto; }
.site-header nav { gap: clamp(12px, 2.3vw, 36px); font-size: .94rem; }
.section-links { display: flex; gap: inherit; }
.section-links a { padding-block: 7px; }
.site-header .downloads summary { min-height: 42px; border-radius: 999px; padding-inline: 17px; }
.site-header nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.lower-section { display: grid; grid-template-columns: minmax(120px, .65fr) minmax(0, 1.35fr); gap: clamp(20px, 4vw, 60px); margin: clamp(76px, 8vw, 135px) auto 0; }
.blog-entry { display: flex; align-items: center; gap: clamp(16px, 3vw, 36px); }
.blog-entry img { width: clamp(88px, 13vw, 180px); aspect-ratio: 1; border-radius: 12px; object-fit: cover; }
.blog-entry h3 { margin: 0; }
.blog-interview { display: inline-block; margin-top: 12px; font-size: .9rem; text-decoration: underline; text-underline-offset: 3px; }
#site-footer { margin: clamp(68px, 7vw, 115px) auto 24px; }
#site-footer, #faq-list {
  --border: var(--line); --surface: var(--paper); --surface-muted: var(--stage);
  --foreground: var(--ink); --text-secondary: var(--muted); --text-muted: var(--muted);
  --accent: var(--ink); --font-body: inherit; --font-display: inherit; --leading-body: 1.5;
  --text-base: 1.05rem; --text-lg: 1.5rem; --text-sm: .9375rem; --text-xs: .8125rem;
  --tracking-body: -.015em; --radius-pill: 999px; --radius-surface: 22px;
  --space-1: 4px; --space-4: 16px; --space-5: 20px; --space-10: 40px;
  --ease-standard: ease-out; --ease-spring: ease-out; --duration-fast: 120ms;
  --duration-standard: 200ms; --duration-spring: 180ms;
}
@media (max-width: 660px) {
  .lower-section { grid-template-columns: 1fr; }
  .blog-entry { align-items: flex-start; }
}
@media (max-width: 767px), (pointer: coarse) and (max-height: 500px) and (max-width: 950px) {
  .site-header { padding: 5px 6px 5px 16px; }
  .site-header .section-links, .download-banner { display: none; }
  .nav-brand { gap: 5px; font-size: 25px; min-height: 44px; }
  .nav-brand img { width: 35px; }
}
@media (max-width: 370px) {
  .grid { grid-template-columns: minmax(0, 1fr); }
  .demo { min-height: 175px; }
}


.hero-library {
  position: absolute; left: 57%; top: 16%; width: 76%; height: auto;
  border-radius: 14px; box-shadow: 0 18px 65px rgb(15 39 78 / 23%);
}
.pro-sticker {
  display: inline-block; vertical-align: middle; margin-inline-start: .25em;
  padding: .15em .63em; border-radius: 100px;
  font-family: inherit; font-size: .74rem; font-weight: 500; line-height: 1.5;
  letter-spacing: .01em; color: var(--sticker-ink); background: var(--sticker-paper);
}
.offline { background: var(--stage); }
.local-project { width: 76%; padding: clamp(14px, 1.5vw, 24px); border-radius: 12px; color: white; background: var(--panel); }
.local-title { display: flex; align-items: center; gap: 9px; font-size: .9rem; }
.local-title img { width: 28px; height: 28px; border-radius: 5px; }
.sequence { position: relative; display: flex; align-items: center; gap: 3px; height: 45px; margin: 12px 0; overflow: hidden; }
.sequence i { flex: 1; height: var(--level); background: var(--blue); border-radius: 1px; }
.sequence::after { content: ''; position: absolute; inset-block: 0; width: 2px; background: white; animation: local-playhead 4s linear infinite; }
@keyframes local-playhead { from { left: 0; } to { left: 100%; } }
.local-status { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px; color: var(--dim); font-size: .73rem; }
@media (prefers-reduced-motion: reduce) { .sequence::after { left: 45%; animation: none; } }
@media (max-width: 700px) {
  .hero { display: block; min-height: clamp(450px, 90vw, 560px); padding: clamp(24px, 5vw, 38px); }
  .hero-library { left: 12%; top: 44%; width: max(620px, 108%); border-radius: 10px; }
}

.platform-mark { display: inline-block; width: 17px; height: 17px; flex: none; }
.download-banner { margin: clamp(48px, 6vw, 96px) auto 0; }
.download-banner summary {
  display: flex; width: 100%; justify-content: space-between;
  padding: clamp(17px, 2.2vw, 34px) clamp(22px, 3vw, 48px);
  font-size: clamp(22px, 2.5vw, 42px); line-height: 1.2; letter-spacing: -.035em;
  border-radius: clamp(12px, 1.3vw, 20px);
}
.banner-label { display: inline-flex; align-items: center; gap: .32em; }
.download-banner .banner-label img { width: 1.22em; height: auto; filter: brightness(0) invert(1); }
.platforms { display: inline-flex; align-items: center; gap: .55em; }
.download-banner summary .platform-mark { width: .9em; height: .9em; }
