/* skriblio.com. One sheet for every page, legal pages included. Tokens from docs/06-brand.md, direction 1 (liquid cream). */
@font-face { font-family: "Departure Mono"; src: url("assets/DepartureMono-Regular.otf") format("opentype"); font-display: swap; }
:root {
  --cream: #F6EBD2; --cream2: #FBF3E1; --paper: #EFE1C2;
  --ink: #14110B; --ink2: #2B2418; --soft: #6B5E47;
  --banana: #F2C230; --banana-deep: #D9A400; --stem: #6E4A1F;
  --glass: rgba(255, 250, 238, 0.55); --glass-border: rgba(110, 74, 31, 0.14);
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --mono: "Departure Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --nav-h: 64px; --radius: 22px; --measure: 60ch;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0; color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.55;
  background: var(--cream);
  background-image:
    radial-gradient(60% 40% at 80% 0%, rgba(242, 194, 48, 0.28), transparent 70%),
    radial-gradient(50% 35% at 0% 60%, rgba(110, 74, 31, 0.10), transparent 70%),
    radial-gradient(45% 30% at 70% 100%, rgba(255, 250, 238, 0.9), transparent 70%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--nav-h);
}
@media (prefers-reduced-motion: reduce) { body { background-attachment: scroll; } }
img { display: block; max-width: 100%; }
.px, .wordmark img, .hero .art img, .cast img, .deskart .buddy { image-rendering: pixelated; image-rendering: crisp-edges; }
.px.grow { transform: scale(var(--grow, 1)); transform-origin: 50% 92%; }
a { color: inherit; text-decoration: none; }
p a, li a, .fine a, figcaption a { text-decoration: underline; text-decoration-color: var(--banana); text-decoration-thickness: 2px; text-underline-offset: 3px; }
p a:hover, li a:hover { text-decoration-color: var(--ink); }
:focus { outline: none; }
:focus-visible { outline: 3px solid var(--banana-deep); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--banana); color: var(--ink); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 20; background: var(--ink); color: var(--cream); font-family: var(--mono); font-size: 13px; padding: 10px 14px; border-radius: 999px; }
.skip:focus { top: 12px; }

/* nav */
header.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 10; height: var(--nav-h);
  background: rgba(246, 235, 210, 0.78); border-bottom: 1px solid var(--glass-border);
  backdrop-filter: blur(18px) saturate(1.1); -webkit-backdrop-filter: blur(18px) saturate(1.1);
}
header.top .in { max-width: 1120px; margin: 0 auto; padding: 0 24px; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.wordmark { font-family: var(--mono); font-size: 18px; letter-spacing: 0.02em; display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.wordmark img { width: 32px; height: 32px; }
nav.main { display: flex; gap: 24px; font-family: var(--mono); font-size: 13px; color: var(--soft); }
nav.main a { padding: 8px 2px; border-radius: 6px; }
nav.main a:hover, nav.main a[aria-current] { color: var(--ink); }
nav.main a[aria-current] { box-shadow: inset 0 -2px 0 var(--banana); }
.menu { display: none; font: inherit; font-family: var(--mono); font-size: 13px; color: var(--ink); background: var(--glass); border: 1px solid var(--glass-border); border-radius: 999px; padding: 8px 14px; cursor: pointer; }
@media (max-width: 960px) {
  .js .menu { display: inline-flex; }
  .js nav.main {
    position: absolute; top: calc(var(--nav-h) - 1px); left: 0; right: 0; display: none; flex-direction: column; gap: 0;
    background: rgba(251, 243, 225, 0.98); border-bottom: 1px solid var(--glass-border); box-shadow: 0 16px 30px rgba(110, 74, 31, 0.12);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); padding: 8px 24px 16px;
  }
  .js nav.main.open { display: flex; }
  .js nav.main a { padding: 14px 0; font-size: 15px; border-bottom: 1px solid var(--glass-border); }
  .js nav.main a:last-child { border-bottom: 0; }
  .js nav.main a[aria-current] { box-shadow: none; color: var(--ink); }
  html:not(.js) nav.main { gap: 14px; font-size: 12px; }
}

/* type */
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; line-height: 1.05; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: clamp(42px, 7vw, 72px); }
h2 { font-size: clamp(30px, 4.2vw, 42px); }
h3 { font-size: 24px; line-height: 1.15; }
.mono { font-family: var(--mono); font-size: 13px; line-height: 1.6; }
.soft { color: var(--soft); }
.lead { font-size: 19px; line-height: 1.5; color: var(--ink2); max-width: var(--measure); margin: 0; }
.lead.sub { margin-top: 12px; margin-bottom: 26px; }
.kicker { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--soft); margin: 0 0 10px; }
.fine { font-family: var(--mono); font-size: 12px; line-height: 1.7; color: var(--soft); margin: 0; max-width: var(--measure); }
.speech { font-family: var(--mono); font-size: 15px; line-height: 1.6; color: var(--ink2); }
.n, .when { font-family: var(--mono); font-size: 12px; color: var(--soft); letter-spacing: 0.04em; }

