:root {
  color-scheme: light; --ink: #202037; --muted: #56586a; --night: #161630;
  --violet: #534c83; --lavender: #d7ccff; --paper: #fcfbf8; --line: #d9d7df;
  --aurora-canvas: #eef7f6; --aurora-teal: #27666a; --aurora-ink: #111827;
  font: 100%/1.55 -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;
  background: var(--paper); color: var(--ink);
}
*, *::before, *::after { box-sizing: border-box; }
body, figure, h1, h2, h3, p, blockquote, dl, dd { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .22em; }
button { color: inherit; font: inherit; cursor: pointer; }
[hidden] { display: none !important; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #a76032; outline-offset: 4px; }
.mast a:focus-visible, .hero a:focus-visible { outline-color: #994320; }
footer a:focus-visible { outline-color: #ffd599; }
.wrap { width: min(78rem,calc(100% - clamp(2.5rem,8.5vw,9rem))); margin-inline: auto; }
.skip { position: absolute; z-index: 8; left: 1rem; top: 0; padding: .75rem; background: #fff; transform: translateY(-120%); }
.skip:focus { transform: none; }
.mast { background: var(--aurora-canvas); color: var(--aurora-ink); padding-block: 1rem .45rem; }
.nav, .nav-links, .wordmark, .footer, .footer nav, .viewer-bar { display: flex; align-items: center; }
.nav { justify-content: space-between; min-height: 3.85rem; gap: 1.2rem; padding: .35rem 1.35rem;
  background: #f9fefc; border: 1px solid #c8d8d6; border-radius: 1.75rem;
  box-shadow: 0 3px 12px #25484c12; }
.wordmark { gap: .65rem; font-size: 1.55rem; font-weight: 680; letter-spacing: -.05em; text-decoration: none; }
.wordmark img { border-radius: 25%; border: 1px solid #ffffff35; }
.nav-links, .footer nav { gap: clamp(1rem,2.7vw,2.5rem); flex-wrap: wrap; }
.nav-links a, .footer nav a { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; font-size: .95rem; font-weight: 550; }
.nav-links a:hover, .footer nav a:hover { text-decoration: underline; }
.nav-links .studio { border-left: 1px solid #c8d8d6; padding-left: 1.4rem; color: #3d575a; }
h1, h2, h3 { line-height: 1.05; text-wrap: balance; letter-spacing: -.044em; }
h1 { font-size: clamp(3.2rem,5.45vw,5.7rem); font-weight: 660; }
h2 { font-size: clamp(2.4rem,4.25vw,4.25rem); font-weight: 640; }
h3 { font-size: clamp(1.6rem,2.45vw,2.75rem); font-weight: 640; }
.hero { background: var(--aurora-canvas); color: var(--aurora-ink); position: relative; overflow: hidden; isolation: isolate;
  border-bottom: 1px solid #d4e2df; }
.devices::before { content: ''; position: absolute; z-index: -1; pointer-events: none;
  width: 210%; aspect-ratio: 18 / 7; left: 50%; top: 53%; transform: translate(-47%,-50%);
  background: url("/assets/aurora-ribbons.webp") center / contain no-repeat; }
.hero-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: clamp(2rem,4vw,4rem); align-items: center; padding-block: clamp(2.8rem,4.6vw,4.9rem) clamp(3.4rem,4.8vw,5rem); }
.platform, .label, .example-label { font-size: .94rem; font-weight: 650; letter-spacing: .017em; }
.platform { color: #964126; margin-bottom: 1rem; }
.hero h1 { max-width: 14ch; }
.hero em { font-style: normal; color: var(--aurora-teal); }
.intro { font-size: clamp(1.08rem,1.55vw,1.35rem); line-height: 1.55; color: #3b4a51; max-width: 42ch; margin-top: 1.25rem; }
.primary { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; text-decoration: none;
 padding: .72rem 1.3rem; background: var(--aurora-teal); color: #fff; border-radius: 2rem; font-weight: 680; margin-top: 1.55rem; }
.primary:hover { background: #1d5154; }
.devices { display: grid; position: relative; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; gap: clamp(.75rem,1.9vw,1.8rem); max-width: 29rem; margin-inline: auto; }
.devices figure:nth-child(2) { margin-top: clamp(2.3rem,4.4vw,4.25rem); }
.devices figcaption { margin-top: .6rem; color: #364850; font-size: .94rem; font-weight: 570; text-align: center; }
.phone { display: block; position: relative; background: #292a32; padding: 4px; border: 1px solid #78747d; border-radius: 1.7rem; overflow: hidden; box-shadow: 0 15px 28px -14px #100d2452; }
.phone img { border-radius: 1.38rem; width: 100%; }
.devices .phone:hover, .specimen .phone:hover { outline: 2px solid #ad9cca; outline-offset: 3px; }
.devices .phone:hover { outline-color: var(--aurora-teal); }
.label { color: var(--violet); margin-bottom: .6rem; }
.tour { padding-block: clamp(3.7rem,6vw,6rem) clamp(3rem,5vw,5rem); }
.tour-intro, .personal, .thread-grid, .end-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(1.8rem,5vw,6rem); }
.tour-intro { margin-bottom: 2.1rem; align-items: end; }
.tour-intro > p, .personal-copy > p:not(.label), .thread-copy > p:not(.label), .end-grid > div > p:not(.label), .doc p { font-size: 1.1rem; line-height: 1.57; color: #414251; }
.tour-layout { display: grid; grid-template-columns: 14rem minmax(0,1fr); gap: clamp(1.2rem,2.7vw,2.8rem); align-items: start; }
.chapter-nav { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.chapter-nav a { min-height: 66px; border-bottom: 1px solid var(--line); padding: .8rem .8rem; display: flex; flex-direction: column; justify-content: center; gap: .1rem; text-decoration: none; }
.chapter-nav strong { font-size: 1.02rem; line-height: 1.35; }
.chapter-nav span, .specimen figcaption { font-size: .88rem; color: var(--muted); }
.chapter-nav a[aria-current] { background: #ece9f6; box-shadow: inset 3px 0 0 var(--violet); color: #393060; }
.chapter-nav a:hover { background: #f1eef6; }
.chapter { --stage: #e2edf0; scroll-margin-top: 1rem; display: grid; grid-template-columns: minmax(0,1.38fr) minmax(9rem,.72fr); align-items: stretch; background: #fff; border: 1px solid var(--line); border-radius: 1.1rem; overflow: clip; }
.chapter + .chapter:not([hidden]) { margin-top: 1rem; }
.chapter:focus { outline: none; }
.chapter-copy { align-self: center; padding: clamp(1.25rem,2.7vw,2.8rem); }
.chapter-copy .label { font-size: .88rem; }
.chapter-copy > p:not(.label) { margin-top: .8rem; }
.chapter-copy dl { margin-block: 1.15rem .4rem; }
.chapter-copy dl div + div { margin-top: .8rem; }
.chapter-copy dt { font-weight: 690; }
.chapter-copy dd { color: #494b59; line-height: 1.5; }
#writing { --stage: #e9e4f3; }
#today { --stage: #eee8d8; }
#communication { --stage: #e5eddf; }
#guide { --stage: #e3ede9; }
#discover { --stage: #e9e7f2; }
.specimen { background: var(--stage); padding: 1.4rem clamp(.6rem,1.4vw,1.25rem); display: flex; flex-direction: column; justify-content: center; align-items: center; }
.specimen .phone { width: min(100%,12.5rem); border-radius: 1.35rem; padding: 3px; }
.specimen .phone img { border-radius: 1.08rem; }
.specimen figcaption { text-align: center; margin-top: .65rem; color: #3b4550; }
.inline-link, .text-link { display: inline-flex; align-items: center; min-height: 44px; color: #4b477a; font-weight: 620; text-decoration-thickness: .075em; }
.inline-link + .inline-link { margin-left: 1rem; }
.tour-note { color: var(--muted); font-size: .9rem; margin-top: .8rem; text-align: right; }
.thread { background: #efecf6; padding-block: clamp(3.4rem,5.6vw,5.8rem); }
.thread-copy p:not(.label), .personal-copy p:not(.label), .end-grid > div > p:not(.label) { margin-top: .95rem; }
.note-demo { padding: clamp(1.3rem,3vw,2.6rem); background: #fffefa; border: 1px solid #d6cfde; border-radius: .8rem; box-shadow: 0 9px 24px #4031520d; }
.example-label { color: #61576a; }
.note-demo blockquote { margin-block: .75rem 1.4rem; font-size: clamp(1.35rem,2.15vw,1.9rem); line-height: 1.47; letter-spacing: -.02em; }
.note-demo .selected { background: #e2d8f5; box-shadow: 0 .06em #e2d8f5; }
.note-choices { border-top: 1px solid var(--line); padding-top: .85rem; }
.note-choices > span { font-size: .88rem; font-weight: 640; color: var(--muted); }
.note-choices > div { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .45rem; }
.note-choices button, .viewer-bar button { min-height: 44px; padding: .42rem .85rem; border: 1px solid #bcb8c9; border-radius: .55rem; background: #fff; font-weight: 590; }
.note-choices button[aria-pressed="true"] { background: #443e68; color: white; border-color: #443e68; }
#destination-result:not(:empty) { margin-top: .85rem; color: #494654; }
.personal { padding-block: clamp(3.6rem,6vw,6rem); }
.visitor { background: #e5efed; border: 1px solid #d1e1de; border-radius: 1rem; padding: clamp(1rem,2.4vw,2.35rem); }
.visitor img { border-radius: .5rem; width: 100%; }
.visitor figcaption { margin-top: .45rem; }
.pricing { padding-block: clamp(3.4rem,5.5vw,5.5rem); background: #eeedf4; }
.pricing-intro, .price-intro { max-width: 68ch; color: var(--muted); }
.pricing-intro { margin-top: 1rem; font-size: 1.1rem; }
.plan-pair, .price-options { display: grid; gap: 1rem; }
.plan-pair { grid-template-columns: repeat(auto-fit,minmax(min(100%,23rem),1fr)); margin-block: 1.6rem 2.25rem; }
.plan-card { padding: clamp(1.3rem,2.5vw,2.1rem); background: var(--paper); border: 1px solid var(--line); border-radius: 1rem; overflow-wrap: anywhere; }
.plus-card { background: #292642; border-color: #292642; color: #fcfaff; }
.plan-description { margin-top: .5rem; }
.plan-card ul { list-style: disc; padding-inline-start: 1.25rem; margin: 1.1rem 0 0; }
.plan-card li { padding-inline-start: .2rem; }
.plan-card li + li { margin-top: .63rem; }
.plan-card li::marker { color: var(--violet); }
.plus-card li::marker { color: var(--lavender); }
.price-heading { font-size: clamp(1.6rem,2.4vw,2.25rem); }
.price-intro { margin-block: .45rem 1.1rem; }
.price-options { grid-template-columns: repeat(auto-fit,minmax(min(100%,15rem),1fr)); margin: 0; }
.price-options > div { padding: 1rem 1.15rem; border-top: 2px solid #a49bbd; background: #f9f8fc; }
.price-options dt { font-weight: 650; color: var(--violet); }
.price-options dd strong { font-size: clamp(1.7rem,2.6vw,2.35rem); letter-spacing: -.04em; }
.price-terms, .store-terms { color: var(--muted); font-size: .94rem; }
.price-terms { margin-top: .3rem; }
.trial-terms { max-width: 74ch; margin-top: 1.65rem; }
.trial-terms h3 { margin-bottom: .35rem; font-size: 1.24rem; letter-spacing: -.015em; }
.store-terms { margin-top: .7rem; }
.device-tools { border-top: 1px solid var(--line); background: #f0f1ee; }
.end-grid { padding-block: clamp(3.4rem,5.4vw,5.4rem); }
.extras { border-top: 1px solid #bfc5c0; }
.extras details { border-bottom: 1px solid #bfc5c0; }
.extras summary { cursor: pointer; padding: 1.05rem .15rem; font-size: 1.08rem; font-weight: 650; }
.extras p { margin: 0 0 1rem; color: #434856; }
footer { background: var(--night); color: #f8f6ff; }
.footer { justify-content: space-between; gap: .6rem 1rem; flex-wrap: wrap; padding-block: 1.2rem; }
.footer p { font-size: 1.1rem; font-weight: 660; }
.footer p span { font-weight: 450; font-size: .92rem; margin-left: .35rem; }
dialog { color: var(--ink); background: var(--paper); border: 1px solid #a6a3b2; border-radius: 1rem; padding: 1rem; width: min(50rem,96vw); max-height: 95vh; max-height: 95dvh; }
dialog::backdrop { background: #111126dd; }
.viewer-bar { justify-content: space-between; gap: .75rem; margin-bottom: .6rem; }
.viewer-bar h2 { font-size: 1.4rem; }
.viewer-art { padding: .5rem; background: #e3e4eb; border-radius: .5rem; }
.viewer-art img { width: auto; max-height: 69vh; max-height: 69dvh; margin: auto; }
.doc { padding-block: clamp(3rem,6vw,6rem); max-width: 47rem; }
.doc h1 { margin: .65rem 0 1.25rem; }
.doc h2 { margin-block: 2rem .6rem; font-size: 1.7rem; }
.doc p + p { margin-top: .85rem; }
@media (max-width: 1090px) {
  .tour-layout { grid-template-columns: 1fr; }
  .chapter-nav { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
  .chapter-nav a { padding: .75rem; }
  .chapter-copy { padding: 1.75rem; }
  .hero-grid { gap: 1.4rem; }
}
@media (max-width: 730px) {
  .wrap { width: calc(100% - 2.5rem); }
  .mast { padding-block: .65rem .3rem; }
  .nav { min-height: 3.3rem; padding: .25rem .85rem; border-radius: 1.4rem; }
  .wordmark { font-size: 1.4rem; gap: .45rem; }
  .wordmark img { width: 29px; }
  .nav-links { gap: .8rem; }
  .nav-links a { font-size: .91rem; }
  .nav-links .studio, .nav-links a[href$="#personalize"] { display: none; }
  .hero-grid, .tour-intro, .thread-grid, .personal, .end-grid { grid-template-columns: 1fr; }
  .hero-grid { padding-block: 2.6rem 2rem; gap: 1.75rem; }
  .hero h1 { font-size: clamp(2.85rem,9vw,4rem); max-width: 16ch; }
  .devices { width: min(100%,22rem); gap: .85rem; }
  .devices::before { width: 170%; transform: translate(-55%,-50%); }
  .devices figure:nth-child(2) { margin-top: 1.55rem; }
  .phone { padding: 3px; border-radius: 1.15rem; }
  .phone img { border-radius: .9rem; }
  .tour-intro { align-items: start; gap: .85rem; margin-bottom: 1.25rem; }
  .chapter-nav { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .chapter-nav strong { font-size: .98rem; }
  .chapter-nav span { font-size: .83rem; }
  .chapter { grid-template-columns: 1fr; }
  .chapter-copy { padding: 1.35rem; }
  .specimen { padding: 1.4rem; }
  .specimen .phone { width: min(62vw,11.5rem); }
  .tour-note { text-align: left; }
  .thread-grid, .personal, .end-grid { gap: 1.35rem; }
}
@media (forced-colors: active) {
  .chapter-nav a[aria-current], .note-choices button[aria-pressed="true"], .selected { outline: 2px solid Highlight; }
  .primary { border: 1px solid ButtonText; }
}
@media (prefers-contrast: more), (forced-colors: active) {
  .devices::before { display: none; }
}
body { container-type: inline-size; }
.hero-grid > *, .tour-layout > *, .thread-grid > *, .end-grid > *, .personal > * { min-width: 0; }
.devices { width: min(100%,29rem); }
@container (max-width: 42rem) {
  .wrap { width: calc(100% - 10vw); }
  .nav { flex-wrap: wrap; gap: .15rem .8rem; }
  .hero-grid, .tour-layout, .tour-intro, .thread-grid, .end-grid, .personal { grid-template-columns: minmax(0,1fr); }
  .hero h1, .chapter-nav a, .chapter-copy, .thread-grid, .personal, .end-grid, .doc { overflow-wrap: anywhere; }
  .devices { width: min(100%,22rem); }
  .chapter { grid-template-columns: minmax(0,1fr); }
  .chapter-nav { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,9rem),1fr)); }
}
@container (max-width: 18rem) {
  .hero h1 { font-size: 2.2rem; }
  h2 { font-size: 1.85rem; }
  .devices { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .45rem; }
  .chapter-copy, .visitor, .note-demo { padding: .75rem; }
  .nav-links, .footer nav { flex-wrap: wrap; gap: .2rem .75rem; }
}
