

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    
    --gold-50:  #FFF9E6;
    --gold-100: #FFF3CC;
    --gold-200: #FFE799;
    --gold-300: #FFDB66;
    --gold-400: #FFCF33;
    --gold-500: #FFC300;
    --gold-600: #E6B000;
    --gold-700: #B38900;
    --gold-800: #806200;
    --gold-900: #4D3B00;

    --slate-50:  #F8FAFC;
    --slate-100: #F1F5F9;
    --slate-200: #E2E8F0;
    --slate-300: #CBD5E1;
    --slate-400: #94A3B8;
    --slate-500: #64748B;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1E293B;
    --slate-900: #0F172A;
    --slate-950: #020617;

    --accent:    #2563EB;
    --accent-hover: #1D4ED8;
    --success:   #16A34A;
    --danger:    #DC2626;

    --bg-body:       linear-gradient(180deg, var(--gold-200) 0%, var(--gold-50) 18%, #FFFFFF 45%);
    --bg-card:       #FFFFFF;
    --bg-card-hover: #FEFCE8;
    --bg-footer:     var(--slate-900);

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Plus Jakarta Sans', var(--font-sans);
    --font-mono: 'SF Mono', 'Fira Code', 'Fira Mono', 'Roboto Mono', monospace;

    --container-max: 1200px;
    --gap:   1.5rem;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-xs: 6px;

    --shadow-sm:  0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
    --shadow-md:  0 4px 6px -1px rgba(0,0,0,.07), 0 2px 4px -2px rgba(0,0,0,.05);
    --shadow-lg:  0 10px 15px -3px rgba(0,0,0,.08), 0 4px 6px -4px rgba(0,0,0,.04);
    --shadow-xl:  0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.06);
    --shadow-gold: 0 4px 14px rgba(255, 195, 0, .25);

    --ease-out: cubic-bezier(.22, 1, .36, 1);
    --duration: .25s;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.7;
    color: var(--slate-800);
    background: var(--bg-body);
    min-height: 100vh;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .logo, .like-h2, .like-h4 {
    font-family: var(--font-heading);
}

.like-h2 {
    display: block;
    font-size: 1.5em;
    font-weight: bold;
}

.like-h4 {
    display: block;
    font-size: 1em;
    font-weight: bold;
}


.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--gap);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--duration) var(--ease-out); }
a:hover { color: var(--accent-hover); }

.site-header {
    z-index: 100;
    background: rgba(255, 255, 255, .85);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid var(--slate-200);
    transition: box-shadow var(--duration) var(--ease-out);
}
.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--slate-900);
    letter-spacing: -.02em;
}
.logo:hover { color: var(--gold-600); }
.logo-icon {
    font-size: 1.1rem;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,.15));
}

.main-nav {
    display: flex;
    gap: .25rem;
}
.nav-link {
    padding: .5rem 1rem;
    font-size: .9rem;
    font-weight: 500;
    color: var(--slate-600);
    border-radius: var(--radius-xs);
    transition: all var(--duration) var(--ease-out);
}
.nav-link:hover {
    color: var(--slate-900);
    background: var(--slate-100);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.hamburger .bar {
    width: 24px;
    height: 2.5px;
    background: var(--slate-700);
    border-radius: 2px;
    transition: all .3s var(--ease-out);
}

.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0,0,0,.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s var(--ease-out);
}
.mobile-nav-overlay.open {
    opacity: 1;
    pointer-events: auto;
}
.mobile-nav-panel {
    position: fixed;
    left: 100%;
    top: 0;
    bottom: 0;
    width: 100%;
    background: #fff;
    padding: 0;
    display: flex;
    flex-direction: column;
    transition: transform .35s var(--ease-out);
}
.mobile-nav-overlay.open .mobile-nav-panel {
    transform: translateX(-100%);
}
.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid var(--slate-100);
}
.mobile-menu-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--slate-900);
    letter-spacing: .02em;
}
.close-nav {
    background: none;
    border: none;
    font-size: 1.75rem;
    cursor: pointer;
    color: var(--slate-500);
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    transition: color var(--duration) var(--ease-out);
}
.close-nav:hover {
    color: var(--slate-900);
}
.mobile-nav-body {
    flex-grow: 1;
    padding: 1.5rem;
}
.mobile-nav-panel .nav-link {
    display: block;
    padding: 1.15rem 0;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--slate-800);
    letter-spacing: .02em;
    border-bottom: none;
    transition: color var(--duration) var(--ease-out);
}
.mobile-nav-panel .nav-link:hover {
    color: var(--accent);
}
.mobile-nav-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--slate-100);
    text-align: center;
    font-size: 0.85rem;
    color: var(--slate-500);
}

