/* orisuji.com: shared by every page. No scripts, no third-party requests: the fonts are subsets of the Zen fonts the app bundles (OFL, licences beside them). */
@font-face{font-family:"Zen Old Mincho";font-weight:600;font-style:normal;font-display:swap;src:url("fonts/zen-old-mincho-600.woff2") format("woff2")}
@font-face{font-family:"Zen Maru Gothic";font-weight:400;font-style:normal;font-display:swap;src:url("fonts/zen-maru-gothic-400.woff2") format("woff2")}
@font-face{font-family:"Zen Maru Gothic";font-weight:500;font-style:normal;font-display:swap;src:url("fonts/zen-maru-gothic-500.woff2") format("woff2")}

:root{
  --paper:#F3EBDF; --ink:#2A2622; --muted:#6B635A; --red:#C8322B; --gold:#B98F3A; --gold-soft:#E6CB86; --rule:#D9C9AC;
  --frame:#1D1B1A; --cream:#FBF4E8;
  --serif:"Zen Old Mincho","Hiragino Mincho ProN","Yu Mincho",serif; --sans:"Zen Maru Gothic","Hiragino Maru Gothic ProN",-apple-system,sans-serif;
  color-scheme:light;
}
*{box-sizing:border-box}
[hidden]{display:none!important}
body{margin:0;background:var(--paper) url("paper-tile.jpg") center top / 1440px auto repeat;color:var(--ink);font:400 16px/1.6 var(--sans);-webkit-font-smoothing:antialiased}
.page{position:relative;overflow-x:clip;padding-bottom:40px}
.wrap{position:relative;z-index:1;max-width:1120px;margin:0 auto;padding-inline:20px}
a{color:inherit}
a:focus-visible{outline:2px solid var(--red);outline-offset:3px;border-radius:4px}
h1,h2,h3{font-family:var(--serif);font-weight:600;margin:0;text-wrap:balance;letter-spacing:.005em}
p{margin:0}
section{position:relative}
.scn{position:absolute;z-index:0;pointer-events:none;user-select:none;height:auto;max-width:none}

/* nav and footer */
.nav{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-block:22px 10px}
.mark{display:flex;align-items:center;gap:12px;text-decoration:none}
.mark img{width:40px;height:40px;border-radius:10px;box-shadow:0 1px 3px rgba(60,40,20,.2)}
.mark span{font:600 26px/1 var(--serif)}
.mark img.wm{width:auto;height:40px;border-radius:0;box-shadow:none}
.links{display:flex;gap:26px;font-size:15px}
.links a{text-decoration:none;color:var(--muted)}
.links a:hover,.links a[aria-current="page"]{color:var(--ink)}
.links a[aria-current="page"]{text-decoration:underline;text-decoration-color:var(--red);text-underline-offset:6px;text-decoration-thickness:2px}
/* the header's links sit in a patch of mist, so they read over the plum branch (Adrien, 15 Oct) */
.nav .links{position:relative;isolation:isolate}
.nav .links::before{content:"";position:absolute;inset:-16px -34px;z-index:-1;background:radial-gradient(closest-side,rgba(243,235,223,.96) 62%,rgba(243,235,223,0) 100%)}
footer{padding-block:22px 10px;border-top:1px solid var(--rule);display:flex;flex-wrap:wrap;gap:14px 26px;align-items:center;justify-content:space-between;font-size:14px;color:var(--muted)}
footer .seal{display:flex;align-items:center;gap:12px}
footer .seal img{width:30px;height:30px}
footer .links{gap:10px 20px;font-size:14px;flex-wrap:wrap}
footer .links .sep{color:var(--rule)}
/* Orisuji elsewhere: the brand glyphs (Simple Icons, CC0), in the footer's ink */
footer .social{display:flex;align-items:center;gap:16px}
footer .social a{display:inline-flex;color:var(--muted);line-height:0}
footer .social a:hover{color:var(--ink)}
footer .social svg{width:19px;height:19px;fill:currentColor}

/* shared pieces */
.lede{font-size:clamp(17px,1.6vw,19px);color:var(--muted)}
.badge{display:inline-block;line-height:0;text-decoration:none;border:0;padding:0;background:none;filter:none}
.badge img{display:block;height:54px;width:auto}   /* Apple's badge, unaltered: no recolour, no effects */
.small{font-size:14px;color:var(--muted);font-variant-numeric:tabular-nums}

