/* ALEX AI STUDIO — design tokens: Deep Navy / Soft Gold / Ivory / Warm Gray */
:root {
  --navy: #0b1f3b;
  --navy-2: #12305a;
  --gold: #d4b06a;
  --gold-deep: #9a7a36;
  --ivory: #faf9f4;
  --ivory-2: #f2efe5;
  --gray: #6b6b6b;
  --ink: #0b1f3b;
  --line: rgba(11, 31, 59, 0.14);
  --card: #ffffff;
  --shadow: 0 18px 50px -24px rgba(11, 31, 59, 0.35);
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Noto Sans KR Variable", "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, -apple-system, "Segoe UI", sans-serif;
  --maxw: 1180px;
  --gutter: clamp(18px, 4vw, 40px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #f3efe3;
    --ivory: #0a1830;
    --ivory-2: #0f2140;
    --card: #10264a;
    --gray: #a5adb9;
    --line: rgba(212, 176, 106, 0.22);
    --gold-deep: #d4b06a;
    --shadow: 0 18px 50px -24px rgba(0, 0, 0, 0.7);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ivory); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.7; word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.serif { font-family: var(--serif); }
.eyebrow { font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-deep); font-weight: 500; }
.num { font-family: var(--serif); color: var(--gold-deep); font-size: 20px; letter-spacing: .08em; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; margin: 0; letter-spacing: .01em; }
h2.section-title { font-size: clamp(34px, 5vw, 52px); }
.rule { width: 56px; height: 1px; background: var(--gold); margin: 22px 0; border: 0; }
.lead { color: var(--gray); max-width: 62ch; }

/* i18n: ko default, en toggle */
.en { display: none; }
html[data-lang="en"] .ko { display: none; }
html[data-lang="en"] .en { display: inline; }
html[data-lang="en"] p .en, html[data-lang="en"] li .en, html[data-lang="en"] td .en, html[data-lang="en"] .blockish .en { display: inline; }
html[data-lang="en"] { word-break: normal; }
.en-block { display: none; }
html[data-lang="en"] .en-block { display: block; }
html[data-lang="en"] .ko-block { display: none; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--ivory) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.brand span { font-family: var(--serif); font-weight: 600; letter-spacing: .2em; font-size: 15px; }
.nav { display: flex; align-items: center; gap: clamp(14px, 3vw, 34px); font-size: 14px; }
.nav a { position: relative; padding: 6px 0; white-space: nowrap; color: var(--ink); opacity: .82; }
.nav a:hover { opacity: 1; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0; background: var(--gold); transition: width .35s ease; }
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }
.lang { border: 1px solid var(--line); background: transparent; color: var(--ink); border-radius: 999px; padding: 5px 12px; font: inherit; font-size: 12px; letter-spacing: .1em; cursor: pointer; }
.lang:hover { border-color: var(--gold); }
@media (max-width: 720px) { .nav .hide-m { display: none; } .brand span { letter-spacing: .12em; font-size: 13px; } .nav { gap: 14px; font-size: 13px; } .brand { min-width: 0; } .brand span { white-space: nowrap; } }
@media (max-width: 400px) { .brand span { display: none; } .nav { gap: 11px; } .site-header .wrap { gap: 8px; } }

