:root {
  color: #352047;
  background: #fffaff;
  font-family: "Avenir Next", "Hiragino Sans", "Yu Gothic", YuGothic, sans-serif;
  font-synthesis: none;
  --paper: #fffaff;
  --surface: #ffffff;
  --lavender: #f3e9ff;
  --lavender-deep: #c7a7f4;
  --purple: #8c5bc9;
  --purple-deep: #4b286e;
  --plum: #352047;
  --pink: #ff7f91;
  --pink-soft: #ffdfe6;
  --muted: #756a82;
  --line: #e9dff0;
  --shell: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--plum); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body, button, a { font-family: inherit; }
a { color: inherit; text-decoration: none; }
button { border: 0; cursor: pointer; font: inherit; }
img, svg { display: block; }
.page-shell { width: min(calc(100% - 64px), var(--shell)); margin: 0 auto; }

.hero { position: relative; overflow: hidden; background: radial-gradient(circle at 76% 24%, rgba(255,255,255,.78), transparent 25rem), linear-gradient(135deg, #eadbff 0%, #f9e4ed 55%, #fffaff 100%); }
.hero::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: -11rem; height: 16rem; background: #fffaff; border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.site-header { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; min-height: 88px; }
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: max-content; }
.brand-mark { width: 44px; height: 44px; overflow: hidden; border: 2px solid rgba(255,255,255,.82); border-radius: 14px; background: var(--pink-soft); box-shadow: 0 8px 22px rgba(98, 54, 136, .15); }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-name { display: flex; flex-direction: column; line-height: 1; }
.brand-name strong { color: var(--plum); font-size: 18px; letter-spacing: -.08em; }
.brand-name small { margin-top: 5px; color: rgba(75, 40, 110, .55); font-size: 8px; font-weight: 800; letter-spacing: .17em; }
.site-nav { display: flex; gap: 30px; margin-left: auto; margin-right: 36px; color: rgba(53, 32, 71, .75); font-size: 12px; font-weight: 700; }
.site-nav a, .header-cta, .footer-links a, .legal-back, .text-link { transition: color 160ms ease, opacity 160ms ease, transform 160ms ease; }
.site-nav a:hover, .footer-links a:hover, .legal-back:hover, .text-link:hover { color: var(--pink); }
.header-cta { display: inline-flex; align-items: center; gap: 7px; color: var(--purple-deep); font-size: 11px; font-weight: 800; }
.header-cta:hover, .text-link:hover { transform: translateX(2px); }
.hero-shell { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, .92fr) minmax(410px, 1.08fr); gap: 46px; align-items: center; min-height: 575px; padding-top: 25px; padding-bottom: 30px; }
.hero-copy { padding-bottom: 18px; }
.hero-copy h1 { max-width: 610px; margin: 0; color: var(--plum); font-size: clamp(47px, 6vw, 76px); font-weight: 800; letter-spacing: -.1em; line-height: 1.18; }
.hero-copy h1 span { color: var(--purple-deep); }
.hero-lede { max-width: 490px; margin: 28px 0 0; color: rgba(53, 32, 71, .72); font-size: 15px; line-height: 2; }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 32px; }
.app-store-button { display: inline-flex; align-items: center; justify-content: center; gap: 13px; min-width: 237px; padding: 15px 18px 15px 20px; border-radius: 100px; color: #fff; background: var(--pink); box-shadow: 0 11px 22px rgba(255, 127, 145, .27); transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease; }
.app-store-button:hover { transform: translateY(-2px); box-shadow: 0 15px 26px rgba(255, 127, 145, .33); background: #f56d82; }
.app-store-button.is-pending { background: #e78a9a; }
.app-store-button .apple-mark { font-family: Arial, sans-serif; font-size: 26px; line-height: 1; }
.app-store-button > span:nth-child(2) { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.08; }
.app-store-button small { font-size: 9px; font-weight: 700; letter-spacing: .08em; opacity: .78; }
.app-store-button strong { margin-top: 4px; font-size: 17px; letter-spacing: -.03em; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--purple-deep); font-size: 12px; font-weight: 800; }
.hero-note { display: flex; align-items: center; gap: 7px; margin: 23px 0 0; color: rgba(53, 32, 71, .58); font-size: 11px; }
.hero-artwork { position: relative; display: flex; flex-direction: column; align-items: center; margin: 0; }
.hero-artwork-halo { position: absolute; top: 6%; width: min(79%, 475px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.82), rgba(217,184,255,.22) 58%, transparent 70%); filter: blur(2px); }
.hero-icon-frame { position: relative; width: min(79%, 430px); overflow: hidden; border: 10px solid rgba(255,255,255,.56); border-radius: 38%; box-shadow: 0 30px 48px rgba(85, 42, 113, .19); transform: rotate(2deg); }
.hero-icon-frame::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.48); pointer-events: none; }
.hero-icon-frame img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.hero-artwork figcaption { position: relative; display: flex; align-items: baseline; gap: 11px; margin-top: 19px; color: var(--purple-deep); }
.hero-artwork figcaption strong { font-size: 18px; letter-spacing: -.08em; }
.hero-artwork figcaption span { color: rgba(75, 40, 110, .62); font-size: 11px; }
.hero-bottom-note { position: relative; z-index: 1; padding-bottom: 37px; color: rgba(75, 40, 110, .6); font-size: 11px; letter-spacing: .08em; }
.hero-bottom-note span { display: inline-block; margin-left: 8px; color: var(--pink); }

