:root {
    --color-primary: #1f3c88;
    --color-secondary: #f44336;
    --color-background: #ffffff;
    --color-muted: #6b7280;
    --font-base: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

body {
    margin: 0;
    font-family: var(--font-base);
    background: var(--color-background);
    color: #1f2937;
    line-height: 1.6;
}

a {
    color: var(--color-primary);
    text-decoration: none;
}

a:hover,
a:focus {
    text-decoration: underline;
}

.container {
    width: min(1100px, 92%);
    margin: 0 auto;
}

.site-header {
    background: linear-gradient(120deg, #102a68, #1f3c88);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.15rem;
    color: #fff;
}

.brand-logo {
    height: clamp(28px, 4vw, 36px);
    width: auto;
    display: block;
}

.brand-name {
    display: inline-block;
    line-height: 1.1;
}

.site-nav {
    display: flex;
    gap: 1.15rem;
}

.site-nav a {
    color: #e5e7eb;
    font-weight: 500;
}

.site-nav a:hover {
    color: #fff;
}

.app-banner {
    background: linear-gradient(110deg, #0f172a, #1f3c88);
    color: #f8fafc;
}

.app-banner__content {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 0;
}

.app-banner__text {
    display: grid;
    gap: 0.15rem;
    min-width: 0;
}

.app-banner__label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(226, 232, 240, 0.75);
}

.app-banner__headline {
    font-weight: 700;
    color: #ffffff;
}

.app-banner__actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.app-banner__close {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    cursor: pointer;
    display: grid;
    place-items: center;
    font-size: 1.1rem;
    transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.app-banner__close:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-1px);
}

.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.55rem 1rem;
    border-radius: 0.9rem;
    text-decoration: none;
    background: #ffffff;
    color: #0f172a;
    border: 1px solid #e5e7eb;
    box-shadow: 0 14px 30px -20px rgba(15, 23, 42, 0.45);
    min-width: 180px;
}

.store-badge small {
    display: block;
    font-size: 0.75rem;
    color: #6b7280;
}

.store-badge strong {
    display: block;
    font-size: 1rem;
    color: inherit;
}

.store-badge__icon {
    width: 40px;
    height: 40px;
    border-radius: 0.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(31, 60, 136, 0.1), rgba(16, 42, 104, 0.18));
    border: 1px solid rgba(31, 60, 136, 0.15);
}

.store-badge__icon svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.store-badge--apple {
    background: #0f172a;
    color: #f8fafc;
    border-color: rgba(255, 255, 255, 0.08);
}

.store-badge--apple small {
    color: #cbd5f5;
}

.store-badge--google .store-badge__icon {
    background: linear-gradient(135deg, #facc15, #22c55e, #3b82f6);
    border-color: transparent;
    color: #0f172a;
}

.ad-slot {
    padding: 1.2rem 0;
    border-bottom: 1px solid #e5e7eb;
    background: #f9fafb;
    text-align: center;
}

.ad-slot--bottom {
    margin-top: 2rem;
}

.ad-unit {
    margin: 2rem 0;
    text-align: center;
}

.ad-unit--inline {
    padding: 1.25rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    background: linear-gradient(180deg, #ffffff, #f9fafb);
    box-shadow: 0 20px 45px -30px rgba(15, 23, 42, 0.35);
}

.ad-unit--inline ins {
    display: block !important;
    margin: 0 auto;
}

.site-main {
    padding: 2.5rem 0;
}

.page-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #111827;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--color-muted);
    margin-bottom: 2rem;
}

.grid {
    display: grid;
    gap: 1.5rem;
}

.grid--two {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1.5rem;
    background: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px -15px rgba(0, 0, 0, 0.2);
}

.card h3 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
    color: #0f172a;
}

.card p {
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--color-muted);
}

.button {
    display: inline-block;
    padding: 0.65rem 1.25rem;
    border-radius: 999px;
    background: var(--color-primary);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
    background: #163177;
}

.button[aria-disabled="true"],
.button:disabled {
    pointer-events: none;
    opacity: 0.7;
}

.button--secondary {
    background: #fff;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
}

.button--secondary:hover {
    background: rgba(31, 60, 136, 0.12);
    color: var(--color-primary);
}

.button--link {
    background: transparent;
    color: var(--color-primary);
    padding: 0;
    border-radius: 0;
}

.button--link:hover {
    text-decoration: underline;
    background: transparent;
}

.stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
}

.stat {
    flex: 1 1 180px;
    padding: 1rem;
    border-radius: 0.75rem;
    background: linear-gradient(120deg, rgba(31, 60, 136, 0.1), rgba(244, 67, 54, 0.1));
}

