/* Nighttime semantic tokens drawn from Lumi's indigo ears, lavender shading,
   cream face, and warm lantern. Text/surface pairs are checked in-browser with
   axe WCAG AA; ink-on-light is the shared @fabletopia/design ink900 token. */
:root {
  --ink: #f7f5ff;
  --ink-2: #c8c4df;
  --ink-3: #b0abc8;
  --purple-brand: #c9b8ff;
  --sage: #c2e1d4;
  --cream: #10122e;
  --lavender: #26243f;
  --line: #3a3857;
  --white: #fff;
  --surface: #191c38;
  --surface-raised: #232541;
  --surface-soft: #302d4d;
  --moonlight: #ffe4a8;
  --button-fill: #ffe4a8;
  --surface-soft-hover: #3b365c;
  --sky-background: url('../Assets/night-sky.png');
  --moonlight-hover: #fff0c3;
  --ink-on-light: #1e1654;
  --font-body: "Rubik",Arial,sans-serif;
  --font-display: "Rubik",Arial,sans-serif;
  --font-heading-weight: 500;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 2rem;
  scrollbar-gutter: stable;
}
:where(html,.lumi-intro,.preview-panel) {
  scrollbar-width: thin;
  scrollbar-color: var(--purple-brand) var(--cream);
}
/* Rounded handles for browsers using the WebKit scrollbar styling API. */
::-webkit-scrollbar {
  width: .7rem;
  height: .7rem;
}
::-webkit-scrollbar-track {
  background: var(--cream);
}
::-webkit-scrollbar-thumb {
  min-height: 2.5rem;
  border: .1875rem solid var(--cream);
  border-radius: 1rem;
  background: var(--purple-brand);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--ink-2);
}
::-webkit-scrollbar-corner {
  background: var(--cream);
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}
button,input,select {
  font: inherit;
}
button,a,select,input {
  -webkit-tap-highlight-color: transparent;
}
button,a {
  touch-action: manipulation;
}
button {
  color: inherit;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  border: 0;
  background: none;
}
img {
  display: block;
  max-width: 100%;
  object-fit: contain;
}
h1,h2,h3,p {
  margin: 0;
}
h1 em,h2 em,h3 em {
  font-style: normal;
}
button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,[tabindex]:focus-visible {
  outline: 3px solid var(--purple-brand);
  outline-offset: 5px;
}
button:disabled {
  cursor: default;
  opacity: .6;
}
.wrap {
  width: min(100% - 7rem,76rem);
  margin-inline: auto;
}
.opening-scene {
  position: relative;
  overflow: hidden;
  background: var(--cream);
}
.night-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  pointer-events: none;
  opacity: 1;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: .25rem;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -.095rem;
  line-height: 1.15;
}
.wordmark>img {
  width: 3.5rem;
  height: 3.5rem;
  margin-left: -.5rem;
}
.brand-accent {
  color: var(--purple-brand);
}
.wordmark small {
  display: block;
  font-size: .48rem;
  font-weight: 600;
  letter-spacing: .19rem;
  margin-top: .5rem;
  color: var(--ink-2);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  min-height: 3.3rem;
  padding: .85rem 1.6rem;
  border-radius: 5rem;
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.4;
  box-shadow: 0 3px 0 #25114b0b;
  transition: background .2s,box-shadow .2s,transform .3s cubic-bezier(.2,1.6,.45,1);
  text-align: center;
}
.button span[aria-hidden] {
  font-size: 1.2rem;
  font-weight: 400;
}
.button-primary {
  background: var(--button-fill);
  color: var(--ink-on-light);
  box-shadow: 0 4px 30px #ffe4a815;
}
.button-primary:hover {
  background: var(--moonlight-hover);
  box-shadow: 0 6px 35px #ffe4a82a;
}
.button-soft {
  background: var(--surface-soft);
  color: var(--ink);
}
.button-soft:hover {
  background: var(--surface-soft-hover);
}
.button:active,button:active {
  transform: scale(.96);
}
.text-link {
  font-size: .85rem;
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  font-weight: 600;
  padding: .5rem 0;
  border-bottom: 1px solid #8a7baa60;
}
.text-link:hover {
  color: var(--purple-brand);
  border-color: var(--purple-brand);
}
.eyebrow {
  font-size: .64rem;
  letter-spacing: .145rem;
  font-weight: 700;
  line-height: 1.8;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  gap: .55rem;
}
.eyebrow img {
  width: 1.45rem;
  height: 1.45rem;
}
.night-demo-copy h2 em {
  font-weight: inherit;
  color: var(--purple-brand);
}
.section {
  padding-block: 6rem;
}
.section-heading {
  text-align: center;
  margin-bottom: 2.7rem;
}
.section-heading .eyebrow {
  justify-content: center;
}
.section h2,.faq-section h2,.closing-section h2 {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: var(--font-heading-weight);
  line-height: 1.2;
  letter-spacing: -.07rem;
  margin: .75rem 0 1rem;
}
.section-heading>p:last-child {
  font-size: .91rem;
  line-height: 1.8;
  color: var(--ink-2);
}
.faq-section {
  border-top: 1px solid var(--line);
  padding-block: 4.5rem 5rem;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5rem;
}
.faq-section h2 {
  font-size: 2.5rem;
}
.faq-section>div>p:last-child {
  font-size: .9rem;
  color: var(--ink-2);
}
.faq-list details {
  border-bottom: 1px solid var(--line);
  padding-block: 1.25rem;
}
.faq-list summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .88rem;
  font-weight: 600;
  gap: 2rem;
  min-height: 1.5rem;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 400;
}
.faq-list details[open] summary::after {
  content: "−";
}
.faq-list details p {
  font-size: .82rem;
  line-height: 1.85;
  color: var(--ink-2);
  margin-top: 1rem;
  padding-right: 2rem;
}
.closing-section {
  background: #191b36;
  text-align: center;
  padding-block: 2.4rem 4rem;
}
.closing-inner>img {
  margin: auto;
  width: 9rem;
  height: 9rem;
}
.closing-inner .eyebrow {
  justify-content: center;
  margin-top: 1.3rem;
}
.closing-section h2 {
  font-size: 3rem;
}
.closing-section p:not(.eyebrow) {
  color: var(--ink-2);
  font-size: .95rem;
}
.closing-section .button {
  margin-top: 1.7rem;
  min-width: 13rem;
}
.site-footer {
  padding-block: 2.3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}
