:root {
    --brand: #C84A5A;
    --brand-soft: rgba(200, 74, 90, .14);
    --copper: #D08A48;
    --accent: #E59A3A;
    --ink: #121214;
    --bg: #17171A;
    --panel: #222226;
    --panel-strong: #29292E;
    --text: #F1EEEE;
    --muted: #A9A3A6;
    --line: rgba(241, 238, 238, .12);
    --line-strong: rgba(241, 238, 238, .22);
    --shadow: 0 24px 70px rgba(0, 0, 0, .28);
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --content: min(1180px, calc(100vw - 48px));
    --reading: min(850px, calc(100vw - 48px));
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--bg);
}

body {
    margin: 0;
    min-width: 0;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 85% -10%, rgba(200, 74, 90, .09), transparent 34rem),
        linear-gradient(180deg, #17171A 0%, #161619 46%, #17171A 100%);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.72;
    text-rendering: optimizeLegibility;
}

body.modal-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 1000;
    transform: translateY(-160%);
    padding: 10px 14px;
    border-radius: 8px;
    background: var(--accent);
    color: var(--ink);
    font-weight: 800;
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(241, 238, 238, .08);
    background: rgba(18, 18, 20, .91);
    backdrop-filter: blur(18px);
}

.header-inner {
    width: var(--content);
    min-height: 76px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 26px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: 11px;
}

.brand span {
    display: grid;
    line-height: 1.2;
}

.brand b {
    font-size: 18px;
    letter-spacing: .03em;
}

.brand small {
    margin-top: 5px;
    color: var(--muted);
    font-size: 11px;
    white-space: nowrap;
}

.primary-nav {
    justify-self: center;
    display: flex;
    align-items: center;
    gap: 5px;
}

.primary-nav a {
    position: relative;
    padding: 10px 12px;
    color: #D5D0D2;
    border-radius: 999px;
    font-size: 14px;
    transition: background .2s ease, color .2s ease;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
    color: var(--text);
    background: rgba(241, 238, 238, .07);
}

.primary-nav a[aria-current="page"]::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 4px;
    width: 18px;
    height: 2px;
    border-radius: 10px;
    background: var(--brand);
    transform: translateX(-50%);
}

.search-trigger,
.menu-toggle {
    border: 1px solid var(--line);
    border-radius: 999px;
    background: transparent;
    color: var(--text);
    padding: 9px 14px;
}

.search-trigger:hover,
.menu-toggle:hover {
    border-color: var(--copper);
    background: rgba(208, 138, 72, .08);
}

.menu-toggle {
    display: none;
}

.site-main {
    min-height: 62vh;
}

.section-shell,
.home-section,
.content-shell {
    width: var(--content);
    margin-left: auto;
    margin-right: auto;
}

.home-hero {
    min-height: 680px;
    padding: 76px 0 72px;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(340px, .9fr);
    align-items: center;
    gap: 72px;
}

.hero-copy {
    min-width: 0;
}