.stat strong {
    display: block;
    font-size: 1.6rem;
    color: #102a68;
}

.hero {
    margin-bottom: 2.5rem;
    text-align: center;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.section {
    margin: 3rem 0;
}

.app-promo {
    background: linear-gradient(130deg, #0f172a, #1f3c88);
    color: #e5e7eb;
    border-radius: 1.4rem;
    padding: 2.5rem;
    box-shadow: 0 25px 60px -35px rgba(15, 23, 42, 0.8);
}

.app-promo__content {
    display: grid;
    gap: 2rem;
    grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1fr);
    align-items: center;
}

.app-promo__text h2 {
    color: #ffffff;
    margin-bottom: 0.6rem;
}

.app-promo__text p {
    color: #e5e7eb;
}

.app-promo__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.85rem;
    color: #cbd5f5;
    margin-bottom: 0.4rem;
}

.app-promo__badges {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1.25rem;
}

.app-promo__card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1.25rem;
    padding: 1.5rem;
    backdrop-filter: blur(2px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.app-promo__card h3 {
    margin-top: 0;
    color: #ffffff;
}

.app-promo__card ul {
    margin: 1rem 0 0;
    padding-left: 1.2rem;
    color: #e5e7eb;
    display: grid;
    gap: 0.55rem;
}


.page--guide .guide-layout {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
}

.page--guide-detail .guide-layout {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
}

.guide-sidebar {
    position: sticky;
    top: 6rem;
    align-self: start;
}

.guide-nav {
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 1.5rem;
    background: #fff;
    box-shadow: 0 18px 40px -25px rgba(15, 23, 42, 0.4);
}

.guide-nav h2 {
    margin-top: 0;
    font-size: 1.2rem;
    color: #0f172a;
}

.guide-nav__list {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
    display: grid;
    gap: 1rem;
}

.guide-nav__chapter-link {
    font-weight: 600;
    color: #102a68;
    text-decoration: none;
    display: inline-block;
    transition: color 0.2s ease;
}

.guide-nav__chapter-link:hover,
.guide-nav__chapter-link:focus {
    color: var(--color-primary);
}

.guide-nav__chapter-link--active {
    color: var(--color-primary);
}

.guide-nav__list ul {
    list-style: none;
    margin: 0.6rem 0 0;
    padding-left: 0;
    display: grid;
    gap: 0.4rem;
}

.guide-nav__section-link {
    color: var(--color-muted);
    font-weight: 500;
    text-decoration: none;
    display: block;
    padding-left: 0.75rem;
    border-left: 3px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.guide-nav__section-link:hover,
.guide-nav__section-link:focus {
    color: var(--color-primary);
}

.guide-nav__section-link--active {
    color: #0f172a;
    font-weight: 600;
    border-color: var(--color-primary);
}

.guide-pagination {
    margin-top: 3rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-start;
}

.guide-pagination__link {
    flex: 1 1 240px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.9rem;
    color: #0f172a;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.guide-pagination__link:hover,
.guide-pagination__link:focus {
    border-color: var(--color-primary);
    box-shadow: 0 14px 30px -22px rgba(15, 23, 42, 0.6);
    transform: translateY(-2px);
}

.guide-pagination__link--prev {
    text-align: left;
}

.guide-pagination__link--next {
    text-align: right;
    margin-left: auto;
}

.guide-pagination__meta {
    display: grid;
    gap: 0.25rem;
}

.guide-pagination__label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-muted);
}

.guide-pagination__title {
    font-weight: 600;
    color: #0f172a;
}

.guide-pagination__arrow {
    font-size: 1.4rem;
    line-height: 1;
    color: var(--color-primary);
}

.guide-content section {
    margin-bottom: 2.5rem;
}

.guide-layout {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
}

.guide-sidebar {
    position: sticky;
    top: 6rem;
    align-self: start;
}

.guide-nav {
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 1.5rem;
    background: #fff;
    box-shadow: 0 18px 40px -25px rgba(15, 23, 42, 0.4);
}

.guide-nav h2 {
    margin-top: 0;
    font-size: 1.2rem;
    color: #0f172a;
}

.guide-nav__list {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
    display: grid;
    gap: 1rem;
}

.guide-nav__chapter-link {
    font-weight: 600;
    color: #102a68;
    text-decoration: none;
    display: inline-block;
    transition: color 0.2s ease;
}

.guide-nav__chapter-link:hover,
.guide-nav__chapter-link:focus {
    color: var(--color-primary);
}

.guide-nav__chapter-link--active {
    color: var(--color-primary);
}

.guide-nav__list ul {
    list-style: none;
    margin: 0.6rem 0 0;
    padding-left: 0;
    display: grid;
    gap: 0.4rem;
}

.guide-nav__section-link {
    color: var(--color-muted);
    font-weight: 500;
    text-decoration: none;
    display: block;
    padding-left: 0.75rem;
    border-left: 3px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.guide-nav__section-link:hover,
.guide-nav__section-link:focus {
    color: var(--color-primary);
}

.guide-nav__section-link--active {
    color: #0f172a;
    font-weight: 600;
    border-color: var(--color-primary);
}

.guide-content section {
    margin-bottom: 2.5rem;
}

.page--guide-detail .guide-section {
    max-width: 780px;
}

.page--guide-detail h2 {
    font-size: 1.45rem;
    color: #0f172a;
    margin-bottom: 0.6rem;
}

.page--guide-detail ul {
    padding-left: 1.15rem;
    margin: 0;
    display: grid;
    gap: 0.4rem;
}

.page--guide-detail blockquote {
    margin: 1rem 0;
    padding: 1rem 1.25rem;
    border-left: 4px solid var(--color-primary);
    background: rgba(31, 60, 136, 0.08);
    border-radius: 0.8rem;
    color: #102a68;
}

.note {
    background: rgba(255, 193, 7, 0.18);
    padding: 0.8rem 1rem;
    border-radius: 0.6rem;
    color: #7c4d00;
}

.contact-header {
    max-width: 650px;
    margin-bottom: 2rem;
}

.contact-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: minmax(0, 330px) minmax(0, 1fr);
    align-items: stretch;
}

.contact-panel {
    border-radius: 1.25rem;
    padding: 2rem;
    border: 1px solid #e5e7eb;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(243, 244, 246, 0.9));
    box-shadow: 0 24px 48px -30px rgba(15, 23, 42, 0.35);
}

.contact-panel h2 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    color: #0f172a;
}

