/* TVPN landing page — static, no build step. Based on the R2 magazine ad (final/r2-ad).
   Layout is mobile-first; the hero montage recomposes at 720px. All window chrome is
   scaled by --u (one "ad millimetre"), which is derived from the hero's own width. */

@font-face { font-family: "Pixelify Sans"; src: url("assets/fonts/PixelifySans-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Pixelify Sans"; src: url("assets/fonts/PixelifySans-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --ink: #1b1026;
  --text: #111111;
  --muted: #3d3d3d;
  --rust: #e2572e;
  --rust-deep: #b53e1f;
  --magenta: #e6007e;
  --mint: #52e3d5;
  --mint-deep: #2eb3a8;
  --cream: #fbe9c6;
  --paper: #ffffff;
  --display: "Bookman Old Style", "URW Bookman", "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Noto Serif", serif;
  --body: "C059", "Century Schoolbook", "New Century Schoolbook", "Iowan Old Style", Georgia, "Noto Serif", "Times New Roman", serif;
  --gothic: "URW Gothic", "ITC Avant Garde Gothic", "Century Gothic", Futura, "Trebuchet MS", "Helvetica Neue", Arial, sans-serif;
  --sans: "Nimbus Sans", "Helvetica Neue", Helvetica, Arial, "Liberation Sans", sans-serif;
  --pixel: "Pixelify Sans", "Courier New", monospace;
  --jp: "Noto Sans CJK JP", "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --gutter: 16px;
  --max: 1040px;
  --quickbar: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  padding-bottom: calc(var(--quickbar) + env(safe-area-inset-bottom, 0px));
  background: var(--paper);
  color: var(--text);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.55;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; }
[lang="ja"] { font-family: var(--jp); }
.px { font-family: var(--pixel); }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 7px var(--mint); }
a:focus-visible { border-radius: 2px; }

/* ================= header ================= */
.site-head { border-bottom: 3px solid var(--ink); background: var(--paper); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; }
.logo { display: inline-block; text-decoration: none; }
.logo img { width: auto; height: 46px; }
.head-call { display: none; align-items: center; gap: 10px; padding: 9px 16px; border: 2px solid var(--ink); border-radius: 999px; text-decoration: none; font-family: var(--gothic); font-weight: 700; font-size: 1rem; letter-spacing: .04em; white-space: nowrap; transition: background-color .12s, color .12s; }
.head-call svg { width: 18px; height: 18px; }
.head-call:hover { background: var(--ink); color: #fff; }

/* ================= masthead ================= */
.masthead { padding: clamp(22px, 4vw, 44px) 0 clamp(16px, 3vw, 28px); }
.kicker { margin: 0 0 .7em; font-family: var(--gothic); font-weight: 700; font-size: clamp(.74rem, 2.4vw, 1rem); line-height: 1.35; letter-spacing: .12em; text-transform: uppercase; }
.headline { font-family: var(--display); font-weight: 700; font-size: clamp(2.2rem, 10.4vw, 6.6rem); line-height: .94; letter-spacing: -.015em; color: #0b0b0b; }
.headline span { display: block; }
.headline .nb { display: inline; white-space: nowrap; }
.mast-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px 30px; }
.jpstamp { display: inline-block; margin: 8px 0 6px 3px; padding: .5em .7em; background: var(--ink); color: #fff; font-family: var(--jp); font-weight: 700; font-size: clamp(1rem, 4.2vw, 1.65rem); line-height: 1; white-space: nowrap; transform: rotate(-2deg); transform-origin: left center; }

.rainbow { height: clamp(10px, 1.7vw, 18px); background: linear-gradient(to bottom, #e8403a 0 16.66%, #f28b2b 0 33.33%, #f5d33a 0 50%, #4caf50 0 66.66%, #2a7fd4 0 83.33%, #7b4fb5 0 100%); }

/* ================= hero montage ================= */
.hero { position: relative; max-width: var(--max); margin-inline: auto; overflow: hidden; container-type: inline-size; --u: 1.15vw; }
@supports (width: 1cqw) { .hero { --u: 1.15cqw; } }
.stage { position: relative; height: 126cqw; }
@supports not (width: 1cqw) { .stage { height: 126vw; } }
.floor { position: absolute; left: 0; right: 0; top: 70cqw; height: 50cqw; background: radial-gradient(ellipse 50% 42% at 52% 72%, rgba(0,0,0,.10), rgba(0,0,0,0) 70%); }
.unit { position: absolute; }
.unit img { width: 100%; height: auto; filter: drop-shadow(calc(1.2 * var(--u)) calc(2.2 * var(--u)) calc(1.4 * var(--u)) rgba(0,0,0,.30)) saturate(.95); }
.rider { position: absolute; z-index: 9; }
.rider img { width: 100%; height: auto; filter: drop-shadow(calc(.9 * var(--u)) calc(1.5 * var(--u)) calc(1.1 * var(--u)) rgba(0,0,0,.28)); animation: ride 1.1s ease-in-out infinite; }
.rshadow { position: absolute; border-radius: 50%; background: radial-gradient(rgba(0,0,0,.28), rgba(0,0,0,0) 70%); }
.speed { position: absolute; z-index: 8; }
.speed svg { width: 100%; height: 100%; animation: zip .7s steps(2) infinite; }
@keyframes ride { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-1.5%); } }
@keyframes zip { 0%, 100% { transform: translateX(0); opacity: 1; } 50% { transform: translateX(-8%); opacity: .55; } }

/* phone layout: the computer, the four error dialogs, the rider and the front-row machine */
.u-crt { left: -2cqw; top: 0; width: 60cqw; z-index: 2; }
.stage .w-uktuner, .stage .w-stream, .stage .w-ustv, .stage .w-filmbox { display: none; }
.w-usalert { left: 34cqw; top: 3cqw; width: calc(52 * var(--u)); height: calc(27 * var(--u)); transform: rotate(-3deg); z-index: 6; }
.w-filmerr { left: 40cqw; top: 28cqw; width: calc(50 * var(--u)); transform: rotate(6deg); z-index: 6; }
.w-streamerr { left: 5cqw; top: 52cqw; width: calc(48 * var(--u)); height: calc(27 * var(--u)); transform: rotate(4deg); z-index: 5; }
.w-ukalert { left: 51cqw; top: 59cqw; width: calc(40 * var(--u)); height: calc(22 * var(--u)); transform: rotate(5deg); z-index: 7; }
.rider { left: 49cqw; top: 80cqw; width: 48cqw; }
.rshadow { left: 47cqw; top: 120.5cqw; width: 52cqw; height: 4cqw; }
.speed { left: 35cqw; top: 101cqw; width: 14cqw; height: 18cqw; }
.u-c64 { left: -3cqw; top: 91cqw; width: 50cqw; transform: rotate(-4deg); z-index: 8; }

@media (min-width: 720px) {
  /* the ad's own composition: 210 units wide, 96 tall */
  .hero { --u: calc(100vw / 210); }
  @supports (width: 1cqw) { .hero { --u: calc(100cqw / 210); } }
  .stage { height: calc(96 * var(--u)); }
  .floor { top: calc(51 * var(--u)); height: calc(46 * var(--u)); }
  .u-crt { left: calc(8 * var(--u)); top: 0; width: calc(68 * var(--u)); }
  .stage .w-uktuner { display: flex; left: calc(50 * var(--u)); top: calc(1 * var(--u)); width: calc(42 * var(--u)); height: calc(28 * var(--u)); transform: rotate(-8deg); z-index: 3; }
  .stage .w-stream { display: flex; left: calc(58 * var(--u)); top: calc(6 * var(--u)); width: calc(54 * var(--u)); height: calc(40 * var(--u)); transform: rotate(-5deg); z-index: 4; }
  .stage .w-ustv { display: flex; left: calc(102 * var(--u)); top: 0; width: calc(52 * var(--u)); height: calc(35 * var(--u)); transform: rotate(3deg); z-index: 4; }
  .stage .w-filmbox { display: flex; left: calc(150 * var(--u)); top: 0; width: calc(50 * var(--u)); height: calc(36 * var(--u)); transform: rotate(-4deg); z-index: 3; }
  .w-streamerr { left: calc(68 * var(--u)); top: calc(28 * var(--u)); }
  .w-usalert { left: calc(101 * var(--u)); top: calc(21 * var(--u)); }
  .w-filmerr { left: calc(150 * var(--u)); top: calc(19 * var(--u)); }
  .w-ukalert { left: calc(96 * var(--u)); top: calc(54.5 * var(--u)); }
  .rider { left: calc(145 * var(--u)); top: calc(49 * var(--u)); width: calc(46 * var(--u)); }
  .rshadow { left: calc(142 * var(--u)); top: calc(88.5 * var(--u)); width: calc(54 * var(--u)); height: calc(4 * var(--u)); }
  .speed { left: calc(127 * var(--u)); top: calc(75 * var(--u)); width: calc(16 * var(--u)); height: calc(20 * var(--u)); }
  .u-c64 { left: calc(2 * var(--u)); top: calc(64.5 * var(--u)); width: calc(54 * var(--u)); }
}

/* ---------- generic window chrome (from the ad; mm -> --u) ---------- */
.win { position: absolute; display: flex; flex-direction: column; color: #000; filter: drop-shadow(calc(1.1 * var(--u)) calc(1.5 * var(--u)) calc(1.1 * var(--u)) rgba(0,0,0,.28)); }
.win svg { display: block; }
.win u { text-decoration: underline; text-underline-offset: calc(.25 * var(--u)); }
.rowic { display: flex; align-items: center; gap: calc(1.6 * var(--u)); margin-bottom: calc(1.2 * var(--u)); }
.ic-tv-l { width: calc(5 * var(--u)); height: calc(4.4 * var(--u)); }
.ic-tv-m { width: calc(4.6 * var(--u)); height: calc(4 * var(--u)); }
.note { margin-top: calc(1.2 * var(--u)); font-size: calc(2.5 * var(--u)); }
.note.tight { margin-top: calc(.8 * var(--u)); }

/* ---------- Win95-look ---------- */
.w95 { background: #c0c0c0; padding: calc(.9 * var(--u)); box-shadow: inset -1px -1px #000, inset 1px 1px #dfdfdf, inset -2px -2px #808080, inset 2px 2px #fff; font-size: calc(2.6 * var(--u)); line-height: 1.25; font-family: var(--sans); }
.w95 .tb { display: flex; align-items: center; height: calc(4.6 * var(--u)); padding: 0 calc(.6 * var(--u)) 0 calc(.8 * var(--u)); background: linear-gradient(90deg, #000080, #1084d0); color: #fff; font-weight: 700; font-size: calc(2.7 * var(--u)); }
.w95 .tb .ic { width: calc(3.4 * var(--u)); height: calc(3.4 * var(--u)); margin-right: calc(1.1 * var(--u)); }
.w95 .tb .t { flex: 1; white-space: nowrap; overflow: hidden; letter-spacing: .01em; }
.w95 .tb .b { width: calc(4.2 * var(--u)); height: calc(3.7 * var(--u)); margin-left: calc(.45 * var(--u)); background: #c0c0c0; box-shadow: inset -1px -1px #000, inset 1px 1px #fff, inset -2px -2px #808080, inset 2px 2px #dfdfdf; display: flex; align-items: center; justify-content: center; }
.w95 .tb .b.x { margin-left: calc(1 * var(--u)); }
.w95 .tb .b svg { width: calc(2.4 * var(--u)); height: calc(2.2 * var(--u)); }
.w95 .mb { display: flex; gap: calc(2.6 * var(--u)); padding: calc(.5 * var(--u)) calc(1.4 * var(--u)) calc(.3 * var(--u)); font-size: calc(2.6 * var(--u)); }
.w95 .tbar { display: flex; gap: calc(.5 * var(--u)); padding: calc(.5 * var(--u)) calc(.8 * var(--u)) calc(.7 * var(--u)); border-top: 1px solid #fff; box-shadow: 0 -1px #808080; }
.w95 .tbar i { width: calc(5 * var(--u)); height: calc(4.4 * var(--u)); display: flex; align-items: center; justify-content: center; box-shadow: inset -1px -1px #808080, inset 1px 1px #fff; }
.w95 .tbar i.sep { width: calc(.8 * var(--u)); box-shadow: none; border-left: 1px solid #808080; border-right: 1px solid #fff; margin: 0 calc(.5 * var(--u)); }
.w95 .tbar svg { width: calc(3.4 * var(--u)); height: calc(3.2 * var(--u)); }
.w95 .cl { flex: 1; margin: 0 calc(.3 * var(--u)); background: #fff; box-shadow: inset 1px 1px #808080, inset -1px -1px #fff, inset 2px 2px #000, inset -2px -2px #dfdfdf; padding: calc(1.6 * var(--u)) calc(1.6 * var(--u)); overflow: hidden; display: flex; }
.w95 .cl.grey { background: #c0c0c0; box-shadow: none; }
.w95 .cl.msgbox { flex-direction: column; padding: calc(1.6 * var(--u)) calc(1.4 * var(--u)) calc(.4 * var(--u)); }
.w95 .sb { display: flex; gap: calc(.8 * var(--u)); padding: calc(.7 * var(--u)) calc(.3 * var(--u)) calc(.2 * var(--u)); font-size: calc(2.5 * var(--u)); }
.w95 .sb span { flex: 1; padding: calc(.3 * var(--u)) calc(1.2 * var(--u)); box-shadow: inset 1px 1px #808080, inset -1px -1px #fff; white-space: nowrap; overflow: hidden; }
.w95 .sb span.k { flex: 0 0 auto; }
.w95 .vs { width: calc(4.2 * var(--u)); margin-left: calc(1 * var(--u)); background: repeating-conic-gradient(#fff 0 25%, #c0c0c0 0 50%) 0 0/2px 2px; display: flex; flex-direction: column; justify-content: space-between; }
.w95 .vs i { height: calc(4.2 * var(--u)); background: #c0c0c0; box-shadow: inset -1px -1px #000, inset 1px 1px #fff, inset -2px -2px #808080, inset 2px 2px #dfdfdf; display: flex; align-items: center; justify-content: center; }
.w95 .vs i svg { width: calc(2.2 * var(--u)); height: calc(1.6 * var(--u)); }
.w95 .vs i.th { height: calc(7 * var(--u)); margin-top: calc(.6 * var(--u)); }
.w95 .vs i.ma { margin-top: auto; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-width: calc(16 * var(--u)); height: calc(5.4 * var(--u)); padding: 0 calc(2 * var(--u)); background: #c0c0c0; box-shadow: inset -1px -1px #000, inset 1px 1px #fff, inset -2px -2px #808080, inset 2px 2px #dfdfdf; font-size: calc(2.6 * var(--u)); line-height: 1; font-family: var(--sans); color: #000; }
.btn.def { border: 1px solid #000; outline: 1px dotted #000; outline-offset: -4px; }
.tiles { display: flex; gap: calc(1.4 * var(--u)); width: 100%; }
.tiles.mb { margin-bottom: calc(1.3 * var(--u)); }
.tile { flex: 1; display: flex; flex-direction: column; align-items: center; gap: calc(.8 * var(--u)); font-size: calc(2.5 * var(--u)); line-height: 1.1; font-family: var(--sans); text-align: center; }
.tile .th { width: 100%; height: calc(9 * var(--u)); background: #3b3b5a; display: flex; align-items: center; justify-content: center; box-shadow: inset 1px 1px #000, inset -1px -1px #8a8aa8; }
.tile .th svg { width: calc(7 * var(--u)); height: calc(6 * var(--u)); }
.prog { height: calc(4.2 * var(--u)); background: #fff; box-shadow: inset 1px 1px #808080, inset -1px -1px #fff, inset 2px 2px #000; padding: 2px; }
.prog i { display: block; height: 100%; background: repeating-linear-gradient(90deg, #000080 0 calc(2.2 * var(--u)), #fff calc(2.2 * var(--u)) calc(2.6 * var(--u))); }
.errrow { display: flex; gap: calc(2.4 * var(--u)); align-items: flex-start; width: 100%; }
.errrow .ico { width: calc(8 * var(--u)); height: calc(8 * var(--u)); flex: 0 0 auto; }
.errrow .ico.sm { width: calc(6.5 * var(--u)); height: calc(6.5 * var(--u)); }
.errrow .msg { font-size: calc(2.6 * var(--u)); line-height: calc(3.3 * var(--u)); font-family: var(--sans); flex: 1 1 0; min-width: 0; }
.errrow .msg.sm { font-size: calc(2.5 * var(--u)); line-height: calc(3 * var(--u)); }
.errrow .msg [lang="ja"] { font-size: calc(2.5 * var(--u)); }
.btnrow { display: flex; justify-content: center; gap: calc(2.5 * var(--u)); padding: calc(1.2 * var(--u)) 0 calc(.6 * var(--u)); }
.btnrow.end { justify-content: flex-end; padding-right: calc(1 * var(--u)); }
.btnrow.tight { padding: calc(.8 * var(--u)) 0 calc(.4 * var(--u)); }
.btnrow.end.tight { padding: calc(.6 * var(--u)) 0 0; }

/* ---------- Win 3.1-look ---------- */
.w31 { background: #c0c0c0; padding: calc(1 * var(--u)); border: 1px solid #000; box-shadow: inset 0 0 0 1px #fff, inset -2px -2px #808080; font-size: calc(2.6 * var(--u)); line-height: 1.25; font-family: var(--sans); }
.w31 .tb { display: flex; align-items: center; height: calc(4.6 * var(--u)); background: #000080; color: #fff; font-weight: 700; font-size: calc(2.7 * var(--u)); }
.w31 .tb .sys { width: calc(4.6 * var(--u)); height: 100%; background: #c0c0c0; border-right: 1px solid #000; display: flex; align-items: center; justify-content: center; }
.w31 .tb .sys i { width: calc(2.8 * var(--u)); height: calc(1 * var(--u)); background: #fff; box-shadow: 0 1px #000; border: 1px solid #000; }
.w31 .tb .t { flex: 1; text-align: center; white-space: nowrap; overflow: hidden; }
.w31 .tb .ab { width: calc(4.6 * var(--u)); height: 100%; background: #c0c0c0; border-left: 1px solid #000; display: flex; align-items: center; justify-content: center; }
.w31 .tb .ab svg { width: calc(2.2 * var(--u)); height: calc(1.6 * var(--u)); }
.w31 .mb { display: flex; gap: calc(2.6 * var(--u)); padding: calc(.5 * var(--u)) calc(1.4 * var(--u)) calc(.3 * var(--u)); background: #fff; border-bottom: 1px solid #000; }
.w31 .cl { flex: 1; background: #fff; border: 1px solid #000; padding: calc(1.4 * var(--u)); overflow: hidden; }
.w31 .cl.msg { background: #c0c0c0; border: 0; display: flex; flex-direction: column; padding: calc(1.2 * var(--u)) calc(1.4 * var(--u)) calc(.3 * var(--u)); }

/* ---------- Mac System 7-look ---------- */
.mac7 { background: #fff; border: 1px solid #000; box-shadow: 1px 1px 0 #000; font-size: calc(2.6 * var(--u)); line-height: 1.25; font-family: var(--sans); }
.mac7 .tb { position: relative; height: calc(4.8 * var(--u)); border-bottom: 1px solid #000; background: repeating-linear-gradient(to bottom, #fff 0 calc(.5 * var(--u)), #000 calc(.5 * var(--u)) calc(.75 * var(--u))); background-clip: content-box; padding: calc(.7 * var(--u)) 0; display: flex; align-items: center; justify-content: center; }
.mac7 .tb .t { position: relative; background: #fff; padding: 0 calc(1.6 * var(--u)); font-weight: 700; font-size: calc(2.7 * var(--u)); line-height: 1; font-family: var(--pixel); letter-spacing: .02em; white-space: nowrap; }
.mac7 .tb .cb, .mac7 .tb .zb { position: absolute; top: calc(.9 * var(--u)); width: calc(3 * var(--u)); height: calc(3 * var(--u)); background: #fff; border: 1px solid #000; box-shadow: 0 0 0 calc(.6 * var(--u)) #fff; }
.mac7 .tb .cb { left: calc(1.8 * var(--u)); }
.mac7 .tb .zb { right: calc(1.8 * var(--u)); }
.mac7 .tb .zb::after { content: ""; position: absolute; left: 0; top: 0; width: calc(1.6 * var(--u)); height: calc(1.6 * var(--u)); border-right: 1px solid #000; border-bottom: 1px solid #000; }
.mac7 .body { flex: 1; display: flex; overflow: hidden; }
.mac7 .cl { flex: 1; padding: calc(1.4 * var(--u)) calc(1.6 * var(--u)); overflow: hidden; }
.mac7 .vs { width: calc(4.2 * var(--u)); border-left: 1px solid #000; background: repeating-conic-gradient(#000 0 25%, #fff 0 50%) 0 0/2px 2px; display: flex; flex-direction: column; }
.mac7 .vs i { height: calc(4.2 * var(--u)); background: #fff; border-bottom: 1px solid #000; display: flex; align-items: center; justify-content: center; }
.mac7 .vs i.dn { border-top: 1px solid #000; border-bottom: 0; margin-top: auto; }
.mac7 .vs i.th { height: calc(6 * var(--u)); margin-top: calc(1.5 * var(--u)); border: 1px solid #000; border-left: 0; border-right: 0; }
.mac7 .vs i svg { width: calc(2.2 * var(--u)); height: calc(1.6 * var(--u)); }
.mac7 .hs { height: calc(4.2 * var(--u)); border-top: 1px solid #000; display: flex; }
.mac7 .hs .trk { flex: 1; background: repeating-conic-gradient(#000 0 25%, #fff 0 50%) 0 0/2px 2px; display: flex; }
.mac7 .hs .trk i { width: calc(4.2 * var(--u)); background: #fff; display: flex; align-items: center; justify-content: center; }
.mac7 .hs .trk i.l { border-right: 1px solid #000; }
.mac7 .hs .trk i.r { border-left: 1px solid #000; margin-left: auto; }
.mac7 .hs .trk i svg { width: calc(1.6 * var(--u)); height: calc(2.2 * var(--u)); }
.mac7 .hs .sz { width: calc(4.2 * var(--u)); border-left: 1px solid #000; background: #fff; display: flex; align-items: center; justify-content: center; }
.mac7 .hs .sz svg { width: calc(3 * var(--u)); height: calc(3 * var(--u)); }
.mac7 .list div { display: flex; align-items: center; gap: calc(1.4 * var(--u)); padding: calc(.35 * var(--u)) 0; white-space: nowrap; }
.mac7 .list svg { width: calc(3.6 * var(--u)); height: calc(3.2 * var(--u)); }
.mac7 .list div.sel { background: #000; color: #fff; }
.mac7.alert { padding: calc(2.2 * var(--u)) calc(2.4 * var(--u)) calc(2 * var(--u)); box-shadow: 0 0 0 calc(.6 * var(--u)) #fff, 0 0 0 calc(.9 * var(--u)) #000; }
.mbtn { display: inline-flex; align-items: center; justify-content: center; min-width: calc(15 * var(--u)); height: calc(5 * var(--u)); padding: 0 calc(2 * var(--u)); border: 1px solid #000; border-radius: calc(1.5 * var(--u)); background: #fff; font-weight: 700; font-size: calc(2.6 * var(--u)); line-height: 1; font-family: var(--pixel); }
.mbtn.def { box-shadow: 0 0 0 calc(.5 * var(--u)) #fff, 0 0 0 calc(1.1 * var(--u)) #000; }

/* ---------- Mac OS 8 platinum-look ---------- */
.os8 { background: #ddd; border: 1px solid #000; box-shadow: inset 1px 1px #fff, inset -1px -1px #999; font-size: calc(2.6 * var(--u)); line-height: 1.25; font-family: var(--sans); }
.os8 .tb { position: relative; height: calc(4.8 * var(--u)); border-bottom: 1px solid #555; background: repeating-linear-gradient(to bottom, #e8e8e8 0 calc(.5 * var(--u)), #9a9a9a calc(.5 * var(--u)) calc(.75 * var(--u))); background-clip: content-box; padding: calc(.8 * var(--u)) 0; display: flex; align-items: center; justify-content: center; }
.os8 .tb .t { background: #ddd; padding: 0 calc(1.8 * var(--u)); font-weight: 700; font-size: calc(2.6 * var(--u)); line-height: 1; font-family: var(--sans); white-space: nowrap; }
.os8 .tb .cb, .os8 .tb .zb { position: absolute; top: calc(.9 * var(--u)); width: calc(3 * var(--u)); height: calc(3 * var(--u)); background: #ddd; border: 1px solid #555; box-shadow: inset 1px 1px #fff, inset -1px -1px #999, 0 0 0 calc(.6 * var(--u)) #ddd; }
.os8 .tb .cb { left: calc(1.8 * var(--u)); }
.os8 .tb .zb { right: calc(1.8 * var(--u)); }
.os8 .cl { flex: 1; padding: calc(1.8 * var(--u)) calc(2 * var(--u)) calc(1.6 * var(--u)); overflow: hidden; }
.os8 .cl.col { display: flex; flex-direction: column; padding: calc(1.5 * var(--u)) calc(1.8 * var(--u)) calc(1.2 * var(--u)); }
.os8 .tile .th { background: #4a4a6a; box-shadow: inset 1px 1px #222, inset -1px -1px #9a9ab8; }
.os8 .pprog { height: calc(3.6 * var(--u)); border: 1px solid #555; background: #fff; box-shadow: inset 1px 1px #aaa; padding: 1px; }
.os8 .pprog i { display: block; height: 100%; background: linear-gradient(#9fbcf2, #3b6fd0); }
.pbtn { display: inline-flex; align-items: center; justify-content: center; min-width: calc(15 * var(--u)); height: calc(5 * var(--u)); padding: 0 calc(2 * var(--u)); border: 1px solid #333; border-radius: calc(1.5 * var(--u)); background: linear-gradient(#f4f4f4, #cfcfcf); box-shadow: inset 1px 1px #fff, inset -1px -1px #8a8a8a; font-size: calc(2.6 * var(--u)); line-height: 1; font-family: var(--sans); }
.pbtn.sm { min-width: calc(12 * var(--u)); height: calc(4.4 * var(--u)); }
.pbtn.def { box-shadow: inset 1px 1px #fff, inset -1px -1px #8a8a8a, 0 0 0 calc(.5 * var(--u)) #ddd, 0 0 0 calc(1.1 * var(--u)) #333; }

/* ================= pitch ================= */
.pitch { padding: clamp(26px, 4vw, 48px) 0 0; }
.pitch h2 { padding-bottom: .4em; border-bottom: 2px solid var(--ink); font-family: var(--display); font-weight: 700; font-size: clamp(1.5rem, 4.8vw, 2.5rem); line-height: 1.15; letter-spacing: -.01em; text-wrap: balance; }
.cols { display: grid; gap: 30px; padding-top: 22px; }
.col p [lang="ja"] { font-weight: 500; font-size: .95em; }
.dropcap::first-letter { float: left; padding: .06em .12em 0 0; font-family: var(--display); font-weight: 700; font-size: 3.4em; line-height: .78; color: #0b0b0b; }
.quote { display: flex; align-items: center; gap: 14px; margin: 22px 0 6px; padding: 12px 16px; border: 2px solid var(--ink); background: #fff; box-shadow: 8px 8px 0 var(--mint); }
.quote svg { width: 46px; height: 46px; flex: none; }
.quote .q { margin: 0; font-family: var(--pixel); font-weight: 700; font-size: 1.1rem; line-height: 1.3; }
.quote .q small { display: block; margin-top: .25em; font-family: var(--jp); font-weight: 500; font-size: .9rem; line-height: 1.4; }
.h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0 0 14px; font-family: var(--gothic); font-weight: 700; font-size: .95rem; line-height: 1.3; letter-spacing: .14em; text-transform: uppercase; }
.h3 [lang="ja"] { font-family: var(--jp); font-size: .9rem; letter-spacing: 0; text-transform: none; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.steps li { display: flex; gap: 14px; }
.steps .n { flex: none; width: 38px; height: 38px; background: var(--magenta); color: #fff; font-family: var(--pixel); font-weight: 700; font-size: 1.6rem; line-height: 38px; text-align: center; box-shadow: 2px 2px 0 var(--ink); }
.steps li div { padding-top: 4px; }
.steps b { font-family: var(--body); }
.steps [lang="ja"] { display: block; margin-top: .15em; font-size: .92rem; color: var(--muted); }
@media (min-width: 720px) {
  .cols { grid-template-columns: 1fr 1fr; gap: 44px; }
  .col-r { padding-left: 44px; border-left: 3px dotted var(--ink); }
}

/* ================= checklist + line-up ================= */
.strip { display: grid; gap: 40px; padding: clamp(32px, 5vw, 56px) 0 0; }
.checkbox { padding: 18px 20px 16px; border: 3px solid var(--ink); background: #fff; box-shadow: 10px 10px 0 var(--ink); }
.checkbox .h3 { margin-bottom: 10px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.checks li { display: flex; align-items: flex-start; gap: 10px; line-height: 1.4; }
.checks .bx { flex: none; width: 20px; height: 20px; margin-top: 2px; border: 1.5px solid var(--ink); background: #fff; }
.checks .bx svg { width: 100%; height: 100%; }
.lineup .row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: center; gap: 22px 24px; padding: 10px 0 0; }
.dev { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.dev img { width: auto; height: var(--h); filter: drop-shadow(4px 7px 5px rgba(0,0,0,.30)) saturate(.95); }
.dev figcaption { font-family: var(--gothic); font-weight: 700; font-size: .72rem; line-height: 1.2; letter-spacing: .06em; text-transform: uppercase; text-align: center; }
.dev-phone { --h: 86px; }
.dev-tablet { --h: 64px; }
.dev-laptop { --h: 72px; }
.dev-stick { --h: 36px; }
.dev-tv { --h: 108px; }
@media (min-width: 720px) {
  .strip { grid-template-columns: 1fr 1.2fr; align-items: start; gap: 48px; }
  .lineup .row { justify-content: space-between; gap: 18px 12px; }
}

/* ================= contact ================= */
.contact { padding: clamp(36px, 6vw, 64px) 0 clamp(28px, 4vw, 48px); }
.coupon { position: relative; padding: clamp(22px, 4vw, 36px) clamp(16px, 4vw, 40px) clamp(22px, 4vw, 36px); border: 3px dashed var(--ink); background: #fff; }
.coupon h2 { padding-right: clamp(70px, 18vw, 110px); font-family: var(--display); font-weight: 700; font-size: clamp(1.45rem, 5vw, 2.3rem); line-height: 1.1; text-wrap: balance; }
.coupon .yesjp { margin: .5em 0 0; font-family: var(--jp); font-weight: 700; font-size: clamp(.95rem, 3vw, 1.2rem); line-height: 1.3; }
.coupon .lead { max-width: 62ch; margin: 1.1em 0 1.5em; }
.cta { display: grid; gap: 18px; }
.cta-block { min-width: 0; }
.call-label { margin: 0 0 8px; font-family: var(--gothic); font-weight: 700; font-size: .8rem; line-height: 1.4; letter-spacing: .14em; text-transform: uppercase; }
.call-label [lang="ja"] { font-family: var(--jp); font-size: .9rem; letter-spacing: 0; text-transform: none; }
.btn-call, .btn-mail { display: flex; align-items: center; justify-content: center; gap: .4em; width: 100%; padding: .5em .6em; border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); color: #fff; text-decoration: none; text-align: center; transition: transform .12s, box-shadow .12s, background-color .12s; }
.btn-call { background: var(--rust); font-family: var(--gothic); font-weight: 700; font-size: clamp(1.6rem, 7.2vw, 3rem); line-height: 1; letter-spacing: -.005em; white-space: nowrap; }
.btn-call svg { width: .8em; height: .8em; flex: none; }
.btn-mail { background: var(--ink); font-family: var(--sans); font-weight: 700; font-size: clamp(1.05rem, 4.6vw, 1.4rem); line-height: 1.2; overflow-wrap: anywhere; }
.btn-mail svg { width: 1.1em; height: 1.1em; flex: none; }
.btn-call:hover, .btn-mail:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--ink); }
.btn-call:hover { background: var(--rust-deep); }
.btn-call:active, .btn-mail:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.abroad { margin: 12px 0 0; font-size: .95rem; }
.abroad a { font-weight: 700; white-space: nowrap; }
.mail-note { margin: 12px 0 0; font-size: .95rem; color: var(--muted); }
.co { margin: 28px 0 0; font-family: var(--display); font-weight: 700; font-size: 1.1rem; line-height: 1.5; }
.co span { font-family: var(--sans); font-weight: 400; font-size: .95rem; }
.fine { margin: 6px 0 0; font-size: .92rem; color: var(--muted); }
.fine [lang="ja"] { font-size: .9em; }
.badge { position: absolute; right: -8px; top: -26px; width: clamp(88px, 22vw, 124px); aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding-bottom: 2px; border-radius: 50%; background: var(--magenta); color: #fff; box-shadow: 3px 4px 0 var(--ink); text-align: center; font-size: clamp(.72rem, 2vw, 1rem); transform: rotate(-10deg); }
.badge::before { content: ""; position: absolute; inset: 5px; border: 1.5px solid #fff; border-radius: 50%; }
.badge .l1 { font-family: var(--pixel); font-weight: 700; font-size: 1.1em; line-height: 1; letter-spacing: .04em; }
.badge .l2 { font-family: var(--pixel); font-weight: 700; font-size: 1.95em; line-height: .95; letter-spacing: .02em; }
.badge .l3 { margin-top: .2em; font-family: var(--pixel); font-weight: 700; font-size: .85em; line-height: 1; }
.face { position: absolute; right: 18px; bottom: 16px; width: 40px; height: 40px; }
.face svg { width: 100%; height: 100%; }
@media (min-width: 720px) {
  .cta { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: end; gap: 32px; }
  .btn-call { width: auto; }
  .badge { right: -14px; top: -30px; }
  .face { right: 28px; bottom: 22px; width: 48px; height: 48px; }
}

/* ================= footer ================= */
.site-foot { border-top: 3px solid var(--ink); padding: 20px 0 30px; font-family: var(--sans); font-size: .88rem; line-height: 1.5; color: var(--muted); }
.site-foot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; }
.site-foot p { margin: 0; }
.site-foot img { height: 28px; width: auto; }

/* ================= phone quick bar ================= */
.quickbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px max(8px, env(safe-area-inset-right, 0px)) max(8px, env(safe-area-inset-bottom, 0px)) max(8px, env(safe-area-inset-left, 0px)); border-top: 2px solid var(--ink); background: rgba(255,255,255,.96); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.quickbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 6px 10px; border: 2px solid var(--ink); font-family: var(--gothic); font-weight: 700; font-size: 1.2rem; line-height: 1; letter-spacing: .02em; text-decoration: none; white-space: nowrap; }
.quickbar a svg { width: 20px; height: 20px; flex: none; }
.quickbar .qcall { background: var(--rust); color: #fff; }
.quickbar .qmail { background: #fff; color: var(--ink); }
.quickbar .qmail:hover { background: var(--ink); color: #fff; }
.quickbar .qcall:hover { background: var(--rust-deep); }
@media (min-width: 720px) {
  .quickbar { display: none; }
  body { padding-bottom: 0; }
  .head-call { display: inline-flex; }
}

/* ================= motion ================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media print {
  .quickbar, .head-call { display: none; }
  body { padding-bottom: 0; }
}
