/* ==========================================================================
   Arcaneflow — Nocturne III · the inner pages
   Publishers, demand partners, company, contact, blog, articles, legal pages and 404.
   Built from the home page's vocabulary: night heroes with the drifting Mosaic sky, the pixel seam into
   cream, mono labels with a pink pixel, chamfered N3 frames for cards, the Pixel charge button.
   Loaded after nl-site.css, n3-frame.css, n3-buttons.css and n3-site.css.
   ========================================================================== */

/* --------------------------------------------------------------- header: where you are */
.nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 #FF86C2; }
.brand .brand-svg { display: block; width: 212px; height: auto; }
@media (max-width: 760px) { .brand .brand-svg { width: 168px; } }
@media (min-width: 761px) and (max-width: 1120px) { .site-header.is-full .nav { gap: 24px; } }
@media (min-width: 761px) and (max-width: 900px) { .site-header.is-full .brand img, .site-header.is-full .brand .brand-svg { width: 168px; } .site-header.is-full .nav { gap: 18px; font-size: 11.5px; } }

.sr-only { position: absolute; 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; }

/* --------------------------------------------------------------- page hero (night) */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(150px, 15vw, 214px) 0 clamp(64px, 8vw, 112px); }
.page-hero .ph-sky { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.page-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(10, 12, 23, 0), var(--night)); }
.ph-inner { position: relative; }
.ph-label { display: inline-flex; align-items: center; gap: 12px; font: 500 11px/1.4 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--label); }
.ph-title { margin-top: 24px; max-width: 13ch; font: 600 clamp(46px, 6.4vw, 104px)/.98 var(--f-head); letter-spacing: -.058em; color: var(--fg); }
.ph-title em { background: var(--em-bg); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; padding-right: .05em; }
.ph-title.is-long { max-width: 19ch; font-size: clamp(38px, 4.6vw, 74px); line-height: 1.02; letter-spacing: -.05em; }
.ph-lead { margin-top: 28px; max-width: 640px; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.6; color: var(--muted); }
.ph-meta { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; font: 500 11px/1.4 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.ph-meta .ph-tag { color: var(--label); }
.ph-meta a { color: var(--fg-2); border-bottom: 1px solid var(--line); }
.ph-meta a:hover { color: #fff; border-color: #fff; }
.ph-actions { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 22px 30px; }

/* --------------------------------------------------------------- cream body + section rhythm */
.page-body { position: relative; padding: clamp(48px, 6vw, 88px) 0 clamp(72px, 9vw, 128px); }
.page-body + .page-body { padding-top: 0; }
.pb-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end; padding-top: 22px; border-top: 1px solid var(--line); margin-bottom: clamp(36px, 5vw, 64px); }
.pb-head h2 { margin-top: 18px; font: 600 clamp(34px, 3.8vw, 58px)/1.02 var(--f-head); letter-spacing: -.05em; color: var(--fg); }
.pb-head h2 em { color: var(--accent); }
.pb-head > p { font-size: 16.5px; line-height: 1.7; color: var(--muted); max-width: 470px; justify-self: end; }

/* feature cards (chamfered N3 frames) */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card.n3-frame { --fr-c: 16px; padding: 30px 30px 32px; display: flex; flex-direction: column; gap: 14px; min-height: 100%; }
.card-num { font: 500 11px/1.4 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--label); }
.card h3 { font: 600 24px/1.18 var(--f-head); letter-spacing: -.035em; color: var(--fg); }
.card p { font-size: 15.5px; line-height: 1.65; color: var(--muted); }
.card .card-foot { margin-top: auto; padding-top: 10px; font: 500 11px/1.4 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); }
.card a.text-link { margin-top: auto; align-self: flex-start; }

