:root {
  color-scheme: light;
  --paper: #f7f6fc;
  --ink: #1b1a30;
  --muted: #5c5970;
  --indigo: #5141a5;
  --line: #3730581e;
  --white: #f4f2ff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); line-height: 1.55; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid #8363ef; outline-offset: 4px; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
.wrap { width: min(1260px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 10; left: 20px; top: 12px; padding: 10px 14px; border-radius: 8px; background: #fff; transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.masthead, .footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.masthead { min-height: 80px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 7px; font-weight: 780; letter-spacing: -.02em; }
.masthead nav, .footer nav { display: flex; align-items: center; gap: 6px; }
.masthead nav a, .footer nav a { padding: 9px 13px; border-radius: 9px; font-size: .9rem; font-weight: 640; }
.masthead nav a:hover, .footer nav a:hover { background: #3b286514; }
.nav-action { border: 1px solid var(--line); }
.nav-action span, .quiet-link span { margin-left: 4px; }

.hero { display: grid; grid-template-columns: minmax(0, .79fr) minmax(0, 1.21fr); align-items: center; gap: clamp(40px, 5vw, 74px); padding-block: 72px 60px; }
.hero-copy, .demo { min-width: 0; animation: arrive .56s ease-out both; }
.demo { margin: 0; animation-delay: .06s; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 10ch; margin-bottom: 22px; font-size: clamp(3.65rem, 5.75vw, 5.2rem); line-height: .98; letter-spacing: -.07em; }
h1 em { color: var(--indigo); font-style: normal; }
h2 { margin-bottom: 14px; font-size: clamp(2.05rem, 3.4vw, 3.45rem); line-height: 1.04; letter-spacing: -.052em; }
.lede { max-width: 39ch; margin-bottom: 25px; color: var(--muted); font-size: clamp(1.02rem, 1.3vw, 1.18rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.action, .quiet-link { display: inline-flex; align-items: center; justify-content: center; min-height: 45px; font-size: .92rem; font-weight: 720; transition: background-color .2s, color .2s, transform .2s; }
.action { gap: 12px; padding: 9px 15px; border-radius: 10px; background: #252140; color: #fff; box-shadow: 0 8px 18px #241c4227; }
.action:hover { background: #413669; transform: translateY(-2px); }
.action:active { transform: none; }
.quiet-link { color: var(--indigo); }
.quiet-link:hover { color: #2b1e74; }
.platform { margin-block: 13px 0; color: var(--muted); font-size: .84rem; }

.desktop {
  --glow-x: 63%; --glow-y: 43%;
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; align-content: center;
  min-height: 394px; padding: 59px 25px 32px;
  border: 1px solid #7569ad50; border-radius: 26px;
  background:
    repeating-linear-gradient(132deg, transparent 0 48px, #c7c3fc10 49px, transparent 50px 96px),
    linear-gradient(135deg, #201a3e 0%, #322750 48%, #2c315b 100%);
  color: var(--white);
  box-shadow: 0 25px 58px -28px #2421399c;
}
.desktop::before, .desktop::after {
  content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none;
}
.desktop::before { background: radial-gradient(ellipse at var(--glow-x) var(--glow-y), #a398fc6b 0%, transparent 67%); }
.desktop::after { background: radial-gradient(ellipse at 30% 91%, #7074d14d, transparent 58%); animation: drift 12s ease-in-out infinite alternate; }
.stage-top {
  position: absolute; inset: 0 0 auto; height: 48px; display: flex;
  align-items: center; justify-content: space-between; padding-inline: 19px;
  border-bottom: 1px solid #eee9ff23; color: #ece7ff; background: #1e173944; font-size: .78rem;
}
.stage-top kbd { border: 1px solid #eee9ff36; background: #ffffff0d; padding: 2px 8px; border-radius: 6px; font: inherit; }
.demo-windows { display: grid; grid-template-columns: minmax(0, 1.57fr) minmax(0, 1fr); gap: 13px; align-items: start; width: 100%; max-width: 585px; margin-inline: auto; }
.picker, .sample-preview { min-width: 0; border: 1px solid #dfd5ff56; background: #211c37ef; box-shadow: 0 16px 38px #0d0a24a6, inset 0 1px #fff1; }
.picker { border-radius: 16px; padding: 10px; }
.sample-preview { margin-top: 53px; border-radius: 14px; padding: 13px; min-height: 112px; }
@supports ((-webkit-backdrop-filter: blur(18px)) or (backdrop-filter: blur(18px))) {
  .picker, .sample-preview { background: #221c39da; -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
}
.search { display: flex; align-items: center; gap: 9px; padding: 6px 9px; border: 1px solid #fff1; border-radius: 8px; background: #fff1; }
.search-icon { flex: 0 0 11px; width: 11px; height: 11px; position: relative; border: 1.5px solid #d1c8f7; border-radius: 50%; }
.search-icon::after { content: ""; position: absolute; width: 5px; height: 1.5px; background: #d1c8f7; transform: rotate(46deg); right: -4px; bottom: -2px; }
.search input { min-width: 0; width: 100%; color: inherit; border: 0; padding: 2px 0 2px 3px; background: none; font: inherit; font-size: .91rem; color-scheme: dark; }
.search input::placeholder { color: #d4cbea; }
.picker ul { list-style: none; padding: 0; margin: 9px 0; }
.picker li + li { margin-top: 2px; }
.picker button { width: 100%; display: flex; align-items: center; gap: 8px; padding: 6px; border: 0; border-radius: 7px; background: transparent; color: inherit; font: inherit; font-size: .86rem; text-align: left; cursor: pointer; transition: background-color .18s; }
.picker button:hover, .picker button[aria-pressed="true"] { background: #af9fff30; }
.clip-icon { display: grid; place-items: center; width: 25px; height: 24px; flex: 0 0 25px; border-radius: 6px; background: #ae9cff25; color: #e0d3ff; font-size: .95rem; }
.pin { color: #d8c9ff; margin-left: auto; }
.picker-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 5px 10px; padding: 7px 3px 1px; border-top: 1px solid #e0d9fc25; font-size: .69rem; color: #cbc0e5; }
.picker-foot b { color: #ede5ff; font-weight: 640; margin-right: 2px; }
#empty { color: #ece6ff; font-size: .83rem; margin: 12px 7px; }
.sample-preview p { margin: 0; overflow-wrap: anywhere; font-size: .84rem; }
.sample-preview .preview-kind { margin-bottom: 5px; color: #dccdff; font-size: .72rem; font-weight: 750; }
.preview-image { height: 52px; margin-block: 4px 8px; border-radius: 6px; background: linear-gradient(141deg, transparent 52%, #918ee2 52% 67%, transparent 67%), linear-gradient(36deg, #56488c 42%, transparent 42%), linear-gradient(145deg, #544e8b, #c9aee7); }
.demo figcaption { margin-top: 12px; text-align: center; font-size: .83rem; color: var(--muted); }

.feature-section { background: #efedf7; border-block: 1px solid var(--line); }
.features { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); align-items: center; gap: clamp(34px, 6.3vw, 95px); padding-block: 65px; }
.feature-copy { max-width: 440px; }
.section-intro { margin-bottom: 24px; color: var(--muted); font-size: 1.04rem; }
.feature-list { margin: 0; }
.feature-list > div { padding-block: 11px; border-top: 1px solid var(--line); }
.feature-list dt { font-weight: 730; }
.feature-list dd { margin: 2px 0 0; font-size: .93rem; color: var(--muted); }
.settings-scene { margin: 0; padding: clamp(14px, 2vw, 27px); border: 1px solid #a69cbf5e; border-radius: 22px; background: linear-gradient(142deg,#e2d9fc,#d8d6ef 60%,#e8e5f4); }
.settings-scene img { width: 100%; height: auto; border-radius: 13px; box-shadow: 0 16px 30px #21193942; }

.download { margin-top: 60px; padding: 24px clamp(22px, 4vw, 50px); display: flex; gap: 18px; align-items: center; border-radius: 21px; background: linear-gradient(120deg,#211b3d,#322851); color: #f6f2ff; }
.download h2 { font-size: clamp(1.7rem,2.8vw,2.35rem); margin-bottom: 3px; }
.download p { margin: 0; color: #e0d8f1; font-size: .89rem; }
.download-controls { margin-left: auto; text-align: right; }
.download-controls .action { background: #eee6fc; color: #2b2145; margin-bottom: 6px; }
.download-controls .action:hover { background: #fff; }
.download-mark { flex: 0 0 76px; width: 76px; height: 76px; }
.footer { margin-top: 30px; border-top: 1px solid var(--line); min-height: 70px; color: var(--muted); }
.document { max-width: 760px; padding-block: 55px; }
.document h1 { max-width: none; font-size: clamp(2.9rem,6vw,4rem); }
.document h2 { font-size: 1.45rem; margin-top: 28px; }
.document p { color: var(--muted); }
.document a { color: var(--indigo); font-weight: 720; }

@keyframes arrive { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes drift { from { transform: translate3d(-6%,4%,0); } to { transform: translate3d(7%,-4%,0); } }
@media (max-width: 1050px) {
  .wrap { width: calc(100% - 64px); }
  .hero { gap: 30px; padding-block: 53px 43px; }
  .desktop { padding-inline: 16px; }
}
@media (max-width: 820px) {
  .hero, .features { grid-template-columns: 1fr; }
  .hero { gap: 30px; }
  .hero-copy, .feature-copy { max-width: 540px; }
  .hero h1 { max-width: 12ch; }
  .desktop { min-height: 320px; }
  .features { padding-block: 42px; }
  .settings-scene { max-width: 620px; }
}
@media (max-width: 480px) {
  .wrap { width: calc(100% - 34px); }
  .masthead { min-height: 67px; }
  .masthead nav a, .footer nav a { padding-inline: 7px; font-size: .81rem; }
  h1 { font-size: clamp(3rem,12vw,3.65rem); }
  .hero { padding-block: 37px; }
  .desktop { padding: 59px 13px 14px; border-radius: 18px; }
  .demo-windows { grid-template-columns: 1fr; gap: 9px; }
  .sample-preview { margin: 0; min-height: 74px; padding: 9px 11px; }
  .download { flex-wrap: wrap; margin-top: 39px; gap: 12px; padding: 15px; }
  .download-mark { flex-basis: 58px; width: 58px; height: 58px; }
  .download-controls { flex: 1 0 100%; text-align: left; margin-left: 6px; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (prefers-reduced-motion: reduce) {
  .hero-copy, .demo, .desktop::after { animation: none; }
  .action, .quiet-link, .picker button { transition: none; }
  .action:hover { transform: none; }
}
