

.p-hero { padding-bottom: 0; }
.p-hero .v-hero-in { margin-bottom: 0; }
.p-hero .v-h1 { font-size: clamp(2.2rem, 1.2rem + 3.6vw, 4rem); max-width: 18ch; }
.p-first { padding-top: clamp(48px, 6vw, 80px); }
.p-first.v-sec { padding-bottom: 0; }
.p-small { margin-top: 1.2rem; max-width: 72ch; color: var(--fg-3); font-size: .875rem; line-height: 1.6; }


.p-steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.p-steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.p-steps li { display: grid; align-content: start; gap: .5rem; padding-top: 1.1rem; border-top: 1px solid var(--fg); }
.p-steps span { font: 500 .75rem/1 var(--font-mono); color: var(--fg-3); }
.p-steps h3 { font: 600 1.125rem/1.3 var(--font-display); letter-spacing: -.015em; }
.p-steps p { color: var(--fg-2); font-size: .9375rem; line-height: 1.6; }


.p-cards { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.p-cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.p-cards li { display: grid; align-content: start; justify-items: start; gap: .6rem; padding: clamp(22px, 2.4vw, 30px); border: 1px solid var(--line); border-radius: var(--v-radius); background: #fff; }
.p-cards h3 { font: 600 1.1875rem/1.3 var(--font-display); letter-spacing: -.015em; }
.p-cards p { color: var(--fg-2); line-height: 1.6; }
.p-cards code { margin-top: .3rem; padding: .35rem .6rem; border-radius: 8px; background: var(--soft); font-size: .75rem; color: var(--fg); overflow-wrap: anywhere; }
.p-cards .label { margin-bottom: -.2rem; }
.p-fix { margin-top: auto; padding-top: .8rem; border-top: 1px dashed var(--line-2); width: 100%; font-size: .9063rem; color: var(--fg) !important; }
.p-note { max-width: 680px; margin-top: clamp(24px, 3vw, 36px); color: var(--fg-2); line-height: 1.6; }
.p-note b { color: var(--fg); }


.p-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 72px); align-items: start; }
.p-split .h3 { margin-bottom: 1rem; }
.p-prose { display: grid; gap: 1rem; color: var(--fg-2); font-size: 1.0625rem; line-height: 1.7; }
.facts-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: clamp(28px, 3.5vw, 44px); }
.facts a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }


.ab { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ab-col { border-radius: var(--v-radius); border: 1px solid var(--line); background: #fff; overflow: hidden; }
.ab-off { background: var(--soft); }
.ab-col ol { list-style: none; display: grid; padding: 8px 20px; }
.ab-col li { display: grid; grid-template-columns: 112px 1fr auto; align-items: center; gap: 12px; min-height: 58px; padding: 10px 0; border-bottom: 1px dashed var(--line-2); font-size: .9063rem; color: var(--fg-2); }
.ab-col li:last-child { border-bottom: 0; }
.ab-col li code { font-size: .75rem; color: var(--fg); }
.ab-off li span { color: var(--fg); }
.ab-end { padding: 14px 20px; border-top: 1px solid var(--line); font-weight: 600; font-size: .9375rem; }
.ab-off .ab-end { color: var(--block); }
.ab-on .ab-end { color: var(--allow); }


.p-next-s { padding-bottom: 0; }
.p-next-s .label { margin-bottom: 1.2rem; }
.p-next { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.p-next-c { display: grid; gap: .45rem; padding: 22px 24px; border-radius: var(--v-radius-sm); border: 1px solid var(--line); color: inherit; text-decoration: none; transition: border-color .25s, transform .4s var(--ease); }
.p-next-c b { font: 600 1.0625rem/1.3 var(--font-display); }
.p-next-c b::after { content: " →"; color: var(--fg-3); transition: color .25s; }
.p-next-c span { color: var(--fg-2); font-size: .9063rem; line-height: 1.55; }
.p-next-c:hover { border-color: var(--fg); transform: translateY(-2px); }
.p-next-c:hover b::after { color: var(--fg); }


.ct { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: start; padding-bottom: clamp(88px, 10vw, 150px); }
.ct-l { display: grid; gap: 1.4rem; justify-items: start; }
.ct-next { list-style: none; counter-reset: c; display: grid; gap: 0; width: 100%; margin-top: 1rem; }
.ct-next li { counter-increment: c; display: grid; grid-template-columns: 2.2rem 1fr; gap: .2rem 0; padding: 1rem 0; border-top: 1px solid var(--line); }
.ct-next li::before { content: "0" counter(c); grid-row: span 2; font: 500 .75rem/1.6 var(--font-mono); color: var(--fg-3); }
.ct-next b { font-weight: 600; }
.ct-next span { color: var(--fg-2); font-size: .9375rem; }
.ct-card { position: relative; padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line); border-radius: var(--v-radius); background: #fff; box-shadow: var(--sh-2); }
.ct-card form { display: grid; gap: 1rem; }
.ct-card label { display: grid; gap: .4rem; font-size: .875rem; font-weight: 500; }
.ct-card input, .ct-card textarea, .ct-card select { width: 100%; padding: .75rem .9rem; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; font: inherit; font-weight: 400; color: var(--fg); resize: vertical; transition: border-color .2s, box-shadow .2s; }
.ct-card input:focus, .ct-card textarea:focus, .ct-card select:focus { outline: none; border-color: var(--fg); box-shadow: 0 0 0 3px rgba(0,0,0,.06); }
.ct-card select { appearance: auto; cursor: pointer; }
.ct-card label small { font-weight: 400; color: var(--fg-3); }
.ct-alt { color: var(--fg-2); font-size: .9375rem; }
.ct-alt a { color: var(--fg); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.ct-card .invalid { border-color: var(--block); }
.ct-card .btn { justify-content: center; width: 100%; }
.ct-err { min-height: 1.2em; margin: -.3rem 0 -.4rem; color: var(--block); font-size: .8125rem; }
.ct-fine { color: var(--fg-3); font-size: .8125rem; text-align: center; }
.ct-fine a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.ct-done { display: none; gap: .6rem; padding: 1rem 0; }
.ct-done p { color: var(--fg-2); }
.ct-card.sent form { display: none; }
.ct-card.sent .ct-done { display: grid; }


.sol-jump { display: flex; flex-wrap: wrap; gap: .5rem; }
.sol-jump a { padding: .5rem .9rem; border: 1px solid var(--line-2); border-radius: 999px; color: var(--fg); font-size: .875rem; font-weight: 500; text-decoration: none; transition: border-color .2s, background .2s; }
.sol-jump a:hover { border-color: var(--fg); background: var(--soft); }
.sol { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: center; scroll-margin-top: 80px; }
.sol + .sol { border-top: 1px solid var(--line); }
.sol-txt { display: grid; gap: 1.1rem; justify-items: start; }
.sol-pts { list-style: none; display: grid; gap: .8rem; margin-top: .4rem; }
.sol-pts { gap: 0; width: 100%; }
.sol-pts li { padding: .8rem 0; border-top: 1px solid var(--line); color: var(--fg-2); line-height: 1.6; }
.sol-pts b { color: var(--fg); }
.sol-pts code { font-size: .8125rem; color: var(--fg); }
.sol-log { border: 1px solid var(--line); border-radius: var(--v-radius); background: #fff; box-shadow: var(--sh-2); overflow: hidden; }
.sol-log ol { list-style: none; padding: 6px 18px; }
.sol-log li { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "c b" "s b"; column-gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line-2); }
.sol-log li:last-child { border-bottom: 0; }
.sol-log li code { grid-area: c; font-size: .8125rem; color: var(--fg); }
.sol-log li span { grid-area: s; font: .75rem/1.5 var(--font-mono); color: var(--fg-3); overflow-wrap: anywhere; }
.sol-log li .bd { grid-area: b; align-self: center; }
.sol-note { padding: 12px 18px; border-top: 1px solid var(--line); background: var(--soft); color: var(--fg-3); font-size: .8125rem; line-height: 1.55; }


.legal { max-width: 720px; display: grid; gap: .8rem; }
.legal h2 { margin-top: 1.6rem; font: 600 1.25rem/1.3 var(--font-display); letter-spacing: -.015em; }
.legal h2:first-child { margin-top: 0; }
.legal p { color: var(--fg-2); font-size: 1.0313rem; line-height: 1.75; }
.legal a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }


.gl { max-width: 820px; }
.gl h2 { padding: 2.4rem 0 .8rem; border-bottom: 1px solid var(--fg); font: 600 1.25rem/1.2 var(--font-display); letter-spacing: -.015em; scroll-margin-top: 80px; }
.gl h2:first-child { padding-top: 0; }
.gl dl { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); }
.gl dt, .gl dd { padding: 1rem 0; border-bottom: 1px solid var(--line); line-height: 1.6; }
.gl dt { padding-right: 1.5rem; font-weight: 600; }
.gl dd { color: var(--fg-2); }


.lg { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.lg-photo { position: relative; overflow: hidden; background: #D9D9D9; }
.lg-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; }
.lg-brand { position: absolute; top: 28px; left: 28px; z-index: 1; --brand-h: 28px; }
.lg-card { align-self: center; justify-self: center; display: grid; gap: .6rem; width: min(400px, 100% - 32px); padding: 40px 0; }
.lg-card .h3 { font: 600 1.75rem/1.2 var(--font-display); letter-spacing: -.025em; }
.lg-sub { margin-bottom: 1.4rem; color: var(--fg-2); }
.lg-card form { display: grid; gap: 1rem; }
.lg-card label { display: grid; gap: .4rem; font-size: .875rem; font-weight: 500; }
.lg-row { display: flex; justify-content: space-between; gap: 1rem; }
.lg-row a, .lg-alt a { color: var(--fg-2); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.lg-card input { width: 100%; padding: .75rem .9rem; border: 1px solid var(--line-2); border-radius: 12px; font: inherit; font-weight: 400; color: var(--fg); }
.lg-card input:focus { outline: none; border-color: var(--fg); box-shadow: 0 0 0 3px rgba(0,0,0,.06); }
.lg-card .btn { justify-content: center; width: 100%; margin-top: .4rem; }
.lg-div { display: flex; align-items: center; gap: 12px; margin-top: 1.4rem; color: var(--fg-3); font-size: .75rem; }
.lg-div::before, .lg-div::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.lg-alt { text-align: center; color: var(--fg-2); font-size: .875rem; }
.lg-back { margin-top: 1rem; text-align: center; font-size: .8125rem; }
.lg-back a { color: var(--fg-3); text-decoration: none; }
.lg-back a:hover { color: var(--fg); }


.dc-lay { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); padding-top: clamp(110px, 13vh, 140px); padding-bottom: clamp(88px, 10vw, 140px); }
.dc-side { position: sticky; top: 100px; align-self: start; max-height: calc(100vh - 120px); overflow-y: auto; scrollbar-width: thin; font-size: .875rem; }
.dc-side p { margin: 1.2rem 0 .4rem; font: 500 .6875rem/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); }
.dc-side p:first-child { margin-top: 0; }
.dc-side ul { list-style: none; display: grid; }
.dc-side a { display: block; padding: .32rem .6rem; margin-left: -.6rem; border-radius: 8px; color: var(--fg-2); text-decoration: none; }
.dc-side a:hover { color: var(--fg); background: var(--soft); }
.dc-side a.is-on { color: var(--fg); background: var(--soft-2); font-weight: 600; }
.dc-art { max-width: 760px; min-width: 0; }
.dc-art .label { margin-bottom: .8rem; }
.dc-art h1 { margin-bottom: 1rem; }
.dc-art .lead { font-size: 1.125rem; color: var(--fg-2); line-height: 1.65; }
.dc-art h2 { margin: 2.6rem 0 .9rem; font: 600 1.375rem/1.3 var(--font-display); letter-spacing: -.02em; scroll-margin-top: 90px; }
.dc-art p, .dc-art li { color: var(--fg-2); line-height: 1.75; }
.dc-art p + p { margin-top: .8rem; }
.dc-art ul, .dc-art ol { display: grid; gap: .4rem; padding-left: 1.3rem; }
.dc-art strong { color: var(--fg); }
.dc-art a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
.dc-art :not(pre) > code { padding: 1px 5px; border-radius: 5px; background: var(--soft); font-size: .8125rem; color: var(--fg); }
.dc-art .tablewrap { overflow-x: auto; margin: .4rem 0; border: 1px solid var(--line); border-radius: var(--v-radius-sm); }
.dc-art table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.dc-art th, .dc-art td { padding: .7rem .9rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.55; color: var(--fg-2); }
.dc-art th { background: var(--soft); color: var(--fg); font-weight: 600; }
.dc-art tr:last-child td { border-bottom: 0; }
.dc-code { margin: .6rem 0; border-radius: var(--v-radius-sm); overflow: hidden; background: var(--code-bg); }
.dc-code > span { display: block; padding: 8px 16px; border-bottom: 1px solid rgba(255,255,255,.08); font: 500 .6875rem/1.4 var(--font-mono); color: #9A9A9A; }
.dc-code .code { border-radius: 0; }
.dc-art .note { margin: 1rem 0; padding: 14px 18px; border-radius: var(--v-radius-sm); border: 1px solid var(--line); background: var(--soft); color: var(--fg-2); line-height: 1.65; }
.dc-art .note strong { display: block; margin-bottom: .2rem; }
.dc-art .note.warn { border-color: var(--esc); background: var(--esc-soft); }
.dc-art .note.block { border-color: var(--block); background: var(--block-soft); }
.dc-foot { margin-top: 3rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.dc-art .p-next { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 1.6rem 0; }
.dc-art .p-next-c { text-decoration: none; }

@media (max-width: 1000px) {
  .p-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p-cards, .p-next, .dc-art .p-next { grid-template-columns: minmax(0, 1fr); }
  .ab, .ct, .sol, .dc-lay, .lg { grid-template-columns: minmax(0, 1fr); }
  .dc-side { position: relative; top: 0; max-height: none; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
  .dc-side ul { display: flex; flex-wrap: wrap; gap: 2px 8px; }
  .lg-photo { height: 160px; }
}
@media (max-width: 760px) {
  .p-steps, .p-steps-3, .p-cards-2, .p-split, .facts-2 { grid-template-columns: minmax(0, 1fr); }
  .gl dl { grid-template-columns: minmax(0, 1fr); }
  .gl dt { padding-bottom: .2rem; border-bottom: 0; }
  .ab-col li { grid-template-columns: 1fr auto; }
  .ab-col li code { grid-column: 1 / -1; }
}


.p-hero .label { margin-bottom: 1.2rem; }
.co-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--fg); border-bottom: 1px solid var(--line); }
.co-stats > div { display: grid; align-content: start; gap: .5rem; padding: clamp(20px, 2.4vw, 30px) clamp(14px, 2vw, 28px) clamp(20px, 2.4vw, 30px) 0; }
.co-stats > div + div { padding-left: clamp(14px, 2vw, 28px); border-left: 1px solid var(--line); }
.co-stats dt { font: 600 clamp(1.6rem, 1.1rem + 1.6vw, 2.4rem)/1 var(--font-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.co-stats dd { color: var(--fg-2); font-size: .9063rem; line-height: 1.5; max-width: 26ch; }
.co-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.co-side { display: grid; gap: 1rem; position: sticky; top: 96px; }
.co-band { border-top: 1px solid var(--line); }
.co-list { list-style: none; display: grid; }
.co-list li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 1.6rem 0; border-top: 1px solid var(--line); }
.co-list li:first-child { padding-top: 0; border-top: 0; }
.co-list span { font: 500 .75rem/1.9 var(--font-mono); color: var(--fg-3); }
.co-list h3 { margin-bottom: .45rem; font: 600 1.1875rem/1.3 var(--font-display); letter-spacing: -.015em; }
.co-list p { color: var(--fg-2); font-size: .9688rem; line-height: 1.65; max-width: 60ch; }
.co-grid { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.co-grid li { display: grid; align-content: start; gap: .4rem; padding: 1.4rem 1.4rem 1.6rem 0; border-bottom: 1px solid var(--line); }
.co-grid li:nth-child(even) { padding-left: 1.4rem; padding-right: 0; border-left: 1px solid var(--line); }
.co-grid b { font: 600 1rem/1.3 var(--font-display); }
.co-grid span { color: var(--fg-2); font-size: .9375rem; line-height: 1.6; }
.co-planes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.co-plane { display: grid; align-content: start; gap: .7rem; padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line); border-radius: var(--v-radius); background: #fff; }
.co-plane:first-child { background: var(--soft); }
.co-plane h3 { font: 600 1.375rem/1.2 var(--font-display); letter-spacing: -.02em; }
.co-plane ul { list-style: none; display: grid; margin-top: .4rem; }
.co-plane li { padding: .7rem 0; border-top: 1px solid var(--line); color: var(--fg-2); font-size: .9375rem; line-height: 1.5; }
.co-link { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1000px) {
  .co-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .co-stats > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .co-stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .co-row { grid-template-columns: minmax(0, 1fr); }
  .co-side { position: static; }
}
@media (max-width: 760px) {
  .co-grid, .co-planes { grid-template-columns: minmax(0, 1fr); }
  .co-grid li:nth-child(even) { padding-left: 0; border-left: 0; }
}