/* hero */
.hero { position: relative; color: #f3efe3; background: var(--navy); overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; background: url("/assets/img/shots/hero-studio.webp") 62% center / cover no-repeat; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #0b1f3b 0%, rgba(11,31,59,.94) 34%, rgba(11,31,59,.55) 62%, rgba(11,31,59,.2) 100%); z-index: -1; }
.hero .wrap { padding-top: clamp(72px, 12vw, 150px); padding-bottom: clamp(72px, 11vw, 140px); }
.hero h1 { font-size: clamp(46px, 8vw, 96px); max-width: 11ch; font-weight: 500; }
.hero .eyebrow { color: var(--gold); }
.hero p.sub { max-width: 46ch; font-size: clamp(15px, 2vw, 18px); color: rgba(243,239,227,.82); margin: 24px 0 34px; }
.flow { margin-top: 56px; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: rgba(243,239,227,.6); }
.flow b { color: var(--gold); font-weight: 500; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 24px; border-radius: 999px; font-size: 14px; letter-spacing: .04em; border: 1px solid transparent; cursor: pointer; font-family: inherit; transition: transform .3s ease, background .3s ease, border-color .3s ease; line-height: 1.2; }
.btn:hover { transform: translateY(-1px); }
.btn.gold { background: var(--gold); color: #0b1f3b; font-weight: 500; }
.btn.gold:hover { background: #e2c283; }
.btn.navy { background: var(--navy); color: #f6f1e4; }
.btn.navy:hover { background: var(--navy-2); }
.btn.ghost { border-color: currentColor; background: transparent; }
.btn.ghost:hover { border-color: var(--gold); color: var(--gold-deep); }
.hero .btn.ghost { color: #f3efe3; border-color: rgba(243,239,227,.5); }
.hero .btn.ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; pointer-events: none; border-style: dashed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* sections */
section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { margin-bottom: 44px; }
.section-head p { color: var(--gray); margin: 12px 0 0; max-width: 56ch; }
.alt { background: var(--ivory-2); }

/* featured carousel */
.featured { background: var(--navy); color: #f3efe3; padding: clamp(56px, 8vw, 96px) 0; }
.slides { position: relative; }
.slide { display: none; grid-template-columns: 1.25fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; animation: fade .7s ease; }
.slide.on { display: grid; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.frame { border-radius: 14px; overflow: hidden; background: #0a1730; box-shadow: 0 30px 70px -30px rgba(0,0,0,.7); border: 1px solid rgba(212,176,106,.28); }
.frame .bar { height: 26px; background: #0f2442; display: flex; align-items: center; gap: 6px; padding: 0 12px; }
.frame .bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(243,239,227,.25); }
.frame img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.slide h3 { font-size: clamp(40px, 6vw, 68px); margin: 6px 0 8px; }
.slide .tag { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 22px; }
.slide p { color: rgba(243,239,227,.8); max-width: 44ch; }
.slide .btn.ghost { color: #f3efe3; border-color: rgba(243,239,227,.45); }
.carousel-ctl { display: flex; align-items: center; gap: 14px; margin-top: 36px; }
.carousel-ctl button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(243,239,227,.35); background: transparent; color: #f3efe3; cursor: pointer; font-size: 16px; }
.carousel-ctl button:hover { border-color: var(--gold); color: var(--gold); }
.dots { display: flex; gap: 8px; }
.dots i { width: 22px; height: 2px; background: rgba(243,239,227,.3); cursor: pointer; }
.dots i.on { background: var(--gold); }
@media (max-width: 860px) { .slide.on { grid-template-columns: 1fr; } }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.chip { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--gray); }
.chip.status { color: var(--gold-deep); border-color: var(--gold); }
.featured .chip { color: rgba(243,239,227,.7); border-color: rgba(243,239,227,.25); }
.featured .chip.status { color: var(--gold); border-color: var(--gold); }

/* collection grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 980px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid { grid-template-columns: 1fr; } }
.pcard { background: var(--card); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; transition: transform .45s ease, box-shadow .45s ease; position: relative; }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pcard::before { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 0; background: var(--gold); transition: width .5s ease; z-index: 2; }
.pcard:hover::before { width: 100%; }
.pcard .shot { aspect-ratio: 16 / 10; overflow: hidden; background: var(--ivory-2); }
.pcard .shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s ease; }
.pcard:hover .shot img { transform: scale(1.035); }
.pcard .body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.pcard h3 { font-size: 34px; margin-top: 2px; }
.pcard .tag { font-family: var(--serif); font-style: italic; color: var(--gold-deep); font-size: 18px; }
.pcard p { color: var(--gray); font-size: 14.5px; margin: 8px 0 0; }
.pcard .btn-row { margin-top: auto; padding-top: 18px; }
.pcard .btn { padding: 10px 18px; font-size: 13px; }
.pcard .btn.ghost { color: var(--ink); border-color: var(--line); }

/* philosophy */
.quote { font-family: var(--serif); font-size: clamp(34px, 5.4vw, 64px); line-height: 1.1; max-width: 16ch; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: start; }
@media (max-width: 820px) { .two { grid-template-columns: 1fr; } }

/* updates */
.updates { display: grid; gap: 0; border-top: 1px solid var(--line); }
.upd { display: grid; grid-template-columns: 140px 1fr auto; gap: 18px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); }
.upd time { color: var(--gray); font-size: 13px; letter-spacing: .08em; }
.upd strong { font-family: var(--serif); font-size: 26px; font-weight: 500; }
.upd small { color: var(--gray); font-size: 14px; display: block; }
@media (max-width: 640px) { .upd { grid-template-columns: 1fr; gap: 4px; } }

/* tables */
table.t { width: 100%; border-collapse: collapse; font-size: 14.5px; }
table.t th, table.t td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.t th { font-weight: 500; color: var(--gray); width: 34%; font-size: 13px; letter-spacing: .04em; }
table.dl th { width: auto; text-transform: uppercase; letter-spacing: .12em; font-size: 11px; }
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 6px; background: var(--card); }
.tablewrap table.t td, .tablewrap table.t th { padding: 14px 16px; }
.mono { font-family: ui-monospace, "SF Mono", Consolas, monospace; font-size: 12px; word-break: break-all; }

/* detail */
.dhero { background: var(--navy); color: #f3efe3; padding: clamp(48px, 7vw, 92px) 0; position: relative; overflow: hidden; }
.dhero::after { content: ""; position: absolute; right: -10%; top: -30%; width: 60%; height: 160%; background: radial-gradient(closest-side, rgba(212,176,106,.14), transparent); pointer-events: none; }
.crumb { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: rgba(243,239,227,.6); margin-bottom: 26px; }
.crumb a:hover { color: var(--gold); }
.dhero .grid2 { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: center; position: relative; z-index: 1; }
@media (max-width: 900px) { .dhero .grid2 { grid-template-columns: 1fr; } }
.dhero h1 { font-size: clamp(52px, 8vw, 92px); margin: 8px 0 6px; }
.dhero .tag { font-family: var(--serif); font-style: italic; font-size: 26px; color: var(--gold); }
.dhero .sub { color: rgba(243,239,227,.82); max-width: 46ch; margin: 18px 0 26px; }
.dhero .chip { color: rgba(243,239,227,.75); border-color: rgba(243,239,227,.25); }
.dhero .chip.status { color: var(--gold); border-color: var(--gold); }
.dhero .btn.ghost { color: #f3efe3; border-color: rgba(243,239,227,.45); }
.dhero .note { font-size: 13px; color: rgba(243,239,227,.6); margin-top: 14px; }
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; counter-reset: f; }
@media (max-width: 760px) { .features { grid-template-columns: 1fr; } }
.features li { list-style: none; padding: 22px 0 22px 54px; border-top: 1px solid var(--line); position: relative; counter-increment: f; }
.features li::before { content: "0" counter(f); position: absolute; left: 0; top: 20px; font-family: var(--serif); color: var(--gold-deep); font-size: 22px; }
.features { padding: 0; margin: 0; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.gallery figure { margin: 0; cursor: zoom-in; }
.gallery figure:first-child { grid-column: 1 / -1; }
.gallery .frame { border-color: var(--line); box-shadow: var(--shadow); }
.gallery img { aspect-ratio: auto; height: auto; }
.gallery figure.tall img { aspect-ratio: auto; max-height: 560px; object-fit: contain; background: #fff; }
.gallery figcaption { font-size: 13.5px; color: var(--gray); margin-top: 10px; }
@media (max-width: 640px) { .gallery { grid-template-columns: 1fr; } }
.callout { border: 1px solid var(--gold); background: color-mix(in srgb, var(--gold) 10%, transparent); padding: 22px 26px; border-radius: 6px; }
.callout strong { font-family: var(--serif); font-size: 22px; font-weight: 600; display: block; margin-bottom: 4px; }
.cautions { padding-left: 18px; color: var(--gray); font-size: 14.5px; }
.dlbox { background: var(--navy); color: #f3efe3; border-radius: 8px; padding: clamp(26px, 4vw, 44px); display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; }
@media (max-width: 820px) { .dlbox { grid-template-columns: 1fr; } }
.dlbox dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 22px; font-size: 14px; }
.dlbox dt { color: rgba(243,239,227,.55); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; padding-top: 2px; }
.dlbox dd { margin: 0; word-break: break-all; }
.dlbox .btn.ghost { color: #f3efe3; border-color: rgba(243,239,227,.45); }
.copy { background: transparent; border: 1px solid rgba(243,239,227,.35); color: #f3efe3; border-radius: 4px; font-size: 11px; padding: 2px 8px; cursor: pointer; margin-left: 8px; }
.copy:hover { border-color: var(--gold); color: var(--gold); }
.verify { font-size: 13px; color: rgba(243,239,227,.72); margin-top: 16px; }
.verify code { background: rgba(255,255,255,.08); padding: 2px 6px; border-radius: 4px; font-size: 12px; word-break: break-all; }
.promo { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
@media (max-width: 820px) { .promo { grid-template-columns: 1fr; } }
.posttext { white-space: pre-wrap; background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 22px; font-size: 14.5px; line-height: 1.75; margin: 0 0 14px; font-family: var(--sans); }
.cardprev { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: var(--card); }
.cardprev + .cardprev { margin-top: 16px; }
.cardprev img { width: 100%; height: auto; }
.cardprev .cap { display: flex; justify-content: space-between; gap: 10px; padding: 12px 16px; font-size: 13px; color: var(--gray); }
.cardprev .cap a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 3px; }
.pager { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding-top: 28px; }
.pager a { display: block; }
.pager small { color: var(--gray); letter-spacing: .14em; text-transform: uppercase; font-size: 11px; }
.pager strong { display: block; font-family: var(--serif); font-size: 30px; font-weight: 500; }
.pager a:hover strong { color: var(--gold-deep); }

/* downloads */
.step { display: grid; grid-template-columns: 36px 1fr; gap: 14px; margin: 18px 0; }
.step b { font-family: var(--serif); color: var(--gold-deep); font-size: 26px; line-height: 1; }
pre.code { background: var(--navy); color: #f3efe3; padding: 16px 18px; border-radius: 6px; overflow-x: auto; font-size: 13px; margin: 10px 0 0; }

/* footer */
footer { background: var(--navy); color: rgba(243,239,227,.78); padding: 60px 0 40px; font-size: 13.5px; }
footer .brandline { font-family: var(--serif); font-size: 28px; color: #f3efe3; letter-spacing: .12em; }
footer .gold { color: var(--gold); letter-spacing: .22em; font-size: 11px; text-transform: uppercase; }
footer p { max-width: 80ch; margin: 10px 0; }
footer hr { border: 0; border-top: 1px solid rgba(212,176,106,.25); margin: 28px 0; }
footer a:hover { color: var(--gold); }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(5,12,26,.92); display: none; align-items: center; justify-content: center; padding: 24px; flex-direction: column; gap: 12px; cursor: zoom-out; }
.lb.on { display: flex; }
.lb img { max-width: min(1400px, 96vw); max-height: 82vh; border-radius: 8px; background: #fff; }
.lb p { color: #f3efe3; font-size: 14px; margin: 0; max-width: 80ch; text-align: center; }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .slide { animation: none; } html { scroll-behavior: auto; } }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* overflow guards for narrow screens */
img { max-width: 100%; }
.grid2 > *, .two > *, .promo > *, .dlbox > *, .slide > *, .grid > * { min-width: 0; }
.features li, .dlbox, .promo, .cardprev, .upd { overflow-wrap: break-word; }
.tablewrap { max-width: 100%; }
body { overflow-x: clip; }
pre.code { max-width: min(100%, calc(100vw - 32px)); white-space: pre-wrap; overflow-wrap: anywhere; }
img { height: auto; } .frame img { aspect-ratio: 16 / 10; }

/* studio desk + policy */
footer .usage { border-left: 2px solid var(--gold); padding-left: 14px; color: #f3efe3; }
footer .usage strong { color: var(--gold); letter-spacing: .12em; font-size: 11px; text-transform: uppercase; margin-right: 6px; }
footer .usage a { text-decoration: underline; white-space: nowrap; }
.cta { background: var(--navy); color: #f3efe3; }
.cta .eyebrow { color: var(--gold); }
.cta .lead { color: rgba(243,239,227,.82); }
.cta .section-title { color: #f3efe3; }
.svc { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.svc-i, .steps li { border-top: 1px solid var(--line); padding: 22px 0 0; }
.svc-i h3, .steps h3 { font-family: var(--serif); font-size: 26px; font-weight: 500; margin: 6px 0 8px; line-height: 1.15; }
.svc-i p, .steps p { color: var(--gray); font-size: 15px; margin: 0; }
.svc .num, .steps .num { font-family: var(--serif); color: var(--gold-deep); font-size: 22px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; padding: 0; margin: 0; }
@media (max-width: 900px) { .svc, .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .svc, .steps { grid-template-columns: 1fr; } }
.form { display: grid; gap: 18px; background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: clamp(20px, 3vw, 34px); }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: 13px; font-weight: 500; letter-spacing: .02em; }
.field label i { color: var(--gold-deep); font-style: normal; }
.field input, .field select, .field textarea { font: inherit; font-size: 15px; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 12px 14px; width: 100%; min-width: 0; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.field [aria-invalid="true"] { border-color: #b4472f; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--gray); }
.consent input { margin-top: 4px; accent-color: var(--gold-deep); }
.consent a { text-decoration: underline; }
.form .btn { justify-self: start; cursor: pointer; border: 0; font: inherit; }
.form .btn[disabled] { opacity: .55; cursor: progress; }
.form-msg { margin: 0; padding: 12px 14px; border-radius: 6px; font-size: 14.5px; background: color-mix(in srgb, var(--gold) 14%, transparent); }
.form-msg.err { background: color-mix(in srgb, #b4472f 14%, transparent); }
.pol { padding: clamp(28px, 4vw, 48px) 0; border-top: 1px solid var(--line); }
.pol:first-of-type { border-top: 0; }
.polbody p { margin: 0 0 14px; }
.polbody ul { margin: 0 0 14px; padding-left: 20px; }
.polbody li { margin-bottom: 8px; }

/* typography: natural line breaks */
html[data-lang="ko"] body { word-break: keep-all; overflow-wrap: break-word; }
h1, h2, h3, .tag, .sub, .quote, .section-title { text-wrap: balance; }
p, li, .lead, figcaption, .verify { text-wrap: pretty; }
.nb { white-space: nowrap; }
.chip { white-space: nowrap; }
time { white-space: nowrap; }
.mono[id^="sha"] { word-break: break-all; white-space: normal; }
@media (min-width: 561px) { .btn { white-space: nowrap; } }
table.dl td { vertical-align: middle; }
table.dl td .sub { color: var(--gray); font-size: 13px; }
table.dl td.act { text-align: right; }
table.dl td.act .btn { padding: 10px 20px; font-size: 13px; }
.updates .upd small { text-wrap: pretty; }
.features li { overflow-wrap: anywhere; word-break: normal; }
@media (max-width: 960px) {
  table.dl, table.dl tbody, table.dl tr, table.dl td { display: block; }
  table.dl thead { display: none; }
  table.dl tr { padding: 18px 18px 20px; border-bottom: 1px solid var(--line); }
  table.dl tr:last-child { border-bottom: 0; }
  .tablewrap table.dl td { padding: 3px 0; border: 0; }
  .tablewrap table.dl td.act { text-align: left; margin-top: 12px; }
  table.dl td .chip { margin: 6px 0; display: inline-block; }
}

/* member download modal */
button.btn { font: inherit; cursor: pointer; border: 0; }
button.btn.ghost { border: 1px solid var(--line); }
.mm { position: fixed; inset: 0; z-index: 120; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(5, 12, 26, .62); backdrop-filter: blur(3px); }
.mm.on { display: flex; }
.mm-box { position: relative; width: min(520px, 100%); max-height: 92vh; overflow: auto; background: var(--ivory); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 30px 30px 26px; }
.mm-box.narrow { width: min(460px, 100%); }
.mm-x { position: absolute; top: 10px; right: 12px; width: 34px; height: 34px; border: 0; background: transparent; color: var(--gray); font-size: 24px; line-height: 1; cursor: pointer; border-radius: 8px; }
.mm-x:hover { color: var(--ink); background: var(--ivory-2); }
.mm-t { margin: 0 0 10px; font-size: 30px; font-weight: 600; line-height: 1.15; }
.mm-p { margin: 0 0 16px; line-height: 1.7; }
.mm-who { color: var(--gray); font-size: 14px; }
.mm-n { margin: 16px 0 0; font-size: 12.5px; line-height: 1.65; color: var(--gray); }
.mm-n a { text-decoration: underline; }
.mm-e { margin: 0 0 12px; color: #9b2c2c; font-size: 13.5px; }
.gbtn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 13px 16px; background: #fff; color: #1f1f1f; border: 1px solid #dadce0; border-radius: 999px; font: inherit; font-weight: 500; cursor: pointer; transition: box-shadow .2s; }
.gbtn:hover { box-shadow: 0 2px 10px rgba(11, 31, 59, .18); }
.mm-f label { display: block; margin: 0 0 14px; font-size: 14px; color: var(--ink); }
.mm-f label i { color: var(--gold-deep); font-style: normal; }
.mm-f input[type=text], .mm-f input:not([type]) { display: block; width: 100%; margin-top: 6px; padding: 11px 12px; font: inherit; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); }
.mm-f input:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.mm-f .mm-c { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.55; }
.mm-f .mm-c input { margin-top: 3px; flex: none; }
.mm-box .btn { white-space: normal; }