.feature-section { padding: 119px 0 128px; background: var(--paper); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .55fr); gap: 55px; align-items: end; }
.section-label { margin: 0; color: var(--pink); font-size: 10px; font-weight: 900; letter-spacing: .19em; text-transform: uppercase; }
.section-heading h2 { margin: 14px 0 0; color: var(--purple-deep); font-size: clamp(37px, 4.3vw, 57px); font-weight: 800; letter-spacing: -.1em; line-height: 1.2; }
.section-heading h2 span { color: var(--pink); }
.section-heading > p { max-width: 390px; margin: 0 0 3px; color: var(--muted); font-size: 13px; line-height: 2; }
.feature-rail { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 66px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-item { min-width: 0; border-right: 1px solid var(--line); }
.feature-item:nth-child(4n), .feature-item:last-child { border-right: 0; }
.feature-item:nth-child(n + 5) { border-top: 1px solid var(--line); }
.feature-toggle { display: flex; flex-direction: column; align-items: flex-start; width: 100%; min-height: 246px; padding: 22px 22px 20px; color: var(--plum); background: transparent; text-align: left; }
.feature-toggle:hover .feature-title strong, .feature-item.is-open .feature-title strong { color: var(--pink); }
.feature-icon { display: inline-flex; align-items: center; justify-content: center; width: 61px; height: 61px; border: 1px solid rgba(140, 91, 201, .4); border-radius: 50%; color: var(--purple); background: #fff8fc; }
.feature-title { display: block; margin-top: 30px; }
.feature-title strong { display: block; min-height: 2.6em; color: var(--purple-deep); font-size: 16px; letter-spacing: -.07em; line-height: 1.3; transition: color 160ms ease; }
.feature-title small { display: block; margin-top: 13px; color: var(--muted); font-size: 11px; line-height: 1.75; }
.feature-arrow { margin-top: auto; color: var(--pink); transition: transform 160ms ease; }
.feature-item.is-open .feature-arrow { transform: translateX(5px); }
.feature-detail { padding: 0 22px 20px; }
.feature-detail[hidden] { display: none; }
.feature-detail p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.8; }

.steps-section { padding: 118px 0 128px; background: #f8f0ff; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 64px; border-top: 1px solid #dfcdec; border-bottom: 1px solid #dfcdec; }
.step-item { min-height: 255px; padding: 25px 31px 29px; border-right: 1px solid #dfcdec; }
.step-item:last-child { border-right: 0; }
.step-top { display: flex; align-items: center; justify-content: space-between; color: var(--pink); }
.step-top span { font-size: 11px; font-weight: 900; letter-spacing: .14em; }
.step-item h3 { margin: 61px 0 0; color: var(--purple-deep); font-size: 19px; letter-spacing: -.07em; }
.step-item p { max-width: 250px; margin: 13px 0 0; color: var(--muted); font-size: 12px; line-height: 1.9; }

.limitations-section { padding: 116px 0 123px; background: #fffaff; }
.limitations-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 66px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.limitation-item { min-height: 205px; padding: 25px 31px 28px; border-right: 1px solid var(--line); }
.limitation-item:last-child { border-right: 0; }
.limitation-icon { display: inline-flex; align-items: center; justify-content: center; width: 49px; height: 49px; border: 1px solid rgba(255, 127, 145, .65); border-radius: 50%; color: var(--pink); }
.limitation-item h3 { margin: 27px 0 0; color: var(--purple-deep); font-size: 16px; letter-spacing: -.06em; }
.limitation-item p { max-width: 250px; margin: 11px 0 0; color: var(--muted); font-size: 12px; line-height: 1.85; }

.download-section { color: #fff; background: var(--purple-deep); }
.download-inner { position: relative; overflow: hidden; padding: 95px 0 106px; text-align: center; }
.download-inner::before { content: ""; position: absolute; left: 50%; top: -310px; width: 690px; height: 690px; border: 1px solid rgba(255,255,255,.09); border-radius: 50%; transform: translateX(-50%); }
.download-mark { position: relative; width: 75px; height: 75px; margin: 0 auto 26px; overflow: hidden; border: 4px solid rgba(255,255,255,.68); border-radius: 24px; box-shadow: 0 12px 26px rgba(20, 8, 35, .18); }
.download-mark img { width: 100%; height: 100%; object-fit: cover; }
.download-inner h2 { position: relative; margin: 0; font-size: clamp(37px, 4.7vw, 59px); letter-spacing: -.1em; line-height: 1.25; }
.download-inner > p:not(.setup-note) { position: relative; margin: 22px 0 29px; color: rgba(255,255,255,.72); font-size: 14px; line-height: 2; }
.download-inner .app-store-button { position: relative; margin: 0 auto; }
.app-store-button-light { color: var(--purple-deep); background: #fff; box-shadow: none; }
.app-store-button-light:hover { color: var(--purple-deep); background: var(--pink-soft); }
.setup-note { position: relative; margin: 17px 0 0; color: rgba(255,255,255,.57); font-size: 10px; }

.site-footer { color: #d6c9df; background: #28163e; }
.footer-main { display: flex; align-items: center; justify-content: space-between; min-height: 105px; }
.site-footer .brand-mark { border-color: rgba(255,255,255,.72); }
.site-footer .brand-name strong { color: #fff; }
.site-footer .brand-name small { color: #a998b5; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 15px 24px; color: #baa9c6; font-size: 11px; }
.footer-bottom { display: flex; justify-content: space-between; padding: 18px 0 25px; border-top: 1px solid rgba(255,255,255,.12); color: #8c7899; font-size: 9px; letter-spacing: .06em; }
.site-footer-simple { margin-top: auto; }

.legal-page { min-height: 100vh; background: var(--paper); }
.legal-header { display: flex; align-items: center; justify-content: space-between; height: 88px; border-bottom: 1px solid var(--line); }
.legal-back { display: inline-flex; align-items: center; gap: 8px; color: var(--purple); font-size: 12px; font-weight: 800; }
.legal-back svg { transform: rotate(180deg); }
.legal-shell { width: min(calc(100% - 64px), 800px); margin: 0 auto; padding: 83px 0 110px; }
.legal-shell h1 { margin: 14px 0 0; color: var(--purple-deep); font-size: clamp(39px, 6vw, 61px); letter-spacing: -.1em; line-height: 1.18; }
.legal-lede { max-width: 610px; margin: 25px 0 0; color: var(--muted); font-size: 14px; line-height: 2; }
.legal-card { margin-top: 44px; padding: clamp(27px, 5vw, 52px); border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: 0 20px 55px rgba(87, 44, 113, .05); }
.legal-card h2 { margin: 37px 0 11px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--purple-deep); font-size: 18px; letter-spacing: -.06em; }
.legal-card h2:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.legal-card h3 { margin: 25px 0 8px; color: var(--purple-deep); font-size: 15px; }
.legal-card p, .legal-card li { margin: 0; color: var(--muted); font-size: 13px; line-height: 2; }
.legal-card ol { margin: 0; padding-left: 1.5em; }
.legal-card li + li { margin-top: 7px; }
.inline-link { color: var(--purple); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.draft-notice { display: flex; flex-direction: column; gap: 5px; margin-bottom: 30px; padding: 16px 18px; border-left: 3px solid var(--pink); color: var(--purple-deep); background: #fff1f4; font-size: 12px; line-height: 1.7; }
.draft-notice span { color: var(--muted); }

@media (max-width: 1050px) {
  .page-shell { width: min(calc(100% - 48px), var(--shell)); }
  .hero-shell { grid-template-columns: minmax(0, .95fr) minmax(350px, 1.05fr); gap: 26px; }
  .hero-copy h1 { font-size: clamp(43px, 6vw, 65px); }
  .feature-toggle { padding-right: 16px; padding-left: 16px; }
  .feature-title strong { font-size: 14px; }
  .feature-title small { font-size: 10px; }
}

@media (max-width: 760px) {
  .page-shell { width: min(calc(100% - 40px), var(--shell)); }
  .site-header { min-height: 76px; }
  .site-nav { display: none; }
  .header-cta { font-size: 10px; }
  .brand-mark { width: 39px; height: 39px; border-radius: 12px; }
  .brand-name strong { font-size: 16px; }
  .hero-shell { display: block; min-height: 0; padding-top: 53px; padding-bottom: 38px; }
  .hero-copy { text-align: center; }
  .hero-copy h1 { font-size: clamp(36px, 10.8vw, 59px); }
  .hero-lede { margin-right: auto; margin-left: auto; font-size: 13px; }
  .hero-actions { justify-content: center; }
  .hero-note { justify-content: center; }
  .hero-artwork { width: min(100%, 510px); margin: 46px auto 0; }
  .hero-icon-frame { width: min(72%, 335px); border-width: 8px; }
  .hero-bottom-note { padding-bottom: 27px; text-align: center; }
  .feature-section, .steps-section, .limitations-section { padding: 83px 0 91px; }
  .section-heading { display: block; }
  .section-heading h2 { font-size: clamp(36px, 10vw, 50px); }
  .section-heading > p { margin-top: 23px; font-size: 12px; }
  .feature-rail { grid-template-columns: repeat(2, 1fr); margin-top: 47px; }
  .feature-item:nth-child(2n) { border-right: 0; }
  .feature-item:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .feature-toggle { min-height: 215px; padding: 18px 17px; }
  .feature-title { margin-top: 22px; }
  .feature-title strong { min-height: auto; font-size: 14px; }
  .feature-title small { margin-top: 8px; font-size: 10px; }
  .steps-grid { grid-template-columns: 1fr; margin-top: 47px; }
  .step-item { min-height: auto; padding: 23px 20px 27px; border-right: 0; border-bottom: 1px solid #dfcdec; }
  .step-item:last-child { border-bottom: 0; }
  .step-item h3 { margin-top: 29px; }
  .limitations-grid { grid-template-columns: 1fr; margin-top: 47px; }
  .limitation-item { min-height: auto; padding: 23px 20px 27px; border-right: 0; border-bottom: 1px solid var(--line); }
  .limitation-item:last-child { border-bottom: 0; }
  .limitation-item h3 { margin-top: 20px; }
  .download-inner { padding: 82px 0 89px; }
  .download-inner h2 { font-size: clamp(35px, 10vw, 47px); }
  .footer-main { display: block; padding-top: 28px; padding-bottom: 28px; }
  .footer-links { justify-content: flex-start; margin-top: 23px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); }
  .footer-bottom { flex-direction: column; gap: 9px; }
  .legal-header { height: 76px; }
  .legal-shell { width: min(calc(100% - 40px), 800px); padding: 58px 0 80px; }
  .legal-shell h1 { font-size: 40px; }
  .legal-card { padding: 26px 21px; }
}

@media (max-width: 500px) {
  .header-cta { gap: 4px; font-size: 9px; }
  .hero-actions { flex-direction: column; gap: 18px; }
  .hero-note { align-items: flex-start; max-width: 285px; margin-right: auto; margin-left: auto; text-align: left; }
  .hero-artwork { margin-top: 40px; }
  .hero-artwork figcaption { flex-direction: column; align-items: center; gap: 5px; }
  .feature-toggle { min-height: 205px; padding-right: 13px; padding-left: 13px; }
  .feature-icon { width: 52px; height: 52px; }
  .feature-title strong { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
/* Static adaptations of the existing Kozukainu design system. */
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 10; padding: 12px 18px; background: #fff; color: #4b286e; border: 2px solid #4b286e; }
.skip-link:focus { top: 12px; }
a:focus-visible, summary:focus-visible { outline: 3px solid #8c5bc9; outline-offset: 5px; }
.release-state { margin: 0; padding: 15px 22px; border-radius: 100px; background: #4b286e; color: #fff; font-size: 15px; font-weight: 700; }
.feature-static { padding: 30px 22px; }
.feature-static h3 { color: #4b286e; font-size: 17px; margin: 0 0 12px; }
.feature-static p { color: #756a82; font-size: 13px; line-height: 1.9; margin: 0; }
.steps-grid { list-style: none; padding: 0; grid-template-columns: repeat(4, 1fr); }
.step-item { padding: 25px 22px; }
.step-item h3 { margin-top: 35px; }
.section-follow { margin-top: 28px; font-size: 14px; }
.section-heading h2 { margin-top: 0; }
.legal-page .site-header { border-bottom: 1px solid #e9dff0; }
.legal-shell h1 { overflow-wrap: anywhere; }
.legal-card p + p { margin-top: 12px; }
.legal-card details { border-bottom: 1px solid #e9dff0; padding: 18px 0; }
.legal-card summary { cursor: pointer; color: #4b286e; font-weight: 700; font-size: 14px; line-height: 1.8; }
.legal-card details p { margin-top: 12px; }
.legal-card a { overflow-wrap: anywhere; }
@media(max-width: 960px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } .step-item:nth-child(2n) { border-right: 0; } .step-item:nth-child(n+3) { border-top: 1px solid #dfcdec; } }
@media(max-width: 760px) { .steps-grid { grid-template-columns: 1fr; } .step-item { border-right: 0; } .step-item:nth-child(n+3) { border-top: 0; } .feature-static { padding: 24px 16px; } .feature-static h3 { font-size: 15px; } .hero-note { font-size: 12px; } .hero-copy h1 { letter-spacing: -.065em; } .hero-actions { gap: 18px; } }
@media(max-width: 420px) { .legal-shell h1 { font-size: 31px; letter-spacing: -.06em; } }
.hero-icon-frame img { height: auto; }
.hero-copy h1 { font-size: clamp(40px, 5.1vw, 64px); letter-spacing: -.065em; }
@media(max-width:760px) { .hero-copy h1 { font-size: clamp(34px, 9.2vw, 56px); } }