section { padding: 56px 0; }
section.tight { padding-top: 36px; padding-bottom: 8px; }
section > h2 { margin-bottom: 24px; }
section > h2 + .lead.sub { margin-top: -10px; }
@media (max-width: 720px) { section { padding: 40px 0; } }

/* hero */
.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; align-items: center; padding: 56px 0 40px; }
.hero.tight { padding-top: 32px; padding-bottom: 40px; }
.hero .copy { display: grid; gap: 22px; justify-items: start; }
.hero .art { display: flex; justify-content: center; }
.hero .art img { width: 256px; height: 256px; filter: drop-shadow(0 18px 24px rgba(110, 74, 31, 0.18)); }
.hero .peel.big { width: 128px; height: 128px; image-rendering: pixelated; }
@media (max-width: 720px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding: 24px 0 48px; gap: 20px; }
  .hero .copy { justify-items: center; }
  .hero .art { order: -1; }
  .hero .art img { width: 256px; height: 256px; }
  .lead { margin: 0 auto; }
  .hero .badges { justify-content: center; }
}

/* badges and buttons */
.badges { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px; border-radius: 999px; min-height: 48px;
  background: var(--ink); color: var(--cream); font-family: var(--mono); font-size: 14px; line-height: 1;
  transition: transform .15s ease, background .15s ease;
}
.badge:hover { transform: translateY(-1px); background: var(--ink2); }
.badge:active { transform: translateY(0); }
.badge svg { width: 16px; height: 16px; flex: none; }
.badge.ghost { background: var(--glass); color: var(--ink); border: 1px solid var(--glass-border); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.badge.ghost:hover { background: var(--cream2); }
.badge.soon { background: transparent; color: var(--soft); border: 1px solid var(--glass-border); cursor: default; }
.badge.soon:hover { transform: none; }
.badge.soon small { font-size: 11px; color: var(--ink); background: var(--banana); border-radius: 999px; padding: 4px 8px; margin: -4px -8px -4px 2px; line-height: 1; }
@media (prefers-reduced-motion: reduce) { .badge { transition: none; } .badge:hover { transform: none; } }

/* cards */
.glass {
  background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--radius); padding: 28px;
  backdrop-filter: blur(24px) saturate(1.1); -webkit-backdrop-filter: blur(24px) saturate(1.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 12px 30px rgba(110, 74, 31, 0.08);
}
.glass h2, .glass h3 { margin-bottom: 12px; }
.glass p { margin: 0; color: var(--ink2); font-size: 16px; }
.glass p + p { margin-top: 10px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 720px) { .two { grid-template-columns: 1fr; } }
.split > h2 { margin-bottom: 24px; }

/* how it works */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
@media (max-width: 720px) { .steps { grid-template-columns: 1fr; } }
.steps li {
  display: grid; gap: 10px; align-content: start; padding: 26px;
  background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--radius);
  backdrop-filter: blur(24px) saturate(1.1); -webkit-backdrop-filter: blur(24px) saturate(1.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 12px 30px rgba(110, 74, 31, 0.08);
}
.steps p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink2); }

