:root {
  color-scheme: light;
  --paper: #fbfaf7;
  --ink: #1d1826;
  --muted: #60596b;
  --purple: #5530c0;
  --purple-deep: #3d2195;
  --line: #e6e0e9;
  --ease: cubic-bezier(.22,.68,.22,1);
  --gutter: clamp(20px, 5vw, 76px);
  --shell: 1240px;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-synthesis: none;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 28px; }
body { margin: 0; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
figure, p, h1, h2, h3, h4 { margin: 0; }
em { font-style: normal; }
button:focus-visible, a:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--purple); outline-offset: 4px; }
.shell { width: min(calc(100% - 2 * var(--gutter)), var(--shell)); margin-inline: auto; }
.skip:not(:focus), .sr-only { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.skip:focus { position: fixed; inset: 10px auto auto 10px; z-index: 10; padding: 10px 14px; background: white; color: var(--purple-deep); border-radius: 6px; }

.site-header { border-bottom: 1px solid #eee8eb; }
.header-row { min-height: 74px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 15px; }
.wordmark { display: inline-flex; align-items: center; width: max-content; gap: 9px; font-size: 23px; font-weight: 760; letter-spacing: -.075em; }
.wordmark img { border-radius: 24%; }
.site-header nav, .site-footer nav { display: flex; justify-content: center; align-items: center; gap: clamp(18px, 3.3vw, 46px); color: var(--muted); font-size: 13px; font-weight: 630; }
.site-header nav a, .site-footer nav a, .footer-faq { transition: color .16s var(--ease); }
.site-header nav a:hover, .site-footer nav a:hover, .footer-faq:hover { color: var(--purple-deep); text-decoration: underline; text-underline-offset: 5px; }
.header-cta { justify-self: end; display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; border-radius: 100px; border: 1px solid #e0d3ec; color: var(--purple-deep); font-size: 13px; font-weight: 720; white-space: nowrap; transition: background .16s, border-color .16s; }
.header-cta:hover { background: #eee5fa; border-color: #dac8ed; }

.hero { display: grid; grid-template-columns: minmax(0, .71fr) minmax(0, 1.29fr); align-items: center; gap: clamp(24px, 3.4vw, 50px); padding-block: clamp(26px, 4vw, 56px) clamp(28px, 5vw, 62px); }
.hero-text { padding-bottom: 3%; }
.chapter-tag { color: var(--purple-deep); font-size: 11px; line-height: 1.4; font-weight: 760; letter-spacing: .15em; text-transform: uppercase; }
.hero .chapter-tag { margin-bottom: 20px; }
.hero h1 { font-size: clamp(48px, 5.6vw, 85px); line-height: .92; letter-spacing: -.074em; word-spacing: .061em; font-weight: 680; }
.hero h1 em, .faq h2 em, .download h2 em { color: var(--purple); }
.hero-deck { max-width: 32ch; margin-top: 26px; font-size: clamp(17px, 1.65vw, 22px); color: var(--muted); line-height: 1.46; letter-spacing: -.018em; }
.store-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.hero .store-actions { margin-top: 25px; }
.official-badge { display: inline-flex; align-items: center; min-height: 44px; border-radius: 8px; }
.official-badge:not(.google-play-badge) img { width: 132px; height: 44px; }
.google-play-badge img { width: 135px; height: 40px; }
.store-link { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding-inline: 12px; border: 1px solid #dfd1ed; border-radius: 9px; white-space: nowrap; font-size: 12px; font-weight: 740; transition: background .16s, color .16s, border-color .16s; }
.iphone-link { color: white; border-color: var(--purple); background: var(--purple); }
.iphone-link:hover { background: var(--purple-deep); border-color: var(--purple-deep); }
.story-link { margin-top: 31px; display: inline-flex; width: max-content; align-items: center; gap: 9px; color: var(--purple-deep); font-size: .875rem; font-weight: 710; text-decoration: underline; text-underline-offset: 5px; }
.week-device { position: relative; min-width: 0; box-sizing: border-box; display: block; width: min(100%, 224px); padding: var(--bezel, 5px); border: 2px solid transparent; border-radius: var(--device-radius, 33px); background: linear-gradient(#292630,#292630) padding-box, linear-gradient(140deg,#f6f4f9,#a7a0b1 25%,#ebe5f1 45%,#82798e 73%,#b1a9bc 94%) border-box; box-shadow: 0 0 0 1px #49385473, 0 10px 28px -12px #38214f72,0 36px 42px -27px #38214f6c; }
.week-device > img { width: 100%; height: auto; aspect-ratio: 786 / 1704; border-radius: calc(var(--device-radius, 33px) - var(--bezel, 5px) - 2px); background: white; }

.chapters { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; padding-bottom: clamp(28px, 4vw, 52px); border-bottom: 1px solid var(--line); }
.chapters a { display: grid; grid-template-columns: 1fr; row-gap: 3px; align-items: center; min-height: 69px; padding: 11px 15px; border: 1px solid #e9e2ec; border-radius: 15px; background: #fffdfd; transition: background .20s, border .20s; }
.chapters a > span:first-child { color: #6a5a75; font-size: 11px; font-weight: 650; }
.chapters strong { grid-column: 1; font-size: clamp(13px, 1.37vw, 17px); line-height: 1.2; letter-spacing: -.035em; }
.chapters a:hover { border-color: #d7c6e7; background: #f4edf9; }

.faq h2, .download h2, .preview-tools h2 { font-size: clamp(39px, 5.9vw, 82px); font-weight: 670; line-height: .97; letter-spacing: -.07em; word-spacing: .045em; }
@keyframes move-up { from { transform: translateY(8px); opacity: .63; } to { transform: translateY(0); opacity: 1; } }

.text-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 17px; padding: 6px 0; min-height: 42px; color: var(--purple-deep); font-size: 13px; font-weight: 720; }
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.text-link span { transition: transform .18s var(--ease); }
.text-link:hover span { transform: translate(2px,-2px); }
.faq-list details, .preview-tools details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary, .preview-tools summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-block: 16px; min-height: 53px; color: var(--ink); font-size: 15px; font-weight: 700; list-style: none; cursor: pointer; }
.faq-list summary::-webkit-details-marker, .preview-tools summary::-webkit-details-marker { display: none; }
.faq-list summary::after, .preview-tools summary::after { content: "+"; flex: 0 0 14px; color: var(--purple); font-size: 21px; font-weight: 420; line-height: 1; transition: transform .14s var(--ease); }
.faq-list details[open] summary::after, .preview-tools details[open] summary::after { transform: rotate(45deg); }
.faq-list details p, .preview-tools details p { margin: 0 17px 17px 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.faq-list details[open] p, .preview-tools details[open] p { animation: move-up .2s var(--ease) both; }
.preview-tools { border: 1px solid #e5d8ef; border-radius: 24px; background: #f9f5fc; padding: clamp(20px, 4vw, 47px); margin-bottom: clamp(52px, 8vw, 95px); }
.preview-tools h2 { margin: 9px 0 13px; font-size: clamp(39px, 5vw, 63px); }
.preview-tools > p:not(.chapter-tag) { color: var(--muted); font-size: 15px; }
.preview-columns { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(12px,2vw,25px); margin-top: 14px; }

.faq { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.10fr); align-items: start; gap: clamp(25px, 6vw, 80px); padding-block: clamp(66px, 9vw, 120px); }
.faq-list p a { color: var(--purple-deep); text-decoration: underline; }
.download { margin-bottom: clamp(38px, 7vw, 87px); }
.download-inner { display: grid; justify-items: center; padding: clamp(43px, 8vw, 100px) 12px; border: 1px solid #e9ddf4; border-radius: 29px; text-align: center; background: radial-gradient(ellipse at 50% 20%,#fcf8fecc,transparent 76%), linear-gradient(to right,#8d65b812 1px,transparent 1px) 0 0 / 30px 30px, linear-gradient(to bottom,#8d65b812 1px,transparent 1px) 0 0 / 30px 30px, #eee5f8; }
.download-inner > img { border-radius: 16px; }
.download h2 { margin-block: 17px 14px; }
.download p { color: var(--muted); font-size: 15px; line-height: 1.45; }
.download .store-actions { margin-top: 20px; justify-content: center; }
.download-inner[data-entered] > img { animation: move-up .36s var(--ease) both; }
.site-footer { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding-block: 17px; min-height: 76px; border-top: 1px solid var(--line); }
.site-footer .wordmark { font-size: 19px; }
.footer-end { display: flex; align-items: center; gap: clamp(14px, 3vw, 36px); }
.footer-faq { justify-self: end; color: var(--muted); font-size: 13px; font-weight: 630; }
.follow-us { display: grid; justify-items: center; color: var(--muted); font-size: 13px; font-weight: 630; }
.follow-us a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; }
.follow-us a:hover { background: #e9dff380; }
.follow-us img { width: 24px; height: 24px; }

@media (max-width: 790px) {
  .header-row { min-height: 63px; }
  .site-header nav { gap: 13px; font-size: 12px; }
  .hero { grid-template-columns: 1fr; gap: 25px; padding-block: 34px 35px; }
  .hero-text { padding: 0; }
  .hero h1 { font-size: clamp(49px, 9.3vw, 80px); }
  .hero .chapter-tag { margin-bottom: 13px; }
  .hero-deck { margin-top: 15px; }
  .hero .store-actions { margin-top: 18px; }
  .story-link { margin-top: 15px; }
}
@media (max-width: 550px) {
  .header-row { grid-template-columns: 1fr auto; min-height: 62px; }
  .site-header nav { display: none; }
  .hero h1 { font-size: clamp(47px, 12.1vw, 65px); }
  .hero { gap: 18px; padding-top: 30px; }
  .hero-deck { max-width: 100%; }
  .chapters { grid-template-columns: 1fr; gap: 6px; padding-bottom: 30px; }
  .chapters a { min-height: 56px; padding: 8px 12px; border-radius: 11px; }
  .text-link { margin-top: 9px; }
  .scene-art, .weekend-visual { grid-template-columns: 1fr; gap: 15px; min-height: unset; padding: 16px 6px 17px; }
  .records-grid, .privacy-grid, .faq, .preview-columns { grid-template-columns: 1fr; }
  .faq, .preview-columns { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr auto; column-gap: 10px; row-gap: 11px; }
  .site-footer nav { grid-column: 1 / -1; grid-row: 2; flex-wrap: wrap; justify-content: flex-start; gap: 11px 15px; }
}
@media (max-width: 365px) {
  :root { --gutter: 16px; }
  .hero h1 { font-size: clamp(40px, 13.2vw, 48px); }
  .store-actions { gap: 7px; }
  .official-badge:not(.google-play-badge) img { width: 126px; height: 42px; }
  .store-link { padding-inline: 8px; gap: 5px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
[data-motion-off] *, [data-motion-off] *::before, [data-motion-off] *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }



.preview-tools figure { margin-bottom: 17px; }
.preview-tools figure img { width: min(100%, 260px); border-radius: 13px; border: 1px solid #e5d8ef; }
.preview-tools figure figcaption { margin-top: 7px; color: var(--muted); font-size: 11px; }
