@font-face {
  font-family: Outfit;
  src: url("fonts/outfit-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #100e1b;
  --ink-soft: #1a162a;
  --paper: #f5eee4;
  --lime: #c5f35e;
  --lavender: #a791ef;
  --muted: #c3b9cf;
  --rule: #3a334b;
  --max: 72rem;
  --gutter: clamp(1.1rem, 4.3vw, 4.2rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--paper); font: 400 1rem/1.55 Outfit, system-ui, sans-serif; }
button { font: inherit; }
a { color: inherit; text-underline-offset: .22em; }
img { max-width: 100%; display: block; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
:focus-visible { outline: 3px solid var(--lavender); outline-offset: 4px; }
[id] { scroll-margin-top: 1.25rem; }

.page-width { width: min(calc(100% - 2 * var(--gutter)), var(--max)); margin-inline: auto; }
.skip-link { position: absolute; inset: .5rem auto auto .5rem; z-index: 10; padding: .65rem 1rem; background: var(--lime); color: var(--ink); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.site-header { border-bottom: 1px solid var(--rule); background: var(--ink); }
.nav-wrap { min-height: 4.5rem; display: grid; grid-template-columns: 1fr auto 1fr; gap: 1.25rem; align-items: center; }
.brand { display: inline-flex; align-items: center; gap: .68rem; width: fit-content; font-size: 1.06rem; font-weight: 600; color: var(--paper); text-decoration: none; white-space: nowrap; }
.brand-mark { width: 2rem; height: 2rem; flex: 0 0 2rem; display: inline-flex; justify-content: center; align-items: center; gap: 3px; border-radius: .45rem; background: var(--lime); }
.brand-mark span { width: 3px; height: 10px; background: var(--ink); border-radius: 2px; }
.brand-mark span:nth-child(2) { height: 17px; }
.brand-mark span:nth-child(3) { height: 13px; }
.nav-links { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem); }
.nav-links a, .site-footer nav a { font-size: .95rem; color: var(--muted); font-weight: 500; text-decoration: none; }
.nav-links a:hover, .site-footer nav a:hover { color: var(--paper); text-decoration: underline; }
.nav-download { justify-self: end; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .68rem; min-height: 2.75rem; padding: .62rem 1.1rem; border: 1px solid transparent; border-radius: .48rem; font-weight: 600; font-size: .96rem; line-height: 1.15; text-align: center; text-decoration: none; transition: background-color .16s, border-color .16s; }
.button-primary { background: var(--lime); color: #1a2010; }
.button-primary:hover { background: #d9ff87; }
.button-secondary { border-color: #746587; background: transparent; color: var(--paper); }
.button-secondary:hover { background: #342a45; }
.button-ink { background: var(--ink); color: var(--paper); }
.button-ink:hover { background: #382d50; }
.download-symbol { width: .95rem; height: .86rem; display: inline-block; flex: 0 0 .95rem; position: relative; border: 1.5px solid currentColor; border-radius: .15rem; }
.download-symbol::before { content: ""; position: absolute; inset: .17rem 0 auto; height: 1.5px; background: currentColor; }
.download-symbol::after { content: ""; position: absolute; inset: .4rem .22rem auto; height: 1.5px; background: currentColor; }
.eyebrow { color: var(--lavender); font-size: .9rem; font-weight: 600; letter-spacing: .12em; line-height: 1.3; text-transform: uppercase; }

.hero { position: relative; background: radial-gradient(ellipse at 70% 32%, #24203b 0%, var(--ink) 68%); padding: clamp(2.7rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 5.5rem); }
.hero-lead { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(16rem, .74fr); align-items: end; column-gap: clamp(1.3rem, 5vw, 5rem); }
.hero h1 { margin-top: .85rem; font-size: clamp(3.4rem, 6.75vw, 6.55rem); line-height: .93; font-weight: 650; letter-spacing: -.055em; }
.hero h1 em { color: var(--lime); font-style: normal; }
.hero-copy { padding-bottom: .25rem; }
.hero-copy > p:first-child { font-size: clamp(1.05rem, 1.55vw, 1.25rem); color: #e3d9e9; line-height: 1.5; max-width: 30ch; }
.hero-download { min-height: 3.25rem; padding-inline: 1.15rem; margin-top: 1.1rem; }
.download-meta { margin-top: .58rem; color: var(--muted); font-size: .9rem; }

.gallery { margin-top: clamp(2rem, 4.15vw, 3.55rem); padding: clamp(.55rem, 1.4vw, 1rem); border: 1px solid #5a4b77; border-radius: .9rem; background: #1a1729; box-shadow: 0 1.3rem 4.5rem #06051168; }
.gallery-header { min-height: 2.45rem; margin-bottom: .65rem; display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.gallery-views { display: flex; align-items: center; gap: .23rem; min-width: 0; }
.gallery-view { color: #d6cce0; border: 1px solid transparent; background: transparent; padding: .43rem .76rem; line-height: 1.25; border-radius: .36rem; font-weight: 500; font-size: .92rem; cursor: pointer; }
.gallery-view:hover { background: #342b49; }
.gallery-view[aria-pressed="true"] { background: #392e50; color: #f1e9fc; border-color: #6a568b; }
.gallery-zoom { display: inline-flex; align-items: center; gap: .42rem; flex: 0 0 auto; color: #ddd0eb; font-size: .88rem; text-decoration: none; padding: .4rem .48rem; }
.gallery-zoom:hover { text-decoration: underline; }
.expand-symbol { display: inline-block; width: .82rem; height: .82rem; background: linear-gradient(currentColor,currentColor) top left/.33rem 1px,linear-gradient(currentColor,currentColor) top left/1px .33rem,linear-gradient(currentColor,currentColor) top right/.33rem 1px,linear-gradient(currentColor,currentColor) top right/1px .33rem,linear-gradient(currentColor,currentColor) bottom left/.33rem 1px,linear-gradient(currentColor,currentColor) bottom left/1px .33rem,linear-gradient(currentColor,currentColor) bottom right/.33rem 1px,linear-gradient(currentColor,currentColor) bottom right/1px .33rem; background-repeat: no-repeat; }
.product-frame { display: grid; place-items: center; overflow: hidden; border: 1px solid #524661; border-radius: .48rem; background: #110f1b; aspect-ratio: 1440 / 861; }
.product-frame img { width: 100%; height: 100%; object-fit: contain; min-width: 0; min-height: 0; }
.product-preview figcaption { padding: .66rem .18rem .1rem; font-size: .9rem; color: var(--muted); }
.noscript-previews { display: flex; flex-wrap: wrap; gap: 1rem; font-size: .95rem; margin-top: .6rem; }

.features { padding-block: clamp(3.5rem, 7vw, 6.5rem); color-scheme: light; background: var(--paper); color: #1d1929; }
.features .eyebrow { color: #533787; }
.features h2, .faq h2 { margin-top: .58rem; font-size: clamp(2.55rem, 5vw, 4.55rem); font-weight: 620; line-height: .99; letter-spacing: -.047em; }
.feature-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin-top: clamp(2.45rem, 5.4vw, 4rem); border-block: 1px solid #cfc5cf; }
.feature { min-width: 0; padding: 1.6rem clamp(.9rem, 2.7vw, 2.15rem) 1.65rem; }
.feature:first-child { padding-left: 0; }
.feature:last-child { padding-right: 0; }
.feature + .feature { border-left: 1px solid #cfc5cf; }
.feature-icon { position: relative; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border: 1px solid #baacd3; border-radius: .52rem; background: #e7dcf2; color: #4f3477; }
.feature-icon-board { grid-template-columns: repeat(2,.36rem); grid-template-rows: repeat(2,.36rem); gap: .2rem; place-content: center; }
.feature-icon-board i { width: 100%; height: 100%; border: 1.5px solid; border-radius: 2px; }
.feature-icon-wave { display: flex; justify-content: center; gap: 2.5px; }
.feature-icon-wave i { height: .47rem; width: 2px; border-radius: 1px; background: currentColor; }
.feature-icon-wave i:nth-child(2n) { height: .73rem; }
.feature-icon-wave i:nth-child(3) { height: 1.07rem; }
.feature-icon-clock::before { content: ""; width: 1.09rem; height: 1.09rem; border: 1.5px solid; border-radius: 50%; }
.feature-icon-clock::after { content: ""; position: absolute; left: 49%; bottom: 49%; width: .29rem; height: .37rem; border-left: 1.5px solid; border-bottom: 1.5px solid; }
.feature h3 { margin: .78rem 0 .45rem; font-size: 1.55rem; font-weight: 620; line-height: 1.13; letter-spacing: -.026em; }
.feature p { line-height: 1.5; }
.feature ul { padding-inline-start: 1.05rem; margin: .85rem 0 0; color: #4c3e58; line-height: 1.42; }
.feature li + li { margin-top: .38rem; }
.feature li::marker { color: #7253a0; }

.setup { padding-block: clamp(3.25rem, 7vw, 6rem); border-bottom: 1px solid var(--rule); background: var(--ink); }
.setup-grid { display: grid; grid-template-columns: 1.12fr 1fr; gap: 1rem; }
.setup-card { padding: clamp(1.3rem, 4.2vw, 2.6rem); border-radius: .8rem; }
.deck-card { color-scheme: light; background: #b6a4f1; color: #1c142d; }
.deck-card .eyebrow { color: #382450; }
.import-card { border: 1px solid #5b4b71; background: #231c32; }
.setup-card h2 { margin: .6rem 0 1rem; font-size: clamp(2rem, 3.7vw, 3.3rem); font-weight: 630; line-height: 1.03; letter-spacing: -.045em; }
.setup-card p:not(.eyebrow) { max-width: 45ch; }
.setup-card .button { margin: 1.15rem .65rem 0 0; }
.setup-link { display: inline-block; margin-top: 1rem; font-size: .95rem; font-weight: 600; }
.deck-card :focus-visible { outline-color: #39225e; }
.import-card code { font-size: .92em; color: #dbcaf7; }

.faq { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(1.5rem, 5vw, 4rem); padding-block: clamp(3.25rem, 7vw, 6rem); }
.faq h2 { font-size: clamp(2.3rem, 4vw, 3.7rem); }
.faq-items { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: .8rem; min-height: 3.3rem; padding: .72rem 0; list-style: none; cursor: pointer; font-weight: 540; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: 0 0 1.25rem; text-align: center; color: var(--lime); font-size: 1.35rem; font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 1.5rem 1rem 0; color: #d9cfe1; }
.site-footer { border-top: 1px solid var(--rule); padding-block: 1.45rem; }
.footer-content { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; row-gap: 1rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: .65rem 1.35rem; }

@media (max-width: 57rem) {
  .hero h1 { font-size: clamp(3.3rem, 7.95vw, 5.2rem); }
  .hero-lead { grid-template-columns: minmax(0,1.45fr) minmax(14rem,.9fr); }
}
@media (max-width: 43rem) {
  .hero-lead { grid-template-columns: 1fr; row-gap: 1.15rem; }
  .hero-copy > p:first-child { max-width: 40ch; }
  .hero h1 { font-size: clamp(2.8rem, 10.6vw, 4.7rem); }
  .nav-wrap { min-height: 4.1rem; grid-template-columns: 1fr auto; gap: .7rem; }
  .nav-links { display: none; }
  .feature-grid, .setup-grid, .faq { grid-template-columns: 1fr; }
  .feature, .feature:first-child, .feature:last-child { padding: 1.35rem 0; }
  .feature + .feature { border-left: 0; border-top: 1px solid #cfc5cf; }
}
@media (max-width: 25rem) {
  .gallery-view { font-size: .84rem; padding-inline: .48rem; }
  .gallery-zoom { font-size: .82rem; padding-inline: .2rem; }
  .gallery-zoom .expand-symbol { display: none; }
  .gallery-header { gap: .2rem; }
  .nav-download { padding-inline: .72rem; }
}
@media (max-width: 22rem) {
  .gallery-header { flex-wrap: wrap; }
  .gallery-views { flex-wrap: wrap; }
  .gallery-zoom { margin-left: auto; }
  .brand { gap: .48rem; }
  .site-header .brand { font-size: .925rem; }
  .site-header .brand-mark { width: 1.65rem; height: 1.65rem; flex-basis: 1.65rem; }
  .nav-wrap { gap: .5rem; }
  .nav-download { font-size: .875rem; padding-inline: .57rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

