/* Tutorial-specific layout layered over the shared home theme. */
body.tutorial-page { background: #f0f6f9; }
body.tutorial-page > section.tutorial-hero {
    width: var(--shell-width);
    margin: 18px auto 0;
    padding: 142px 32px 68px;
    border: 1px solid #215c70;
    border-radius: 32px;
    background: linear-gradient(115deg, #071d36, #103f61 65%, #007d83);
    box-shadow: 0 18px 42px rgba(7, 29, 54, 0.12);
}
body.tutorial-page .tutorial-hero::after { display: none; }
body.tutorial-page .tutorial-hero .section-kicker { color: #a9f5e6; }
body.tutorial-page .tutorial-hero h1 {
    color: #ffffff;
    font-size: clamp(34px, 4.5vw, 54px);
    letter-spacing: -0.04em;
    line-height: 1.15;
    text-wrap: balance;
}
body.tutorial-page .tutorial-hero h1 span { color: #55f3cf; }
body.tutorial-page .tutorial-hero p { color: #deedf5; line-height: 1.8; }
body.tutorial-page > section.tutorial-section { padding: 56px 24px 80px; }
body.tutorial-page .tutorial-shell {
    width: 100%;
    max-width: 1160px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}
body.tutorial-page .tutorial-tabs {
    width: fit-content;
    max-width: 100%;
    gap: 6px;
    padding: 6px;
    margin-bottom: 36px;
    border: 1px solid #d5e3ed;
    border-radius: 18px;
    background: #ffffff;
}
body.tutorial-page .tutorial-tab {
    min-height: 46px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: #425b70;
    letter-spacing: 0;
    box-shadow: none;
}
body.tutorial-page .tutorial-tab:hover { background: #e6f6f0; color: #006c67; }
body.tutorial-page .tutorial-tab.is-active { background: #102d46; color: #ffffff; }
body.tutorial-page .tutorial-header { margin-bottom: 32px; }
body.tutorial-page .tutorial-header h2 {
    letter-spacing: -0.035em;
    line-height: 1.2;
    text-wrap: balance;
}
body.tutorial-page .tutorial-header h2 span { color: #007e78; }
body.tutorial-page .tutorial-grid { gap: 24px; }
body.tutorial-page .tutorial-card {
    border-color: #d5e6ed;
    border-radius: 22px;
    box-shadow: 0 8px 24px rgba(16, 45, 70, 0.045);
}
body.tutorial-page .tutorial-card-media {
    padding: 20px;
    background: #e8f4f1;
    border-color: #d1e8df;
}
body.tutorial-page .tutorial-card-media img { border-radius: 12px; }
body.tutorial-page .tutorial-card-body { padding: 24px; }
body.tutorial-page .tutorial-step {
    background: #e0f5ed;
    border: 1px solid #b9dfd2;
    color: #006c67;
    border-radius: 8px;
    letter-spacing: 0.06em;
}
body.tutorial-page .tutorial-card h3 { font-size: 21px; line-height: 1.3; }
body.tutorial-page .tutorial-card p { line-height: 1.8; }
body.tutorial-page .nav-links a[aria-current="page"] { color: #006c67; background: #e6f6f0; }
body.tutorial-page .popup-box button { background: #007e78; color: #ffffff; border-radius: 12px; }
@media (hover: hover) {
    body.tutorial-page .tutorial-card:hover { transform: translateY(-4px); border-color: #8cc9bc; }
}
@media (min-width: 601px) and (max-width: 980px) {
    body.tutorial-page .tutorial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    body.tutorial-page > section.tutorial-hero { padding: 112px 22px 42px; border-radius: 24px; }
    body.tutorial-page > section.tutorial-section { padding: 32px 18px 56px; }
    body.tutorial-page .tutorial-tabs { width: 100%; flex-wrap: nowrap; gap: 4px; }
    body.tutorial-page .tutorial-tab { flex: 1; min-width: 0; padding: 12px 8px; font-size: 13px; }
    body.tutorial-page .tutorial-grid { grid-template-columns: 1fr; gap: 20px; }
    body.tutorial-page .tutorial-card-body { padding: 22px; }
    body.tutorial-page .tutorial-card-media { padding: 16px; }
    body.tutorial-page .tutorial-card h3 { font-size: 20px; }
    body.tutorial-page .tutorial-card p { font-size: 14px; }
}