.eyebrow {
    margin: 0 0 15px;
    color: var(--copper);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

h1,
h2,
h3 {
    margin-top: 0;
    line-height: 1.25;
}

h1 {
    margin-bottom: 25px;
    font-size: clamp(38px, 5.4vw, 70px);
    letter-spacing: -.045em;
    max-width: 13em;
}

.home-hero h1 {
    font-size: clamp(44px, 5vw, 72px);
}

h2 {
    margin-bottom: 20px;
    font-size: clamp(28px, 3.5vw, 46px);
    letter-spacing: -.025em;
}

h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

p {
    margin: 0 0 1em;
}

.hero-intro,
.lead {
    color: #D9D4D6;
    font-size: clamp(18px, 2vw, 21px);
    line-height: 1.78;
}

.hero-intro {
    max-width: 42em;
}

.hero-actions {
    margin-top: 34px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 22px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 11px 18px;
    border-radius: 999px;
    font-weight: 800;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    background: var(--brand);
    color: #fff;
    box-shadow: 0 10px 28px rgba(200, 74, 90, .22);
}

.button-primary:hover {
    box-shadow: 0 14px 32px rgba(200, 74, 90, .3);
}

.button-secondary {
    background: var(--accent);
    color: var(--ink);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #F3C88E;
    font-weight: 750;
}

.text-link::after {
    content: "→";
    transition: transform .2s ease;
}

.text-link:hover::after {
    transform: translateX(4px);
}

.identity-strip {
    margin: 48px 0 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.identity-strip div {
    min-width: 0;
    padding: 19px 18px 18px 0;
}

.identity-strip div + div {
    padding-left: 18px;
    border-left: 1px solid var(--line);
}

.identity-strip dt {
    color: var(--muted);
    font-size: 12px;
}

.identity-strip dd {
    margin: 5px 0 0;
    font-size: 14px;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.hero-visual {
    position: relative;
    margin: 0;
    min-width: 0;
}

.hero-visual::before {
    content: "";
    position: absolute;
    inset: -24px 34px 52px -18px;
    border: 1px solid rgba(208, 138, 72, .18);
    border-radius: 34px;
    transform: rotate(-2.5deg);
}

.hero-visual img {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: var(--shadow);
}

.hero-visual figcaption {
    position: relative;
    z-index: 2;
    width: 82%;
    margin: -44px auto 0;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(34, 34, 38, .95);
    color: #D8D2D4;
    font-size: 13px;
    box-shadow: 0 16px 38px rgba(0, 0, 0, .24);
}

.home-section {
    padding: 105px 0;
    border-top: 1px solid rgba(241, 238, 238, .08);
}

.narrow-section {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 38px;
}

.narrow-section > :not(.section-number) {
    grid-column: 2;
}

.section-number {
    grid-row: 1 / span 2;
    margin: 8px 0 0;
    color: rgba(208, 138, 72, .64);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 48px;
    line-height: 1;
}

.section-heading {
    max-width: 830px;
    margin-bottom: 34px;
}

.wide-heading {
    max-width: 940px;
}

.editorial-columns {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, .75fr);
    gap: 56px;
    color: #D9D4D6;
}

.editorial-columns > div > p {
    max-width: 48em;
}

.note-panel {
    align-self: start;
    padding: 24px 24px 22px;
    border-top: 3px solid var(--copper);
    background: rgba(34, 34, 38, .72);
    border-radius: 0 0 15px 15px;
}

.note-panel strong {
    display: block;
    margin-bottom: 10px;
    color: var(--text);
}

.note-panel ul {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
}

.note-panel li + li {
    margin-top: 10px;
}

.split-feature {
    display: grid;
    grid-template-columns: minmax(330px, .92fr) minmax(0, 1.08fr);
    align-items: start;
    gap: 66px;
}

.split-feature > figure {
    margin: 0;
    position: sticky;
    top: 105px;
}

.split-feature > figure img {
    width: 100%;
    aspect-ratio: 6 / 5;
    object-fit: cover;
    border-radius: 22px;
    border: 1px solid var(--line);
}

.split-feature > div > p:not(.eyebrow) {
    color: #D0CBCD;
}

.link-index {
    margin-top: 30px;
    display: grid;
    border-top: 1px solid var(--line);
}

.index-link {
    display: grid;
    grid-template-columns: minmax(180px, .55fr) minmax(0, 1fr);
    gap: 24px;
    padding: 22px 2px;
    border-bottom: 1px solid var(--line);
    transition: padding-left .2s ease, background .2s ease;
}

.index-link:hover {
    padding-left: 12px;
    background: linear-gradient(90deg, rgba(200, 74, 90, .08), transparent 65%);
}

.index-link strong {
    color: var(--text);
    font-size: 16px;
}

.index-link span {
    color: var(--muted);
    font-size: 14px;
}

.domain-focus {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
    gap: 22px;
}

.domain-card,
.domain-explain {
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--panel);
}

.domain-card {
    padding: 48px;
}

.domain-explain {
    padding: 42px;
    background: transparent;
}

.domain-name {
    margin: 30px 0;
    color: var(--accent);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: clamp(24px, 4vw, 46px);
    font-weight: 850;
    letter-spacing: -.04em;
}

.domain-explain h3 {
    margin-top: 5px;
    color: #F0C49A;
}

.domain-explain h3:not(:first-child) {
    margin-top: 34px;
}

.domain-explain p {
    color: var(--muted);
}

.app-band {
    position: relative;
    min-height: 480px;
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(300px, .82fr);
    align-items: center;
    gap: 54px;
    padding: 80px 70px;
    border-radius: 32px;
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 28%, rgba(229, 154, 58, .14), transparent 20rem),
        linear-gradient(135deg, #252126 0%, #211E20 46%, #262326 100%);
    border-top: 0;
}

.app-band::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border: 1px solid rgba(200, 74, 90, .22);
    border-radius: inherit;
}