/* the gameplay clip: a transparent video of the phone, taller than the phone for the fold's swing; the buttons sit in the
   clear band under it, at its right, out of the swing's way; they shrink with the clip and drop below it when the band gets too thin */
.player{position:relative;container-type:inline-size}
.player video{display:block;width:100%;height:auto}
.vctl{--b:clamp(30px,calc(8.83cqw - 14px),38px);position:absolute;right:1.6%;bottom:calc(4.42cqw - var(--b) / 2 - 10px);display:flex;gap:4px;padding:4px;border-radius:999px;background:rgba(251,244,232,.94);box-shadow:0 4px 14px rgba(40,26,14,.16)}
.vbtn{width:var(--b);height:var(--b);padding:0;border:0;border-radius:50%;display:grid;place-items:center;background:transparent;color:var(--ink);cursor:pointer}
.vbtn:hover{background:rgba(42,38,34,.08)}
.vbtn:focus-visible{outline:2px solid var(--red);outline-offset:2px}
.vbtn svg{width:16px;height:16px}
.vplay{background:var(--red);color:var(--cream)}
.vplay:hover{background:#B02C26}
.vplay .i-play,.vplay.paused .i-pause{display:none}
.vplay.paused .i-play{display:block}
@container (max-width:500px){ .vctl{position:static;width:max-content;margin:6px 0 0 auto} }

/* phones: the open Duo 2853 x 2007, the closed Duo 1398 x 2034, iPhone 17 Pro Max landscape 2868 x 1320 */
.shot{background:var(--frame);padding:clamp(6px,0.8vw,11px);border-radius:clamp(14px,3.2%,30px);box-shadow:0 1px 0 rgba(0,0,0,.25),0 22px 40px -24px rgba(50,32,16,.5)}
.shot .fill{position:relative;display:grid;place-items:center;border-radius:clamp(9px,2.2%,20px);background:#E6DCCB;overflow:hidden}
.shot.duo-open .fill{aspect-ratio:2853/2007}
.shot.duo-closed .fill{aspect-ratio:1398/2034}
.shot.iphone{border-radius:clamp(16px,6.2%,40px)/clamp(16px,13.4%,40px)}
.shot.iphone .fill{aspect-ratio:2868/1320;border-radius:clamp(12px,5.6%,34px)/clamp(12px,12%,34px)}
.shot .label{font-size:13px;color:var(--muted);background:rgba(251,244,232,.9);border-radius:999px;padding:6px 14px;text-align:center;line-height:1.35}
.shot .label b{display:block;font-weight:500;color:var(--ink)}

/* documents: press, support, privacy */
.doc-plum{top:-8px;right:-24px;width:clamp(190px,24vw,380px)}
.doc-mtn{bottom:40px;left:50%;transform:translateX(-50%);width:clamp(700px,90vw,1400px);opacity:.3}
.doc-pampas{bottom:30px;left:calc(50% - 700px);width:clamp(130px,13vw,200px);opacity:.9}
.doc-head{padding-block:46px 30px;max-width:760px}
.doc-head h1{font-size:clamp(36px,5vw,56px);line-height:1.08}
.doc-head .lede{margin-top:12px;max-width:58ch}
.doc{max-width:780px;display:grid;gap:36px;padding-bottom:150px}
.doc>section{padding-top:26px;border-top:1px solid var(--gold-soft)}
.doc h2{font-size:clamp(24px,2.6vw,30px);line-height:1.2;margin-bottom:10px}
.doc h3{font-size:19px;line-height:1.3;margin:20px 0 4px}
.doc p,.doc li,.doc dd{color:var(--muted)}
.doc p{max-width:66ch}
.doc p+p{margin-top:10px}
.doc b{color:var(--ink);font-weight:500}
.doc a{color:var(--red);text-underline-offset:3px}
.doc ul{margin:8px 0 0;padding-left:1.2em;display:grid;gap:6px;max-width:66ch}
.doc code{font:500 .92em var(--sans);color:var(--ink);background:rgba(42,38,34,.06);padding:.05em .35em;border-radius:4px}
.sheet{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:9px 26px;margin:6px 0 0}
.sheet dt{font-weight:500;color:var(--ink)}
.sheet dd{margin:0}
.addr{font-weight:500;color:var(--ink);user-select:all}
@media (max-width:1100px){ .doc-pampas{display:none} }
@media (max-width:640px){
  .links{gap:16px}
  .doc-plum{width:150px;right:-30px}
  .sheet{grid-template-columns:1fr;gap:2px}
  .sheet dd{margin-bottom:10px}
}
