:root { color-scheme:light; color:#142337; background:#fff; font-family:system-ui,sans-serif; }
*,*::before,*::after { box-sizing:border-box; }
body { margin:0; }
a { color:inherit; text-underline-offset:.18em; }
.mast { display:flex; align-items:center; justify-content:space-between; width:min(calc(100% - 34px),680px); margin:auto; gap:12px; min-height:65px; border-bottom:1px solid #e6ecea; }
.mast a { font-size:.88rem; font-weight:650; }
.mast .brand { display:flex; align-items:center; text-decoration:none; font-size:1.25rem; letter-spacing:-.055em; }
.brand img { margin-right:7px; }
.brand span { color:#235add; }
main { text-align:center; padding:22px 16px 27px; }
h1 { font:400 clamp(2.3rem,7vw,3.75rem)/1 Georgia,serif; letter-spacing:-.065em; margin:0 0 19px; }
.phone { position:relative; width:min(78vw,322px); padding:5px; margin:auto; border:1px solid #80918a; border-radius:14% / 6.4%; background:#162520; box-shadow:inset 0 0 0 1px #5b6e64,0 6px 14px #0e30212c,0 14px 26px #0e302116; }
.screen { aspect-ratio:390/844; position:relative; border-radius:12% / 5.5%; overflow:hidden; isolation:isolate; background:#0c1a17; }
iframe { display:block; width:390px; height:844px; border:0; position:absolute; inset:0; transform:scale(var(--phone-scale,.7)); transform-origin:top left; }
.device-time,.device-island,.device-home { position:absolute; pointer-events:none; }
.device-time { top:2.4%; left:7.8%; font-size:clamp(7px,2vw,10px); font-weight:750; color:#fff; mix-blend-mode:difference; }
.device-island { top:1.8%; left:37%; width:26%; height:3.4%; border-radius:999px; background:#060a08; }
.device-home { bottom:1.1%; left:34%; width:32%; height:2px; border-radius:999px; background:#e0d6b8; mix-blend-mode:difference; }
.controls { display:inline-flex; align-items:center; gap:7px; margin:18px 0 0; padding:5px; border:1px solid #e0e8e3; border-radius:999px; }
.controls button { width:44px; height:44px; border:1px solid #e0e8e3; border-radius:50%; background:white; color:#224639; cursor:pointer; font:1.6rem/.8 system-ui,sans-serif; }
.controls button:hover:not(:disabled) { background:#eef4f0; }
.controls button:disabled { opacity:.35; cursor:default; }
.controls button:focus-visible,a:focus-visible { outline:2px solid #28624b; outline-offset:3px; }
.controls output { min-width:58px; font-size:.83rem; font-variant-numeric:tabular-nums; color:#435e52; }
.hint,.credit { color:#51665d; line-height:1.6; margin:15px auto 0; max-width:42ch; font-size:.86rem; }
.credit { margin-top:7px; font-size:.76rem; }