.app-band-copy {
    position: relative;
    z-index: 1;
}

.app-band-copy p:not(.eyebrow) {
    max-width: 45em;
    color: #D3CCCF;
}

.app-band figure {
    margin: 0;
}

.app-band figure img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 20px;
    transform: rotate(1.8deg);
    box-shadow: var(--shadow);
}

.mobile-reading {
    display: grid;
    grid-template-columns: minmax(260px, .7fr) minmax(0, 1.3fr);
    align-items: center;
    gap: 82px;
}

.mobile-reading figure {
    margin: 0;
}

.mobile-reading figure img {
    width: min(100%, 420px);
    margin: 0 auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 30px 30px 130px 30px;
    border: 1px solid rgba(208, 138, 72, .18);
}

.mobile-reading > div > p:not(.eyebrow) {
    color: #D4CFD1;
}

.check-list {
    margin: 30px 0 28px;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.check-list li {
    padding: 15px 0 15px 18px;
    border-left: 2px solid rgba(200, 74, 90, .58);
    color: var(--muted);
}

.check-list strong {
    color: #E9E3E5;
}

.verify-section {
    padding-bottom: 120px;
}

.step-list {
    margin: 42px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--line-strong);
    border-bottom: 1px solid var(--line-strong);
}

.step-list li {
    min-width: 0;
    padding: 28px 24px 30px 0;
}

.step-list li + li {
    padding-left: 24px;
    border-left: 1px solid var(--line);
}

.step-list span {
    display: inline-block;
    margin-bottom: 28px;
    color: var(--brand);
    font-family: Georgia, serif;
    font-size: 28px;
}

.step-list p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 14px;
}

.inline-cta {
    margin-top: 54px;
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    align-items: center;
    gap: 34px;
}

.inline-cta img {
    width: 100%;
    aspect-ratio: 5 / 3;
    object-fit: cover;
    border-radius: 14px;
}

.inline-cta p {
    margin: 0;
    color: #D3CDCF;
    font-size: 18px;
}

.inline-cta p a {
    color: var(--accent);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.guide-map {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, .75fr);
    gap: 50px;
    align-items: end;
}

.guide-map > div:first-child p:not(.eyebrow) {
    max-width: 43em;
    color: var(--muted);
}

.guide-map figure {
    margin: 0;
}

.guide-map figure img {
    width: 100%;
    aspect-ratio: 8 / 5;
    object-fit: cover;
    border-radius: 18px;
    filter: saturate(.86);
}

.question-index {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.question-index a {
    min-height: 142px;
    display: grid;
    align-content: space-between;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: rgba(34, 34, 38, .55);
    transition: border-color .2s ease, transform .2s ease;
}

.question-index a:hover {
    transform: translateY(-2px);
    border-color: rgba(208, 138, 72, .42);
}

.question-index span {
    color: var(--copper);
    font-size: 12px;
    font-weight: 800;
}

.question-index strong {
    font-size: 18px;
}

.wording-note {
    display: grid;
    grid-template-columns: minmax(300px, .85fr) minmax(0, 1.15fr);
    align-items: center;
    gap: 72px;
}

.wording-note figure {
    margin: 0;
}

.wording-note img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: 50% 20px 20px 20px;
}

.wording-note > div p:not(.eyebrow) {
    color: #D2CCCE;
}

.faq-preview {
    max-width: 1000px;
}

.faq-stack {
    display: grid;
    gap: 1px;
    margin: 28px 0 30px;
    background: var(--line);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.faq-stack details {
    background: var(--bg);
}

.faq-stack summary {
    position: relative;
    padding: 22px 54px 22px 2px;
    cursor: pointer;
    list-style: none;
    font-size: 18px;
    font-weight: 750;
}

.faq-stack summary::-webkit-details-marker {
    display: none;
}

.faq-stack summary::after {
    content: "+";
    position: absolute;
    top: 18px;
    right: 5px;
    color: var(--copper);
    font-size: 28px;
    font-weight: 300;
    line-height: 1;
}

.faq-stack details[open] summary::after {
    content: "−";
}

.faq-stack details p {
    max-width: 48em;
    padding: 0 50px 22px 2px;
    margin: 0;
    color: var(--muted);
}

.submit-light {
    width: min(920px, calc(100vw - 48px));
    margin-bottom: 100px;
    padding: 54px 58px;
    border: 1px solid rgba(208, 138, 72, .24);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(208, 138, 72, .07), rgba(200, 74, 90, .05));
}