.contact-panel--meta {
    position: relative;
    overflow: hidden;
}

.contact-panel--meta::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(31, 60, 136, 0.12), rgba(244, 67, 54, 0.08));
    pointer-events: none;
    border-radius: inherit;
}

.contact-panel--meta > * {
    position: relative;
}


.contact-email-card {
    margin-top: 1.5rem;
    padding: 1.1rem 1.4rem;
    border-radius: 1.1rem;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(209, 213, 219, 0.4);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.contact-email-card strong {
    display: block;
    margin-bottom: 0.3rem;
}

.contact-email-card a {
    color: var(--color-primary);
    font-weight: 600;
}

.contact-panel--form {
    background: #fff;
}

.contact-form {
    display: grid;
    gap: 1.4rem;
}

.form-row {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.form-group label {
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    padding: 1rem 1.1rem;
    border-radius: 1rem;
    border: 1px solid rgba(31, 60, 136, 0.08);
    font-size: 1rem;
    font-family: inherit;
    color: #0f172a;
    background: rgba(247, 249, 255, 0.95);
    transition: border-color 0.2s ease, box-shadow 0.25s ease, background 0.25s ease, transform 0.2s ease;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 10px 18px -20px rgba(15, 23, 42, 0.7);
    -webkit-appearance: none;
    appearance: none;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(31, 60, 136, 0.18), 0 16px 30px -22px rgba(31, 60, 136, 0.6);
    transform: translateY(-1px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(79, 90, 110, 0.7);
}

.form-group textarea {
    resize: vertical;
    min-height: 180px;
}

.label-optional {
    font-weight: 400;
    color: var(--color-muted);
}

.form-actions {
    display: flex;
    justify-content: flex-end;
}

.form-actions .button {
    padding-inline: 1.8rem;
}

.notice {
    border-radius: 0.9rem;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    border: 1px solid transparent;
}

.notice--success {
    background: rgba(16, 157, 88, 0.12);
    border-color: rgba(16, 157, 88, 0.4);
    color: #0f5132;
}

.notice--error {
    background: rgba(217, 48, 37, 0.12);
    border-color: rgba(217, 48, 37, 0.4);
    color: #6b1109;
}

.notice ul {
    margin: 0.5rem 0 0;
    padding-left: 1.2rem;
}

.faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1.2rem;
    margin-bottom: 1rem;
    background: #fff;
}

.faq-item h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    border: 1px solid #e5e7eb;
    padding: 0.75rem;
    text-align: left;
}

.table th {
    background: #f3f4f6;
}

.site-footer {
    background: #0f172a;
    color: #cbd5f5;
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links a {
    color: #e5e7eb;
}

.is-hidden {
    display: none !important;
}

.quiz-app {
    margin-top: 2rem;
}

.quiz-start {
    margin-bottom: 1.75rem;
}

.quiz-start .button {
    box-shadow: 0 16px 36px -24px rgba(31, 60, 136, 0.55);
}

.quiz-start .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 42px -22px rgba(31, 60, 136, 0.6);
}

.quiz-error {
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(220, 38, 38, 0.4);
    background: rgba(248, 113, 113, 0.1);
    color: #991b1b;
    font-weight: 500;
}

.quiz-container,
.quiz-results {
    border: 1px solid #d1d5db;
    border-radius: 1rem;
    padding: 1.5rem;
    background: #fff;
    box-shadow: 0 16px 45px -30px rgba(15, 23, 42, 0.6);
}

.quiz-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    font-weight: 600;
    color: #0f172a;
}

