:root {
    --surface: #f8f9ff;
    --surface-low: #eff4ff;
    --surface-container: #ffffff;
    --surface-high: #dee9fc;
    --surface-highest: #d9e3f6;
    --text: #121c2a;
    --muted: #3e4a3d;
    --outline: #bdcaba;
    --primary: #16a34a;
    --primary-hover: #15803d;
    --accent: #4ade80;
    --accent-hover: #22c55e;
    --secondary: #455f87;
    --navy: #27313f;
    --white: #ffffff;
    --shadow: 0 18px 45px rgba(18, 28, 42, 0.08);
    --radius: 16px;
    --radius-sm: 8px;
    --container: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.sme-site {
    margin: 0;
    color: var(--text);
    background: var(--surface);
    font-family: "Noto Sans JP", system-ui, sans-serif;
    line-height: 1.7;
}

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

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

.container {
    width: min(calc(100% - 48px), var(--container));
    margin: 0 auto;
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(189, 202, 186, 0.55);
    backdrop-filter: blur(14px);
}

.site-header__inner {
    width: min(calc(100% - 48px), var(--container));
    height: 86px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.site-brand img {
    display: block;
    width: auto;
    height: 50px;
    max-width: 320px;
    object-fit: contain;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.site-nav a,
.mobile-nav a {
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    color: #475569;
    font-weight: 700;
    font-size: 15px;
}

.site-nav a:hover,
.site-nav a.is-active,
.mobile-nav a:hover,
.mobile-nav a.is-active {
    color: var(--primary);
    background: #ecfdf5;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 22px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    font-weight: 800;
    transition: transform 160ms ease, background 160ms ease, border 160ms ease;
}

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

.button--primary {
    background: #16a34a;
    color: var(--white);
}

.button--primary:hover {
    background: var(--primary-hover);
}

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

.button--accent:hover {
    background: var(--accent-hover);
}

.button--ghost {
    border-color: var(--primary);
    color: var(--primary);
    background: transparent;
}

.button--light {
    background: var(--white);
    color: var(--primary);
}

.menu-toggle,
.mobile-nav {
    display: none;
}

.menu-toggle {
    width: 44px;
    height: 44px;
    border: 1px solid var(--outline);
    border-radius: var(--radius-sm);
    background: var(--white);
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: var(--primary);
}

.hero {
    min-height: 690px;
    padding: 142px 0 96px;
    overflow: hidden;
}

.page-hero {
    padding: 148px 0 80px;
}

.hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(340px, 0.94fr);
    gap: 56px;
    align-items: center;
}

.hero__content {
    max-width: 620px;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--primary);
    font-family: Manrope, sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

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

h1 {
    margin: 0;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.25;
    font-weight: 900;
    letter-spacing: 0;
}

.hero h1 {
    max-width: 600px;
    font-size: clamp(34px, 4.7vw, 48px);
    line-height: 1.38;
}

.hero h1 span {
    display: block;
    color: #16a34a;
}

h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.35;
    font-weight: 900;
    letter-spacing: 0;
}

h3 {
    margin: 0;
    font-size: 21px;
    line-height: 1.45;
    font-weight: 800;
    letter-spacing: 0;
}

.lead {
    margin: 20px 0 0;
    color: var(--muted);
    font-size: 18px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.release-badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    margin: 0 0 38px;
    padding: 6px 14px;
    border: 1px solid #a7f3d0;
    border-radius: 999px;
    background: rgba(220, 252, 231, 0.72);
    color: #15803d;
    font-size: 12px;
    font-weight: 800;
}

.button--with-icon {
    gap: 8px;
}

.button--with-icon span {
    display: grid;
    place-items: center;
    width: 18px;
    height: 18px;
    font-size: 11px;
    line-height: 1;
}

.phone-mock {
    position: relative;
    width: min(100%, 300px);
    justify-self: center;
    padding: 40px 14px 14px;
    border: 7px solid #cbd7f3;
    border-radius: 30px;
    background: #f9fbff;
    box-shadow: 0 28px 52px rgba(69, 95, 135, 0.25);
}

.phone-mock::before {
    content: "";
    position: absolute;
    inset: -90px -96px auto auto;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.13);
    z-index: -1;
}

.phone-mock__speaker {
    position: absolute;
    top: -7px;
    left: 50%;
    width: 104px;
    height: 24px;
    transform: translateX(-50%);
    border-radius: 0 0 14px 14px;
    background: #cbd7f3;
}