.submit-light h2 {
    font-size: clamp(27px, 4vw, 41px);
}

.submit-light p:not(.eyebrow) {
    color: #D2CCCE;
}

.content-shell {
    padding: 28px 0 96px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    padding: 18px 0;
    color: var(--muted);
    font-size: 13px;
}

.breadcrumb a:hover {
    color: var(--text);
}

.page-article {
    width: var(--reading);
    margin: 0 auto;
}

.page-lead {
    padding: 72px 0 46px;
}

.page-lead h1 {
    max-width: 14em;
    font-size: clamp(38px, 6vw, 66px);
}

.page-lead .lead {
    max-width: 42em;
}

.lead-visual {
    margin: 42px 0 0;
}

.lead-visual img {
    width: 100%;
    aspect-ratio: 16 / 8.8;
    object-fit: cover;
    border-radius: 22px;
    border: 1px solid var(--line);
}

.compact-lead {
    padding-bottom: 26px;
}

.content-section {
    padding: 48px 0;
    border-top: 1px solid var(--line);
}

.content-section h2 {
    font-size: clamp(27px, 4vw, 38px);
}

.content-section > p {
    color: #D1CCCE;
    font-size: 17px;
}

.content-section > p + p {
    margin-top: 1.25em;
}

.content-section.tone-accent {
    margin-top: 28px;
    padding: 40px;
    border: 1px solid rgba(200, 74, 90, .2);
    border-radius: 22px;
    background: rgba(200, 74, 90, .055);
}

.info-list {
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

.info-list li {
    position: relative;
    padding: 15px 18px 15px 45px;
    border: 1px solid var(--line);
    border-radius: 12px;
    color: #D0CACD;
    background: rgba(34, 34, 38, .55);
}

.info-list li::before {
    content: "•";
    position: absolute;
    left: 20px;
    top: 13px;
    color: var(--accent);
    font-size: 22px;
}

.inline-visual {
    margin: 34px 0 0;
}

.inline-visual img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 17px;
    border: 1px solid var(--line);
}

.page-article .link-index {
    margin-top: 30px;
}

.page-article .index-link {
    grid-template-columns: minmax(200px, .65fr) minmax(0, 1.35fr);
}

.full-faq {
    margin-top: 18px;
}

.full-faq summary {
    font-size: 17px;
}

.search-modal[hidden] {
    display: none !important;
}

.search-modal {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: grid;
    place-items: start center;
    padding: min(12vh, 100px) 24px 24px;
}

.search-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 12, .78);
    backdrop-filter: blur(9px);
}

.search-dialog {
    position: relative;
    z-index: 1;
    width: min(680px, 100%);
    padding: 38px;
    border: 1px solid var(--line-strong);
    border-radius: 24px;
    background: var(--panel);
    box-shadow: var(--shadow);
}

.search-dialog h2 {
    padding-right: 70px;
    font-size: clamp(26px, 4vw, 38px);
}

.search-dialog label,
.page-search-form label {
    display: block;
    margin-bottom: 10px;
    color: var(--muted);
    font-size: 13px;
}

.search-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.search-row input {
    min-width: 0;
    height: 48px;
    padding: 0 15px;
    border: 1px solid var(--line-strong);
    border-radius: 11px;
    background: #18181B;
    color: var(--text);
}

.search-row button {
    border: 0;
    border-radius: 11px;
    padding: 0 20px;
    background: var(--accent);
    color: var(--ink);
    font-weight: 850;
}

.search-close {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 7px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
}

.page-search-form {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--panel);
}

.search-results {
    margin-top: 42px;
}

.search-results > h2 {
    font-size: 26px;
}

.search-result {
    padding: 26px 0;
    border-top: 1px solid var(--line);
}

.search-result h3 {
    margin-bottom: 8px;
    font-size: 21px;
}

.search-result h3 a:hover {
    color: var(--accent);
}

.search-result p {
    color: var(--muted);
}

.empty-state {
    margin-top: 34px;
    padding: 30px;
    border-left: 3px solid var(--copper);
    background: rgba(34, 34, 38, .56);
}

.empty-state h2 {
    font-size: 25px;
}

.notfound-page .page-lead {
    padding-top: 100px;
}

.site-footer {
    border-top: 1px solid var(--line);
    background: var(--ink);
}