.states { list-style: none; margin: 28px 0 0; padding: 18px 22px; display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px 10px; border-radius: var(--radius); background: rgba(20, 17, 11, 0.04); border: 1px solid var(--glass-border); }
.states li { display: grid; gap: 4px; align-content: start; font-family: var(--mono); font-size: 12px; line-height: 1.5; }
.states .when { font-size: 11px; }
.states b { font-weight: 400; color: var(--ink); font-size: 14px; }
.states .say { color: var(--soft); }
.states li:nth-child(5) b { color: var(--banana-deep); }
.states .px, .states .peel { width: 64px; height: 64px; margin-bottom: 6px; image-rendering: pixelated; }
.states .peel { padding: 8px; box-sizing: border-box; }
@media (max-width: 900px) { .states { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 720px) { .states { grid-template-columns: 1fr 1fr; } }
@media (max-width: 400px) {
  .states { grid-template-columns: 1fr; }
  .states li { grid-template-columns: 64px 1fr; column-gap: 12px; }
  .states .px, .states .peel { grid-row: 1 / span 3; margin-bottom: 0; }
  .states .when, .states b, .states .say { grid-column: 2; }
}

/* the gone scene and the phone */
.scene { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 16px; align-items: stretch; }
/* the rogue section is one room, no phone beside it: the friend message lives on /rogue/ now. */
.scene.solo { grid-template-columns: 1fr; }
.scene.solo .room { padding: 72px 28px; }
.scene.solo .room .speech { max-width: 52ch; }
@media (max-width: 720px) { .scene { grid-template-columns: 1fr; } }
.room {
  position: relative; border-radius: var(--radius); overflow: hidden; background: var(--ink2); color: var(--cream);
  padding: 56px 28px; text-align: center; display: grid; gap: 12px; justify-items: center; align-content: center;
  background-image: radial-gradient(45% 55% at 50% 30%, rgba(242, 194, 48, 0.16), transparent 70%);
}
.room .peel { width: 64px; height: 64px; image-rendering: pixelated; opacity: .95; }
.room h2 { color: var(--cream); }
.room .speech { color: rgba(246, 235, 210, 0.82); margin: 0; max-width: 34ch; }
.phone {
  margin: 0; display: grid; gap: 14px; align-content: start; padding: 22px 20px 20px; border-radius: var(--radius);
  background: var(--cream2); border: 1px solid var(--glass-border); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 12px 30px rgba(110, 74, 31, 0.08);
}
.phone-top { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--glass-border); }
.phone-top .peel { width: 36px; height: 36px; padding: 6px; border-radius: 50%; background: var(--paper); image-rendering: pixelated; flex: none; }
.phone-top span { display: grid; line-height: 1.25; }
.phone-top b { font-weight: 500; font-size: 15px; }
.phone-top small { font-family: var(--mono); font-size: 11px; color: var(--soft); }
.bubble {
  position: relative; font-size: 15px; line-height: 1.5; color: var(--ink); background: #FFFDF7; border-radius: 16px 16px 16px 4px;
  padding: 12px 14px 22px; border: 1px solid var(--glass-border); max-width: 34ch; justify-self: start; box-shadow: 0 2px 6px rgba(110, 74, 31, 0.08);
}
.bubble time { position: absolute; right: 12px; bottom: 6px; font-family: var(--mono); font-size: 10px; color: var(--soft); }
.phone figcaption { font-family: var(--mono); font-size: 12px; line-height: 1.6; color: var(--soft); }

/* cast */
.cast { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
@media (max-width: 720px) { .cast { grid-template-columns: repeat(2, 1fr); } }
.cast li { display: grid; justify-items: center; gap: 4px; padding: 16px 10px 14px; border-radius: 18px; background: var(--glass); border: 1px solid var(--glass-border); text-align: center; }
.cast img { width: 128px; height: 128px; margin-bottom: 6px; }
.cast b { font-family: var(--mono); font-weight: 400; font-size: 14px; color: var(--ink); }
.cast span { font-family: var(--mono); font-size: 11px; line-height: 1.5; color: var(--soft); text-wrap: balance; }

/* lists */
.rules { display: grid; gap: 12px; padding: 0; margin: 0; list-style: none; }
.rules li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; font-size: 16px; line-height: 1.5; color: var(--ink2); max-width: var(--measure); }
.rules li::before { content: ""; width: 10px; height: 10px; margin-top: 8px; border-radius: 50%; background: var(--banana); box-shadow: 0 0 0 3px rgba(242, 194, 48, 0.25); }
.rules li .speech { display: block; grid-column: 2; font-size: 13px; margin-top: -6px; color: var(--soft); }
.not .rules li::before { background: transparent; border: 2px solid var(--soft); box-shadow: none; width: 8px; height: 8px; margin-top: 7px; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.facts li { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--glass-border); font-size: 16px; color: var(--ink2); line-height: 1.5; }
.facts li:last-child { border-bottom: 0; }
.facts b { font-family: var(--mono); font-weight: 400; font-size: 13px; color: var(--ink); padding-top: 3px; }
@media (max-width: 720px) { .facts li { grid-template-columns: 1fr; gap: 4px; } }
.glass .facts li { grid-template-columns: 90px 1fr; padding: 10px 0; font-size: 15px; }