.phone-mock__screen {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    background: #fff;
}

.phone-mock__toast {
    position: absolute;
    top: 72px;
    right: -48px;
    width: 150px;
    padding: 12px 14px 12px 42px;
    border: 1px solid rgba(0, 107, 44, 0.18);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 14px 34px rgba(18, 28, 42, 0.11);
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.45;
    z-index: 1;
}

.phone-mock__toast::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 17px;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: var(--accent);
}

.section {
    padding: 80px 0;
}

.section-band {
    background: var(--surface-low);
}

.section-band--soft {
    background:
        radial-gradient(circle at 80% 22%, rgba(187, 247, 208, 0.58) 0, rgba(187, 247, 208, 0) 32%),
        linear-gradient(110deg, #f8fbff 0%, #edf3ff 46%, #e5fbea 100%);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 32px;
    text-align: center;
}

.section-heading--center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.card-grid {
    display: grid;
    gap: 24px;
}

.card-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.section-cta {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.card,
.content-card,
.sidebar-card,
.post-card,
.app-panel {
    background: var(--surface-container);
    border: 1px solid rgba(189, 202, 186, 0.75);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.card {
    display: flex;
    flex-direction: column;
    padding: 24px;
}

.card p,
.content-card p {
    margin: 12px 0 0;
    color: var(--muted);
}

.card a,
.content-card a {
    display: inline-flex;
    margin-top: 16px;
    color: var(--primary);
    font-weight: 800;
    text-decoration: underline;
}

.card a {
    align-self: flex-start;
    margin-top: auto;
    padding-top: 16px;
}

.section-heading--left {
    margin-left: 0;
    text-align: left;
}

.subject-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 32px;
    align-items: start;
}

.topic-grid,
.glossary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.topic-grid--wide {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.glossary-intro {
    max-width: 920px;
    margin-bottom: 28px;
}

.glossary-intro h2 {
    margin-bottom: 12px;
    font-size: 30px;
}

.glossary-intro p {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.9;
}

.glossary-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 36px;
}

.glossary-nav a {
    padding: 10px 16px;
    border: 1px solid rgba(189, 202, 186, 0.9);
    border-radius: 999px;
    background: var(--white);
    color: var(--text);
    font-weight: 800;
}

.glossary-nav a:hover {
    border-color: rgba(22, 163, 74, 0.6);
    color: var(--primary);
}

.glossary-section + .glossary-section {
    margin-top: 56px;
}

.topic-grid article,
.glossary-grid article,
.subject-side {
    padding: 24px;
    border: 1px solid var(--outline);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
}

.topic-grid--deep article {
    position: relative;
    overflow: hidden;
    min-height: 214px;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.topic-grid--deep article:hover,
.topic-grid--deep article:focus-within {
    transform: translateY(-2px);
    border-color: rgba(22, 163, 74, 0.55);
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.12);
}

.topic-grid--deep article > p {
    margin-bottom: 0;
}

.topic-detail {
    display: grid;
    grid-template-rows: 0fr;
    margin-top: 0;
    opacity: 0;
    transition: grid-template-rows 220ms ease, margin-top 220ms ease, opacity 180ms ease;
}

.topic-detail > p {
    overflow: hidden;
    margin: 0;
    color: var(--text);
    font-size: 15px;
    line-height: 1.85;
}

.topic-grid--deep article:hover .topic-detail,
.topic-grid--deep article:focus-within .topic-detail {
    grid-template-rows: 1fr;
    margin-top: 14px;
    opacity: 1;
}

@media (hover: none) {
    .topic-grid--deep article {
        min-height: 0;
    }

    .topic-detail {
        grid-template-rows: 1fr;
        margin-top: 14px;
        opacity: 1;
    }
}

.topic-grid h2,
.topic-grid h3,
.glossary-grid h2 {
    font-size: 22px;
}

.glossary-grid--rich article {
    display: grid;
    align-content: start;
    gap: 16px;
}

.glossary-card__top {
    display: grid;
    gap: 6px;
}

.glossary-card__top h3 {
    margin: 0;
    font-size: 24px;
}

.glossary-card__top span {
    color: var(--primary);
    font-size: 13px;
    font-weight: 900;
}

.glossary-grid--rich article > p {
    margin: 0;
    color: var(--text);
    line-height: 1.85;
}

.glossary-grid--rich dl {
    display: grid;
    gap: 12px;
    margin: 0;
}

.glossary-grid--rich dl div {
    padding: 12px 14px;
    border-radius: 8px;
    background: #f8fbff;
}

.glossary-grid--rich dt {
    margin-bottom: 4px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 900;
}

.glossary-grid--rich dd {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.75;
}

.subject-side {
    position: sticky;
    top: 100px;
}

.subject-side h2 {
    font-size: 22px;
}

.subject-side ul {
    display: grid;
    gap: 10px;
    margin: 16px 0 22px;
    padding-left: 20px;
}

.subject-side--alert {
    border-color: rgba(34, 197, 94, 0.5);
    background: #f0fdf4;
}

.source-note {
    margin-top: 18px;
    font-size: 14px;
    color: var(--muted);
}

.source-note a {
    color: var(--primary);
    font-weight: 800;
    text-decoration: underline;
}

.process-timeline {
    display: grid;
    gap: 16px;
}

.process-timeline article {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 22px;
    padding: 24px;
    border: 1px solid var(--outline);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
}

.process-timeline--deep article {
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.process-timeline--deep article:hover,
.process-timeline--deep article:focus-within {
    transform: translateY(-2px);
    border-color: rgba(22, 163, 74, 0.55);
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.12);
}

.process-timeline article > span {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: #dcfce7;
    color: var(--primary);
    font-family: Manrope, sans-serif;
    font-weight: 900;
}

.process-timeline h2 {
    font-size: 24px;
}

.process-timeline strong {
    color: var(--primary);
}

.process-detail {
    display: grid;
    grid-template-rows: 0fr;
    margin-top: 0;
    opacity: 0;
    transition: grid-template-rows 220ms ease, margin-top 220ms ease, opacity 180ms ease;
}

.process-detail > p {
    overflow: hidden;
    margin: 0;
    color: var(--text);
    font-size: 15px;
    line-height: 1.85;
}

.process-detail > p + p {
    margin-top: 10px;
}

.process-caution {
    padding: 12px 14px;
    border-left: 4px solid var(--primary);
    border-radius: 0 8px 8px 0;
    background: #f0fdf4;
}

.process-caution strong {
    color: var(--primary);
}

.process-timeline--deep article:hover .process-detail,
.process-timeline--deep article:focus-within .process-detail {
    grid-template-rows: 1fr;
    margin-top: 12px;
    opacity: 1;
}

@media (hover: none) {
    .process-detail {
        grid-template-rows: 1fr;
        margin-top: 12px;
        opacity: 1;
    }
}

.card--accent {
    border-top: 4px solid var(--primary);
}

.app-panel {
    padding: 28px;
}

.app-panel__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-weight: 800;
}

.app-panel__top strong {
    color: var(--primary);
    font-family: Manrope, sans-serif;
    font-size: 42px;
}

.progress {
    height: 12px;
    margin: 20px 0;
    overflow: hidden;
    border-radius: 999px;
    background: #dff8e8;
}

.progress span {
    display: block;
    height: 100%;
    background: var(--primary);
}

.lesson-list {
    display: grid;
    gap: 12px;
}

.lesson-list div {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px;
    border-radius: 12px;
    background: #f8fbff;
    font-weight: 700;
}

.check,
.dot {
    width: 18px;
    height: 18px;
    border-radius: 999px;
}

.check {
    background: var(--accent);
}

.dot {
    border: 3px solid var(--primary);
}

.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr);
    gap: 48px;
    align-items: center;
}

