/* Site styling. Feature layout and motion are defined in features.css. */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth }
}
:root {
  --plum-light: #80689a;
  --plum-deep: #302638;
  --pistachio: #d5ed93;
  --night-scene: radial-gradient(ellipse at 85% 18%, var(--plum-light), #58446a 47%, transparent 80%), linear-gradient(125deg,#302737,#48364f);
  --lilac-scene: radial-gradient(ellipse at 80% 10%, light-dark(#efe6f6,#62546d), transparent 68%), linear-gradient(145deg,light-dark(#d7c8e4,#483d53),light-dark(#b3a4c2,#332d3b));
  --sage-scene: radial-gradient(ellipse at 72% 8%,light-dark(#f1f3dc,#525c47),transparent 66%),linear-gradient(140deg,light-dark(#dfe7cf,#424c3a),light-dark(#bdc6ad,#30362f));
  --soft-depth: inset 0 1px 0 #ffffff40, 0 .6em 1.2em -.7em #2a193f68;
}
.demo,.art-1 { background: var(--night-scene) }
.demo::before,.theatre.art-4::before,.first-reminder::before {
  content:""; position:absolute; pointer-events:none; width:84%; height:46%; left:8%; top:27%;
  border:1px solid #ededff59; border-radius:50%; transform:rotate(-19deg);
}
.demo .selectors { position:relative }
#schedule:checked ~ .selectors [for="schedule"],#balance:checked ~ .selectors [for="balance"],#work:checked ~ .selectors [for="work"] { background:var(--pistachio); color:#293320 }
.chat,.profile-proof,.link-proof,.lesson-proof,.contact { box-shadow:var(--soft-depth) }
.feature-icon { box-shadow:inset 0 1px 0 #ffffff63,0 2px 3px #30233822 }
.art-0,.art-4 { background:var(--lilac-scene) }
.art-2,.art-3 { background:var(--sage-scene) }
.calendar-spine,.group-source { background:linear-gradient(122deg,#493750,#705980) }
.micro-week .today,.lesson-proof>span { background:#d6e5b5; color:#323b2c }
.bank-card { background:linear-gradient(118deg,#332d41,#4b3c58 62%,#6d577d) }
.bank-card .engraving { opacity:.65 }
.wallet { padding-bottom:0 }
.wallet-slip {
  position:relative; inset:auto; margin:-1.15em 4% 0 11%; padding-top:1.7em;
  transform:translateY(calc((var(--a) - 1)*65% + (var(--b) - 1)*45%)) rotate(1deg);
}
.time-rings { background:repeating-radial-gradient(ellipse,transparent 0 13%,#eadff633 13.2% 13.45%,transparent 13.6% 17%); transform:rotate(-18deg) translateY(calc(var(--b)*-3%)) }
.inline-key { background:light-dark(#e4ecd4,#404b37); color:light-dark(#34432c,#e4efce) }
.conversation { background:light-dark(#e3dce8,#37313c) }
.group-source>.glyph { color:#d8e7ba }
.theatre.art-4::before { border-color:light-dark(#74608130,#e6d8f133) }
.trial-invite { background:var(--sage-scene) }
.first-reminder::before { width:104%; left:-2%; border-color:light-dark(#687b563b,#e3f4c34d) }
.profile-proof i { background:#e1d5eb; color:#594465 }
.free-pass { background:var(--sage-scene) }
.paid-pass { background:var(--night-scene); color:#fcf9ff }
.paid-pass::before { width:88%; height:72%; right:-30%; top:-23%; background:none; border:1px solid #ede4f65c; box-shadow:0 0 0 10px #ffffff06; opacity:1; mask-image:none; transform:rotate(-19deg) }
.faq-items details[open] summary::after { background:light-dark(#e2eacb,#46503c); color:light-dark(#425235,#dcebc4) }

/* Primary actions share the closing CTA's surface and icon. */
body .action {
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:15px 22px; border:0; border-radius:999px;
  background:var(--pistachio); color:#27321c; font-weight:600;
  line-height:1.25; text-align:center;
}
body .action:hover { background:#e5f8b1 }
body .action img { width:24px; height:24px; flex:none }
.paid-pass .plan-action { background:transparent; color:#fcf9ff; box-shadow:inset 0 0 0 1px #e9deef99 }
.paid-pass .plan-action:hover { background:#ffffff18; color:#fff }

.hero-photo { position:relative; margin:0; min-width:0; background:transparent; max-width:570px; width:100%; justify-self:center }
.hero-photo img { display:block; width:100%; height:auto }

.masthead { display:grid; grid-template-columns:1fr auto 1fr; column-gap:16px }
.masthead .brand { justify-self:start }
.masthead .site-sections { gap:clamp(16px, 2.5vw, 36px) }
.site-sections a { display:inline-flex; align-items:center; min-height:44px; color:var(--muted) }
.site-sections a:hover, .site-sections a:focus-visible { color:var(--ink); text-decoration:underline; text-underline-offset:5px }
.header-actions { display:flex; justify-self:end; align-items:center; gap:10px; font-size:15px; font-weight:550; white-space:nowrap }
.header-actions .theme-toggle { flex:none }
@media (max-width:880px) {
  .masthead { grid-template-columns:1fr auto; row-gap:8px; padding-bottom:0 }
  .masthead .site-sections { grid-row:2; grid-column:1 / -1; justify-content:space-between; gap:6px; flex-wrap:wrap }
  .header-actions { grid-row:1; grid-column:2 }
}
@media (max-width:440px) {
  .masthead { column-gap:8px }
  .masthead .site-sections { font-size:14px }
  .header-actions { gap:6px; font-size:14px }
}
@media (max-width:370px) {
  .masthead { column-gap:5px }
  .masthead .brand { font-size:21px; gap:6px }
  .header-actions .nav-action { gap:5px; padding-inline:9px }
  .masthead .site-sections { font-size:13px }
}