.hero {
    padding: 3rem 0 2.5rem;
    text-align: center;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    font-size: .85rem;
    color: var(--slate-400);
    margin-bottom: 1.25rem;
}
.breadcrumb a { color: var(--slate-500); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .current { color: var(--slate-700); font-weight: 500; }

.hero-title {
    font-size: clamp(1.8rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--slate-900);
    line-height: 1.15;
    letter-spacing: -.03em;
    margin-bottom: 1rem;
}
.hero-title .highlight {
    background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--slate-500);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.65;
}

.tool-section {
    padding: 0 0 3rem;
}
.tool-layout {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 960px;
    margin: 0 auto;
    gap: 2rem;
    align-items: start;
}
.tool-layout > * {
    min-width: 0;
}

.methods-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.methods-grid > * {
    min-width: 0;
}

.method-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--slate-200);
    transition: box-shadow var(--duration) var(--ease-out);
    display: flex;
    flex-direction: column;
}
.method-card:hover {
    box-shadow: var(--shadow-lg);
}

.method-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--slate-900);
    margin-bottom: .75rem;
    text-align: center;
}

.method-desc {
    font-size: .92rem;
    color: var(--slate-500);
    line-height: 1.65;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.method-buttons {
    display: flex;
    gap: .6rem;
    flex-wrap: wrap;
}

.btn-method {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .7rem 1.25rem;
    font-family: var(--font-sans);
    font-size: .88rem;
    font-weight: 700;
    color: #fff;
    background: var(--slate-900);
    border: 2px solid var(--slate-900);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--duration) var(--ease-out);
    white-space: nowrap;
    line-height: 1;
}
.btn-method:hover {
    background: var(--slate-700);
    border-color: var(--slate-700);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}
.btn-method:active {
    transform: translateY(0);
}
.btn-method.copied {
    background: var(--success);
    border-color: var(--success);
}

.btn-copy-main {
    margin-top: 1rem;
    align-self: center;
    padding: .7rem 2.5rem;
}

.method2-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.method2-output {
    flex: 1;
    height: 44px;
    padding: .5rem .75rem;
    border: 2px solid var(--slate-200);
    border-radius: var(--radius-sm);
    background: var(--slate-50);
    font-family: var(--font-mono);
    font-size: .95rem;
    color: var(--slate-800);
    resize: none;
    outline: none;
    transition: border-color var(--duration) var(--ease-out);
}
.method2-output:focus {
    border-color: var(--gold-400);
}

.stepper {
    display: flex;
    align-items: center;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 2px solid var(--slate-900);
    flex-shrink: 0;
}

.stepper-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--slate-900);
    color: #fff;
    border: none;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: background var(--duration) var(--ease-out);
    line-height: 1;
    padding: 0;
}
.stepper-btn:hover {
    background: var(--slate-700);
}

.stepper-input {
    width: 52px;
    height: 40px;
    text-align: center;
    border: none;
    border-left: 2px solid var(--slate-900);
    border-right: 2px solid var(--slate-900);
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    color: var(--slate-800);
    background: #fff;
    outline: none;
    -moz-appearance: textfield;
}
.stepper-input::-webkit-outer-spin-button,
.stepper-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.tool-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--slate-200);
    margin-bottom: 2rem;
    transition: box-shadow var(--duration) var(--ease-out);
}
.tool-card:hover {
    box-shadow: var(--shadow-lg);
}

.tool-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 1.25rem;
    padding-bottom: .75rem;
    border-bottom: 2px solid var(--gold-200);
}

.table-intro {
    font-size: .95rem;
    color: var(--slate-500);
    margin-bottom: 1.25rem;
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-sm);
    border: 1px solid var(--slate-200);
}