.split p {
    text-wrap: pretty;
    line-break: strict;
    word-break: auto-phrase;
}

.feature-list {
    display: grid;
    gap: 16px;
}

.feature-list div {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px;
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid var(--outline);
}

.feature-list strong {
    color: var(--primary);
    font-family: Manrope, sans-serif;
}

.cta-band {
    padding: 72px 0;
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
    color: var(--white);
}

.cta-band__inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

.cta-band__text {
    width: 100%;
}

.cta-band p {
    margin: 8px 0 0;
    color: #dcfce7;
}

.page-main {
    padding-top: 86px;
}

.page-hero {
    background: var(--surface-low);
    text-align: center;
}

.page-hero .container {
    max-width: 820px;
}

.page-hero--wide .container {
    max-width: 1120px;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.content-card {
    padding: 32px;
}

.info-table {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    width: min(100%, 1040px);
    margin: 0 auto;
    border: 1px solid var(--outline);
    border-radius: var(--radius);
    background: var(--outline);
}

.info-table div {
    display: grid;
    gap: 8px;
    padding: 24px;
    background: var(--white);
}

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

.source-note {
    width: min(100%, 1040px);
    margin-left: auto;
    margin-right: auto;
    margin-top: 18px;
    color: var(--muted);
    font-size: 13px;
}

.ratio-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.ratio-grid div {
    display: grid;
    gap: 4px;
    padding: 24px;
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid var(--outline);
    text-align: center;
    box-shadow: var(--shadow);
}

.ratio-grid strong {
    color: var(--primary);
    font-family: Manrope, sans-serif;
    font-size: 30px;
}

.ratio-grid span {
    font-weight: 800;
}

.ratio-grid small {
    color: var(--muted);
    font-weight: 700;
}

.timeline {
    display: grid;
    gap: 18px;
}

.timeline article {
    position: relative;
    padding: 24px 24px 24px 120px;
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid var(--outline);
}

.timeline span {
    position: absolute;
    left: 24px;
    top: 28px;
    color: var(--primary);
    font-weight: 800;
}

.contact-grid,
.blog-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.8fr);
    gap: 28px;
    align-items: start;
}