.footer-grid {
    width: var(--content);
    margin: 0 auto;
    padding: 58px 0 48px;
    display: grid;
    grid-template-columns: 1.4fr .8fr .8fr;
    gap: 70px;
}

.footer-grid h2 {
    margin-bottom: 17px;
    font-size: 15px;
    letter-spacing: .02em;
}

.footer-brand h2 {
    font-size: 25px;
}

.footer-grid p {
    max-width: 35em;
    color: var(--muted);
    font-size: 14px;
}

.footer-grid section:not(.footer-brand) {
    display: grid;
    align-content: start;
    gap: 8px;
}

.footer-grid section:not(.footer-brand) a {
    color: #BCB5B8;
    font-size: 14px;
}

.footer-grid section:not(.footer-brand) a:hover {
    color: var(--accent);
}

.footer-bottom {
    width: var(--content);
    margin: 0 auto;
    padding: 20px 0 24px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid rgba(241, 238, 238, .07);
    color: #888184;
    font-size: 12px;
}

.back-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 90;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    background: rgba(34, 34, 38, .94);
    color: var(--text);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .24);
}

.back-top[hidden] {
    display: none;
}

@media (max-width: 1200px) {
    :root {
        --content: min(1080px, calc(100vw - 40px));
        --reading: min(820px, calc(100vw - 40px));
    }

    .header-inner {
        gap: 14px;
    }

    .primary-nav a {
        padding-left: 9px;
        padding-right: 9px;
    }

    .home-hero {
        gap: 48px;
    }

    .app-band {
        padding: 70px 54px;
    }
}

@media (max-width: 1024px) {
    .header-inner {
        grid-template-columns: auto auto auto;
        justify-content: space-between;
    }

    .menu-toggle {
        display: inline-flex;
        justify-self: end;
    }

    .primary-nav {
        position: absolute;
        top: calc(100% + 1px);
        left: 20px;
        right: 20px;
        display: none;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 15px;
        background: #1D1D20;
        box-shadow: var(--shadow);
    }

    .primary-nav.is-open {
        display: grid;
    }

    .primary-nav a {
        padding: 12px 14px;
        border-radius: 9px;
    }

    .primary-nav a[aria-current="page"]::after {
        display: none;
    }

    .search-trigger {
        grid-column: 3;
        grid-row: 1;
    }

    .menu-toggle {
        grid-column: 2;
        grid-row: 1;
    }

    .home-hero {
        grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
        gap: 38px;
        min-height: 620px;
    }

    .hero-visual figcaption {
        width: 92%;
    }

    .split-feature,
    .mobile-reading,
    .wording-note {
        gap: 46px;
    }

    .step-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .step-list li:nth-child(3) {
        padding-left: 0;
        border-left: 0;
        border-top: 1px solid var(--line);
    }

    .step-list li:nth-child(4) {
        border-top: 1px solid var(--line);
    }
}