/* The studio credit: the footer row's last item, which never shrinks — the tagline gives
   way first. Once the row wraps it takes a centred line of its own. The logo is inlined
   so its letters can wear ARG's own colours with the theme: white by night, navy by day,
   as the studio supplies its logo. */
.made-by {
  flex: none;
  white-space: nowrap;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .45rem;
  font-size: .66rem;
  color: var(--ink-2);
  transition: color .2s;
}
.made-by:hover {
  color: var(--ink);
}
/* Read aloud, never shown: e.g. that a link opens a new tab. */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.made-by-logo {
  height: 1.1rem;
  width: auto;
  aspect-ratio: 1192 / 392;
  flex: none;
  /* Box-centring sits the logo's letters high: its box includes the "g" tail, and its
     letters stand taller than the text's. Measured: this centres the mark and "arg"
     on the text's lowercase body. */
  transform: translateY(.15rem);
}
.made-by-logo g {
  fill: #fff;
}
[data-theme="light"] .made-by-logo g {
  fill: #261b46;
}
.site-footer .wordmark {
  font-size: 1.35rem;
  gap: 0;
}
.site-footer p,.site-footer>span {
  font-size: .66rem;
  color: var(--ink-2);
}
.site-footer>span {
  color: var(--ink-3);
}
.skip-link {
  position: fixed;
  top: -5rem;
  left: 1rem;
  z-index: 100;
  padding: 1rem;
  background: var(--surface-raised);
  border-radius: .5rem;
}
.skip-link:focus {
  top: 1rem;
}
@media(max-width:70em) {
  .wrap {
    width: calc(100% - 4rem);
  }
}
@media(max-width:54em) {
  .faq-section {
    gap: 2rem;
  }
  .section {
    padding-block: 4rem;
  }
  .site-footer {
    flex-wrap: wrap;
    gap: 1rem;
  }
  .made-by {
    width: 100%;
  }
  .site-footer>span {
    width: 100%;
    text-align: center;
  }
  .site-footer .wordmark,.site-footer p {
    flex: 1;
  }
  .site-footer p {
    text-align: right;
  }
}
@media(max-width:37em) {
  .wrap {
    width: calc(100% - 2.5rem);
  }
  .wordmark {
    font-size: 1.35rem;
    letter-spacing: -.06rem;
  }
  .wordmark>img {
    width: 2.65rem;
    height: 2.65rem;
  }
  .wordmark small {
    font-size: .36rem;
    letter-spacing: .11rem;
  }
  .eyebrow {
    font-size: .54rem;
    letter-spacing: .105rem;
  }
  .section {
    padding-block: 3.5rem;
  }
  .section-heading {
    margin-bottom: 2rem;
  }
  .section h2,.closing-section h2 {
    font-size: 2.1rem;
  }
  .section-heading>p:last-child {
    font-size: .79rem;
  }
  .faq-section {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding-block: 3rem;
  }
  .faq-section h2 {
    font-size: 2.2rem;
  }
  .faq-section h2 br {
    display: none;
  }
  .faq-section h2 br::after {
    content: " ";
  }
  .faq-list summary {
    font-size: .82rem;
    gap: 1rem;
  }
  .closing-section {
    padding-block: 2rem 3rem;
  }
  .closing-section .eyebrow {
    font-size: .5rem;
  }
  .closing-section h2 {
    font-size: 2.25rem;
  }
  .site-footer {
    padding-block: 1.5rem;
  }
  .site-footer .wordmark {
    font-size: 1.1rem;
  }
  .site-footer p {
    font-size: .6rem;
  }
  .site-footer>span {
    font-size: .58rem;
  }
}
