@font-face {
  font-family: "DM Sans";
  src: url("assets/fonts/DMSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("assets/fonts/DMSans-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --page: #faf8ff;
  --paper: #fff;
  --ink: #251b38;
  --muted: #5a5268;
  --violet: #5733c4;
  --violet-dark: #422598;
  --line: #e5dfed;
  --plum: #29213b;
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  line-height: 1.55;
  color: var(--ink);
  background: var(--page);
  scroll-padding-top: 82px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body, h1, h2, h3, p, figure { margin: 0; }
img { display: block; max-width: 100%; }
a { color: var(--violet); text-underline-offset: .21em; }
button, summary { font: inherit; }
:focus-visible { outline: 3px solid #7350dc; outline-offset: 4px; }
p { color: var(--muted); }
h1, h2, h3 { font-weight: 700; letter-spacing: -.045em; line-height: 1.07; }
h1 { font-size: clamp(2.8rem, 5.72vw, 5.25rem); letter-spacing: -.074em; }
h2 { font-size: clamp(2rem, 4.3vw, 3.55rem); }
h3 { font-size: clamp(1.38rem, 2vw, 1.8rem); }
.wrap { width: min(1192px, calc(100% - 4.5rem)); margin-inline: auto; }
.sr-only, .svg-library { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.skip-link { position: fixed; top: .5rem; left: .5rem; z-index: 20; background: var(--paper); padding: .7rem 1rem; border-radius: 10px; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-header { background: var(--page); border-bottom: 1px solid var(--line); }
.home-page .site-header { position: sticky; top: 0; z-index: 10; }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem 1.75rem; flex-wrap: wrap; }
.header-inner { min-height: 72px; padding-block: .55rem; }
.brand { display: inline-flex; align-items: center; gap: .38rem; color: var(--ink); font-size: 1.35rem; font-weight: 700; letter-spacing: -.06em; text-decoration: none; white-space: nowrap; }
.brand img { flex: none; object-fit: contain; }
.brand-period { color: var(--violet); margin-left: -.38rem; }
.site-nav, .site-footer nav { display: flex; align-items: center; flex-wrap: wrap; column-gap: 1.6rem; }
.site-nav a, .site-footer nav a { display: inline-flex; min-height: 44px; align-items: center; color: var(--ink); font-weight: 700; font-size: .94rem; text-decoration: none; }
.site-nav a:hover, .site-footer nav a:hover, .site-nav [aria-current="page"] { color: var(--violet); text-decoration: underline; }
.site-nav .nav-support { padding-inline: .95rem; border: 1px solid var(--line); border-radius: 999px; }
.header-actions { display: flex; align-items: center; gap: .55rem; }
.mobile-menu { display: none; position: relative; }
.mobile-menu summary { display: grid; min-height: 44px; place-items: center; padding-inline: .5rem; cursor: pointer; font-weight: 700; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu nav { position: absolute; z-index: 1; top: calc(100% + 7px); right: 0; min-width: 156px; display: grid; background: var(--paper); border: 1px solid var(--line); border-radius: 15px; box-shadow: 0 12px 30px #2b164520; padding: .35rem; }
.mobile-menu a { display: flex; min-height: 44px; align-items: center; padding-inline: .65rem; text-decoration: none; font-weight: 700; }
.mobile-menu a:hover { background: #f0e9ff; border-radius: 9px; }

.button, .text-link { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; font-weight: 700; text-decoration: none; }
.button { color: white; background: var(--violet); border-radius: 13px; padding: .65rem 1.1rem; }
.button:hover { background: var(--violet-dark); }
.header-cta { min-height: 44px; font-size: .9rem; padding-inline: .82rem; border-radius: 12px; }
.header-cta .icon, .text-link .icon { width: 17px; height: 17px; }
.text-link { color: var(--violet); }
.text-link:hover { text-decoration: underline; }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: center; gap: clamp(1.85rem, 5vw, 4.2rem); padding-block: clamp(2.7rem, 6.5vw, 5.5rem); }
.hero-copy { min-width: 0; }
.eyebrow { display: flex; align-items: center; gap: .6rem; color: var(--violet-dark); font-size: .73rem; font-weight: 700; letter-spacing: .105em; }
.spark-chip { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 11px; background: #ede5ff; }
.spark-chip .icon { width: 16px; height: 16px; }
.hero h1 { margin-top: 1.12rem; }
.hero h1 span { color: var(--violet); }
.hero-description { max-width: 37ch; margin-block: 1.15rem 1.5rem; font-size: clamp(1.03rem, 1.5vw, 1.23rem); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem 1.2rem; }
.hero-topics { display: flex; flex-wrap: wrap; column-gap: 1.1rem; row-gap: .3rem; margin-top: 1.5rem; font-size: .83rem; color: var(--muted); }
.hero-topics span { display: inline-flex; gap: .4rem; align-items: center; }
.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot-sleep { background: #8b61e4; }
.dot-journey { background: #3a936a; }
.dot-ask { background: #d47150; }

.studio {
  --stage: #e9defe;
  --sample: #f0e9ff;
  --sample-ink: #553499;
  position: relative;
  isolation: isolate;
  min-width: 0;
  padding: clamp(.9rem, 2.3vw, 1.6rem);
  background: var(--stage);
  border-radius: 31px;
  box-shadow: 0 10px 45px #41207818;
}
.studio[data-view="journey"] { --stage: #dceee4; --sample: #e8f5ed; --sample-ink: #276246; }
.studio[data-view="ask"] { --stage: #f6dfd7; --sample: #faece6; --sample-ink: #813f32; }
.studio::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(#fff9 1px, transparent 1px) top right / 13px 13px, radial-gradient(ellipse at 94% 8%, #fff9, transparent 64%);
  mask-image: linear-gradient(120deg, #000, #0005);
}
.studio-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .4rem; }
.studio-heading h2 { font-size: clamp(1.06rem, 2.3vw, 1.5rem); letter-spacing: -.04em; }
.sample-tag { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .65rem; border-radius: 999px; background: #fff9; color: var(--ink); font-size: .72rem; font-weight: 700; }
.sample-tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--sample-ink); }
.studio-switcher { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; margin-block: .9rem; padding: 4px; border-radius: 13px; background: #ffffff70; }
.studio-switcher button { display: flex; align-items: center; justify-content: center; gap: .4rem; min-height: 44px; padding: .38rem .25rem; border: 0; border-radius: 10px; background: transparent; color: var(--ink); font-weight: 700; cursor: pointer; }
.studio-switcher button[aria-selected="true"] { background: #fff; color: var(--sample-ink); box-shadow: 0 2px 8px #34214416; }
.studio-switcher button:hover { background: #fff; }
.studio-switcher .icon { width: 17px; height: 17px; }
.demo-card { display: flex; flex-direction: column; min-height: 306px; padding: clamp(.8rem, 2.4vw, 1.2rem); background: #fff; border: 1px solid #fff; border-radius: 22px; box-shadow: 0 9px 24px #33204717; }
.studio-switcher[hidden] + .demo-card { margin-top: .95rem; }
.demo-profile { display: flex; align-items: center; gap: .7rem; min-width: 0; margin-bottom: .8rem; }
.demo-profile > div { display: grid; line-height: 1.35; min-width: 0; }
.demo-profile strong { font-size: 1.04rem; }
.demo-profile > div > span { color: var(--muted); font-size: .82rem; }
.avatar, .demo-icon, .feature-icon { display: grid; flex: none; place-items: center; border-radius: 12px; color: var(--sample-ink, var(--violet)); background: var(--sample, #f0e9ff); }
.avatar { width: 40px; height: 40px; font-weight: 700; }
.pill { margin-left: auto; padding: .25rem .65rem; border: 1px solid var(--line); border-radius: 999px; font-size: .75rem; font-weight: 700; white-space: nowrap; }
.sleep-record, .week-record, .ask-record { flex: 1; padding: clamp(.7rem, 2.1vw, 1rem); border-radius: 16px; background: var(--sample); color: var(--sample-ink); }
.record-title { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; font-weight: 700; }
.demo-icon { width: 34px; height: 34px; background: #fff9; }
.demo-icon .icon { width: 18px; height: 18px; }
.record-saved { display: inline-flex; align-items: center; gap: .22rem; margin-left: auto; font-size: .72rem; font-weight: 700; }
.record-saved .icon { width: 14px; height: 14px; }
.record-time { margin-top: .18rem; color: var(--sample-ink); font-weight: 700; font-size: clamp(2.65rem, 5vw, 4.15rem); line-height: 1.04; letter-spacing: -.065em; }
.record-time span { font-size: .45em; letter-spacing: -.035em; }
.record-subtitle { margin-top: .16rem; color: var(--sample-ink); font-size: .86rem; }
.sleep-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: .85rem; }
.sleep-details > div { display: flex; gap: .52rem; align-items: center; min-width: 0; padding-inline: .45rem; }
.sleep-details > div + div { border-left: 1px solid var(--line); padding-left: .85rem; }
.sleep-details .icon { color: var(--sample-ink); width: 17px; height: 17px; }
.sleep-details > div > span { display: grid; line-height: 1.38; }
.sleep-details small { color: var(--muted); font-size: .72rem; }
.sleep-details strong { font-size: .9rem; }
.studio-caption { margin-top: .7rem; font-size: .8rem; color: var(--ink); }
.week-heading { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; }
.week-heading span { font-size: .72rem; }
.week-chart { list-style: none; display: grid; grid-template-columns: repeat(7, 1fr); gap: 7px; padding: 0; margin: .45rem 0 0; }
.week-chart li { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: .25rem; height: 91px; font-size: .71rem; font-weight: 700; }
.week-bar { width: min(72%, 30px); background: #7bbb98; border-radius: 5px 5px 3px 3px; }
.bar-one, .bar-six { height: 56px; }
.bar-two, .bar-seven { height: 64px; }
.bar-three { height: 48px; }
.bar-four { height: 68px; background: #398363; }
.bar-five { height: 60px; }
.ask-record { display: grid; align-content: center; gap: .7rem; }
.ask-prompt { max-width: 28ch; padding: .65rem .8rem; border-radius: 12px 12px 3px 12px; background: #fff; color: var(--ink); font-weight: 700; justify-self: end; }
.ask-reply { background: #302642; color: white; border-radius: 12px 12px 12px 3px; padding: .7rem .85rem; }
.ask-reply span { color: #e4ccff; font-size: .68rem; font-weight: 700; letter-spacing: .075em; }
.ask-reply p { color: #fff; font-size: .91rem; }

.inside-band { background: #fff; border-block: 1px solid #ede7f4; }
.section-pad { padding-block: clamp(2.65rem, 6.2vw, 5.25rem); }
.section-heading { display: grid; grid-template-columns: 1.25fr .75fr; gap: .85rem 2.5rem; align-items: end; margin-bottom: 1.65rem; }
.section-heading h2 { margin-top: .42rem; }
.section-heading > p { max-width: 39ch; }
.feature-bento { display: grid; grid-template-columns: 1.05fr 1fr; gap: .95rem; }
.feature { position: relative; isolation: isolate; display: grid; gap: .7rem; align-content: start; padding: clamp(1rem, 2.8vw, 1.65rem); border-radius: 24px; overflow: hidden; }
.feature p { margin-top: .32rem; max-width: 37ch; }
.feature-icon { width: 44px; height: 44px; background: #ffffffa6; }
.feature .text-link { justify-self: start; min-height: 44px; }
.feature-sleep { grid-row: span 2; align-content: space-between; min-height: 370px; background: linear-gradient(140deg, #35214e 13%, #5535a0 100%); color: white; }
.feature-sleep h3 { font-size: clamp(1.6rem, 3vw, 2.55rem); }
.feature-sleep p { color: #f0e8fc; }
.feature-sleep .text-link { color: white; }
.feature-sleep :focus-visible { outline-color: #e9d9ff; }
.feature-sleep .feature-icon { color: #fff; background: #ffffff21; }
.feature-art { position: absolute; z-index: -1; width: min(72%, 350px); top: -6%; right: -3%; fill: none; stroke: #d7bbff56; stroke-width: 2; }
.sample-night { width: min(100%, 315px); padding: .8rem .9rem; border: 1px solid #ffffff46; border-radius: 15px; background: #25183b88; }
.sample-night-label, .night-labels { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .2rem .4rem; }
.sample-night .sample-night-label, .sample-night .night-labels { margin: 0; }
.sample-night-label span, .night-labels { font-size: .74rem; color: #f0e8fc; }
.night-line { display: grid; grid-template-columns: 5fr .65fr 4fr; gap: 3px; margin-block: .6rem; }
.night-line span { height: 9px; border-radius: 5px; background: #cfb0ff; }
.night-line span:nth-child(2) { background: #ffbc97; }
.feature-journey { background: #def1e6; }
.feature-journey .feature-icon, .feature-journey .text-link { color: #246548; }
.feature-ask { background: #fae3d9; }
.feature-ask .feature-icon, .feature-ask .text-link { color: #86432e; }

.help-band { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.5rem, 5vw, 4.5rem); align-items: center; background: var(--plum); color: #fff; padding: clamp(1.35rem, 5vw, 3.5rem); border-radius: 28px; }
.help-copy .feature-icon { background: #ffffff1d; color: #dec4ff; margin-bottom: .85rem; }
.help-copy h2 { font-size: clamp(1.95rem, 3.65vw, 3.18rem); }
.help-copy p { max-width: 34ch; color: #e9e0f0; margin-block: .65rem 1.1rem; }
.light-button { background: #e6d6ff; color: #2e2146; }
.light-button:hover { background: #f5eaff; }
.help-band :focus-visible { outline-color: #d9bbff; }
.resource-links { border-top: 1px solid #ffffff32; }
.resource-links a { display: flex; gap: .9rem; align-items: center; justify-content: space-between; padding: .85rem .1rem; border-bottom: 1px solid #ffffff32; color: #fff; text-decoration: none; }
.resource-links a:hover strong { text-decoration: underline; }
.resource-links small { display: block; color: #e0d5eb; }
.resource-links .icon { color: #dec4ff; }
.site-footer { border-top: 1px solid var(--line); background: #f0eaf9; }
.footer-inner { padding-block: 1.35rem; }
.footer-note, .copyright { font-size: .84rem; }
.footer-note { flex-basis: 100%; max-width: 78ch; }

.legal { max-width: 820px; padding-block: clamp(2rem, 6vw, 4rem); overflow-wrap: anywhere; }
.legal h1 { font-size: clamp(2.4rem, 5vw, 4rem); margin-block: .4rem .8rem; }
.legal h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: .65rem; }
.legal h3 { margin-top: 1rem; }
.legal p + p, .legal ul + p, .legal ol + p { margin-top: .9rem; }
.legal-intro, .legal section { margin-bottom: 1.3rem; }
.legal section { padding: clamp(1rem, 3vw, 1.7rem); border-radius: 19px; border: 1px solid var(--line); background: var(--paper); }
.legal ul, .legal ol { padding-inline-start: 1.45rem; color: var(--muted); }
.legal li + li { margin-top: .4rem; }
.legal details + details { border-top: 1px solid var(--line); }
.legal summary { cursor: pointer; padding-block: .75rem; font-weight: 700; }
.legal details p { padding-bottom: .9rem; }
.legal .button { margin-top: 1rem; }
.guide-nav { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 1.25rem; }
.guide-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: .4rem .85rem; border: 1px solid var(--line); background: var(--paper); border-radius: 12px; font-size: .92rem; font-weight: 700; text-decoration: none; }
.guide-nav a:hover { text-decoration: underline; }

@media (max-width: 880px) {
  .wrap { width: min(1192px, calc(100% - 2.6rem)); }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 1.65rem; }
  .section-heading { gap: .7rem 1.5rem; }
}
@media (max-width: 720px) {
  .wrap { width: min(1192px, calc(100% - 2rem)); }
  .home-page .header-inner { flex-wrap: nowrap; gap: .35rem; min-height: 62px; }
  .home-nav { display: none; }
  .mobile-menu { display: block; }
  .hero { grid-template-columns: minmax(0, 1fr); padding-block: 2.1rem 2.6rem; gap: 1.7rem; }
  .hero h1 { font-size: clamp(2.7rem, 9.9vw, 4.3rem); }
  .hero-description { max-width: 43ch; }
  .hero-topics { margin-top: 1.05rem; }
  .section-heading, .feature-bento, .help-band { grid-template-columns: minmax(0, 1fr); }
  .feature-sleep { grid-row: auto; min-height: 250px; }
  .feature-art { width: min(67%, 290px); top: -14%; }
  .site-footer nav { gap: 0 1rem; }
}
@media (max-width: 385px) {
  .home-page .brand { font-size: 1.17rem; }
  .home-page .brand img { width: 34px; height: 34px; }
  .header-cta { padding-inline: .53rem; font-size: .79rem; }
  .header-cta .icon { display: none; }
  .mobile-menu summary { font-size: .85rem; padding-inline: .2rem; }
  .header-actions { gap: .3rem; }
  .studio-switcher button { font-size: .86rem; gap: .25rem; }
  .studio-switcher .icon { width: 14px; height: 14px; }
  .record-title { gap: .3rem; font-size: .9rem; }
  .record-saved { font-size: .66rem; }
  .sleep-details > div { gap: .3rem; padding-inline: .1rem; }
  .sleep-details > div + div { padding-left: .55rem; }
}
@media (prefers-reduced-motion: no-preference) {
  :root { scroll-behavior: smooth; }
  .studio, .button, .studio-switcher button { transition: background-color .16s ease, color .16s ease; }
}

/* Website audit maintenance, 9 November 2026. */
.website-plan-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:24px 0}
.website-plan-grid article{padding:28px;border:1px solid #e6e2ef;border-radius:22px;background:#fff}
.website-plan-grid h3{margin:0 0 12px}.website-plan-grid p{line-height:1.75;color:#5d586c}
.grievance-details{display:grid;grid-template-columns:100px 1fr;gap:14px;max-width:540px}.grievance-details dd{min-height:26px;margin:0;border-bottom:1px solid #c5bed6}
@media(max-width:650px){.website-plan-grid{grid-template-columns:1fr}}
