:root {
  --paper: hsl(38 40% 97.5%);
  --ink: #111212;
  --muted: #64615b;
  --orange: #ff8a00;
  --ease: cubic-bezier(.2,.75,.2,1);
  color-scheme: light;
}
html:has(.hero) { --paper: #ffd600; overscroll-behavior-y: none; scroll-behavior: smooth; scroll-padding-top: 48px; scroll-snap-type: y mandatory; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: -apple-system,BlinkMacSystemFont,"Helvetica Neue","PingFang SC","PingFang TC","Hiragino Sans",sans-serif; -webkit-font-smoothing: antialiased; }
body:has(.masthead) { padding-top: 48px; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
a,summary { touch-action: manipulation; }
a:focus-visible,summary:focus-visible { outline: 2px solid #b65d08; outline-offset: 5px; }
h1,h2,p,figure { margin: 0; }
svg { vertical-align: middle; }
[hidden] { display: none !important; }
.wrap { width: min(1200px,calc(100% - 112px)); margin-inline: auto; }
.skip { position: fixed; left: 16px; top: -100px; padding: 12px 20px; background: white; z-index: 100; }
.skip:focus { top: 16px; }
.masthead { position: fixed; inset: 0 0 auto; z-index: 40; background: var(--paper); }
.header-inner { height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { font-size: 16px; font-weight: 650; white-space: nowrap; }
.header-actions { display: flex; align-items: center; gap: 24px; font-size: 13px; }
.header-download { padding: 7px 16px; border-radius: 20px; background: #000; color: #fff; font-weight: 600; }
.header-download:hover { background: #252525; }
.language-picker { position: relative; }
.language-picker summary { cursor: pointer; display: flex; align-items: center; gap: 8px; padding-block: 10px; list-style: none; }
.language-picker summary::-webkit-details-marker { display: none; }
.language-picker svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.language-picker svg.chevron { width: 12px; height: 12px; }
.language-menu { position: absolute; right: 0; top: calc(100% + 4px); width: 160px; background: #fff; padding: 7px; border: 1px solid #e9e3da; border-radius: 16px; box-shadow: 0 12px 32px #372e1714; }
.language-menu a { display: block; padding: 12px 15px; border-radius: 10px; }
.language-menu a:hover,.language-menu a[aria-current] { background: #f6f2ec; }
main:has(> .hero)>section { scroll-snap-align: start; scroll-snap-stop: always; }
.hero-grid { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); grid-template-areas: "copy icon"; align-items: center; gap: clamp(32px,5vw,76px); min-height: calc(100svh - 48px); padding-block: 64px 90px; }
.hero-copy { grid-area: copy; }
h1 { font-size: clamp(48px,5.65vw,82px); line-height: 1.22; font-weight: 700; }
h1 span,h2 span { display: block; }
.intro { color: var(--muted); font-size: 18px; line-height: 1.85; margin: 28px 0 30px; }
.store-button { display: inline-flex; align-items: center; gap: 12px; padding: 11px 20px; min-height: 62px; border: 1px solid #000; border-radius: 14px; background: #000; color: #fff; box-shadow: 0 8px 18px #382a0012; transition: transform .25s var(--ease),box-shadow .25s; }
.store-button:hover { transform: translateY(-3px); box-shadow: 0 12px 26px #45331912; }
.store-button>svg { width: 26px; height: 31px; }
.store-button>span { display: flex; flex-direction: column; gap: 1px; align-items: flex-start; text-align: left; }
.store-button small { font-size: 11px; line-height: 1.25; }
.store-button strong { font-size: 23px; font-weight: 600; line-height: 1.15; }
.hero { overflow: clip; }
.icon-stage { grid-area: icon; position: relative; width: 100%; aspect-ratio: 1; display: grid; place-items: center; }
.icon-orbits { position: absolute; width: 119%; height: 119%; stroke: #775708; stroke-width: 1; opacity: .23; transform: translateY(var(--drift,0px)); pointer-events: none; }
.icon-exit { width: 86%; transform-origin: center; will-change: transform,opacity; }
.hero .intro { color: #383319; }
.icon-tile { position: relative; aspect-ratio: 1; transform: rotate(-7deg); animation: tile-arrive 2.8s ease-in-out both; }
.icon-tile::before { content: ""; position: absolute; inset: 0; background: #fff; border: 1px solid #eee7dc; border-radius: 24%; box-shadow: 0 40px 65px -35px #b4833959,0 4px 8px #a8792209; }
.hero-bubble,.plate-arrive,.plate-sway { position: absolute; inset: 0; width: 100%; height: 100%; }
.bubble-grow { transform-origin: 456px 448px; animation: bubble-grow 2.8s ease-in-out both; }
.plate-arrive,.plate-sway { transform-origin: 70.181640625% 66.431640625%; }
.plate-arrive { animation: plate-arrive 2.8s ease-in-out both; }
.plate-sway { will-change: transform; animation: plate-sway 5s ease-in-out 2.8s infinite; }
@keyframes tile-arrive { 0% { opacity: 0; transform: rotate(-28deg) scale(.35); animation-timing-function: cubic-bezier(.2,.8,.3,1); } 7% { opacity: 1; } 15% { transform: rotate(3deg) scale(1.08); } 23% { transform: rotate(-12deg) scale(.965); } 30% { transform: rotate(-4.5deg) scale(1.015); } 37%,100% { transform: rotate(-7deg) scale(1); } }
@keyframes bubble-grow { 0%,14% { transform: translateY(0) scale(0); animation-timing-function: cubic-bezier(.34,1.3,.64,1); } 35% { transform: translateY(0) scale(1); } 40% { transform: translateY(12px) scale(1.06,.94); animation-timing-function: cubic-bezier(.2,.7,.4,1); } 46% { transform: translateY(-80px) scale(.94,1.07); animation-timing-function: cubic-bezier(.6,0,.8,.4); } 51% { transform: translateY(16px) scale(1.08,.92); } 60% { transform: translateY(0) scale(1.04); } 68% { transform: translateY(0) scale(.985); } 76%,100% { transform: translateY(0) scale(1); } }
@keyframes plate-arrive { 0%,60% { opacity: 0; transform: translateY(24%) rotate(22deg) scale(.55); animation-timing-function: cubic-bezier(.2,.8,.3,1); } 73% { opacity: 1; transform: translateY(-2.5%) rotate(-7deg) scale(1.04); } 81% { transform: translateY(.8%) rotate(3.5deg) scale(.99); } 89% { transform: rotate(-1.2deg); } 100% { transform: none; } }
@keyframes plate-sway { 0%,100% { transform: none; } 35% { transform: rotate(2deg) translateY(-.333984375%); } 70% { transform: rotate(-1.5deg); } }
.core-grid { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); gap: 48px; align-items: center; min-height: calc(100svh - 48px); padding-block: 56px; }
.core-section h2 { font-size: clamp(34px,3.35vw,48px); }
h2 { font-size: clamp(36px,4.25vw,60px); font-weight: 650; line-height: 1.3; }
.section-intro { max-width: 440px; color: var(--muted); font-size: 18px; line-height: 1.9; margin-top: 27px; }
.core-demo { position: relative; width: 100%; max-width: 540px; aspect-ratio: 600/800; justify-self: center; }
.core-canvas,.core-still { position: absolute; width: 100%; height: 100%; inset: 0; pointer-events: none; }
.canvas-ready .core-still { display: none; }
.core-cloud { position: absolute; inset: 0 0 auto; height: 30%; z-index: 5; touch-action: none; user-select: none; }
.core-tag { position: absolute; left: 0; top: 0; max-width: min(192px,48%); padding: 4px 10px; border-radius: 999px; border: .7px solid #00000038; background: #f7f7f7e6; color: #000e; font: 12px/16px -apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: grab; touch-action: none; will-change: transform; }
.core-tag:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.core-card,.core-packet.is-card { max-width: min(284px,88%); padding: 10px 14px; border: 1px solid #ff8a00b3; border-radius: 12px; background: #fffffff2; color: #000f; font-size: 13px; line-height: 1.65; white-space: normal; box-shadow: 0 8px 24px #4121000a; }
.core-card { position: absolute; left: 0; top: 0; width: max-content; opacity: 0; z-index: 20; pointer-events: none; }
.core-packet { position: absolute; z-index: 12; pointer-events: none; }
.core-hashes { position: absolute; left: 0; top: 0; display: flex; flex-direction: column; gap: 4px; font: 11px/1.25 ui-monospace,SFMono-Regular,monospace; color: #a66221; pointer-events: none; }
.core-scale { position: absolute; top: 90%; left: 8%; right: 8%; }
.scale-rail { height: 4px; border-radius: 4px; background: linear-gradient(90deg,#897363,#ff8a00); }
.scale-labels { display: flex; justify-content: space-between; font-size: 12px; color: #897363; margin-top: 42px; gap: 10px; }
.scale-labels span:last-child { color: #a95100; }
.core-reading { position: absolute; top: 92%; left: 12%; transform: translateX(-50%); font-size: 13px; font-variant-numeric: tabular-nums; font-weight: 600; color: #897363; }
.feature-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(48px,9vw,132px); align-items: center; min-height: calc(100svh - 48px); padding-block: 64px; }
.feature-art { min-width: 0; display: grid; place-items: center; padding: 10px; }
.phone-frame { width: min(100%,310px); aspect-ratio: 882/1916.4; position: relative; --phone-scale: .351474; --scale: 2.004545; transform: translateY(var(--drift,0px)) rotate(-3deg); }
.phone-frame .phone { --phone-bezel: 30px; --phone-rim: 4.5px; --phone-shadow: 0 4px 8px -2px #0003,0 45px 85px -24px #0005,0 110px 200px -65px #0004; top: 0; left: 0; transform: scale(var(--phone-scale)); transform-origin: top left; }
.engine-art .phone-frame { transform: translateY(var(--drift,0px)) rotate(3deg); }
.app-ui .ios { --sans: -apple-system,BlinkMacSystemFont,"Helvetica Neue","PingFang SC","PingFang TC","Hiragino Sans",sans-serif; --rounded: var(--sans); font-family: var(--sans); letter-spacing: normal; }
.app-ui .status .time { font-family: var(--sans); letter-spacing: normal; }
.app-ui .conv-title,.app-ui .action,.app-ui .large-title,.app-ui .lede,.app-ui .prediction,.app-ui .learning-head { letter-spacing: normal; }
.app-ui .ambient i:first-child { top: 37%; left: 48%; }
.app-ui .ambient i:nth-child(2) { top: 60%; left: 58%; }
.app-ui .conv-title { left: 75px; right: 75px; }
.app-ui .after-feed { position: absolute; inset: 0; z-index: 70; opacity: 0; pointer-events: none; }
.app-ui .sheet-actions { -webkit-backdrop-filter: none; backdrop-filter: none; }
.app-ui .engine .close-button { display: none; }
.js .feed-art:not(.feed-playing) .sheet { transform: translateY(105%); }
.js .feed-playing .sheet { animation: feed-sheet 9s var(--ease) both; }
.js .feed-playing .ios>.conversation { animation: feed-blur 9s var(--ease) both; }
.js .feed-playing .sheet .row.user { animation: feed-sample 9s var(--ease) both; }
.js .feed-playing [data-prediction],.js .feed-playing .sheet-actions { animation: feed-prediction 9s var(--ease) both; }
.js .feed-playing [data-button=marketing] { animation: feed-choice 9s ease both; }
.js .feed-playing .after-feed { animation: feed-remembered 9s var(--ease) both; }
@keyframes feed-sheet { 0%,8%,90%,100% { transform: translateY(105%); } 23%,76% { transform: translateY(0); } }
@keyframes feed-blur { 0%,8%,90%,100% { filter: blur(0); } 23%,76% { filter: blur(7px); } }
@keyframes feed-sample { 0%,30% { opacity: 0; transform: translateY(20px); } 41%,100% { opacity: 1; transform: translateY(0); } }
@keyframes feed-prediction { 0%,44% { opacity: 0; transform: translateY(8px); } 54%,100% { opacity: 1; transform: translateY(0); } }
@keyframes feed-choice { 0%,61%,75%,100% { transform: scale(1); } 66% { transform: scale(.94); box-shadow: 0 0 0 8px #ff8a0022; } }
@keyframes feed-remembered { 0%,82% { opacity: 0; } 92%,100% { opacity: 1; } }
.help-grid { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.4fr); gap: clamp(48px,7vw,100px); align-content: center; min-height: calc(100svh - 48px); padding-block: 90px; }
.help-grid h2 { padding-top: 17px; }
.help-item { border-bottom: 1px solid #80746330; }
.help-item:first-child { border-top: 1px solid #80746330; }
.help-item summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 23px; font-size: 18px; line-height: 1.5; font-weight: 550; list-style: none; cursor: pointer; }
.help-item summary::-webkit-details-marker { display: none; }
.help-toggle { flex: 0 0 20px; height: 20px; position: relative; }
.help-toggle::before,.help-toggle::after { content: ""; position: absolute; background: currentColor; border-radius: 1px; }
.help-toggle::before { width: 14px; height: 1.5px; top: 9px; left: 3px; }
.help-toggle::after { height: 14px; width: 1.5px; top: 3px; left: 9px; transition: transform .2s var(--ease); }
.help-item[open] .help-toggle::after { transform: rotate(90deg); }
.help-item p { padding: 0 38px 25px 0; font-size: 16px; line-height: 1.9; color: var(--muted); }
.closing { overflow: clip; }
.closing-inner { position: relative; min-height: max(650px,calc(100svh - 126px)); padding-block: 85px 110px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.closing-orbit { position: absolute; z-index: -1; width: min(1060px,110vw); height: 75%; border: 1px solid #a17b1a20; border-radius: 50%; transform: rotate(-17deg) translateY(var(--drift,0px)); pointer-events: none; }
.closing-icon { border-radius: 24%; width: 78px; height: 78px; margin-bottom: 35px; transform: rotate(-8deg); filter: drop-shadow(0 12px 10px #a17b1a18); }
.closing h2 { font-size: clamp(40px,5.2vw,74px); font-weight: 700; line-height: 1.35; }
.closing .store-button { margin-top: 38px; }
.footer { background: #f7f5ed; }
.footer-inner { border-top: 1px solid #80746326; padding-block: 28px 35px; display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 12px; }
.footer nav { display: flex; gap: 25px; }
.footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.policy { max-width: 850px; padding-block: 50px 80px; }
.policy>a:first-child { font-size: 15px; border-bottom: 1px solid; }
.policy h1 { font-size: 38px; line-height: 1.3; margin: 40px 0 24px; }
.policy h2 { font-size: 23px; margin: 36px 0 12px; }
.policy p { font-size: 16px; line-height: 1.85; margin-block: 12px; }
.policy p a { text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.policy hr { border: 0; border-top: 1px solid #80746333; margin-block: 60px; }
html[lang=en] h1 { font-size: clamp(42px,4.75vw,68px); }
html[lang=ja] h1 { font-size: clamp(39px,4.6vw,66px); }
html[lang=en] h2,html[lang=ja] h2 { font-size: clamp(34px,3.5vw,50px); }
@media (min-width: 901px) {
  .core-demo { max-width: min(540px,max(330px,calc((100svh - 160px) * .75))); }
  .phone-frame { width: min(100%,310px,max(230px,calc((100svh - 196px) * .460238))); }
}
@media (max-width: 1100px) {
  .wrap { width: calc(100% - 72px); }
  .core-grid { gap: 24px; }
  .feature-grid { gap: 48px; }
  .section-intro { font-size: 17px; }
}
@media (max-width: 900px) {
  .wrap { width: calc(100% - 48px); }
  .hero-grid { grid-template-columns: minmax(0,1fr); grid-template-areas: "icon" "copy"; gap: 34px; padding-block: 30px 70px; min-height: calc(100svh - 48px); align-content: center; grid-template-rows: auto auto; text-align: center; }
  .icon-stage { width: min(62vw,340px); justify-self: center; }
  .icon-exit { width: 90%; }
  h1,html[lang=en] h1,html[lang=ja] h1 { font-size: clamp(38px,6.9vw,64px); }
  .hero-copy .intro { margin-block: 24px; }
  .core-grid { grid-template-columns: minmax(0,1fr); gap: 32px; padding-block: 65px; }
  .section-copy { text-align: center; }
  h2,html[lang=en] h2,html[lang=ja] h2 { font-size: clamp(32px,5.8vw,48px); }
  .core-demo { max-width: 540px; }
  .core-section h2 { font-size: clamp(28px,5.8vw,48px); }
  .closing-inner { min-height: max(580px,calc(100svh - 126px)); padding-block: 70px 90px; }
  .feature-grid { grid-template-columns: minmax(0,1fr); gap: 46px; padding-block: 70px; }
  .feed-section .section-copy { grid-row: 1; }
  .section-intro { max-width: 470px; margin-inline: auto; margin-top: 22px; }
  .phone-frame,.engine-art .phone-frame { width: min(100%,310px); transform: none; }
  .help-grid { grid-template-columns: minmax(0,1fr); gap: 35px; padding-block: 65px; }
  .help-grid h2 { padding-top: 0; }
}
@media (max-width: 480px) {
  .header-actions { gap: 14px; font-size: 12px; }
  .header-download { padding: 7px 12px; }
  .brand { font-size: 16px; }
  .language-picker summary { gap: 6px; }
  .language-picker svg { width: 15px; height: 15px; }
  .hero-grid { gap: 27px; padding-block: 30px 64px; }
  .icon-stage { width: 66vw; }
  .intro { font-size: 16px; line-height: 1.75; }
  .store-button { min-height: 58px; }
  .core-grid { padding-block: 50px; gap: 35px; }
  .core-hashes { font-size: 9px; gap: 2px; }
  .scale-labels { font-size: 11px; margin-top: 30px; }
  .core-reading { font-size: 12px; }
  .core-demo { margin-bottom: 12px; }
  .core-tag { font-size: 11px; line-height: 15px; padding: 3px 8px; }
  .feature-grid { padding-block: 58px; gap: 38px; }
  .section-intro { font-size: 16px; line-height: 1.8; }
  .phone-frame { width: min(100%,288px); }
  .help-grid { gap: 28px; padding-block: 58px; }
  .help-item summary { gap: 16px; font-size: 17px; padding-block: 20px; }
  .help-item p { padding-right: 0; font-size: 15px; }
  .closing-inner { min-height: max(510px,calc(100svh - 126px)); padding-block: 50px 70px; }
  .closing h2,html[lang=en] .closing h2,html[lang=ja] .closing h2 { font-size: clamp(25px,6.8vw,34px); }
  .closing-icon { width: 62px; height: 62px; margin-bottom: 30px; }
  .footer-inner { font-size: 11px; padding-block: 25px; align-items: center; flex-wrap: wrap; }
  .footer nav { gap: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; scroll-snap-type: none; }
  *,*::before,*::after { animation: none !important; transition: none !important; }
  .icon-exit { transform: none !important; opacity: 1 !important; }
  .js .feed-art .sheet { display: none; }
  .app-ui .after-feed { opacity: 1; }
  .phone-frame,.engine-art .phone-frame,.closing-orbit,.icon-orbits { transform: none; }
}
body.page-hidden *,body.page-hidden *::before,body.page-hidden *::after { animation-play-state: paused !important; }
.icon-stage:not(.in-view) .plate-sway, .js .icon-stage:not(.art-ready) *, .feed-art:not(.in-view) * { animation-play-state: paused !important; }