/* steps (night band) */
.steps-band { position: relative; padding: clamp(72px, 9vw, 128px) 0; }
.steps-band .pb-head { border-top-color: var(--line); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; position: relative; list-style: none; padding: 0; margin: 0; }
.step { position: relative; padding: 30px 26px 0 0; }
.step::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: repeating-linear-gradient(90deg, rgba(236, 234, 246, .22) 0 6px, transparent 6px 10px); }
.step::after { content: ""; position: absolute; top: -5px; left: 0; width: 12px; height: 12px; background: #FF1B6B; box-shadow: 12px 0 0 rgba(255, 27, 107, .35); }
.step:nth-child(2)::after { background: #9B48E0; box-shadow: 12px 0 0 rgba(155, 72, 224, .35); }
.step:nth-child(3)::after { background: #2F5BFF; box-shadow: 12px 0 0 rgba(47, 91, 255, .35); }
.step:nth-child(4)::after { background: #45CAFF; box-shadow: 12px 0 0 rgba(69, 202, 255, .35); }
.step-num { display: block; margin-top: 14px; font: 500 11px/1.4 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--label); }
.step h3 { margin-top: 14px; font: 600 23px/1.2 var(--f-head); letter-spacing: -.035em; color: var(--fg); }
.step p { margin-top: 12px; font-size: 15.5px; line-height: 1.65; color: var(--muted); max-width: 30ch; }

/* split: copy + list */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.split h2 { font: 600 clamp(32px, 3.4vw, 52px)/1.04 var(--f-head); letter-spacing: -.05em; color: var(--fg); margin-top: 18px; }
.split > div > p:not(.label) { margin-top: 22px; font-size: 17px; line-height: 1.7; color: var(--muted); max-width: 520px; }
.ticks { display: grid; gap: 0; border-top: 1px solid var(--line); }
.ticks li { list-style: none; display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.ticks li::before { content: ""; width: 8px; height: 8px; margin-top: 8px; background: var(--accent-2); box-shadow: 8px 8px 0 var(--accent); }
.ticks strong { display: block; font: 600 18px/1.3 var(--f-head); letter-spacing: -.02em; color: var(--fg); }
.ticks span { display: block; margin-top: 6px; font-size: 15px; line-height: 1.6; color: var(--muted); }
ul.ticks { padding: 0; margin: 0; }

/* FAQ */
.faq { border-top: 1px solid var(--line); max-width: 920px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; cursor: pointer; list-style: none; font: 600 clamp(18px, 1.6vw, 22px)/1.3 var(--f-head); letter-spacing: -.025em; color: var(--fg); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; background: linear-gradient(var(--fg), var(--fg)) center / 12px 2px no-repeat, linear-gradient(var(--fg), var(--fg)) center / 2px 12px no-repeat; transition: transform .3s var(--e); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 26px; max-width: 760px; font-size: 16px; line-height: 1.7; color: var(--muted); }
.faq details > div p + p { margin-top: 12px; }
.faq a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* --------------------------------------------------------------- prose (articles, legal) */
.prose { font-size: 17.5px; line-height: 1.75; color: var(--fg-2); }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { margin-top: 2.1em; font: 600 clamp(26px, 2.3vw, 34px)/1.14 var(--f-head); letter-spacing: -.04em; color: var(--fg); scroll-margin-top: 32px; }
.prose h3 { margin-top: 1.7em; font: 600 21px/1.3 var(--f-head); letter-spacing: -.025em; color: var(--fg); scroll-margin-top: 32px; }
.prose h2 + *, .prose h3 + * { margin-top: .7em; }
.prose > :first-child { margin-top: 0; }
.prose a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .2s; }
.prose a:hover { color: var(--accent-2); }
.prose strong { color: var(--fg); font-weight: 600; }
.prose ul, .prose ol { padding: 0; list-style: none; }
.prose li { position: relative; padding-left: 30px; }
.prose li + li { margin-top: .6em; }
.prose ul > li::before { content: ""; position: absolute; left: 8px; top: .7em; width: 6px; height: 6px; background: var(--accent-2); }
.prose ol { counter-reset: n; }
.prose ol > li { counter-increment: n; }
.prose ol > li::before { content: counter(n, decimal-leading-zero); position: absolute; left: 0; top: .42em; font: 500 11px/1.4 var(--f-mono); letter-spacing: .06em; color: var(--label); }
.prose code { font: 500 .84em/1 var(--f-mono); background: rgba(94, 53, 181, .08); padding: .18em .4em; border-radius: 3px; color: #3B2A78; word-break: break-word; }
.prose pre { position: relative; background: #0F0E1E; color: #E6E3F5; border-radius: 6px; padding: 20px 22px; overflow-x: auto; font: 13px/1.7 var(--f-mono); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06), 0 24px 44px -32px rgba(20, 12, 50, .6); tab-size: 2; }
.prose pre::before { content: ""; position: absolute; top: 12px; right: 14px; width: 6px; height: 6px; background: #FF1B6B; box-shadow: -10px 0 0 #9B48E0, -20px 0 0 #45CAFF; }
.prose pre code { background: none; padding: 0; color: inherit; font: inherit; word-break: normal; }
.prose .table-wrap { overflow-x: auto; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.55; }
.prose th { text-align: left; font: 500 11px/1.4 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 0 16px 12px 0; border-bottom: 1px solid var(--line); }
.prose td { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.prose td:first-child { color: var(--fg); font-weight: 500; white-space: nowrap; }
.prose blockquote { padding: 18px 22px; border-left: 3px solid var(--accent-2); background: rgba(255, 255, 255, .55); color: var(--fg); }
/* a figure callout inside an article: the number large, in the brand gradient, on a night card */
.prose .stat { position: relative; margin: 2em 0; padding: 30px 32px 28px; background: #0F0E1E; border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06), 0 24px 44px -32px rgba(20, 12, 50, .6); }
.prose .stat::before { content: ""; position: absolute; top: 14px; right: 16px; width: 6px; height: 6px; background: #FF1B6B; box-shadow: -10px 0 0 #9B48E0, -20px 0 0 #45CAFF; }
.prose .stat .stat-num { margin: 0; font: 600 clamp(34px, 4.2vw, 54px)/1.02 var(--f-head); letter-spacing: -.045em; background: linear-gradient(90deg, #A6C9FF 4%, #B99BF2 50%, #F1A0D1 94%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; padding-bottom: .06em; }
.prose .stat p + p { margin-top: 12px; font-size: 17px; line-height: 1.6; color: #D9D7EA; max-width: 36em; }
.prose .stat .stat-src { margin-top: 14px; font-size: 14px; color: #A9A7C0; }

/* article + legal layout: a sticky contents rail beside the text */
.doc { display: grid; grid-template-columns: 240px minmax(0, 740px); gap: clamp(40px, 6vw, 104px); align-items: start; }
.doc-rail { position: sticky; top: 28px; display: grid; gap: 28px; }
.toc summary { list-style: none; cursor: default; font: 500 11px/1.4 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.toc summary::-webkit-details-marker { display: none; }
.toc ol { list-style: none; padding: 14px 0 0; margin: 0; display: grid; gap: 2px; }
.toc a { display: block; padding: 6px 0 6px 14px; font-size: 13.5px; line-height: 1.4; color: var(--muted); border-left: 2px solid transparent; transition: color .2s, border-color .2s; }
.toc a:hover { color: var(--fg); }
.toc a.is-on { color: var(--fg); border-left-color: var(--accent-2); }
.rail-box { padding-top: 18px; border-top: 1px solid var(--line); display: grid; gap: 12px; font-size: 14px; line-height: 1.55; color: var(--muted); }
.rail-box h2 { font: 500 11px/1.4 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.rail-box a { color: var(--fg-2); }
.rail-box a:hover { color: var(--accent); }
.rail-box p a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.share { display: flex; gap: 10px; flex-wrap: wrap; }
.share a, .share button { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; font: 500 11px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--fg); box-shadow: inset 0 0 0 1px var(--line); border-radius: 3px; transition: box-shadow .2s, color .2s; }
.share a:hover, .share button:hover { box-shadow: inset 0 0 0 1px var(--fg); }
.share button.is-done { color: var(--accent); }
.doc-end { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.7; color: var(--muted); }
.doc-end a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* --------------------------------------------------------------- blog index */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(30px, 4vw, 48px); }
.chip { min-height: 38px; padding: 0 16px; border-radius: 999px; font: 500 11px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--fg-2); box-shadow: inset 0 0 0 1px var(--line); transition: background-color .2s, color .2s, box-shadow .2s; }
.chip:hover { box-shadow: inset 0 0 0 1px var(--fg); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--cream); box-shadow: none; }
.chips[hidden] { display: none; }
.posts { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 26px; }
.posts > .post { grid-column: span 2; }
.posts > .post.is-half { grid-column: span 3; }
.posts.is-filtered > .post.is-half { grid-column: span 2; }
.post { display: flex; flex-direction: column; color: inherit; }
.post.n3-frame { --fr-c: 16px; }
.post[hidden] { display: none; }
.post-cover { position: relative; display: block; aspect-ratio: 1600 / 840; overflow: hidden; background: #0A0C17; }
.post-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--e); }
.post:hover .post-cover img { transform: scale(1.035); }
.post-body { display: flex; flex-direction: column; gap: 12px; flex: 1; padding: 22px 24px 26px; }
.posts .post .post-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font: 500 10.5px/1.4 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); }
.post-meta .post-tag { color: var(--label); }
.share-end { display: none; }
.post h2, .post h3 { font: 600 22px/1.22 var(--f-head); letter-spacing: -.03em; color: var(--fg); }
.post p { font-size: 15px; line-height: 1.62; color: var(--muted); }
.post-more { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 10px; font: 500 11.5px/1 var(--f-mono); letter-spacing: .04em; color: var(--fg); }
.post-more span { transition: transform .3s var(--e); }
.post:hover .post-more span { transform: translate(2px, -2px); }
.posts > .post.is-featured { grid-column: 1 / -1; }
.post.is-featured { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.post.is-featured .post-cover { aspect-ratio: auto; min-height: 100%; }
.post.is-featured .post-body { padding: clamp(28px, 3.4vw, 48px); justify-content: center; gap: 16px; }
.post.is-featured h2 { font-size: clamp(28px, 2.6vw, 40px); line-height: 1.1; letter-spacing: -.045em; }
.post.is-featured p { font-size: 16.5px; }
.related { margin-top: clamp(56px, 7vw, 96px); }
.related h2 { font: 500 11px/1.4 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-bottom: 16px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.prose .article-cover { margin: 0 0 clamp(30px, 3.4vw, 46px); background: #0A0C17; }
.article-cover img { display: block; width: 100%; height: auto; aspect-ratio: 1600 / 840; object-fit: cover; }
/* an author's own picture: shown whole, on a night panel lit by a blurred copy of itself */
.post-cover.is-photo, .prose .article-cover.is-photo { position: relative; isolation: isolate; overflow: hidden; background-color: #0F0E1E; background-size: 0 0; background-repeat: no-repeat; }
.post-cover.is-photo::before, .article-cover.is-photo::before { content: ""; position: absolute; inset: -48px; z-index: -1; background-image: inherit; background-size: cover; background-position: center; filter: blur(34px) saturate(1.15) brightness(.6); }
.post-cover.is-photo img { object-fit: contain; filter: drop-shadow(0 14px 22px rgba(0, 0, 0, .45)); }
.prose .article-cover.is-photo { display: flex; justify-content: center; padding: clamp(22px, 3.2vw, 40px) 0; }
.article-cover.is-photo img { width: auto; max-width: calc(100% - 40px); height: auto; max-height: min(640px, 74vh); aspect-ratio: auto; box-shadow: 0 34px 60px -30px rgba(0, 0, 0, .75); }

/* --------------------------------------------------------------- contact */
.contact-hero { padding-bottom: clamp(72px, 8vw, 120px); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
.contact-intro .ph-title { max-width: 11ch; }
.contact-points { margin-top: 44px; display: grid; gap: 0; border-top: 1px solid var(--line); max-width: 480px; }
.contact-points div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.55; color: var(--fg-2); }
.contact-points dt { font: 500 11px/1.6 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.contact-points dd { margin: 0; }
.contact-points a { color: var(--fg); border-bottom: 1px solid var(--line); }
.contact-points a:hover { border-color: var(--fg); }
.form-panel.n3-frame { --fr-c: 18px; padding: clamp(26px, 3vw, 40px); }
.form-head h2 { font: 600 clamp(26px, 2.4vw, 34px)/1.1 var(--f-head); letter-spacing: -.04em; color: var(--fg); }
.form-head h2 em { background: var(--em-bg); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.form-head p { margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.form-fields { margin-top: 26px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.field { display: grid; gap: 8px; }
.field--wide { grid-column: 1 / -1; }
.field > span { font: 500 11px/1.4 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.field > span small { font: inherit; text-transform: none; letter-spacing: .04em; color: var(--muted-2); }
.field .req { color: #FF86C2; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 0; border-radius: 3px; outline: none;
  background: rgba(255, 255, 255, .045); color: var(--fg); font: 400 15.5px/1.4 var(--f-body);
  box-shadow: inset 0 0 0 1px rgba(236, 234, 246, .16); transition: box-shadow .2s, background-color .2s;
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, #C9AEFF 50%), linear-gradient(135deg, #C9AEFF 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.field select option { background: #17162C; color: #F1F0FA; }
.field textarea { min-height: 132px; resize: vertical; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: #77748F; }
.field input:hover, .field select:hover, .field textarea:hover { box-shadow: inset 0 0 0 1px rgba(236, 234, 246, .32); }
.field input:focus, .field select:focus, .field textarea:focus { background-color: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px #BFA9FF, 0 0 0 3px rgba(191, 169, 255, .18); }
.field [aria-invalid="true"] { box-shadow: inset 0 0 0 1px #FF6B8E, 0 0 0 3px rgba(255, 107, 142, .16); }
.field-error { font-size: 13px; color: #FF9DB5; }
.field-error[hidden] { display: none; }
.no-js #contact-form { display: none; }
.form-panel noscript p { margin-top: 18px; font-size: 15px; }
.form-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-privacy { margin-top: 22px; font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.form-privacy a, .form-fallback a, .form-dest a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
.form-submit { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 24px; }
.form-dest { font: 500 11px/1.6 var(--f-mono); letter-spacing: .06em; color: var(--muted-2); text-align: right; }
.form-status { margin-top: 20px; padding: 16px 18px; border-radius: 3px; font-size: 15px; line-height: 1.55; outline: none; }
.form-status[hidden] { display: none; }
.form-status[data-state="success"] { background: rgba(69, 202, 255, .1); box-shadow: inset 0 0 0 1px rgba(69, 202, 255, .4); color: #CFF2FF; }
.form-status[data-state="error"] { background: rgba(255, 27, 107, .1); box-shadow: inset 0 0 0 1px rgba(255, 107, 142, .45); color: #FFD1DE; }
.form-fallback { margin-top: 12px; font-size: 14px; color: var(--muted); }
.form-fallback[hidden] { display: none; }
.bd[aria-disabled="true"] { pointer-events: none; opacity: .7; }
.ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.way.n3-frame { --fr-c: 14px; padding: 26px 26px 28px; display: grid; gap: 10px; align-content: start; }
.way h3 { font: 500 11px/1.4 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--label); }
.way p { font-size: 15.5px; line-height: 1.6; color: var(--muted); }
.way strong { font: 600 21px/1.25 var(--f-head); letter-spacing: -.03em; color: var(--fg); }
.way a { color: inherit; }
.way a:hover strong { color: var(--accent); }

/* --------------------------------------------------------------- 404 */
.lost { min-height: 100svh; display: grid; align-items: center; padding: 150px 0 110px; }
.lost-code { display: grid; grid-template-columns: repeat(var(--cols), 12px); gap: 3px; margin-bottom: 40px; }
.lost-code i { width: 12px; height: 12px; background: transparent; }
.lost-code i.on { background: linear-gradient(135deg, #6F8DFF, #C38BF0 50%, #FF7AD6); }
.lost-links { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px 30px; }

/* --------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .doc { grid-template-columns: 200px minmax(0, 1fr); }
  .posts > .post, .posts > .post.is-half { grid-column: span 3; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 44px; }
}
@media (max-width: 980px) {
  .doc { grid-template-columns: minmax(0, 1fr); }
  .doc-rail { position: static; }
  .toc summary { cursor: pointer; display: flex; justify-content: space-between; }
  .toc summary::after { content: "+"; font-size: 14px; }
  .toc[open] summary::after { content: "−"; }
  .doc-rail .rail-box { display: none; }
  .share-end { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font: 500 11px/1.4 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
  .contact-grid, .split, .pb-head { grid-template-columns: minmax(0, 1fr); }
  .pb-head > p { justify-self: start; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ways { grid-template-columns: minmax(0, 1fr); }
  .post.is-featured { grid-template-columns: minmax(0, 1fr); }
  .post.is-featured .post-cover { aspect-ratio: 1600 / 840; }
}
@media (max-width: 760px) {
  .page-hero { padding-top: 132px; }
  .ph-title { font-size: clamp(40px, 11vw, 56px); }
  .ph-title.is-long { font-size: clamp(32px, 8.6vw, 44px); }
  .cards, .cards--2, .steps { grid-template-columns: minmax(0, 1fr); }
  .posts > .post, .posts > .post.is-half { grid-column: 1 / -1; }
  .form-fields { grid-template-columns: minmax(0, 1fr); }
  .form-dest { text-align: left; }
}
@media (max-width: 400px) {
  .field select { font-size: 15px; padding-right: 36px; background-position: calc(100% - 18px) 21px, calc(100% - 13px) 21px; }
  .contact-points div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .prose { font-size: 16.5px; }
  .prose td:first-child { white-space: normal; min-width: 6.5em; }
  .prose table { font-size: 14px; }
  .prose pre { margin-inline: calc(var(--pad) * -1); border-radius: 0; }
}
@media print {
  .site-header, .footer, .seam, .doc-rail, .ph-sky, .cta { display: none !important; }
  .page-hero { padding: 0 0 20px; background: #fff !important; color: #000; }
  .ph-title, .ph-title em { color: #000 !important; -webkit-text-fill-color: #000; background: none; }
  [data-tone] { background: #fff !important; color: #000 !important; }
  .doc { display: block; }
}
