/* KodaWorks homepage. Kept separate from the app pages. */
:root{font-family:"Nunito Sans",system-ui,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;--display:"Lora",Georgia,serif;--cream:#fff6ec;--ink:#1f2a44;--orange:#e0651b;--orange-text:#b54c0d;--ink-soft:#4a5268;--ink-quiet:#5f6678;--brown:#241f1b;--peach:#e6a37b;--paper:#eee4d6;--muted:#bfb1a2;--line:#ffffff20}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:24px}
body{margin:0;font-size:16px;line-height:1.65}
button,a{-webkit-tap-highlight-color:transparent}
button,input{font:inherit}
a{color:inherit;text-underline-offset:4px}
button{cursor:pointer}
button:disabled{cursor:default}
button:focus-visible,a:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:3px solid #e0651b;outline-offset:5px}
button:disabled{opacity:.35}
img,video{display:block;max-width:100%;height:auto}
h1,h2,h3,p,figure{margin:0}
h1,h2,h3{font-family:var(--display);font-weight:500;line-height:1.1;letter-spacing:-.045em}
h1 em,h2 em,h3 em{font-weight:500;color:var(--orange)}
p{max-width:65ch}
ul{margin:0;padding:0;list-style:none}
[hidden]{display:none!important}
.wrap{width:min(1180px,calc(100% - 96px));margin-inline:auto}
.preview-bar{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:36px;padding:7px 28px;background:#e7e3dc;color:#534d46;font-size:11px;line-height:1.5;border-bottom:1px solid #cfc8bc}
.preview-bar>span{letter-spacing:.09em;text-transform:uppercase;font-weight:800}
.preview-bar nav{display:flex;align-items:center;gap:22px}
.preview-bar a{text-decoration:none}
.preview-bar a:hover{text-decoration:underline}
.preview-bar a[aria-current]{font-weight:800;color:#973c23}
.skip-link{position:absolute;top:0;left:20px;transform:translateY(-180%);padding:12px 20px;background:var(--cream);color:var(--ink);z-index:100}
.skip-link:focus{transform:translateY(0)}
.site-header{border-bottom:1px solid #1f2a4417}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:30px;min-height:92px}
.brand-logo{width:182px;flex:none}
/* The logo PNG has a cream badge (4% padding) baked in, because Samsung Internet's dark mode
   repaints SVG colours but leaves PNGs alone; the negative margin keeps the logo the same size. */
.brand-logo img{width:108%;max-width:none;height:auto;margin:-4%;display:block}
.main-nav{display:flex;align-items:center;gap:32px;font-size:14px;font-weight:700}
.main-nav a{text-decoration:none}
.main-nav a:hover{color:var(--orange-text)}
.nav-contact{display:flex;align-items:center;gap:25px;border-bottom:1px solid currentColor;padding:8px 0}
.eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:.15em;font-weight:800;line-height:1.6}
.little-spark{font-size:21px;margin-right:10px;vertical-align:-2px}
.button{display:inline-flex;align-items:center;justify-content:center;gap:30px;min-height:50px;padding:13px 23px;border-radius:4px;font-size:14px;font-weight:800;text-decoration:none;border:1px solid transparent;line-height:1.5;transition:background .18s,transform .18s}
.button:hover{transform:translateY(-2px)}
.button span{font-size:19px;font-weight:400;line-height:1}
.studio-button{background:var(--orange-text);color:var(--cream)}
.studio-button:hover{background:#9a400b}
.warm-button{background:var(--peach);color:#302018}
.warm-button:hover{background:#f3ba96}
.roll-button{background:#f1dfb6;color:#162a2e}
.roll-button:hover{background:#fff1d1}
.text-link{display:inline-flex;align-items:center;gap:22px;text-decoration:none;border-bottom:1px solid currentColor;padding-bottom:5px;font-size:14px;font-weight:800;width:fit-content}
.text-link:hover{opacity:.75}
.hero-description{font-size:17px;line-height:1.7}
.quiet-note{font-size:12px;line-height:1.6}
.phone{display:block;overflow:hidden;position:relative;background:#171a1b;border:6px solid #25272a;border-radius:22px;box-shadow:10px 20px 38px #0004}
.phone img,.phone video{width:100%;height:100%;object-fit:cover}
.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:40px;margin-bottom:40px}
.section-heading .eyebrow{margin-bottom:15px}
.section-heading h2{font-size:clamp(36px,4.3vw,58px)}
.section-heading>p{font-size:15px;line-height:1.7}
.app-name{display:flex;align-items:center;gap:13px;font-family:var(--display);font-weight:600;font-size:20px;line-height:1.35;letter-spacing:-.02em}
.app-name img{width:46px;height:46px;border-radius:11px}
.app-name small{display:block;font:12px/1.6 "Nunito Sans",sans-serif;letter-spacing:.01em;font-weight:400;margin-top:3px}
.status-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#a5c9ad;margin-right:7px}
.status-dot.coming-soon{background:var(--peach)}
.site-footer a{text-decoration:none}
.site-footer a:hover{text-decoration:underline}
.footer-main{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-block:36px}
.footer-wordmark{font-size:24px;font-weight:800;letter-spacing:-.055em;line-height:1.2;white-space:nowrap}
.footer-main>p,.footer-main>a:last-child{font-size:12px}
.footer-fine{display:flex;flex-wrap:wrap;gap:8px 22px;padding-block:22px;border-top:1px solid #292b3119;font-size:10px;line-height:1.8}
.footer-fine>span:nth-child(2){flex:1}

/* KodaWorks: warm paper, ink, and a little orange from the original logo. */
.studio-page{background:var(--cream);color:var(--ink)}
.studio-page .phone{border-width:2px;border-radius:7px;aspect-ratio:auto}
.studio-page .phone img,.studio-page .phone video{height:auto;object-fit:contain}
.studio-page .tablet-preview{border-width:2px;border-radius:7px;height:auto}
.studio-page .tablet-preview img{height:auto;object-fit:contain}
.studio-header .header-inner{min-height:94px}
.studio-hero{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:48px;min-height:0;padding-block:40px 20px}
.studio-hero-copy>.eyebrow{color:var(--orange-text);margin-bottom:22px}
.studio-hero h1{font-size:clamp(58px,6.3vw,88px);line-height:1.02;letter-spacing:-.062em}
.studio-hero h1 em{color:var(--orange)}
.studio-hero .hero-description{max-width:365px;margin:26px 0 24px;color:var(--ink-soft)}
.studio-hero .quiet-note{margin-top:16px;color:var(--ink-quiet)}
.studio-hero-art{height:480px;position:relative;isolation:isolate}
.hero-orbit{position:absolute;inset:36px 24px 20px 40px;border-radius:48% 48% 40% 40%;background:#fbdcc2;transform:rotate(-10deg);z-index:-1}
.hero-orbit::after{content:"";position:absolute;inset:20px -16px -4px 14px;border:1px solid #e0651b50;border-radius:inherit}
.hero-library-phone{position:absolute;width:184px;aspect-ratio:720/1680;top:18px;left:56px;transform:rotate(-7deg);z-index:2}
.hero-dice-phone{position:absolute;width:172px;aspect-ratio:1080/2340;right:26px;top:93px;transform:rotate(8deg);z-index:3}
.hero-art-label{position:absolute;font-size:12px;font-weight:700;letter-spacing:.015em;z-index:4;line-height:1.5}
.hero-art-label-top{top:24px;right:8px;transform:rotate(3deg)}
.hero-art-label-top span{font-size:23px;vertical-align:-3px;color:var(--orange);margin-right:5px}
.hero-art-label-bottom{bottom:-14px;left:64px;transform:rotate(-3deg)}
.hero-art-label-bottom span{font-size:22px;vertical-align:-3px;color:var(--orange);margin-left:9px}
.apps-section{padding-block:12px 90px;scroll-margin-top:40px}
.apps-section>.section-heading{padding-top:35px;border-top:1px solid #1f2a4425;margin-bottom:36px}
.apps-section>.section-heading .eyebrow{color:var(--orange-text)}
.apps-section>.section-heading>p{color:var(--ink-quiet);text-align:right}
.app-showcase{display:grid;grid-template-columns:1fr 1fr;position:relative;min-height:570px;border-radius:12px;overflow:hidden}
.app-showcase+.app-showcase{margin-top:26px}
.app-showcase-copy{padding:48px 0 45px 48px;position:relative;z-index:3;max-width:440px;display:flex;flex-direction:column;align-items:flex-start}
.app-showcase h3{font-size:clamp(40px,4.1vw,54px);margin-top:27px}
.app-showcase-copy>p:not(.app-availability){font-size:15px;line-height:1.7;margin:22px 0 25px;max-width:335px}
.app-availability{font-size:11px;margin-top:16px;line-height:1.6}
.app-showcase-art{position:relative;min-width:0;isolation:isolate}
.tome-showcase{background:#32271f;color:#f5e9d8}
.tome-showcase h3 em{color:#eab48a}
.tome-showcase .app-showcase-copy>p{color:#d1bca5}
.tome-card-art{background:radial-gradient(ellipse at 65% 50%,#875c3650,transparent 70%)}
.tablet-preview{position:absolute;top:74px;left:5px;width:490px;height:420px;transform:rotate(4deg);border:7px solid #1c1816;border-radius:18px;overflow:hidden;box-shadow:0 20px 35px #0008}
.tablet-preview img{width:100%;height:100%;object-fit:cover;object-position:top}
.tome-card-phone{position:absolute;width:172px;aspect-ratio:720/1680;right:39px;bottom:26px;transform:rotate(-6deg);z-index:2;border-color:#443529}
.art-caption{position:absolute;bottom:16px;left:0;font-size:10px;color:#d1bca5;font-style:italic}
.roll-showcase{background:#16343a;color:#f5ecd9}
.roll-showcase h3 em{color:#dfbf7b}
.roll-showcase .app-showcase-copy>p{color:#c4d1c9}
.roll-card-art{background:radial-gradient(ellipse at center,#365d5c 0%,transparent 70%)}
.roll-card-art::before{content:"";position:absolute;inset:30px 25px 30px 0;border:1px solid #d8bd7e36;z-index:-1}
.roll-card-phone{position:absolute;width:204px;aspect-ratio:1080/2340;top:64px;left:50%;transform:translateX(-50%) rotate(4deg);border-color:#0c2227}
.roll-art-topline{position:absolute;top:35px;left:0;right:25px;text-align:center;font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:#d5decb}
.demo-button{position:absolute;bottom:26px;right:45px;display:flex;align-items:center;gap:10px;padding:9px 13px;color:#f1dfb6;background:#16343a;border:1px solid #af9a6599;border-radius:4px;font-size:11px;font-weight:700;box-shadow:0 5px 15px #0003}
.demo-button:hover{background:#25494d}
.play-icon{display:block;width:0;height:0;border-top:5px solid transparent;border-bottom:5px solid transparent;border-left:8px solid currentColor}
.demo-button.is-playing .play-icon{width:8px;height:10px;border:0;border-left:2px solid currentColor;border-right:2px solid currentColor}
.studio-story{background:#fdeee0;padding-block:76px 82px}
.story-layout{display:grid;grid-template-columns:.72fr 1.28fr;gap:80px;align-items:center}
.koda-portrait{text-align:center;transform:rotate(-4deg)}
.koda-photo{width:210px;height:210px;margin:0 auto;flex:none;border-radius:50%;overflow:hidden;box-shadow:12px 15px 0 #f3c9a4}
.koda-photo img{width:100%;height:100%;object-fit:cover;object-position:50% 30%;transform:scale(1.65)}
.koda-portrait span{display:block;margin-top:26px;font-size:12px;line-height:1.6;color:var(--ink-quiet);transform:rotate(4deg)}
.story-copy>.eyebrow{color:var(--orange-text)}
.story-copy h2{font-size:clamp(34px,3.9vw,50px);margin:18px 0 26px}
.story-copy>p:not(.eyebrow){font-size:15px;color:var(--ink-soft);max-width:535px}
.story-copy>p+p{margin-top:16px}
.story-copy>.text-link{margin-top:28px;color:var(--orange-text)}
.story-details{font-size:14px;margin-top:23px;border-top:1px solid #99857150;padding-top:15px}
.story-details summary{display:flex;justify-content:space-between;align-items:center;gap:20px;list-style:none;cursor:pointer;font-size:13px;font-weight:700;padding-block:5px}
.story-details summary::-webkit-details-marker{display:none}
.story-details summary span{font-size:21px;transition:transform .2s}
.story-details[open] summary span{transform:rotate(45deg)}
.story-details p{margin-top:16px}
.studio-signoff{padding-block:80px;text-align:center}
.studio-signoff>.eyebrow{color:var(--orange-text);margin-inline:auto}
.studio-signoff>p:not(.eyebrow){font-family:var(--display);font-size:clamp(39px,5.2vw,68px);line-height:1.15;letter-spacing:-.045em;margin:20px auto 24px}
.studio-signoff>p em{color:var(--orange)}
.studio-signoff>.text-link{font-size:12px;color:var(--ink-quiet)}
.studio-footer{background:#fdeee0;color:var(--ink-soft)}
.studio-footer .footer-logo{display:block;width:182px;flex:none}
.studio-footer .footer-logo img{width:108%;max-width:none;height:auto;margin:-4%;display:block}
.studio-footer .footer-fine{color:var(--ink-quiet)}

@media(min-width:1500px){.studio-hero-art{height:500px}.studio-hero{padding-block:58px 24px}.hero-library-phone{width:200px;left:55px}.hero-dice-phone{width:180px;right:20px}.hero-art-label-bottom{bottom:-8px}.tome-hero h1{font-size:62px}}
@media(max-width:1100px){
  .wrap{width:calc(100% - 64px)}
  .studio-hero{gap:20px}
  .studio-hero h1{font-size:clamp(52px,6.3vw,72px)}
  .studio-hero-art{height:435px}
  .hero-library-phone{width:167px;left:21px;top:15px}
  .hero-dice-phone{width:152px;right:6px;top:90px}
  .hero-art-label-top{right:0;font-size:10px}
  .hero-art-label-bottom{left:32px;bottom:-15px;font-size:10px}
  .hero-orbit{inset:35px 0 5px 15px}
  .app-showcase-copy{padding-left:34px}
  .app-showcase h3{font-size:42px}
  .app-showcase-copy>p:not(.app-availability){max-width:285px}
  .tablet-preview{width:420px;left:0;top:85px;height:390px}
  .tome-card-phone{right:16px;width:150px;bottom:45px}
  .roll-card-phone{width:190px;left:49%;top:80px}
  .roll-art-topline{font-size:9px;right:15px;top:40px}
  .story-layout{gap:50px}
  .tome-hero{gap:15px;grid-template-columns:1.08fr .92fr}
  .tome-hero h1{font-size:clamp(39px,4.5vw,50px)}
  .tome-hero-art{height:510px}
  .tome-front-phone{left:15px}
  .tome-back-phone{right:0}
  .tome-art-eyebrow{font-size:8px}
  .hero-scene-controls{gap:2px;bottom:23px}
  .hero-scene-controls button{font-size:10px;padding-inline:8px}
  .chapter-heading,.reader-section,.binder-layout,.developer-section{gap:46px}
  .wide-bookcase>a{height:380px}
  .reader-art{height:470px}
  .reader-page-window{height:365px}
  .reader-phone{width:155px}
  .slide-copy{padding-right:24px}
  .slide-copy h3{font-size:31px}
  .feature-carousel{gap:12px}
}
@media(max-width:800px){
  .wrap{width:calc(100% - 48px)}
  .main-nav{gap:20px;font-size:12px}
  .brand-logo{width:155px}
  .header-inner{min-height:80px;gap:18px}
  .studio-hero{grid-template-columns:1fr 1fr;gap:4px;padding-block:38px 24px}
  .studio-hero h1{font-size:50px}
  .studio-hero .hero-description{font-size:15px;max-width:280px}
  .studio-hero .button{font-size:12px;padding-inline:15px;gap:15px}
  .studio-hero-art{height:390px}
  .hero-library-phone{width:144px;left:8px;top:24px;border-width:5px;border-radius:17px}
  .hero-dice-phone{width:128px;right:-2px;top:102px;border-width:5px;border-radius:17px}
  .hero-art-label-top{top:24px;right:-3px;font-size:9px}
  .hero-art-label-top span{font-size:17px}
  .hero-art-label-bottom{font-size:9px;left:9px;bottom:-6px}
  .app-showcase{min-height:520px}
  .app-showcase-copy{padding:34px 0 34px 28px}
  .app-name{font-size:18px;gap:10px}
  .app-name img{width:38px;height:38px}
  .app-showcase h3{font-size:36px;margin-top:22px}
  .app-showcase-copy>p:not(.app-availability){font-size:13px;max-width:240px}
  .app-showcase .button{font-size:11px;padding-inline:15px;gap:18px}
  .app-availability{font-size:9px}
  .tablet-preview{width:355px;height:350px;top:88px;left:4px}
  .tome-card-phone{width:132px;right:8px;bottom:50px}
  .art-caption{font-size:8px;bottom:18px;left:-10px}
  .roll-art-topline{font-size:8px;left:0;right:7px;top:36px;letter-spacing:.06em}
  .roll-card-phone{width:160px;top:80px}
  .roll-card-art::before{inset:22px 15px 22px 0}
  .demo-button{bottom:33px;right:30px;font-size:10px}
  .story-layout{gap:40px;grid-template-columns:.75fr 1.25fr}
  .koda-photo{width:170px;height:170px}
  .story-copy h2{font-size:34px}
  .story-copy>p:not(.eyebrow){font-size:14px}
  .tome-header .main-nav{gap:15px;font-size:11px}
  .studio-wordmark{font-size:18px}
  .studio-wordmark span{margin-left:8px;font-size:12px}
  .header-button{font-size:11px;padding-inline:12px;gap:12px}
  .tome-hero h1{font-size:35px}
  .tome-hero .hero-description{font-size:14px;margin-top:22px}
  .tome-hero .app-name{font-size:18px;margin-bottom:22px}
  .tome-hero .app-name small{font-size:10px}
  .tome-hero .app-name img{width:42px;height:42px}
  .tome-hero-art{height:455px}
  .tome-front-phone{left:0;border-width:5px;border-radius:18px}
  .tome-back-phone{right:0;border-width:5px;border-radius:18px}
  .tome-art-eyebrow{font-size:7px}
  .hero-scene-controls button{font-size:9px;padding-inline:6px}
  .hero-scene-caption{font-size:9px}
  .hero-actions{gap:14px}
  .hero-actions .button{font-size:12px;gap:16px;padding-inline:16px;min-height:44px}
  .launch-status{font-size:9px}
  .tome-hero .quiet-note{font-size:9px}
  .tome-reassurance>.wrap{gap:18px;font-size:10px}
  .chapter-heading{gap:30px}
  .chapter-heading h2{font-size:34px}
  .chapter-heading>p{font-size:13px}
  .bookcase-notes{gap:24px}
  .bookcase-notes h3{font-size:17px}
  .bookcase-notes p{font-size:12px}
  .reader-section{gap:35px}
  .reader-art{height:410px}
  .reader-page-window{width:84%;height:330px;top:27px}
  .reader-phone{width:132px}
  .reader-copy h2{font-size:34px}
  .reader-copy>p:not(.eyebrow){font-size:13px}
  .binder-layout{gap:35px}
  .binder-layout>div>p:not(.eyebrow){font-size:13px}
  .binder-visual img{max-height:385px}
  .feature-carousel{grid-template-columns:35px minmax(0,1fr) 35px;gap:8px}
  .carousel-arrow{width:35px;height:35px}
  .feature-slide{min-height:400px}
  .slide-art{height:385px;padding:10px}
  .slide-art>img{max-height:350px}
  .slide-art .slide-phone{height:350px}
  .slide-copy{padding:24px 20px 24px 14px}
  .slide-copy h3{font-size:27px}
  .slide-copy .eyebrow{font-size:9px}
  .slide-copy>p:not(.eyebrow){font-size:12px}
  .developer-section{gap:35px}
  .letter-intro h2{font-size:33px}
  .letter-pullquote{font-size:18px}
  .developer-letter{font-size:14px}
}
@media(max-width:650px){
  .wrap{width:calc(100% - 40px)}
  .preview-bar{padding:7px 14px;gap:10px;font-size:10px}
  .preview-bar>span{font-size:8px;letter-spacing:.06em}
  .preview-bar nav{gap:14px}
  .preview-bar>a:last-child{display:none}
  .header-inner{min-height:75px}
  .brand-logo{width:145px}
  .main-nav{gap:17px;font-size:11px}
  .main-nav .nav-contact{display:none}
  .studio-hero{grid-template-columns:1fr;gap:24px;padding-block:34px 24px}
  .studio-hero h1{font-size:clamp(53px,12vw,72px);line-height:1.03}
  .studio-hero-copy>.eyebrow{margin-bottom:20px}
  .studio-hero .hero-description{max-width:340px;margin:22px 0;font-size:16px}
  .studio-hero .button{min-height:48px;font-size:12px;gap:22px;padding-inline:19px}
  .studio-hero .quiet-note{font-size:11px;margin-top:13px}
  .studio-hero-art{width:min(100%,390px);height:420px;margin:10px auto 0}
  .hero-library-phone{width:164px;left:29px;top:9px}
  .hero-dice-phone{width:145px;right:9px;top:85px}
  .hero-orbit{inset:25px 5px 12px 15px}
  /* Two short lines, so the caption sits over the dice roller and clear of the bookshelf. */
  .hero-art-label-top{font-size:10px;top:12px;right:0;width:118px;padding-left:22px;text-indent:-22px}
  .hero-art-label-bottom{font-size:10px;left:25px;bottom:-4px}
  .apps-section{padding-block:12px 50px}
  .section-heading{align-items:start;gap:20px;margin-bottom:26px}
  .section-heading h2{font-size:37px}
  .section-heading>p{font-size:11px}
  .apps-section>.section-heading{padding-top:30px}
  .apps-section>.section-heading>p{font-size:10px;margin-top:5px}
  .app-showcase{grid-template-columns:1fr;min-height:0;border-radius:9px}
  .app-showcase-copy{padding:30px 28px 10px;max-width:100%;width:100%}
  .app-showcase h3{font-size:44px;line-height:1.08;margin-top:24px}
  .app-showcase-copy>p:not(.app-availability){font-size:14px;max-width:320px;margin-top:22px}
  .app-showcase .button{font-size:12px;gap:22px}
  .app-availability{font-size:10px}
  .app-showcase-art{height:390px;margin-top:18px}
  .tablet-preview{width:330px;height:305px;top:28px;left:25px;transform:rotate(4deg)}
  .tome-card-phone{width:131px;right:23px;bottom:25px}
  .art-caption{bottom:13px;left:26px;max-width:145px;font-size:8px}
  .roll-card-art{height:460px}
  .roll-card-art::before{inset:15px 20px 24px}
  .roll-card-phone{width:170px;top:43px;left:50%;border-width:5px}
  .roll-art-topline{top:24px;right:0;font-size:8px;letter-spacing:.08em}
  .demo-button{bottom:33px;right:29px}
  .story-layout{grid-template-columns:1fr;gap:42px}
  .studio-story{padding-block:48px 54px}
  .koda-portrait{display:flex;align-items:center;text-align:left;gap:26px;transform:none}
  .koda-photo{width:100px;height:100px;margin:0;box-shadow:7px 8px 0 #f3c9a4;transform:rotate(-5deg)}
  .koda-portrait span{font-size:11px;margin:0;transform:none}
  .story-copy h2{font-size:36px}
  .story-copy>.eyebrow{font-size:9px}
  .story-copy>p:not(.eyebrow){font-size:14px}
  .studio-signoff{padding-block:55px}
  .studio-signoff>p:not(.eyebrow){font-size:43px}
  .footer-main{align-items:start;flex-wrap:wrap;justify-content:flex-start;gap:18px 30px;padding-block:29px}
  .footer-main>p{flex-basis:100%;order:3;font-size:11px}
  .footer-main>a:last-child{font-size:10px;align-self:center;margin-left:auto}
  .footer-fine{font-size:9px;gap:8px 16px;padding-block:19px}
  .footer-fine>span:nth-child(2){flex-basis:100%;order:3}
  .tome-header .header-inner{min-height:69px;gap:16px}
  .tome-header .main-nav{display:none}
  .studio-wordmark{font-size:19px}
  .tome-hero{grid-template-columns:1fr;gap:18px;padding-block:33px 40px}
  .tome-hero .app-name{margin-bottom:26px;font-size:19px}
  .tome-hero .app-name small{font-size:10px}
  .tome-hero h1{font-size:clamp(35px,8.8vw,54px);line-height:1.16}
  .tome-hero .hero-description{font-size:15px;max-width:410px;margin-top:22px}
  .hero-actions{margin-top:24px;gap:20px}
  .hero-actions .button{font-size:13px;min-height:47px;gap:25px;padding-inline:21px}
  .launch-status{font-size:10px}
  .tome-hero .quiet-note{font-size:10px;margin-top:17px}
  .tome-hero-art{height:465px;width:min(100%,380px);margin:20px auto 0}
  .tome-front-phone{left:25px}
  .tome-back-phone{right:7px}
  .tome-art-eyebrow{top:0;font-size:8px}
  .reading-glow{inset:24px 0 52px}
  .hero-scene-controls{bottom:19px;gap:7px}
  .hero-scene-controls button{font-size:11px;padding-inline:9px}
  .hero-scene-caption{font-size:9px;bottom:-6px}
  .tome-reassurance>.wrap{gap:12px;font-size:9px;justify-content:space-between;padding-block:17px}
  .tome-reassurance .reassurance-star{display:none}
  .bookcase-section{padding-block:49px 43px}
  .chapter-heading{grid-template-columns:1fr;gap:24px;margin-bottom:28px}
  .chapter-heading h2{font-size:37px}
  .chapter-heading>p{font-size:14px;max-width:440px}
  .wide-bookcase{border-width:5px;border-radius:9px 9px 3px 3px}
  .wide-bookcase>a{height:330px}
  .wide-bookcase img{object-position:40% top}
  .wide-bookcase figcaption{display:block;padding:12px 10px;font-size:8px}
  .wide-bookcase figcaption span{display:block}
  .wide-bookcase figcaption>span:first-child{font-size:11px;margin-bottom:6px}
  .bookcase-notes{grid-template-columns:1fr;gap:22px;margin-top:29px}
  .bookcase-notes>div{padding-top:15px}
  .bookcase-notes h3{font-size:20px;margin-bottom:9px}
  .bookcase-notes p{font-size:13px;max-width:450px}
  .reader-section{grid-template-columns:1fr;gap:32px;padding-block:48px}
  .reader-copy{grid-row:1}
  .reader-copy h2{font-size:39px;margin-top:15px}
  .reader-copy>p:not(.eyebrow){font-size:14px}
  .quiet-list li{font-size:12px}
  .reader-art{height:440px;width:min(100%,390px);margin:auto}
  .reader-page-window{width:79%;height:340px;top:18px}
  .reader-phone{width:155px;bottom:4px}
  .binder-section{padding-block:44px}
  .binder-layout{grid-template-columns:1fr;gap:32px}
  .binder-layout h2{font-size:41px}
  .binder-layout>div>p:not(.eyebrow){font-size:14px}
  .binder-visual{max-width:290px}
  .binder-visual img{max-height:390px}
  .tome-extras{padding-block:48px}
  .tome-extras>.section-heading>p{font-size:10px}
  .tome-extras>.section-heading .eyebrow{font-size:9px}
  .feature-carousel{grid-template-columns:minmax(0,1fr);gap:0}
  .feature-slide{grid-template-columns:1fr;align-items:start}
  .slide-art{height:350px;padding:15px 27px}
  .slide-art>img{max-height:320px}
  .slide-art .slide-phone{height:320px}
  .slide-art.themes-slide img{height:330px}
  .slide-copy{padding:23px 28px 31px}
  .slide-copy h3{font-size:32px;margin:14px 0 19px}
  .slide-copy>p:not(.eyebrow){font-size:14px}
  .slide-copy .eyebrow{font-size:10px}
  .carousel-arrow{position:absolute;z-index:2;top:160px;background:#241f1b;box-shadow:0 4px 12px #0006;width:40px;height:40px}
  [data-carousel-previous]{left:-12px}
  [data-carousel-next]{right:-12px}
  .pro-tag{top:13px;right:13px}
  .pricing-section{padding-block:49px}
  .pricing-intro h2{font-size:39px}
  .pricing-intro>p:last-child{font-size:11px}
  .pricing-grid{grid-template-columns:1fr;gap:18px;margin-top:28px}
  .price-card{padding:27px}
  .price-card h3{font-size:33px}
  .price-card li{font-size:13px}
  .developer-section{grid-template-columns:1fr;gap:31px;padding-block:49px}
  .letter-intro h2{font-size:37px;margin:16px 0 25px}
  .letter-pullquote{font-size:20px;max-width:370px}
  .developer-letter{font-size:15px;line-height:1.9}
  .tome-closing{padding-block:47px 55px}
  .tome-closing h2{font-size:45px}
  .tome-closing p:not(.eyebrow){font-size:11px}
  .tome-footer .footer-main{gap:16px}
  .tome-footer .footer-main>a:last-child{margin-left:auto}
  .tome-footer .footer-fine{justify-content:flex-start}
  .studio-hero-copy,.tome-hero-copy{display:contents}
  .studio-hero-copy>.eyebrow{grid-row:1;margin:0}
  .studio-hero h1{grid-row:2}
  .studio-hero-art{grid-row:3}
  .studio-hero .hero-description{grid-row:4;margin:0}
  .studio-hero-copy>.button{grid-row:5;justify-self:start}
  .studio-hero .quiet-note{grid-row:6;margin-top:0}
  .tome-hero .app-name{grid-row:1;margin-bottom:4px}
  .tome-hero h1{grid-row:2}
  .tome-hero-art{grid-row:3;margin-top:8px;margin-bottom:16px}
  .tome-hero .hero-description{grid-row:4;margin-top:0}
  .hero-actions{grid-row:5;margin-top:5px}
  .tome-hero .quiet-note{grid-row:6;margin-top:0}
}
@media(max-width:360px){
  .wrap{width:calc(100% - 32px)}
  .main-nav{gap:13px;font-size:10px}
  .brand-logo{width:133px}
  .studio-hero h1{font-size:48px}
  .studio-hero .hero-description{font-size:14px}
  .studio-hero .button{font-size:10px;gap:13px}
  .studio-hero-art{height:355px}
  .hero-library-phone{width:139px;left:14px;top:7px}
  .hero-dice-phone{width:122px;right:5px;top:83px}
  .hero-art-label-top,.hero-art-label-bottom{font-size:8px}
  .hero-art-label-top{top:0}
  .hero-art-label-bottom{left:9px;bottom:-8px}
  .app-showcase-copy{padding-inline:22px}
  .app-showcase h3{font-size:38px}
  .app-showcase-art{height:330px}
  .tablet-preview{width:280px;height:260px;left:15px;top:20px}
  .tome-card-phone{width:112px;right:17px;bottom:23px}
  .art-caption{max-width:125px;font-size:7px;left:20px}
  .roll-card-art{height:420px}
  .roll-card-phone{width:151px}
  .roll-art-topline{font-size:7px}
  .story-copy h2{font-size:31px}
  .studio-signoff>p:not(.eyebrow){font-size:37px}
  .tome-hero h1{font-size:31px}
  .tome-hero-art{height:420px}
  .tome-front-phone{left:15px}
  .tome-back-phone{right:0}
  .hero-scene-controls{gap:2px;bottom:17px}
  .hero-scene-controls button{font-size:10px;padding-inline:7px}
  .tome-art-eyebrow{font-size:7px}
  .chapter-heading h2{font-size:33px}
  .tome-reassurance>.wrap{font-size:8px;gap:7px}
  .reader-copy h2{font-size:34px}
  .reader-art{height:400px}
  .reader-phone{width:137px}
  .reader-page-window{height:310px}
  .section-heading h2{font-size:33px}
  .section-heading>p{font-size:9px}
  .slide-copy{padding-inline:23px}
  .slide-copy h3{font-size:29px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}

/* Slim handset frames around the homepage previews. */
.studio-page .phone.demo-handset,.studio-page .phone.device-handset{padding:3px;border:1px solid #697177;border-radius:14px;overflow:visible;background:linear-gradient(120deg,#454b50,#101315 35%,#343a3f);box-shadow:0 0 0 1px #0a1012,10px 20px 38px #0005,inset 0 0 0 1px #ffffff18}
.demo-handset::before,.demo-handset::after,.device-handset::before,.device-handset::after{content:"";position:absolute;right:-3px;width:2px;border-radius:0 2px 2px 0;background:linear-gradient(90deg,#343b40,#929a9f);box-shadow:1px 0 2px #0005}
.demo-handset::before,.device-handset::before{top:64px;height:35px}
.demo-handset::after,.device-handset::after{top:114px;height:20px}
.handset-screen{overflow:hidden;border-radius:10px;background:#121619}
/* The full handset and the button share the same play/pause control. */
.demo-surface{position:absolute;inset:0;z-index:3;padding:0;border:0;border-radius:inherit;background:transparent;cursor:pointer}
.demo-surface:focus-visible{outline:3px solid #f1dfb6;outline-offset:5px}
@media(max-width:650px){.studio-page .roll-card-art.has-handset{height:500px}.studio-page .demo-handset{top:24px}.studio-page .has-handset .demo-button{left:50%;right:auto;bottom:20px;transform:translateX(-50%);white-space:nowrap}}
@media(max-width:360px){.studio-page .roll-card-art.has-handset{height:460px}}


/* Make each app's name, headline and artwork lead to its page. */
.app-name-link,.app-title-link{text-decoration:none}
.app-title-link{display:block}
.app-name-link:hover span,.app-title-link:hover{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:6px}
a.app-showcase-art{display:block;text-decoration:none}
a.app-showcase-art:focus-visible{outline-offset:-6px}

/* Device frames around the homepage screenshots. */
.studio-page .device-handset .handset-screen{border-radius:10px}
.studio-page .device-handset img{width:100%;height:auto;object-fit:contain;border-radius:0}
.studio-page .tablet-preview.device-tablet{height:auto;max-width:calc(100% - 40px);left:20px;padding:9px 7px 9px 13px;border:1px solid #697177;border-radius:14px;overflow:visible;background:linear-gradient(120deg,#454b50,#101315 35%,#343a3f);box-shadow:0 0 0 1px #0a1012,0 20px 35px #0008,inset 0 0 0 1px #ffffff18}
.device-tablet::before{content:"";position:absolute;left:4px;top:50%;width:5px;height:5px;border-radius:50%;background:#030506;box-shadow:0 0 0 1px #475057,inset 0 0 0 1px #0a0f13}
.device-tablet::after{content:"";position:absolute;top:-3px;right:35px;width:36px;height:2px;border-radius:2px 2px 0 0;background:linear-gradient(#929a9f,#343b40)}
.tablet-screen{overflow:hidden;border-radius:4px;background:#17130f}
.studio-page .tablet-preview.device-tablet img{width:100%;height:auto;object-fit:contain;border-radius:0}

/* Keep the framed Roll Anywhere preview within the opening artwork. */
.studio-page .hero-dice-phone.device-handset{top:auto;bottom:44px}

/* The original Roll Anywhere picture fills the 9:19.5 display. */
.studio-page .hero-dice-phone .handset-screen,
.studio-page .demo-handset .handset-screen {
  display:flex;
  flex-direction:column;
  aspect-ratio:9/19.5;
  min-height:0;
}
.studio-page .hero-dice-phone img,
.studio-page .demo-handset video {
  flex:1 1 0;
  min-height:0;
  height:auto;
  object-fit:cover;
  object-position:center top;
}