/* desk */
.desk { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.desk .lead { margin-top: 16px; }
.desk .fine { margin-top: 14px; }
@media (max-width: 720px) { .desk { grid-template-columns: 1fr; } }
.deskart { position: relative; height: 300px; border-radius: var(--radius); background: linear-gradient(180deg, #2f2a24, #1c1915); border: 1px solid rgba(255, 255, 255, .06); overflow: hidden; }
.deskart .win { position: absolute; left: 24px; top: 28px; right: 164px; bottom: 28px; border-radius: 10px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); }
.deskart .win i { position: absolute; left: 12px; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .18); box-shadow: 14px 0 0 rgba(255, 255, 255, .18), 28px 0 0 rgba(255, 255, 255, .18); }
.deskart .win span { position: absolute; left: 14px; right: 14px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .08); }
.deskart .panel { position: absolute; right: 16px; bottom: 158px; display: flex; align-items: center; gap: 12px; background: var(--cream2); color: var(--ink2); border-radius: 14px 14px 4px 14px; padding: 10px 12px; font-family: var(--mono); font-size: 12px; box-shadow: 0 8px 20px rgba(0, 0, 0, .35); white-space: nowrap; }
.deskart .panel b { font-weight: 400; background: var(--ink); color: var(--cream); border-radius: 999px; padding: 6px 10px; }
.deskart .buddy { position: absolute; right: 14px; bottom: 18px; width: 128px; height: 128px; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .4)); animation: idle 3.2s ease-in-out infinite; }
@keyframes idle { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }
@media (prefers-reduced-motion: reduce) { .deskart .buddy { animation: none; } }
@media (max-width: 480px) { .deskart { height: 320px; } .deskart .win { right: 24px; bottom: 190px; } }
.shot { margin: 0; display: grid; gap: 12px; }
.shot .deskart { height: 320px; }
.shot figcaption { font-family: var(--mono); font-size: 12px; color: var(--soft); }

/* yours */
.yours .facts { max-width: 720px; }

/* positioning pass: audiences, product shots, school, plans */
.audiences ul, .proof ul, .school-grid, .plans ul {
  list-style: none; margin: 0; padding: 0; display: grid; gap: 16px;
}
.audiences ul { grid-template-columns: repeat(3, 1fr); }
.audiences li, .school-grid li, .plans li {
  display: grid; gap: 10px; align-content: start; padding: 26px;
  background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--radius);
  backdrop-filter: blur(24px) saturate(1.1); -webkit-backdrop-filter: blur(24px) saturate(1.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 12px 30px rgba(110, 74, 31, 0.08);
}
.audiences h3, .school-grid h3 { font-size: 26px; }
.audiences p, .school-grid p, .plans p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink2); }
.audiences a { font-family: var(--mono); font-size: 13px; color: var(--ink); text-decoration: underline; text-decoration-color: var(--banana-deep); text-underline-offset: 3px; margin-top: 4px; }
.proof ul { grid-template-columns: repeat(4, 1fr); }
.proof li { display: grid; gap: 10px; }
.proof span { font-family: var(--mono); font-size: 12px; color: var(--soft); }
.phone-shot { margin: 0; border-radius: 18px; overflow: hidden; background: var(--paper); border: 1px solid var(--glass-border); box-shadow: 0 16px 36px rgba(110, 74, 31, 0.12); }
.phone-shot img { width: 100%; height: auto; display: block; }
/* five product shots now stack down the home page. uncapped they run near 1000px each and every
   section grows a hole beside its text, so cap the frame and crop from the bottom of the phone. */
.paper-split .phone-shot { max-height: 560px; overflow: hidden; }
.paper-split .phone-shot img { object-fit: cover; object-position: top; }
.paper-split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; align-items: center; }
/* three splits stack on the home page, so the middle one mirrors and the page stops feeling like a column of cards. */
.paper-split.flip { grid-template-columns: 0.9fr 1.1fr; }
.paper-split.flip > div { order: 2; }
.paper-split.flip > figure { order: 1; }
.school-grid { grid-template-columns: repeat(3, 1fr); }
.plans { display: grid; gap: 22px; }
.plans ul { grid-template-columns: 1fr 1fr; max-width: 720px; }
.plan-sum { font-family: var(--serif); font-size: 42px; line-height: 1; color: var(--ink); }
@media (max-width: 960px) {
  .audiences ul, .proof ul, .school-grid { grid-template-columns: 1fr 1fr; }
  .paper-split, .paper-split.flip { grid-template-columns: 1fr; }
  /* stacked, the words come first in every section, flipped or not. */
  .paper-split.flip > div, .paper-split.flip > figure { order: 0; }
}
@media (max-width: 720px) {
  .audiences ul, .proof ul, .school-grid, .plans ul { grid-template-columns: 1fr; }
}