.check-list {
    display: grid;
    gap: 14px;
    padding: 0;
    margin: 20px 0 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 30px;
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: var(--accent);
}

.mock-form,
.contact-choice-form {
    display: grid;
    gap: 16px;
}

.form-field--trap {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.mock-form label,
.contact-choice-form label {
    display: grid;
    gap: 8px;
    font-weight: 700;
}

.mock-form input,
.mock-form select,
.mock-form textarea,
.contact-choice-form input,
.contact-choice-form select,
.contact-choice-form textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid var(--outline);
    border-radius: var(--radius-sm);
    font: inherit;
}

.mock-form input:focus,
.mock-form select:focus,
.mock-form textarea:focus,
.contact-choice-form input:focus,
.contact-choice-form select:focus,
.contact-choice-form textarea:focus {
    outline: 3px solid rgba(34, 197, 94, 0.18);
    border-color: var(--primary);
}

.form-choice {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    border: 0;
}

.form-choice legend {
    grid-column: 1 / -1;
    margin-bottom: 2px;
    font-weight: 800;
}

.form-choice label {
    display: block;
    position: relative;
}

.form-choice input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.form-choice span {
    display: grid;
    min-height: 46px;
    place-items: center;
    border: 1px solid var(--outline);
    border-radius: var(--radius-sm);
    background: var(--surface-container);
    color: var(--text);
    font-weight: 900;
}

.form-choice input:checked + span {
    border-color: var(--primary);
    background: rgba(22, 163, 74, 0.1);
    color: var(--primary);
    box-shadow: inset 0 0 0 1px var(--primary);
}

.form-notice {
    margin: 0 0 14px;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    font-weight: 700;
}

.form-notice--success {
    background: rgba(22, 163, 74, 0.1);
    color: #137a38;
}

.form-notice--error {
    background: rgba(220, 38, 38, 0.1);
    color: #b91c1c;
}

.cf-turnstile {
    min-height: 65px;
}

.faq-list {
    max-width: 840px;
}

.faq-list details {
    margin-bottom: 14px;
    padding: 20px 24px;
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid var(--outline);
}

.faq-list summary {
    cursor: pointer;
    font-weight: 800;
}

.question-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.question-card {
    padding: 28px;
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid var(--outline);
    box-shadow: var(--shadow);
}

.question-card__subject {
    display: inline-flex;
    margin: 0 0 16px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #dcfce7;
    color: #15803d;
    font-size: 13px;
    font-weight: 800;
}

.question-card h2 {
    font-size: 24px;
}

.answer-point {
    margin-top: 18px;
    padding: 14px 16px;
    border-left: 4px solid var(--accent);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    background: #f0fdf4;
    color: var(--muted);
    font-weight: 700;
}

.category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.category-pills a {
    padding: 9px 16px;
    border: 1px solid var(--outline);
    border-radius: 999px;
    background: var(--white);
    color: var(--muted);
    font-weight: 800;
}

.category-pills a.is-active,
.category-pills a:hover {
    background: var(--primary);
    color: var(--white);
}

.post-grid {
    display: grid;
    gap: 22px;
}

