/* November releases: feature videos, reservation information and contact. */
:root{--reservation-bar-base-height:calc(52px + clamp(47.6px,6.8vw,91.8px));--reservation-bar-height:var(--reservation-bar-base-height);--reservation-notice-font-size:clamp(28px,4vw,54px)}
html{scroll-padding-top:140px;scroll-padding-bottom:calc(var(--reservation-bar-height) + 24px)}
body{padding-bottom:0}
button,input,textarea{font:inherit}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #007b59;outline-offset:4px}
.release-section{padding:100px 0;scroll-margin-top:20px}
.release-inner{width:min(90%,1280px);margin:0 auto}
.release-section .sec-title{margin-bottom:42px}
.release-section .sec-title__en{font-size:clamp(34px,6vw,80px);overflow-wrap:anywhere}
.release-section .sec-title__ja{font-size:clamp(21px,2.5vw,32px);line-height:1.5}
.release-intro{max-width:850px;margin:0 0 48px}
.release-intro h3{font-size:clamp(24px,3vw,36px);line-height:1.5;margin-bottom:18px}
.release-intro p{font-size:16px;line-height:2}
.release-label{display:block;font-size:12px;font-weight:800;letter-spacing:.1em;color:#007b38;margin-bottom:10px}
.release-note{font-size:13px;margin-top:24px;color:#555}
.functions{background:#f3f5f1}
.function-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px;align-items:stretch}
.function-card{display:flex;flex-direction:column;background:#fff;border-top:4px solid var(--green);box-shadow:0 10px 32px #1427140a;min-width:0}
.function-card video{display:block;width:100%;aspect-ratio:9/16;object-fit:contain;background:#111}
.function-card__body{flex:1;padding:28px 24px 32px}
.function-card h3{font-size:20px;line-height:1.6;margin-bottom:18px}
.function-card h3 span{display:block;font-size:15px;margin-top:6px;color:#007b38}
.function-card p,.developer-card p{font-size:15px;line-height:2}
.function-card h4{font-size:15px;line-height:1.7;margin:24px 0 10px}
.development.release-section{min-height:0;background:#101811}
.developer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:40px}
.developer-card{min-width:0}
.developer-card video{display:block;width:100%;aspect-ratio:16/9;background:#000;object-fit:contain;margin-bottom:28px}
.developer-card .release-label{color:#82e49d}
.developer-card h3{font-size:23px;margin-bottom:16px}
.developer-card p{color:#e0e7e1}
.developer-notice{margin-top:48px;padding:28px 32px;background:#ffffff08;border:1px solid #ffffff30}
.developer-notice h3{font-size:18px;margin-bottom:12px}
.developer-notice p{font-size:14px;line-height:1.9;color:#d2dad3}
.developer-notice p+p{margin-top:14px}
.app-section{background-color:#edf6fc;background-image:linear-gradient(rgba(102,153,190,.12) 1px,transparent 1px),linear-gradient(90deg,rgba(102,153,190,.12) 1px,transparent 1px);background-size:40px 40px}
.app-section .sec-title__en.outline.dark{color:transparent;-webkit-text-stroke:2px #222}
.app-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:70px;align-items:center}
.app-copy p{font-size:16px;line-height:2}
.app-copy .release-note{font-size:13px;margin-top:20px}
.app-platform{display:inline-block;margin-top:28px;font-size:14px!important;font-weight:700;border:1px solid #9eae9e;padding:8px 20px}
.app-screens{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start}
.app-screens img{width:100%;height:auto;border:7px solid #222;border-radius:26px;box-shadow:0 18px 35px #192a1920}
.app-screens figure:nth-child(2){padding-top:50px}
.app-screens figcaption{text-align:center;font-size:13px;font-weight:700;margin-top:16px}
.hero__datewrap{max-width:100%}
.hero__date{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:4px 24px;font-size:var(--reservation-notice-font-size);line-height:1.1;letter-spacing:0;text-align:center}
.hero__date>span{white-space:nowrap}
.price-tax{font-size:max(10px,.45em);font-weight:700;white-space:nowrap}
.release-preorder .hero__date,.release-preorder .reservation-bar__info{flex-direction:column;gap:4px}
.release-preorder .hero__reservation-price{font-size:calc(var(--reservation-notice-font-size) * .8)}
.release-preorder .reservation-bar__price{font-size:calc(var(--reservation-notice-font-size) * .7)}
.reservation{--preorder-accent:#32b424;--green:var(--preorder-accent);background:var(--green) url('../images/preorder-bg.png') center/cover no-repeat;color:#fff}
.reservation-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);overflow:hidden;background:#fff;color:#1a1a1a;text-align:center;max-width:1000px;margin:auto;box-shadow:0 20px 60px #003f3420}
.reservation-panel__visual{min-height:360px;background:url('../images/hero-1.jpg') calc(70% + 50px) top/cover no-repeat}
.reservation-panel__content{min-width:0;padding:60px 40px}
.reservation-status{font-weight:800;font-size:clamp(19px,2.6vw,30px);color:var(--preorder-accent);margin-bottom:24px}
.reservation-panel h3{font-size:clamp(19px,2vw,27px);line-height:1.7}
.reservation-price{font-weight:800;font-size:clamp(45px,7vw,76px);line-height:1.3;margin:28px 0}
.reservation-price span{font-size:clamp(16px,2vw,24px)}
.reservation-price .price-tax{font-size:clamp(12px,1.2vw,16px)}
.reservation-details{max-width:600px;margin:0 auto 28px;font-size:16px}
.reservation-details div{display:flex;justify-content:center;flex-wrap:wrap;gap:8px 24px;padding:12px 0;border-bottom:1px solid #ddd}
.reservation-details dt{font-weight:700}
.reserve-link{display:inline-flex;align-items:center;justify-content:center;gap:24px;min-height:54px;padding:14px 34px;background:#007b38;color:#fff;font-weight:800;font-size:19px;border:2px solid #007b38;border-radius:10px;transition:background .2s}
.reserve-link[href]:hover{background:#005d2a}
.reserve-link[aria-disabled="true"]{background:#e4e8e4;color:#647064;border-color:#d6ddd6;cursor:not-allowed}
.reservation-pending{font-size:13px;color:#555;margin-top:12px}
.reservation-bonus{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px;align-items:center;margin-top:64px;background:#fff;color:#222;padding:40px}
.reservation-bonus img{width:100%;height:auto}
.reservation-bonus h3{font-size:clamp(25px,3.2vw,40px);line-height:1.5;margin:16px 0 24px}
.reservation-bonus p{line-height:2}
.bonus-label{color:var(--preorder-accent);font-weight:800;font-size:16px}
.reservation-bar-wrap{position:relative}
.reservation-bar{position:relative;z-index:90;width:100%;display:flex;justify-content:center;align-items:center;gap:28px;height:calc(var(--reservation-bar-base-height) + env(safe-area-inset-bottom));background:#151d16f5;color:#fff;padding:12px 24px calc(12px + env(safe-area-inset-bottom));box-shadow:0 -6px 24px #0002;backdrop-filter:blur(12px)}
.reservation-bar.is-float{position:fixed;inset:auto 0 0;transform:translateY(110%);visibility:hidden;pointer-events:none}
.reservation-bar.is-float.is-shown{transform:translateY(0);visibility:visible;pointer-events:auto}
.reservation-bar.has-scroll-intent{transition:transform .45s cubic-bezier(.22,.61,.36,1),visibility .45s}
.reservation-bar__info{display:flex;align-items:center;flex-wrap:wrap;justify-content:center;gap:4px 24px;min-width:0}
.reservation-bar__status{font-size:var(--reservation-notice-font-size);font-weight:800;line-height:1.1;white-space:nowrap}
.reservation-bar__status:hover{text-decoration:underline;text-underline-offset:5px}
.reservation-bar__price{font-size:var(--reservation-notice-font-size);font-weight:800;line-height:1.1;white-space:nowrap}
.reservation-bar__period{font-size:12px;color:#d1dad2;flex-basis:100%;text-align:center}
.reservation-bar .reserve-link{flex-shrink:0;white-space:nowrap;font-size:17px;min-height:48px;padding:10px 26px;border-color:#83d999;background:#83d999;color:#122616}
.reservation-bar .reserve-link[href]:hover{background:#b0efbf}
.reservation-bar .reserve-link[aria-disabled="true"]{background:#d7ddd7;border-color:#d7ddd7;color:#586258}
.contact-section,.contact-page{--contact-accent:#32b424;--contact-hover:#2aa31f}
.contact-section{background:#f6f6f3;color:#222}
:is(.contact-section,.contact-page) :focus-visible{outline-color:var(--contact-accent)}
.contact-inner{max-width:850px}
.contact-intro{margin-bottom:36px;line-height:1.9}
.contact-form{position:relative}
.contact-field{margin-bottom:26px}
.contact-field label{display:block;font-weight:700;margin-bottom:10px}
.contact-field label span{display:inline-block;font-size:11px;font-weight:700;background:var(--contact-accent);color:#fff;padding:1px 7px;margin-left:8px;vertical-align:middle}
.contact-field input,.contact-field textarea{display:block;width:100%;padding:14px 16px;border:1px solid #aeb8ae;background:#fff;color:#222;border-radius:0;line-height:1.7;scroll-margin:160px 0 calc(var(--reservation-bar-height) + 24px)}
.contact-field textarea{resize:vertical;min-height:180px}
.contact-field [aria-invalid="true"]{border:2px solid #b12828}
.contact-trap{position:absolute;left:-10000px;top:0;width:1px;height:1px;overflow:hidden}
.contact-privacy{font-size:13px;color:#555;margin:12px 0 24px}
.contact-status{font-size:14px;line-height:1.9;margin-bottom:20px;white-space:pre-line;overflow-wrap:anywhere}
.contact-status:empty{display:none}
.contact-status a,.contact-form noscript a{text-decoration:underline;text-underline-offset:3px}
.contact-status.is-error{color:#a21b1b}
.contact-submit{display:block;width:100%;max-width:380px;margin:20px auto 0;background:var(--contact-accent);border:2px solid var(--contact-accent);color:#fff;font-weight:800;font-size:18px;padding:17px 24px;cursor:pointer;scroll-margin:160px 0 calc(var(--reservation-bar-height) + 24px)}
.contact-submit:hover{background:var(--contact-hover)}
.contact-submit:disabled{background:#9aa59a;border-color:#9aa59a;cursor:wait}
.contact-page{padding-bottom:0;background:#f6f6f3}
.contact-page main{max-width:850px;width:90%;margin:0 auto;padding:60px 0}
.contact-page .contact-page-logo{display:inline-block;margin-bottom:40px}
.contact-page-logo img{width:150px}
.contact-page h1{font-size:32px;margin-bottom:24px}
.contact-back{display:inline-block;margin-top:32px;text-decoration:underline;text-underline-offset:5px}
.gnav ul{max-width:900px}
.gnav a{font-size:13px;padding:5px 10px}
.fnav{flex-direction:column;align-items:flex-end;gap:10px}
.fnav__row{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px 30px;max-width:100%}
@media(max-width:520px){.fnav{align-items:center}.fnav__row{justify-content:center}}
@media(max-width:1100px){.gnav ul{max-width:780px}.gnav a{padding:5px 8px;font-size:12px}}
@media(max-width:1024px){.gnav ul{max-width:none}.gnav a{font-size:16px;padding:10px 12px}.gnav{padding-bottom:calc(var(--reservation-bar-height) + 24px);height:100dvh}.function-grid{gap:18px}.function-card__body{padding:22px 18px}.app-layout{gap:36px}}
@media(max-width:820px){
  .release-section{padding:72px 0}
  .function-grid{grid-template-columns:1fr;gap:32px;max-width:550px;margin:auto}
  .function-card video{max-height:65vh;max-height:65svh}
  .developer-grid,.app-layout{grid-template-columns:1fr;gap:40px}
  .app-screens{max-width:520px;margin:auto;width:100%}
  .reservation-bonus{gap:24px;padding:28px}
  .reservation-panel{grid-template-columns:1fr}
  .reservation-panel__visual{min-height:0;aspect-ratio:16/9;background-position:center}
  .reservation-panel__content{padding:40px 24px}
  .reservation-bar{gap:16px;padding-left:16px;padding-right:16px}
  .reservation-bar__info{gap:2px 16px}
}
@media(max-width:520px){
  :root{--reservation-bar-base-height:66px;--reservation-notice-font-size:20px}
  html{scroll-padding-top:94px}
  .release-section{padding:56px 0}
  .release-section .sec-title{margin-bottom:28px}
  .release-section .sec-title__en{font-size:clamp(30px,8vw,42px)}
  .release-section .sec-title__ja{font-size:21px}
  .release-intro{margin-bottom:32px}
  .release-intro h3{font-size:24px}
  .release-intro p,.app-copy p{font-size:15px}
  .developer-notice{padding:22px 20px;margin-top:32px}
  .developer-card h3{font-size:21px}
  .app-screens{gap:14px}
  .app-screens img{border-width:4px;border-radius:18px}
  .app-screens figure:nth-child(2){padding-top:32px}
  .app-screens figcaption{font-size:11px}
  .reservation-panel__content{padding:32px 18px}
  .reservation-status{font-size:18px}
  .reservation-price{font-size:48px}
  .reservation-details{font-size:14px}
  .reservation-details div{gap:4px 12px}
  .reservation-bonus{grid-template-columns:1fr;padding:24px;margin-top:32px}
  .reservation-bonus h3{font-size:27px}
  .reservation-bar{gap:12px;padding:10px 14px calc(10px + env(safe-area-inset-bottom))}
  .reservation-bar__info{flex-direction:column;align-items:center;gap:2px}
  .reservation-bar__period{display:none}
  .reservation-bar .reserve-link{font-size:15px;min-height:46px;padding:10px 16px}
  .contact-field input,.contact-field textarea{padding:12px;font-size:16px}
  .contact-page main{padding-top:36px}
  .hero__date{font-size:var(--reservation-notice-font-size);gap:4px 16px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.reveal,.about-reveal *{transition:none!important}.hero__slide.is-active{animation:none}.reservation-bar.has-scroll-intent{transition:none}}
@media(max-width:390px){
  .reservation-bar{gap:8px}
  .reservation-bar .reserve-link{font-size:14px;padding-left:8px;padding-right:8px;gap:0}
  .reservation-bar .reserve-link span{display:none}
}

/* The native video controls remain available when JavaScript is disabled. */
.video-player{position:relative;isolation:isolate;width:100%;overflow:hidden;background:#111;color:#fff;flex-shrink:0}
.function-card .video-player{aspect-ratio:9/16}
.developer-card .video-player{aspect-ratio:16/9;margin-bottom:28px}
.video-player video{display:block;width:100%;height:100%;aspect-ratio:auto;object-fit:contain;margin:0;cursor:pointer}
.video-player button{display:inline-flex;justify-content:center;align-items:center;flex-shrink:0;border:0;color:inherit;cursor:pointer}
.video-player button:focus-visible,.video-player input:focus-visible{outline:3px solid #83d999;outline-offset:2px}
.video-player svg{width:20px;height:20px;fill:currentColor;pointer-events:none}
.video-player__center{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:80px;height:80px;border:2px solid #ffffffd9!important;border-radius:50%;background:#10181199;box-shadow:0 5px 30px #0003;backdrop-filter:blur(6px);transition:background .2s,scale .2s}
.video-player__center:hover{background:#007b38e6;scale:1.05}
.video-player__center svg{width:30px;height:30px;margin-left:0}
.video-player [hidden]{display:none!important}
.video-player__controls{position:absolute;inset:auto 0 0;display:flex;align-items:center;gap:8px;min-height:56px;padding:18px 12px 8px;background:linear-gradient(transparent,#000c);font-size:11px;line-height:1.2}
.video-player__controls button{width:32px;height:32px;background:transparent;border-radius:5px}
.video-player__controls button:hover{background:#ffffff20}
.video-player__seek{flex:1;min-width:24px;width:0;height:20px;accent-color:#83d999;cursor:pointer}
.video-player__time{font-variant-numeric:tabular-nums;white-space:nowrap;min-width:65px;text-align:center}
.video-player__error{position:absolute;inset:12px 12px auto;padding:12px;background:#111e;font-size:13px;line-height:1.6}
@media(max-width:820px){.function-card .video-player{max-height:65vh;max-height:65svh}}
@media(max-width:520px){
  .video-player__center{width:64px;height:64px}
  .video-player__center svg{width:26px;height:26px}
  .video-player__controls{gap:6px;padding-left:10px;padding-right:10px}
  .video-player__controls button{width:28px;height:28px}
  .video-player__controls svg{width:18px;height:18px}
  .video-player__time{min-width:58px;font-size:10px}
}

/* Contact: input, confirmation and completion pages. */
.contact-page .contact-page-logo img{filter:brightness(0)}
.contact-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:40px}
.contact-steps li{background:#e5eae4;color:#536153;text-align:center;font-size:14px;font-weight:700;padding:14px 8px;line-height:1.5}
.contact-steps li span{font-size:12px;margin-right:8px}
.contact-steps [aria-current="step"]{background:var(--contact-accent);color:#fff}
.contact-confirmation{margin:32px 0 40px;border-top:1px solid #bdc7bd}
.contact-confirmation>div{padding:24px 0;border-bottom:1px solid #bdc7bd}
.contact-confirmation dt{font-weight:700;margin-bottom:10px}
.contact-confirmation dd{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.9}
.contact-actions{display:flex;gap:20px}
.contact-actions form{flex:1;min-width:0}
.contact-actions .contact-submit{max-width:none;margin:0}
.contact-edit{display:block;width:100%;padding:17px 24px;font:inherit;font-size:18px;font-weight:800;line-height:1.7;border:2px solid var(--contact-accent);color:var(--contact-accent);background:transparent;cursor:pointer}
.contact-edit:hover{background:#edf8eb}
.contact-complete{padding:24px 0 36px;line-height:2}
.contact-page a.contact-submit{text-align:center}
@media(max-width:520px){
  .contact-steps{gap:4px;margin-bottom:30px}
  .contact-steps li{font-size:12px;padding:12px 4px}
  .contact-steps li span{display:block;font-size:10px;margin:0 0 3px}
  .contact-page h1{font-size:26px}
  .contact-actions{flex-direction:column;gap:14px}
  .contact-confirmation>div{padding:20px 0}
}

/* Change contact steps inside the landing page without navigating away. */
[data-contact-panel][hidden]{display:none!important}
.contact-phase-title{font-size:clamp(22px,2.4vw,30px);line-height:1.6;margin-bottom:24px;scroll-margin:150px 0 calc(var(--reservation-bar-height) + 24px)}
.contact-actions>button{flex:1;min-width:0;width:auto}

/* Stagger adjacent columns while preserving the existing fade/slide motion. */
.app-screens>figure.reveal:nth-child(2){transition-delay:.2s}
@media(min-width:821px){
  .function-grid>.reveal:nth-child(2),.developer-grid>.reveal:nth-child(2){transition-delay:.2s}
  .function-grid>.reveal:nth-child(3){transition-delay:.4s}
  .app-screens>figure.reveal:first-child{transition-delay:.2s}
  .app-screens>figure.reveal:nth-child(2){transition-delay:.4s}
}
@media(min-width:521px){
  .reservation-bonus>.reservation-bonus__content.reveal{transition-delay:.2s}
}

/* Display the tax-inclusive price first, keeping each price label together. */
.specs__price-values{display:flex;flex-wrap:wrap;gap:4px 16px}
.specs__price-values>span{white-space:nowrap}
