:root {
  color-scheme: dark;
  font-family: 'Malgun Gothic', 'Apple SD Gothic Neo', system-ui, sans-serif;
  color: #f2f5fa;
  background: #09090b;
  line-height: 1.7;
  --blue: #8bc5ff;
  --border: #2b3039;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--blue); text-underline-offset: .2em; }
a:focus-visible, summary:focus-visible { outline: 3px solid #1573e6; outline-offset: 5px; }
h1, h2, h3 { line-height: 1.25; letter-spacing: -.04em; }
h2 { font-size: clamp(1.55rem, 3vw, 2.25rem); margin: 0 0 1.25rem; }
h3 { margin: .4rem 0 .6rem; font-size: 1.2rem; }
p { margin: 0; }
.wrap { width: min(70rem, calc(100% - 2.5rem)); margin-inline: auto; }
.skip { position: fixed; top: .5rem; left: .5rem; padding: .5rem; transform: translateY(-200%); background: #14141a; z-index: 3; }
.skip:focus { transform: none; }
header { background: #0d0d10; border-bottom: 1px solid var(--border); }
.header, nav, .footer, .actions { display: flex; align-items: center; flex-wrap: wrap; }
.header { justify-content: space-between; gap: .65rem 1.5rem; padding-block: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-size: 1.35rem; font-weight: 900; letter-spacing: -.06em; color: #fafafa; text-decoration: none; }
.brand-mark { width: 2.1rem; height: 2.1rem; background: url('/logo.svg') center / contain no-repeat; flex: none; }
nav { gap: .45rem 1.25rem; font-size: .9rem; }
nav a { color: #ced4df; text-decoration: none; }
nav a:hover, nav a[aria-current] { color: var(--blue); text-decoration: underline; }
.hero { color: white; background: radial-gradient(ellipse at 90% 15%, #13253d, transparent 64%), #09090b; border-bottom: 1px solid var(--border); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); align-items: center; gap: clamp(2rem, 6vw, 5rem); padding-block: clamp(3rem, 8vw, 6rem); }
.sale-intro h1 { margin-top: 0; font-size: clamp(3rem, 8vw, 6rem); line-height: 1.04; }
.sales-panel { overflow: hidden; border: 1px solid #354761; border-radius: .65rem; background: #101722; }
.sales-panel .cover { aspect-ratio: 16 / 7; border: 0; border-radius: 0; }
.sales-panel > div { padding: 1rem 1.15rem; }
.sales-panel h2 { margin-bottom: .35rem; font-size: 1.1rem; }
.sales-panel ul { padding-left: 1.15rem; margin: 0; color: #cdd9e9; }
.eyebrow { display: block; font-size: .92rem; color: var(--blue); font-weight: 800; }
.hero .eyebrow { color: #b4d5ff; }
h1 { font-size: clamp(2rem, 5.7vw, 4rem); margin: .55rem 0 1.15rem; word-break: keep-all; }
h1 em { color: #a9d0ff; font-style: normal; }
.hero p { color: #e0ebfa; max-width: 32rem; }
.actions { gap: 1rem; margin-top: 1.4rem; }
.button, .header-contact { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; background: #9aceff; color: #101e33; font-weight: 800; text-decoration: none; padding: .55rem 1rem; border-radius: .55rem; }
.button:hover, .header-contact:hover { background: #cfe8ff; }
.header-contact { font-size: .9rem; }
.floating-contact { position: fixed; inset-inline: 0; bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 2; width: max-content; margin-inline: auto; display: flex; align-items: center; gap: .8rem; min-height: 48px; padding: .5rem .85rem; border: 1px solid #6795cb; border-radius: .45rem; background: #14243c; color: #e2efff; text-decoration: none; box-shadow: 0 .5rem 1.6rem #0009; animation: mall-dock-up .5s ease-out both; }
.floating-contact span { font-size: .875rem; }
.floating-contact strong { color: #101e33; background: #9aceff; padding: .25rem .6rem; border-radius: .25rem; animation: mall-label-glow 3s ease-in-out infinite; }
.floating-contact:hover strong { background: #cfe8ff; }
@keyframes mall-dock-up { from { transform: translateY(1rem); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes mall-label-glow { 0%, 65%, 100% { box-shadow: 0 0 0 #9aceff00; } 82% { box-shadow: 0 0 .65rem #9aceffb0; } }
@media (prefers-reduced-motion: reduce) { .floating-contact, .floating-contact strong { animation: none; } }
.byline { margin-top: 1rem; font-size: .9rem; color: #acbacd; }
figure { margin: 0; }
figure img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cover, .illustration { overflow: hidden; border-radius: .7rem; aspect-ratio: 3 / 2; border: 1px solid var(--border); background: #14141a; }
.section { padding-block: 2.5rem; }
.section + .section { border-top: 1px solid var(--border); }
.cards { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
.card { padding: 1.25rem; background: #121319; border: 1px solid var(--border); border-radius: .65rem; color: inherit; text-decoration: none; }
.card span { color: var(--blue); font-size: .9rem; font-weight: 700; }
.card:hover { border-color: var(--blue); }
.card:hover h3 { color: var(--blue); }
.related { margin-top: .8rem; }
article { margin-top: 1.5rem; }
article h1 { font-size: clamp(2rem, 5vw, 3.35rem); }
article h2 { font-size: 1.35rem; margin-bottom: .5rem; }
.intro { font-size: 1.12rem; color: #ccd6e5; }
.article-header, .article-row { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); align-items: start; gap: clamp(1rem, 4vw, 3.5rem); }
.article-header { align-items: center; }
.article-body { display: grid; margin-block: 2rem; }
.article-row { border-top: 1px solid var(--border); padding-block: 1.75rem; }
.article-row h3 { margin-top: 1rem; }
.article-row p { color: #cdd5e1; word-break: keep-all; overflow-wrap: anywhere; }
.sale-content { padding-bottom: 2rem; }
.sale-content .article-row:first-child { border-top: 0; }
.sale-content .article-row { padding-block: 2rem; }
.sale-cta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; border: 1px solid var(--border); border-radius: .75rem; padding: 1.4rem; background: #121319; }
.sale-cta h2 { margin-bottom: .3rem; }
.inline-action { margin-top: 1rem; }
footer { border-top: 1px solid var(--border); background: #0d0d10; }
.footer { justify-content: space-between; gap: .5rem 1rem; padding-block: 1.3rem 5rem; }
.editor-page, .editor-public { max-width: 50rem; padding-block: 2rem 5rem; }
.editor-page label { display: grid; gap: .35rem; margin-top: 1rem; }
.editor-page small { color: #adb8ca; }
.editor-page input:not([type="checkbox"]), .editor-page textarea { width: 100%; padding: .7rem; border: 1px solid var(--border); border-radius: .4rem; background: #121319; color: inherit; font: inherit; }
.editor-page textarea { resize: vertical; }
.editor-page .checkbox { display: flex; align-items: center; }
.editor-page button { cursor: pointer; border: 0; font: inherit; font-weight: 800; }
.editor-page button:disabled { opacity: .6; cursor: wait; }
.editor-page .editor-secondary { color: #d6e8ff; background: #24344c; }
.editor-page :is(input, textarea, button):focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.editor-page #status { min-height: 1.7rem; margin-top: .5rem; }
.editor-thumb { width: min(100%, 14rem); margin-top: .65rem; }
.editor-public img { width: 100%; max-height: 36rem; object-fit: contain; margin-bottom: 1.3rem; }
.editor-public p { white-space: pre-wrap; overflow-wrap: anywhere; margin-bottom: 1rem; }
.editor-posts { padding-block: 1rem 2.5rem; }
@media (max-width: 45rem) {
  .hero-grid, .article-header, .article-row { grid-template-columns: 1fr; }
  .header nav { order: 1; width: 100%; }
}
@media (max-width: 35rem) {
  .cards { grid-template-columns: 1fr; }
}