.char-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .88rem;
}
.char-table thead {
    background: var(--slate-800);
    color: #fff;
}
.char-table th {
    padding: .75rem 1rem;
    text-align: left;
    font-weight: 600;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    white-space: nowrap;
}
.char-table td {
    padding: .65rem 1rem;
    border-bottom: 1px solid var(--slate-100);
    color: var(--slate-700);
    vertical-align: middle;
}
.char-table tbody tr {
    transition: background var(--duration) var(--ease-out);
}
.char-table tbody tr:hover {
    background: var(--gold-50);
}
.char-table tbody tr:last-child td {
    border-bottom: none;
}
.char-table .mono {
    font-family: var(--font-mono);
    font-size: .82rem;
    color: var(--slate-500);
}

.btn-copy-cell {
    padding: .35rem .85rem;
    font-family: var(--font-sans);
    font-size: .78rem;
    font-weight: 600;
    background: var(--gold-100);
    color: var(--gold-800);
    border: 1px solid var(--gold-300);
    border-radius: var(--radius-xs);
    cursor: pointer;
    transition: all var(--duration) var(--ease-out);
    white-space: nowrap;
}
.btn-copy-cell:hover {
    background: var(--gold-200);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}
.btn-copy-cell.copied {
    background: var(--success);
    color: #fff;
    border-color: var(--success);
}

.char-table .btn-copy-cell {
    padding: 0.15rem 0.35rem;
    font-family: var(--font-mono);
    font-size: 1.05rem;
    font-weight: 500;
    background: none;
    color: #2563eb;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: color 0.15s ease-in-out;
    white-space: nowrap;
    text-decoration: none;
    box-shadow: none !important;
}
.char-table .btn-copy-cell:hover {
    color: #1d4ed8;
    background: none;
    transform: none;
    box-shadow: none;
    text-decoration: underline;
}
.char-table .btn-copy-cell.copied {
    color: var(--success);
    background: none;
    border: none;
    text-decoration: none;
}

.content-section {
    padding: 3rem 0 4rem;
}
.content-article {
    max-width: 800px;
    margin: 0 auto;
}
.content-article h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--slate-900);
    margin: 2.5rem 0 1rem;
    padding-bottom: .5rem;
    border-bottom: 2px solid var(--gold-200);
    line-height: 1.3;
}
.content-article h2:first-child {
    margin-top: 0;
}
.content-article p {
    margin-bottom: 1rem;
    color: var(--slate-600);
    line-height: 1.8;
}
.content-article a {
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.content-list {
    margin: 0 0 1.5rem 1.25rem;
    color: var(--slate-600);
}
.content-list li {
    margin-bottom: .6rem;
    line-height: 1.7;
    padding-left: .25rem;
}
.content-list.numbered {
    list-style: decimal;
}

.faq-list {
    margin-top: 1rem;
}
.faq-item {
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-sm);
    margin-bottom: .75rem;
    overflow: hidden;
    transition: border-color var(--duration) var(--ease-out);
}
.faq-item:hover {
    border-color: var(--gold-400);
}
.faq-item summary {
    padding: 1rem 1.25rem;
    font-weight: 600;
    color: var(--slate-800);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    gap: .75rem;
    transition: background var(--duration) var(--ease-out);
}
.faq-item summary:hover {
    background: var(--gold-50);
}
.faq-item summary::before {
    content: '+';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--gold-100);
    color: var(--gold-700);
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: all var(--duration) var(--ease-out);
}
.faq-item[open] summary::before {
    content: '−';
    background: var(--gold-500);
    color: #fff;
    transform: rotate(180deg);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p {
    padding: 0 1.25rem 1rem 3.5rem;
    color: var(--slate-500);
    line-height: 1.75;
}

.copy-toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(120px);
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 1.5rem;
    background: var(--slate-800);
    color: #fff;
    border-radius: 999px;
    font-size: .9rem;
    font-weight: 600;
    box-shadow: var(--shadow-xl);
    z-index: 500;
    transition: transform .4s var(--ease-out), opacity .4s var(--ease-out);
    opacity: 0;
    pointer-events: none;
}
.copy-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.site-footer {
    background: var(--bg-footer);
    color: var(--slate-400);
    padding: 3.5rem 0 0;
    margin-top: 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr .8fr;
    gap: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-logo { margin-bottom: 1rem; }
.footer-logo .logo-text { color: #fff; }
.footer-desc {
    font-size: .88rem;
    line-height: 1.7;
    color: var(--slate-400);
}

.footer-heading {
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--slate-300);
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
}
.footer-links li {
    margin-bottom: .5rem;
}
.footer-links a {
    font-size: .88rem;
    color: var(--slate-400);
    transition: color var(--duration) var(--ease-out);
}
.footer-links a:hover {
    color: var(--gold-400);
}

.social-icons {
    display: flex;
    gap: .85rem;
}
.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--slate-300);
    transition: all var(--duration) var(--ease-out);
}
.social-link:hover {
    background: var(--gold-500);
    border-color: var(--gold-500);
    color: var(--slate-950);
    transform: translateY(-2px);
}