.quiz-progress__timer {
    font-weight: 500;
    color: var(--color-muted);
}

.quiz-question h2 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.quiz-choice {
    display: block;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 0.9rem 1rem;
    margin-bottom: 0.8rem;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.quiz-choice input {
    margin-right: 0.75rem;
}

.quiz-choice:hover {
    border-color: var(--color-primary);
    box-shadow: 0 12px 30px -22px rgba(31, 60, 136, 0.7);
}

.quiz-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
}

.quiz-results__summary {
    padding: 1.5rem;
    border-radius: 1rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.quiz-results__summary--pass {
    background: linear-gradient(120deg, #0f9d58, #1aaf5d);
}

.quiz-results__summary--fail {
    background: linear-gradient(120deg, #d93025, #ea4335);
}

.quiz-review {
    display: grid;
    gap: 1.25rem;
}

.quiz-review-item {
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1.25rem;
    background: #fff;
}

.quiz-review-item--correct {
    border-color: rgba(15, 157, 88, 0.4);
}

.quiz-review-item--incorrect {
    border-color: rgba(234, 67, 53, 0.4);
}

.quiz-review-item__prompt {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.quiz-review-item__explanation {
    margin-top: 0.75rem;
    color: var(--color-muted);
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-end;
}

.filters label {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-weight: 600;
}

.filters select {
    padding: 0.55rem 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid #d1d5db;
    min-width: 180px;
}

.question-list {
    margin-top: 2rem;
    display: grid;
    gap: 1.5rem;
}

.question-item {
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1.25rem;
    background: #fff;
}

.question-item__meta {
    font-size: 0.9rem;
    color: var(--color-muted);
}

.question-item__choices {
    margin: 1rem 0;
    padding-left: 1.25rem;
}

.question-item__choices li.is-correct {
    font-weight: 600;
    color: #0f9d58;
}

.question-item__explanation {
    color: var(--color-muted);
}

.question-list__empty,
.error {
    color: var(--color-muted);
}

.error {
    font-weight: 600;
}


@media (max-width: 768px) {
    .guide-layout, .page--guide .guide-layout, .page--guide-detail .guide-layout {
        grid-template-columns: 1fr;
    }

    .guide-sidebar {
        position: static;
        margin-bottom: 2rem;
    }

    .guide-layout {
        grid-template-columns: 1fr;
    }

    .guide-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .site-nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .site-main {
        padding: 1.8rem 0;
    }

    .page-title {
        font-size: 1.6rem;
    }

    .hero {
        text-align: left;
    }

    .hero-actions {
        justify-content: flex-start;
    }

    .brand-logo {
        height: 32px;
    }

    .app-banner__content {
        flex-direction: column;
        align-items: flex-start;
    }

    .app-banner__actions {
        width: 100%;
        justify-content: flex-start;
    }

    .store-badge {
        width: 100%;
        justify-content: center;
    }

    .app-promo__content {
        grid-template-columns: 1fr;
    }

    .quiz-actions {
        flex-direction: column;
        gap: 0.75rem;
    }

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

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .form-actions {
        justify-content: stretch;
    }

    .form-actions .button {
        width: 100%;
    }

    .contact-form {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .guide-layout, .page--guide .guide-layout, .page--guide-detail .guide-layout {
        grid-template-columns: 1fr;
    }

    .guide-sidebar {
        position: static;
        margin-bottom: 2rem;
    }
}

.guide-figure {
    margin: 1.5rem 0;
    text-align: center;
}

.guide-figure img {
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 12px 30px -25px rgba(15, 23, 42, 0.6);
}

.guide-content p {
    margin-bottom: 0.6rem;
    line-height: 1.55;
}

.page--guide-detail .guide-content p {
    margin-bottom: 0.75rem;
}

.page--guide-detail .guide-section > * + * {
    margin-top: 1.1rem;
}