@media (max-width: 860px) {
    .search-trigger {
        display: none;
    }

    .header-inner {
        grid-template-columns: auto auto;
    }

    .menu-toggle {
        grid-column: 2;
    }

    .home-hero {
        grid-template-columns: 1fr;
        padding-top: 56px;
    }

    .hero-copy {
        max-width: 780px;
    }

    .hero-visual {
        width: min(620px, 92%);
        margin: 12px auto 0;
    }

    .hero-visual img {
        aspect-ratio: 5 / 4;
    }

    .home-section {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .narrow-section {
        grid-template-columns: 70px minmax(0, 1fr);
        gap: 24px;
    }

    .editorial-columns,
    .domain-focus,
    .app-band,
    .guide-map {
        grid-template-columns: 1fr;
    }

    .split-feature,
    .mobile-reading,
    .wording-note {
        grid-template-columns: 1fr;
    }

    .split-feature > figure {
        position: static;
        max-width: 620px;
    }

    .mobile-reading figure {
        order: 2;
    }

    .mobile-reading figure img {
        margin-left: 0;
    }

    .wording-note figure {
        max-width: 620px;
    }

    .app-band {
        padding: 56px 42px;
    }

    .app-band figure {
        width: min(580px, 100%);
    }

    .guide-map figure {
        width: min(620px, 100%);
    }

    .question-index {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 44px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    :root {
        --content: calc(100vw - 32px);
        --reading: calc(100vw - 32px);
    }

    body {
        font-size: 15px;
    }

    .header-inner {
        min-height: 68px;
    }

    .brand img {
        width: 38px;
        height: 38px;
    }

    .brand small {
        display: none;
    }

    .home-hero h1,
    h1 {
        letter-spacing: -.035em;
    }

    .hero-intro,
    .lead {
        font-size: 17px;
    }

    .identity-strip {
        grid-template-columns: 1fr;
    }

    .identity-strip div {
        padding: 14px 0;
    }

    .identity-strip div + div {
        padding-left: 0;
        border-left: 0;
        border-top: 1px solid var(--line);
    }

    .narrow-section {
        grid-template-columns: 1fr;
    }

    .narrow-section > :not(.section-number),
    .section-number {
        grid-column: 1;
    }

    .section-number {
        grid-row: auto;
        font-size: 34px;
    }

    .editorial-columns {
        gap: 30px;
    }

    .domain-card,
    .domain-explain {
        padding: 30px;
    }

    .app-band {
        padding: 44px 28px;
        border-radius: 24px;
    }

    .step-list {
        grid-template-columns: 1fr;
    }

    .step-list li,
    .step-list li + li,
    .step-list li:nth-child(3),
    .step-list li:nth-child(4) {
        padding: 24px 0;
        border-left: 0;
        border-top: 1px solid var(--line);
    }

    .step-list li:first-child {
        border-top: 0;
    }

    .step-list span {
        margin-bottom: 12px;
    }

    .inline-cta {
        grid-template-columns: 1fr;
    }

    .inline-cta img {
        width: min(360px, 100%);
    }

    .submit-light {
        width: calc(100vw - 32px);
        padding: 38px 30px;
    }

    .page-lead {
        padding-top: 50px;
    }

    .content-section {
        padding: 38px 0;
    }

    .page-article .index-link,
    .index-link {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .content-section.tone-accent {
        padding: 28px;
    }
}

@media (max-width: 600px) {
    :root {
        --content: calc(100vw - 28px);
        --reading: calc(100vw - 28px);
    }

    .site-header {
        position: sticky;
    }

    .header-inner {
        min-height: 64px;
    }

    .brand b {
        font-size: 16px;
    }

    .menu-toggle {
        padding: 8px 11px;
    }

    .primary-nav {
        left: 14px;
        right: 14px;
    }

    .home-hero {
        padding: 42px 0 60px;
    }

    .home-hero h1 {
        font-size: clamp(37px, 11vw, 52px);
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .hero-visual {
        width: 100%;
    }

    .hero-visual::before {
        inset: -12px 14px 36px -8px;
    }

    .hero-visual figcaption {
        width: calc(100% - 24px);
    }

    .home-section {
        padding-top: 66px;
        padding-bottom: 66px;
    }

    h2 {
        font-size: clamp(27px, 8vw, 36px);
    }

    .domain-card,
    .domain-explain {
        padding: 25px 22px;
        border-radius: 20px;
    }

    .domain-name {
        font-size: clamp(22px, 8vw, 34px);
    }

    .app-band {
        width: calc(100vw - 28px);
        padding: 34px 22px;
    }

    .mobile-reading figure img {
        border-radius: 22px 22px 80px 22px;
    }

    .question-index a {
        min-height: 120px;
        padding: 20px;
    }

    .wording-note img {
        border-radius: 70px 18px 18px 18px;
    }

    .faq-stack summary {
        padding-right: 42px;
        font-size: 16px;
    }

    .faq-stack details p {
        padding-right: 16px;
    }

    .search-dialog {
        padding: 30px 22px;
        border-radius: 19px;
    }

    .search-row {
        grid-template-columns: 1fr;
    }

    .search-row button {
        min-height: 46px;
    }

    .lead-visual {
        margin-top: 30px;
    }

    .lead-visual img {
        border-radius: 16px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 34px;
        padding-top: 45px;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 5px;
    }

    .back-top {
        right: 14px;
        bottom: 14px;
    }
}

@media (max-width: 375px) {
    :root {
        --content: calc(100vw - 24px);
        --reading: calc(100vw - 24px);
    }

    .brand {
        gap: 8px;
    }

    .brand img {
        width: 34px;
        height: 34px;
    }

    .brand b {
        font-size: 15px;
    }

    .home-hero h1 {
        font-size: 35px;
    }

    .hero-intro,
    .lead {
        font-size: 16px;
    }

    .home-section {
        padding-top: 56px;
        padding-bottom: 56px;
    }

    .submit-light,
    .app-band {
        width: calc(100vw - 24px);
    }

    .content-section.tone-accent {
        padding: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