.footer-bottom {
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: .82rem;
    color: var(--slate-500);
}
.footer-copy {
    margin: 0;
}
.footer-brand .social-icons {
    margin-top: 1.25rem;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    .main-nav { display: none; }
    .hamburger { display: flex; }

    .hero { padding: 2rem 0 1.5rem; }
    .hero-title { font-size: 1.6rem; }

    .methods-grid { grid-template-columns: 1fr; }
    .method-card { padding: 1.5rem; }
    .method-buttons { flex-direction: column; }
    .method-buttons .btn-method { width: 100%; }
    .method2-controls { flex-direction: column; }
    .method2-output { width: 100%; }

    .tool-card { padding: 1.25rem; }

    .char-table th,
    .char-table td {
        padding: .5rem .6rem;
        font-size: .8rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-bottom {
        justify-content: center;
        text-align: center;
        padding: 1.5rem 0 2rem;
    }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-inner   { animation: fadeInUp .6s var(--ease-out) both; }
.method-card  { animation: fadeInUp .6s var(--ease-out) .15s both; }
#method-2     { animation-delay: .25s; }
.tool-card    { animation: fadeInUp .6s var(--ease-out) .35s both; }

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 195, 0, .4); }
    50%      { box-shadow: 0 0 0 8px rgba(255, 195, 0, 0); }
}
.btn-primary:focus-visible {
    animation: pulse 1.5s infinite;
    outline: 2px solid var(--gold-600);
    outline-offset: 2px;
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--gold-500);
    outline-offset: 2px;
}

.test-card {
    margin-bottom: 2rem;
}
.test-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 0.5rem;
}
.test-card-desc {
    font-size: .95rem;
    color: var(--slate-500);
    margin-bottom: 1.25rem;
}
.test-input-wrapper {
    position: relative;
    width: 100%;
}
.test-textarea {
    width: 100%;
    height: 120px;
    padding: 1.25rem;
    padding-right: 120px; 
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-sm);
    background: var(--slate-50);
    color: var(--slate-800);
    font-family: var(--font-sans);
    font-size: .95rem;
    resize: none;
    outline: none;
    transition: border-color var(--duration) var(--ease-out), box-shadow var(--duration) var(--ease-out), background var(--duration) var(--ease-out);
}
.test-textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
    background: #fff;
}
.btn-paste {
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--slate-700);
    background: #fff;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-xs);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all var(--duration) var(--ease-out);
}
.btn-paste:hover {
    background: var(--slate-50);
    color: var(--slate-900);
    border-color: var(--slate-300);
    box-shadow: var(--shadow-md);
}
.btn-paste:active {
    transform: translateY(-50%) scale(0.98);
}
@media (max-width: 768px) {
    .test-textarea {
        padding-right: 1.25rem;
        height: 140px;
    }
    .btn-paste {
        position: static;
        transform: none;
        margin-top: 0.75rem;
        width: 100%;
    }
    .btn-paste:active {
        transform: scale(0.98);
    }
}

.toc-container {
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-sm);
    padding: 1.5rem;
    margin-bottom: 2.5rem;
}
.toc-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 1rem;
    border-bottom: none !important;
    padding-bottom: 0 !important;
}
.toc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 2rem;
}
.toc-grid ol {
    list-style: none;
    padding: 0;
    margin: 0;
}
.toc-grid li {
    margin-bottom: 0.4rem;
    font-size: 0.95rem;
}
.toc-grid a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.15s;
}
.toc-grid a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}
@media (max-width: 768px) {
    .toc-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}

.recommendation-box {
    margin-top: 1.5rem;
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-sm);
    background: #FFFBEB;
    border: 1px solid #FDE68A;
    color: #92400E;
    font-size: 0.92rem;
    line-height: 1.6;
}
.recommendation-title {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    color: #78350F;
    text-transform: uppercase;
    letter-spacing: .02em;
}