.post-card {
    overflow: hidden;
}

.post-card a {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    min-height: 190px;
}

.post-card img,
.post-card__placeholder {
    width: 100%;
    height: 100%;
    min-height: 190px;
    object-fit: contain;
    object-position: center;
    background: linear-gradient(135deg, #d9e3f6, #ecfdf5);
}

.post-card__body {
    padding: 24px;
}

.post-card time {
    color: var(--primary);
    font-family: Manrope, sans-serif;
    font-size: 13px;
    font-weight: 800;
}

.post-card h2 {
    margin: 8px 0;
    font-size: 24px;
}

.post-card p {
    margin: 0;
    color: var(--muted);
}

.sidebar {
    display: grid;
    gap: 22px;
}

.sidebar-card {
    padding: 28px;
}

.sidebar-card ul {
    display: grid;
    gap: 12px;
    margin: 16px 0 0;
    padding-left: 72px;
}

.sidebar-card li {
    padding-left: 4px;
    line-height: 1.55;
}

.sidebar-card h3 {
    font-size: 20px;
}

.sidebar-card a {
    color: var(--text);
    font-size: 14px;
    font-weight: 700;
}

.sidebar-card a:hover {
    color: var(--primary);
}

.sidebar-card p {
    margin: 10px 0 0;
    font-size: 14px;
    line-height: 1.65;
}

.sidebar-card .button {
    width: auto;
    min-width: 132px;
    margin-top: 18px;
    padding-inline: 22px;
    font-size: 15px;
}

.sidebar-card--cta {
    background: var(--primary);
    color: var(--white);
    min-height: 220px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.sidebar-card--cta h3 {
    max-width: 520px;
    font-size: 24px;
    line-height: 1.45;
}

.sidebar-card--cta .button {
    background: var(--white);
    color: var(--primary);
}

.sidebar-card--cta .button:hover {
    background: #f0fdf4;
}

.single-article {
    padding-top: 72px;
    padding-bottom: 72px;
}

.single-article__header {
    max-width: 920px;
    margin: 0 auto 40px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
    color: var(--muted);
    font-size: 13px;
}

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

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-top: 18px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

.single-article__lead {
    max-width: 780px;
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 18px;
}

.single-article__image {
    width: min(100%, 920px);
    margin: 0 auto 40px;
    border-radius: var(--radius);
}

.single-article__layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 820px);
    gap: 48px;
    align-items: start;
    justify-content: center;
}

.article-side {
    position: sticky;
    top: 100px;
    display: grid;
    gap: 14px;
}

.article-side__box {
    display: grid;
    gap: 8px;
    padding: 18px;
    border: 1px solid var(--outline);
    border-radius: var(--radius);
    background: var(--white);
}

.article-side__box span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.article-category-list {
    display: grid;
    gap: 8px;
    margin: 0;
    padding-left: 20px;
}

.article-side__box strong,
.article-side__box a {
    color: var(--text);
    font-weight: 800;
}

.article-side__box a:hover {
    color: var(--primary);
}

.single-article__content {
    padding: 42px;
    border: 1px solid var(--outline);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
    font-size: 18px;
}

.single-article__content > *:first-child {
    margin-top: 0;
}

.single-article__content h2 {
    margin: 42px 0 14px;
    padding-top: 22px;
    border-top: 1px solid #e2e8f0;
    font-size: 28px;
}

.single-article__content p {
    margin: 18px 0;
}

.single-article__content a {
    color: var(--primary);
    text-decoration: underline;
}

.author-box {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 20px;
    margin-top: 28px;
    padding: 28px;
    border: 1px solid rgba(34, 197, 94, 0.35);
    border-radius: var(--radius);
    background: #f0fdf4;
}

.author-box__avatar {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: linear-gradient(135deg, #22c55e, #86efac);
    color: var(--white);
    font-family: Manrope, sans-serif;
    font-weight: 900;
}

.author-box__label {
    margin: 0 0 6px;
    color: #15803d;
    font-size: 13px;
    font-weight: 800;
}

.author-box__name {
    margin: 0;
    font-size: 22px;
    font-weight: 900;
    line-height: 1.45;
}

.author-box__role {
    margin: 4px 0 12px;
    color: var(--muted);
    font-weight: 800;
}

.author-box a {
    color: var(--primary);
    font-weight: 800;
    text-decoration: underline;
}

.related-posts {
    padding-top: 64px;
}

.related-posts__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.related-card {
    border: 1px solid var(--outline);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
}

.related-card a {
    display: grid;
    gap: 8px;
    padding: 24px;
}

.related-card time {
    color: var(--primary);
    font-family: Manrope, sans-serif;
    font-size: 13px;
    font-weight: 800;
}

.related-card h3 {
    font-size: 20px;
}

.related-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.legal-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    align-items: start;
}