/* price */
.price { text-align: center; display: grid; gap: 18px; justify-items: center; }
.price .lead { max-width: 52ch; }

/* faq */
.faq { display: grid; gap: 10px; }
.faq h2 { margin-bottom: 14px; }
.faq details { border-radius: 18px; background: var(--glass); border: 1px solid var(--glass-border); padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; font-family: var(--serif); font-size: 22px; line-height: 1.2; padding: 18px 28px 18px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 16px; font-family: var(--mono); font-size: 18px; color: var(--soft); }
.faq details[open] summary::after { content: "\2212"; }
.faq summary:focus-visible { outline-offset: -3px; }
.faq details p { margin: 0 0 20px; font-size: 16px; color: var(--ink2); max-width: var(--measure); }

/* support cards */
.cards { display: grid; gap: 14px; }
.cards .glass h2, .two .glass h2 { font-size: 24px; line-height: 1.15; margin-bottom: 10px; }

/* download */
.qrs { display: flex; gap: 20px; margin-top: 6px; }
.qrs figure { margin: 0; display: grid; gap: 6px; justify-items: center; }
.qrs .qr { width: 152px; height: 152px; border-radius: 12px; border: 1px solid var(--glass-border); }
.qrs figcaption { font-family: var(--mono); font-size: 12px; color: var(--soft); }
@media (max-width: 720px) { .qrs { display: none; } }
[hidden] { display: none !important; }

/* prose and legal */
.prose { max-width: 640px; display: grid; gap: 14px; }
.prose p { margin: 0; color: var(--ink2); }
.notice { border-left: 3px solid var(--banana); padding: 8px 16px; font-family: var(--mono); font-size: 13px; line-height: 1.7; color: var(--soft); max-width: 60ch; }
.center { text-align: center; }
.legal { max-width: 680px; padding: 36px 0 56px; }
.legal .peel { width: 48px; height: 48px; image-rendering: pixelated; margin-bottom: 20px; }
.legal h1 { font-size: clamp(36px, 6vw, 52px); margin-bottom: 20px; }
.legal h2 { font-size: 26px; margin: 40px 0 12px; }
.legal h3 { font-family: var(--mono); font-size: 13px; margin: 24px 0 8px; color: var(--soft); }
.legal p, .legal li { font-size: 16px; line-height: 1.65; color: var(--ink2); margin: 0 0 12px; overflow-wrap: anywhere; }
.legal ul { padding-left: 20px; margin: 0 0 12px; }
.legal code { font-family: var(--mono); font-size: 13px; background: var(--paper); padding: 1px 6px; border-radius: 6px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 12px 0 24px; display: block; overflow-x: auto; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--glass-border); min-width: 120px; }
.legal th { font-family: var(--mono); font-weight: 400; font-size: 12px; color: var(--soft); }

/* landing gate: cream, one banana, a password. html.shut is set in head before paint. */
html.shut { overflow: hidden; }
html.shut body {
  padding-top: 0;
  background: var(--cream);
  background-image: none;
}
html.shut .skip, html.shut header.top, html.shut main, html.shut footer { display: none !important; }
#gate { display: none; }
html.shut #gate {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
  position: fixed; inset: 0; z-index: 30;
}
#gate img { width: 256px; height: 256px; }
#gate form { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 0; }
#gate label { font-family: var(--mono); font-size: 13px; color: var(--soft); }
#gate input {
  font-family: var(--mono); font-size: 15px; letter-spacing: 0.08em;
  width: 240px; text-align: center;
  background: var(--cream2); color: var(--ink);
  border: 1px solid var(--glass-border); border-radius: 14px; padding: 14px 16px;
}
#gate #gate-no { font-family: var(--mono); font-size: 13px; color: var(--soft); margin: 0; }
#gate .who { font-family: var(--mono); font-size: 13px; color: var(--soft); margin: 16px 0 0; max-width: 22em; text-align: center; }
#gate .who a { color: inherit; }

/* footer */
footer.bottom { padding: 48px 0 64px; border-top: 1px solid var(--glass-border); font-family: var(--mono); font-size: 12px; line-height: 1.7; color: var(--soft); }
footer.bottom .wrap { display: grid; gap: 14px; }
footer.bottom nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
footer.bottom nav a { padding: 4px 0; }
footer.bottom nav a:hover { color: var(--ink); }
footer.bottom p { margin: 0; }
