@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Instrument+Serif:ital@0;1&display=swap');
:root {
  --paper:#f3eee3;
  --ink:#292638;
  --purple:#5839c4;
  --mint:#a4d8c6;
  --ease-out:cubic-bezier(0.23,1,0.32,1);
  --motion-duration:300ms;
  --sans:'DM Sans',sans-serif;
  --serif:'Instrument Serif',Georgia,serif
}
* {
  box-sizing:border-box
}
html {
  scroll-behavior:smooth;
  scroll-padding-top:36px
}
body {
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:var(--sans);
  font-size:16px;
  -webkit-font-smoothing:antialiased
}
button,a {
  -webkit-tap-highlight-color:transparent
}
button {
  font:inherit;
  cursor:pointer
}
a {
  color:inherit;
  text-decoration:none
}
button:focus-visible,a:focus-visible,summary:focus-visible,.desktop-demo:focus-visible {
  outline:3px solid #8b70dc;
  outline-offset:5px
}
button {
  color:inherit
}
h1,h2,h3,p {
  margin:0
}
h1,h2,h3 {
  font-family:var(--serif);
  font-weight:400
}
h2 {
  font-size:clamp(48px,5.8vw,82px);
  line-height:.98;
  letter-spacing:-2px
}
h2 em {
  color:var(--purple)
}
em {
  font-weight:400
}
.nav {
  height:90px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 4.2%;
  max-width:1800px;
  margin:auto
}
.brand {
  display:flex;
  gap:10px;
  align-items:center;
  font:27px var(--serif)
}
.brand img {
  width:34px;
  height:34px
}
.nav nav {
  display:flex;
  align-items:center;
  gap:29px;
  font-size:13px;
  font-weight:600
}
.nav nav>a:not(.pill):hover {
  color:var(--purple)
}
.pill {
  border:0;
  border-radius:30px;
  display:inline-flex;
  justify-content:center;
  align-items:center;
  gap:8px;
  font:600 13px var(--sans);
  padding:15px 24px;
  transition:background var(--motion-duration),transform var(--motion-duration);
  white-space:nowrap
}
.pill:hover {
  transform:translateY(-2px)
}
.purple {
  background:var(--purple);
  color:white
}
.cream {
  background:#f6f2e8;
  color:#292638
}
.cream:hover {
  background:#fff
}
.outline {
  background:transparent;
  color:#f5f0e9;
  border:1px solid #9f93be
}
.outline:hover {
  background:#ffffff12
}
.theater {
  margin:0 16px;
  border-radius:17px;
  overflow:hidden;
  background:#18152d url('assets/curtains.svg') center/100% 100%;
  color:var(--paper);
  text-align:center;
  position:relative
}
.hero {
  padding:125px 12% 100px
}
.hero-content {
  position:relative;
  z-index:1;
  max-width:1120px;
  margin:auto
}
.eyebrow {
  font-size:11px;
  letter-spacing:3px;
  font-weight:650;
  color:#bdb1d9;
  margin-bottom:29px
}
h1 {
  font-size:clamp(62px,7.5vw,112px);
  line-height:.96;
  letter-spacing:-2.5px
}
h1 em,.finale em {
  color:var(--mint)
}
.intro {
  font-size:17px;
  line-height:1.6;
  color:#d6cfe4;
  margin:24px 0 48px
}
.film-window {
  position:relative;
  max-width:980px;
  margin:auto;
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 24px 85px #05041d66;
  transform:none
}
.mac-bar {
  position:absolute;
  inset:0 0 auto;
  z-index:2;
  height:29px;
  background:#dbd6e7;
  display:flex;
  align-items:center;
  gap:19px;
  padding:0 17px;
  font-size:9px;
  color:#4f455f;
  transition:transform var(--motion-duration) var(--ease-out);
  will-change:transform
}
.faux-menu {
  opacity:.55
}
.bar-right {
  margin-left:auto
}
.film {
  position:relative;
  aspect-ratio:1.8;
  overflow:hidden;
  background:#7260a9
}
.hero .film>img {
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transform:none;
  animation:none;
  transition:none;
}
.player {
  position:absolute;
  bottom:24px;
  left:3%;
  right:3%;
  height:55px;
  border-radius:32px;
  background:#173648b8;
  display:flex;
  align-items:center;
  padding:8px 13px;
  gap:16px;
  color:#fff
}
.player button {
  border:0;
  background:#e2e9ec25;
  border-radius:50%;
  height:34px;
  width:34px;
  color:white;
  font-size:12px
}
.progress {
  height:4px;
  background:#ffffff38;
  flex:1;
  border-radius:4px;
  overflow:hidden
}
.progress i {
  display:block;
  background:#efe9db;
  height:100%;
  width:100%;
  transform:scaleX(0);
  transform-origin:left;
  transition:none
}
.player time {
  font-size:10px;
  font-variant-numeric:tabular-nums;
  letter-spacing:1px
}
.hero.playing .mac-bar {
  transform:translateY(-100%)
}
.aside {
  font:italic 18px var(--serif);
  color:#a69aba;
  margin-top:22px
}
#watch {
  width:172px;
}
.hero .pill {
  transform:none;
  transition:background var(--motion-duration);
}
.hero-actions .pill:hover {
  transform:none;
}
.hero-actions {
  display:flex;
  justify-content:center;
  gap:12px;
  margin-top:28px
}
.fine {
  font-size:12px;
  color:#bfb2cf;
  margin-top:19px
}
.section {
  max-width:1320px;
  margin:0 auto;
  padding:0 0
}
.try-section {
  margin-top:128px
}
.section-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
  margin-bottom:40px
}
.section-heading>p {
  font-size:14px;
  line-height:1.6;
  color:#696474;
  max-width:395px
}
kbd {
  font:11px var(--sans);
  border:1px solid #888390;
  border-radius:3px;
  padding:0 4px;
  white-space:nowrap
}
.desktop-demo {
  height:690px;
  background:#fcf8ed;
  border:1px solid #e9e2d5;
  border-radius:15px;
  position:relative;
  overflow:hidden;
  touch-action:pan-x pan-y pinch-zoom;
  isolation:isolate
}
.demo-menu {
  position:absolute;
  inset:0 0 auto;
  z-index:1;
  height:28px;
  display:flex;
  align-items:center;
  padding:0 20px;
  gap:20px;
  font-size:9px;
  color:#77717c;
  background:#ffffff50;
  transition:transform var(--motion-duration) var(--ease-out)
}
.demo-menu strong {
  font-weight:650;
  color:#4c4657
}
.space-panel.bar-hidden .demo-menu {
  transform:translateY(-100%)
}
.space-label {
  pointer-events:none;
  position:absolute;
  top:47px;
  left:50%;
  transform:translateX(-50%);
  display:flex;
  gap:12px;
  align-items:center;
  background:#6d6772;
  color:#fff;
  padding:9px 15px;
  border-radius:30px;
  white-space:nowrap;
  z-index:2
}
.space-label span {
  font-size:9px;
  letter-spacing:1.3px
}
.space-label i {
  font:italic 16px var(--serif)
}
.manuscript {
  position:absolute;
  top:115px;
  left:29%;
  right:29%;
  max-width:600px
}
.manuscript h3 {
  font-size:38px;
  margin-bottom:23px
}
.writing-lines {
  height:255px;
  background:repeating-linear-gradient(to bottom,#e7e0cc 0,#e7e0cc 7px,transparent 7px,transparent 23px);
  clip-path:polygon(0 0,100% 0,100% 20%,85% 20%,85% 29%,100% 29%,100% 38%,72% 38%,72% 47%,99% 47%,99% 65%,84% 65%,84% 74%,100% 74%,100% 83%,63% 83%,63% 92%,0 92%)
}
.space-arrow {
  position:absolute;
  top:50%;
  width:43px;
  height:43px;
  border:0;
  background:#8f8990;
  color:white;
  font-size:28px;
  border-radius:50%;
  z-index:3;
  line-height:1
}
.space-arrow:hover {
  background:var(--purple)
}
.previous {
  left:18px
}
.next {
  right:18px
}
.dock {
  position:absolute;
  bottom:30px;
  left:50%;
  transform:translateX(-50%);
  display:flex;
  gap:8px;
  z-index:3;
  padding:8px;
  border-radius:17px;
  background:#ffffff38
}
.app-icon {
  width:47px;
  height:47px;
  border-radius:12px;
  display:grid;
  place-items:center;
  font:20px var(--serif);
  border:0;
  box-shadow:0 4px 10px #25213112;
  transition:transform var(--motion-duration),box-shadow var(--motion-duration)
}
.app-icon:hover {
  transform:translateY(-7px)
}
.selected {
  box-shadow:0 0 0 3px #fff,0 0 0 4px #a5a0af
}
.tv {
  background:#322071;
  color:white
}
.player-icon {
  background:#5939c3;
  color:white
}
.browser-icon {
  background:#cde1f1;
  color:#627b9f
}
.manuscript-icon {
  background:#ede2ca;
  color:#85714e
}
.terminal-icon {
  background:#ddd5f3;
  color:#8c7bba
}
.override-row {
  display:flex;
  align-items:center;
  gap:16px;
  margin-top:20px
}
.outline-dark {
  border:1px solid #827b85;
  background:transparent
}
.small {
  font-size:12px;
  padding:10px 17px
}
.override-row>p {
  font-size:12px;
  color:#6f6878
}
.numbers {
  margin-top:130px
}
.section-subtitle {
  font-size:15px;
  color:#766f7e;
  margin-top:17px
}
.metrics {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
  margin-top:35px
}
.metrics>div {
  padding:29px 28px;
  background:#fbf8f1;
  border:1px solid #ebe5dc;
  border-radius:13px
}
.metric {
  font:58px var(--serif);
  letter-spacing:-1.8px;
  white-space:nowrap
}
.metric span {
  font-size:23px;
  letter-spacing:-.5px
}
.metrics h3 {
  font:500 14px var(--sans);
  margin:8px 0
}
.metrics>div>p:last-child {
  font-size:11px;
  color:#777080
}
.measurement {
  font-size:10px;
  color:#89818c;
  margin-top:18px
}
.features {
  margin-top:128px
}
.feature-grid {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
  margin-top:38px
}
.feature-art {
  aspect-ratio:1;
  border-radius:15px;
  position:relative;
  overflow:hidden;
  background:#6247c0
}
.feature-art:after {
  content:'';
  position:absolute;
  inset:0;
  background:url('assets/seascape.svg') center/cover;
  opacity:.3;
  mix-blend-mode:screen;
  pointer-events:none
}
.art-rules {
  background:linear-gradient(#28b7bd,#7250c6);
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:22px;
  padding:30px
}
.paint-line {
  height:21px;
  border:7px solid #d9e8e455;
  border-radius:50%;
  filter:url(#rough)
}
.selected-line {
  border-color:#dbdceb;
  position:relative
}
.selected-line span {
  position:absolute;
  font-size:31px;
  left:12px;
  top:-20px;
  color:#b0e9cc
}
.art-switch {
  background:linear-gradient(#2f216f,#634aca 70%,#37a7b6)
}
.feature-art svg {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  z-index:1
}
.feature-art svg path {
  fill:none;
  stroke:#ddd8f5;
  stroke-width:10;
  stroke-linecap:round;
  stroke-linejoin:round;
  filter:url(#rough)
}
.art-feather {
  background:linear-gradient(#e4e7df,#ad9de0)
}
.art-feather svg path {
  stroke:#8364c7;
  stroke-width:6
}
.art-key {
  background:linear-gradient(#34b5bc,#7a57c2)
}
.art-key svg path {
  stroke:#d3e7eb;
  stroke-width:11
}
.feature-grid h3 {
  font-size:28px;
  margin:18px 0 11px
}
.feature-grid p {
  font-size:13px;
  line-height:1.65;
  color:#756d7d;
  max-width:280px
}
.rules-section {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:95px;
  align-items:center;
  margin-top:145px
}
.rules-section>div>p {
  font-size:15px;
  line-height:1.75;
  color:#756d7d;
  max-width:555px;
  margin-top:24px
}
.rules-section .rule-hint {
  font-size:12px;
  margin-top:18px
}
.rule-hint a {
  text-decoration:underline;
  text-underline-offset:3px
}
.rules-list {
  display:flex;
  flex-direction:column;
  gap:12px
}
.rule {
  background:#fcf9f3;
  border:1px solid #eae4d9;
  border-radius:15px;
  padding:14px 18px;
  display:flex;
  align-items:center;
  gap:13px
}
.rule .app-icon {
  height:36px;
  width:36px;
  font-size:15px;
  border-radius:50%;
  box-shadow:none
}
.rule-copy {
  flex:1
}
.rule-copy strong {
  display:block;
  font-size:13px;
  font-weight:600;
  margin-bottom:3px
}
.rule-copy p {
  font-size:11px;
  color:#81788b
}
.switch {
  border:0;
  width:49px;
  height:28px;
  border-radius:30px;
  padding:4px;
  background:#cdc7d9;
  transition:background var(--motion-duration)
}
.switch:after {
  content:'';
  display:block;
  width:20px;
  height:20px;
  border-radius:50%;
  background:white;
  box-shadow:0 1px 3px #0002;
  transition:transform var(--motion-duration)
}
.switch[aria-checked=true] {
  background:var(--purple)
}
.switch[aria-checked=true]:after {
  transform:translateX(21px)
}
.faq {
  max-width:900px;
  margin-top:145px
}
.faq h2 {
  margin-bottom:32px
}
.faq details {
  border-top:1px solid #d8d0c5
}
.faq details:last-child {
  border-bottom:1px solid #d8d0c5
}
.faq summary {
  cursor:pointer;
  font:25px var(--serif);
  list-style:none;
  padding:23px 0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px
}
.faq summary::-webkit-details-marker {
  display:none
}
.faq summary:after {
  content:'+';
  font:21px var(--sans);
  color:#676071
}
.faq details[open] summary:after {
  content:'−'
}
.faq details p {
  font-size:14px;
  line-height:1.8;
  color:#746c7b;
  max-width:760px;
  padding:0 35px 25px 0
}
.finale {
  margin-top:130px;
  padding:100px 20px 95px;
  background-size:100% 220%;
  background-position:center
}
.final-icon {
  width:93px;
  height:93px;
  margin-bottom:25px;
  filter:drop-shadow(0 10px 20px #0003)
}
.finale h2 {
  font-size:88px;
  margin-bottom:32px
}
.finale .fine {
  font-size:12px
}
.preview-note {
  font-size:10px;
  color:#9488ac;
  margin-top:9px
}
footer {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:45px 4.2% 70px;
  font-size:11px;
  color:#7c7386
}
footer>p {
  font:italic 19px var(--serif);
  color:#5d5567
}
footer>div {
  display:flex;
  gap:25px;
  color:#7a61ad
}
footer button {
  padding:0;
  border:0;
  background:none;
  font-size:11px
}
footer a:hover,footer button:hover {
  text-decoration:underline
}
dialog {
  background:var(--paper);
  color:var(--ink);
  max-width:560px;
  width:calc(100% - 40px);
  border:1px solid #d7cbdf;
  border-radius:18px;
  padding:42px;
  box-shadow:0 20px 100px #16112740
}
dialog::backdrop {
  background:#17132dc9;
  backdrop-filter:blur(6px)
}
dialog h2 {
  font-size:46px;
  margin-bottom:20px
}
dialog p {
  font-size:15px;
  line-height:1.8
}
dialog li {
  font-size:14px;
  line-height:1.8
}
#close-dialog {
  position:absolute;
  right:16px;
  top:12px;
  border:0;
  background:transparent;
  font-size:28px
}
.demo-seascape {
  position:absolute;
  inset:0;
  background:url('assets/seascape.svg') center/cover
}
.demo-browser {
  position:absolute;
  inset:0;
  background:#e9edf0;
  display:grid;
  place-content:center;
  text-align:center;
  gap:15px
}
.demo-browser h3 {
  font-size:65px
}
.demo-browser p {
  font-size:14px;
  color:#777484
}
.demo-browser .search {
  background:white;
  border-radius:30px;
  padding:18px 80px;
  font-size:12px;
  color:#9a94a3;
  box-shadow:0 5px 22px #42414d09
}
.demo-terminal {
  position:absolute;
  inset:0;
  background:#262137;
  color:#c7b9e9;
  padding:100px 12%;
  font:16px/2 monospace
}
.demo-terminal b {
  color:var(--mint)
}
.demo-player {
  position:absolute;
  inset:0;
  background:#33265b;
  display:grid;
  place-content:center;
  text-align:center;
  color:#f1e8df
}
.demo-player .record {
  height:220px;
  width:220px;
  border-radius:50%;
  background:repeating-radial-gradient(#221d36 0 2px,#383045 3px 5px);
  display:grid;
  place-items:center;
  margin:0 auto 25px;
  box-shadow:0 10px 30px #0004
}
.record:after {
  content:'♪';
  font:48px var(--serif);
  background:#a99bcc;
  border:22px solid #6c5395;
  border-radius:50%;
  width:60px;
  height:60px
}
.demo-player h3 {
  font-size:32px
}
.demo-player p {
  font-size:12px;
  margin-top:8px;
  color:#b4a5c5
}
.desktop-demo.overridden:after {
  content:'Menu bar override is on';
  position:absolute;
  top:95px;
  left:50%;
  transform:translateX(-50%);
  font-size:11px;
  background:#f8f4ea;
  padding:10px 20px;
  border-radius:20px;
  z-index:4;
  color:#554b64;
  box-shadow:0 3px 15px #0001
}
.spaces-viewport {
  position:absolute;
  inset:0;
  overflow:hidden;
  overscroll-behavior-x:contain;
  touch-action:pan-y pinch-zoom;
  cursor:grab;
  background:#191725;
  contain:layout paint;
}
.spaces-track {
  position:relative;
  display:flex;
  gap:12px;
  height:100%;
  will-change:transform;
  transition:transform var(--motion-duration) var(--ease-out);
}
.spaces-track.manipulating {
  transition:none;
}
.spaces-viewport.dragging {
  cursor:grabbing;
  user-select:none;
}
.space-panel {
  flex:0 0 100%;
  height:100%;
  position:relative;
  overflow:hidden;
  background:#fcf8ed;
}
.spaces-viewport,.spaces-viewport * {
  -webkit-user-drag:none;
}
.space-arrow:disabled {
  opacity:.3;
  cursor:default
}
@media(hover:hover) and (pointer:fine) {
  .spaces-viewport:hover {
    cursor:grab
  }
  .spaces-viewport.dragging:hover {
    cursor:grabbing
  }
}
@media(min-width:1700px) {
  .hero {
    padding-top:150px;
    padding-bottom:130px
  }
  .section {
    max-width:1450px
  }
}
@media(max-width:1450px) {
  .section {
    margin-left:4.2%;
    margin-right:4.2%
  }
  .faq {
    margin-left:auto;
    margin-right:auto
  }
  .hero {
    padding-top:110px
  }
  .desktop-demo {
    height:640px
  }
  .metric {
    font-size:48px
  }
  .metric span {
    font-size:19px
  }
}
@media(max-width:1000px) {
  .hero {
    padding:90px 11% 75px
  }
  .intro {
    font-size:15px
  }
  .desktop-demo {
    height:540px
  }
  .section-heading {
    align-items:flex-end
  }
  .section-heading>p {
    font-size:12px
  }
  .metrics>div {
    padding:23px 18px
  }
  .metric {
    font-size:38px
  }
  .metric span {
    font-size:16px
  }
  .feature-grid {
    gap:16px
  }
  .feature-grid h3 {
    font-size:24px
  }
  .feature-grid p {
    font-size:12px
  }
  .rules-section {
    gap:45px
  }
  .faq {
    margin-left:12%;
    margin-right:12%
  }
  .faq summary {
    font-size:22px
  }
  .finale h2 {
    font-size:76px
  }
}
@media(max-width:700px) {
  .nav {
    height:76px;
    padding:0 5%
  }
  .brand {
    font-size:24px;
    gap:7px
  }
  .brand img {
    width:29px;
    height:29px
  }
  .nav nav {
    gap:17px
  }
  .nav nav>a:not(.pill) {
    display:none
  }
  .nav .pill {
    font-size:11px;
    padding:12px 19px
  }
  .theater {
    margin-left:9px;
    margin-right:9px;
    border-radius:12px
  }
  .hero {
    padding:72px 9% 65px;
    background-size:155% 100%
  }
  h1 {
    font-size:clamp(49px,10vw,70px);
    letter-spacing:-1.7px
  }
  .eyebrow {
    font-size:8px;
    letter-spacing:2px;
    margin-bottom:25px
  }
  .intro {
    font-size:12px;
    line-height:1.7;
    margin:25px -3% 32px
  }
  .intro br {
    display:none
  }
  .film-window {
    border-radius:7px;
    margin:0 -2%
  }
  .mac-bar {
    height:20px;
    font-size:6px;
    padding:0 8px;
    gap:10px
  }
  .film {
    aspect-ratio:1.45
  }
  .player {
    height:32px;
    bottom:11px;
    gap:8px;
    padding:4px 7px
  }
  .player button {
    width:23px;
    height:23px;
    font-size:9px;
    flex-shrink:0
  }
  .player time {
    font-size:6px;
    letter-spacing:0
  }
  .progress {
    height:2px
  }
  .aside {
    font-size:15px;
    margin-top:18px
  }
  #watch {
  width:172px;
}
.hero .pill {
  transform:none;
  transition:background var(--motion-duration);
}
.hero-actions .pill:hover {
  transform:none;
}
.hero-actions {
    gap:8px;
    margin:24px -5% 0
  }
  #watch {
    width:143px;
  }
  .hero-actions .pill {
    font-size:10px;
    padding:13px 15px
  }
  .fine {
    font-size:9px;
    margin-top:17px
  }
  .section {
    margin-left:6%;
    margin-right:6%
  }
  .try-section {
    margin-top:75px
  }
  h2 {
    font-size:51px;
    letter-spacing:-1.3px
  }
  .section-heading {
    display:block;
    margin-bottom:26px
  }
  .section-heading>p {
    margin-top:20px;
    font-size:12px;
    max-width:350px
  }
  .desktop {
    display:none
  }
  .desktop-demo {
    height:430px;
    border-radius:11px
  }
  .demo-menu {
    font-size:7px;
    padding:0 10px;
    gap:12px;
    height:23px
  }
  .space-label {
  pointer-events:none;
    top:38px;
    gap:6px;
    padding:8px 10px
  }
  .space-label span {
    font-size:6px;
    letter-spacing:.5px
  }
  .space-label i {
    font-size:12px
  }
  .manuscript {
    top:102px;
    left:21%;
    right:21%
  }
  .manuscript h3 {
    font-size:28px;
    margin-bottom:20px
  }
  .writing-lines {
    height:155px;
    background-size:auto;
    transform-origin:top;
  }
  .space-arrow {
    width:30px;
    height:30px;
    font-size:24px
  }
  .previous {
    left:11px
  }
  .next {
    right:11px
  }
  .dock {
    bottom:18px;
    gap:6px;
    padding:6px
  }
  .app-icon {
    height:35px;
    width:35px;
    border-radius:9px;
    font-size:15px
  }
  .override-row {
    gap:10px
  }
  .small {
    font-size:9px;
    padding:9px 11px
  }
  .override-row>p {
    font-size:9px
  }
  .numbers {
    margin-top:78px
  }
  .section-subtitle {
    font-size:12px;
    line-height:1.6;
    margin-top:14px
  }
  .metrics {
    grid-template-columns:1fr 1fr;
    gap:10px;
    margin-top:23px
  }
  .metrics>div {
    padding:24px 17px
  }
  .metric {
    font-size:42px
  }
  .metric span {
    font-size:16px
  }
  .metrics h3 {
    font-size:11px
  }
  .metrics>div>p:last-child {
    font-size:9px;
    line-height:1.5
  }
  .measurement {
    font-size:8px;
    line-height:1.6
  }
  .features {
    margin-top:80px
  }
  .feature-grid {
    grid-template-columns:1fr 1fr;
    gap:29px 16px;
    margin-top:27px
  }
  .feature-art {
    border-radius:11px
  }
  .art-rules {
    padding:21px;
    gap:12px
  }
  .paint-line {
    height:14px;
    border-width:4px
  }
  .selected-line span {
    font-size:24px;
    top:-16px;
    left:5px
  }
  .feature-grid h3 {
    font-size:25px;
    margin:14px 0 8px
  }
  .feature-grid p {
    font-size:11px;
    line-height:1.65
  }
  .rules-section {
    grid-template-columns:1fr;
    gap:30px;
    margin-top:85px
  }
  .rules-section h2 br {
    display:initial
  }
  .rules-section>div>p {
    font-size:13px;
    margin-top:20px
  }
  .rules-section .rule-hint {
    font-size:11px
  }
  .rules-list {
    gap:9px
  }
  .rule {
    padding:12px 14px;
    border-radius:12px
  }
  .faq {
    margin-top:85px;
    margin-left:6%;
    margin-right:6%
  }
  .faq h2 {
    font-size:46px;
    margin-bottom:25px
  }
  .faq summary {
    font-size:21px;
    padding:20px 0
  }
  .faq details p {
    font-size:12px;
    padding-bottom:23px;
    padding-right:10px
  }
  .finale {
    margin-top:80px;
    padding:65px 20px 60px;
    background-size:145% 210%
  }
  .final-icon {
    height:69px;
    width:69px;
    margin-bottom:25px
  }
  .finale h2 {
    font-size:60px;
    margin-bottom:26px
  }
  .finale .pill {
    font-size:11px
  }
  .finale .fine {
    font-size:9px
  }
  .preview-note {
    font-size:8px
  }
  footer {
    flex-wrap:wrap;
    gap:26px;
    padding:30px 6% 45px
  }
  footer>p {
    font-size:17px
  }
  footer>div {
    gap:17px
  }
  footer>span {
    width:100%;
    font-size:9px
  }
  footer button,footer a {
    font-size:10px
  }
  .demo-terminal {
    font-size:11px;
    padding-top:100px
  }
  .demo-player .record {
    height:150px;
    width:150px;
    margin-bottom:20px
  }
  .record:after {
    font-size:30px;
    height:40px;
    width:40px;
    border-width:16px
  }
  .demo-player h3 {
    font-size:26px
  }
  .demo-browser h3 {
    font-size:48px
  }
  .demo-browser .search {
    padding:15px 40px
  }
  .demo-browser p {
    font-size:11px
  }
  .desktop-demo.overridden:after {
    top:78px;
    font-size:9px;
    white-space:nowrap
  }
  dialog {
    padding:36px 27px
  }
  dialog h2 {
    font-size:40px
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto
  }
  *,*:before,*:after {
    animation:none!important;
    transition:none!important
  }
}

/* Broad painted panels frame a shared, slimmer content column. */
:root {
  --page-gutter:16px;
  --content-gutter:calc(var(--page-gutter) + clamp(16px,6vw,96px));
  --content-width:min(1200px,calc(100vw - 2 * var(--content-gutter)));
}
main > .section, footer {
  width:var(--content-width);
  max-width:none;
  margin-left:auto;
  margin-right:auto;
}
footer { padding-left:0;padding-right:0; }
main > .theater {
  width:calc(100% - 2 * var(--page-gutter));
  max-width:none;
  margin-left:var(--page-gutter);
  margin-right:var(--page-gutter);
}
.rule .browser-icon { background:#4c98d0;color:white; }
.rule .tv { background:#6a4fdb; }
.rule .notes-icon { background:#e5b94f;color:#514016; }
.rule .player-icon { background:#2fb8b3;color:#123e3b; }
@media(max-width:700px) {
  :root { --page-gutter:9px; }
}

/* A native modal keeps the page behind the mobile notice out of the focus order. */
html:has(#mobile-notice[open]) { overflow:hidden; }
.mobile-notice {
  inset:0;
  width:100%;
  height:100%;
  max-width:none;
  max-height:none;
  margin:0;
  padding:32px 24px;
  padding-top:max(32px,env(safe-area-inset-top));
  padding-bottom:max(32px,env(safe-area-inset-bottom));
  border:0;
  border-radius:0;
  box-shadow:none;
  overflow-y:auto;
  overscroll-behavior:contain;
}
.mobile-notice[open] { display:flex; }
.mobile-notice-content {
  width:100%;
  max-width:360px;
  margin:auto;
  text-align:center;
}
.mobile-notice-icon { width:64px;height:64px;margin-bottom:28px; }
.mobile-notice h2 {
  font-size:clamp(46px,12vw,60px);
  line-height:1;
  letter-spacing:-1.5px;
  margin-bottom:22px;
}
.mobile-notice p { font-size:16px;line-height:1.65; }
.mobile-notice button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  margin-top:30px;
  padding:12px 24px;
  border:1px solid #cec5df;
  border-radius:999px;
  background:transparent;
  font-size:14px;
  font-weight:600;
}
.mobile-notice button:hover { background:#e8e0f1; }