.definition-list {
    display: grid;
    gap: 0;
    margin: 24px 0 0;
    border: 1px solid var(--outline);
    border-radius: var(--radius);
    overflow: hidden;
}

.definition-list div {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    border-bottom: 1px solid var(--outline);
}

.definition-list div:last-child {
    border-bottom: 0;
}

.definition-list dt,
.definition-list dd {
    margin: 0;
    padding: 16px 18px;
}

.definition-list dt {
    background: var(--surface-low);
    font-weight: 800;
}

.definition-list dd a,
.legal-document a {
    color: var(--primary);
    text-decoration: underline;
}

.definition-list dd a {
    display: inline;
    margin-top: 0;
}

.definition-list--legal {
    margin-top: 20px;
}

.legal-document {
    max-width: 900px;
    padding: 36px;
    background: var(--white);
    border: 1px solid var(--outline);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.legal-document h2 {
    margin-top: 32px;
    font-size: 24px;
}

.legal-document h2:first-of-type {
    margin-top: 0;
}

.notice {
    padding: 16px 18px;
    border-radius: var(--radius-sm);
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #9a3412;
    font-weight: 700;
}

.site-footer {
    padding: 48px 0 28px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    color: #64748b;
}

.site-footer__inner {
    width: min(calc(100% - 48px), var(--container));
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 32px;
}

.site-brand--footer {
    margin-bottom: 10px;
}

.site-brand--footer img {
    height: 42px;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px 20px;
    max-width: 560px;
}

.footer-nav a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.site-footer__copy {
    width: min(calc(100% - 48px), var(--container));
    margin: 28px auto 0;
    font-size: 13px;
}

.nav-links {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.nav-links a,
.nav-links span {
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    background: var(--white);
    border: 1px solid var(--outline);
}

@media (max-width: 980px) {
    .site-nav,
    .site-header__cta {
        display: none;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .mobile-nav {
        display: none;
        width: min(calc(100% - 48px), var(--container));
        margin: 0 auto 18px;
        padding: 12px;
        border-radius: var(--radius);
        background: var(--white);
        border: 1px solid var(--outline);
    }

    .mobile-nav.is-open {
        display: grid;
        gap: 4px;
    }

    .hero__grid,
    .split,
    .contact-grid,
    .blog-layout,
    .legal-layout,
    .single-article__layout,
    .subject-layout {
        grid-template-columns: 1fr;
    }

    .subject-side {
        position: static;
    }

    .article-side {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .card-grid--3,
    .card-grid--4,
    .content-grid,
    .ratio-grid,
    .question-list,
    .related-posts__grid,
    .topic-grid,
    .topic-grid--wide,
    .glossary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-footer__inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-nav {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .container,
    .site-header__inner,
    .site-footer__inner,
    .site-footer__copy {
        width: min(calc(100% - 32px), var(--container));
    }

    .site-brand__text {
        max-width: 190px;
    }

    .site-brand img {
        height: 38px;
        max-width: 220px;
    }

    .site-brand--footer img {
        height: 36px;
        max-width: 220px;
    }

    .hero,
    .page-hero {
        padding: 120px 0 56px;
    }

    .section {
        padding: 56px 0;
    }

    .card-grid--3,
    .card-grid--4,
    .content-grid,
    .info-table,
    .ratio-grid,
    .question-list,
    .related-posts__grid,
    .article-side,
    .topic-grid,
    .topic-grid--wide,
    .glossary-grid {
        grid-template-columns: 1fr;
    }

    .process-timeline article {
        grid-template-columns: 1fr;
    }

    .single-article__content {
        padding: 26px;
        font-size: 16px;
    }

    .author-box {
        grid-template-columns: 1fr;
    }

    .post-card a {
        grid-template-columns: 1fr;
    }

    .timeline article {
        padding: 72px 20px 20px;
    }

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

    .timeline span {
        left: 20px;
        top: 20px;
    }

    .hero__actions {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }
}
