:root {
    --bg: #f5fbff;
    --bg-soft: #edf7fc;
    --surface: #ffffff;
    --surface-strong: #dff3fb;
    --text: #173042;
    --text-soft: #4f6776;
    --heading: #0d2740;
    --border: rgba(18, 86, 117, 0.12);
    --accent: #0d9ec6;
    --accent-deep: #08789a;
    --accent-soft: #e3f8ff;
    --success: #11795d;
    --error: #b43b4d;
    --shadow: 0 18px 40px rgba(17, 89, 120, 0.12);
    --radius-lg: 28px;
    --radius-md: 20px;
    --radius-sm: 14px;
    --container: 1120px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    background:
        radial-gradient(circle at top left, rgba(115, 212, 247, 0.26), transparent 24rem),
        linear-gradient(180deg, #f7fcff 0%, #eff8fd 42%, #f5fbff 100%);
    color: var(--text);
    line-height: 1.65;
}

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

a:hover,
a:focus-visible {
    color: var(--accent);
}

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

h1,
h2,
h3 {
    margin: 0 0 0.75rem;
    color: var(--heading);
    font-family: 'Outfit', sans-serif;
    line-height: 1.15;
}

h1 {
    font-size: clamp(2.35rem, 5vw, 4.4rem);
}

h2 {
    font-size: clamp(1.65rem, 3vw, 2.45rem);
}

h3 {
    font-size: 1.2rem;
}

p,
li {
    color: var(--text-soft);
}

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

main {
    padding-bottom: 4rem;
}

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

.skip-link {
    position: absolute;
    left: 1rem;
    top: -3rem;
    padding: 0.75rem 1rem;
    background: var(--heading);
    color: #fff;
    border-radius: 999px;
    z-index: 100;
}

.skip-link:focus {
    top: 1rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(16px);
    background: rgba(247, 252, 255, 0.88);
    border-bottom: 1px solid rgba(15, 92, 125, 0.08);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 5.25rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    color: var(--heading);
}

.brand__mark {
    width: 2.7rem;
    height: 2.7rem;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: linear-gradient(160deg, #50d0ef, #0f93be);
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.04em;
    box-shadow: 0 10px 24px rgba(15, 147, 190, 0.26);
}

.brand__name,
.brand__tag {
    display: block;
}

.brand__name {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

.brand__tag {
    font-size: 0.9rem;
    color: var(--text-soft);
}

.nav-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    padding: 0.45rem 0.65rem;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.8);
    color: var(--heading);
}

.nav-toggle__line {
    width: 1.25rem;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

.nav-toggle__label {
    font-size: 0.7rem;
    font-weight: 700;
}

.site-nav {
    position: absolute;
    top: calc(100% + 0.6rem);
    right: 1rem;
    left: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.5rem);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.site-nav ul,
.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav li + li {
    margin-top: 0.6rem;
}

.site-nav a {
    display: block;
    padding: 0.65rem 0.75rem;
    border-radius: 12px;
    color: var(--heading);
    font-weight: 700;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
    background: var(--accent-soft);
}

.hero {
    position: relative;
    overflow: hidden;
    padding: clamp(3.5rem, 8vw, 6.2rem) 0 2rem;
}

.hero::after {
    content: '';
    position: absolute;
    inset: auto -10% -5rem auto;
    width: 18rem;
    height: 18rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(62, 189, 230, 0.18), transparent 68%);
    pointer-events: none;
}

.hero__layout,
.section-grid,
.card-grid,
.info-grid,
.footer-grid,
.tips-grid,
.stats-row,
.checklist,
.contact-layout {
    display: grid;
    gap: 1rem;
}

.hero__eyebrow,
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(13, 158, 198, 0.1);
    color: var(--accent-deep);
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.hero__copy p,
.section-copy {
    max-width: 44rem;
}

.hero__actions,
.tag-row,
.inline-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.button-link,
.button-link--ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.75rem 1.15rem;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.button-link {
    background: linear-gradient(135deg, var(--accent), #52d2ed);
    color: #fff;
    box-shadow: 0 14px 28px rgba(15, 147, 190, 0.2);
}

.button-link--ghost {
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.8);
}

.button-link:hover,
.button-link--ghost:hover,
.button-link:focus-visible,
.button-link--ghost:focus-visible {
    transform: translateY(-2px);
}

.card,
.panel,
.tip-card,
.faq-item,
.table-wrap,
.contact-card,
.footer-card,
.notice,
.quote-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
}

.card,
.panel,
.tip-card,
.contact-card,
.footer-card,
.quote-card {
    padding: 1.35rem;
}

.card:hover,
.tip-card:hover,
.contact-card:hover,
.panel:hover {
    border-color: rgba(13, 158, 198, 0.24);
    transform: translateY(-4px);
}

.card,
.tip-card,
.contact-card,
.panel {
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.card__icon,
.stat-pill,
.tip-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2rem;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-deep);
    font-size: 0.85rem;
    font-weight: 800;
}

.page-section {
    padding: 1.1rem 0 0;
}

.section-head {
    margin-bottom: 1.25rem;
}

.stats-row {
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
    margin-top: 1.25rem;
}

.stat-pill {
    justify-content: flex-start;
    padding: 0.95rem 1rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border);
    color: var(--heading);
}

.checklist {
    grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}

.checklist li {
    padding: 1rem 1rem 1rem 2.9rem;
    position: relative;
    list-style: none;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
}

.checklist li::before {
    content: '✓';
    position: absolute;
    left: 1rem;
    top: 0.95rem;
    width: 1.35rem;
    height: 1.35rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent-deep);
    font-weight: 800;
}

.table-wrap {
    overflow-x: auto;
    padding: 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 40rem;
}

th,
td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

th {
    background: rgba(13, 158, 198, 0.08);
    color: var(--heading);
    font-family: 'Outfit', sans-serif;
}

.faq-list {
    display: grid;
    gap: 1rem;
}

.faq-item {
    padding: 0;
    overflow: hidden;
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 1.15rem 1.25rem;
    font-weight: 800;
    color: var(--heading);
}

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

.faq-item p {
    margin: 0;
    padding: 0 1.25rem 1.25rem;
}

.notice {
    padding: 1rem 1.15rem;
}

.notice--success {
    border-color: rgba(17, 121, 93, 0.18);
    background: rgba(17, 121, 93, 0.08);
}

.notice--error {
    border-color: rgba(180, 59, 77, 0.18);
    background: rgba(180, 59, 77, 0.08);
}

.quote-card {
    position: relative;
    overflow: hidden;
}

.quote-card::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 0.35rem;
    background: linear-gradient(180deg, var(--accent), #5fd8ef);
}

.tip-card {
    position: relative;
}

.tip-badge--advanced {
    background: rgba(9, 120, 154, 0.16);
}

.form-group {
    margin-bottom: 1rem;
}

label {
    display: block;
    margin-bottom: 0.45rem;
    font-weight: 700;
    color: var(--heading);
}

input,
textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(14, 83, 115, 0.18);
    border-radius: 14px;
    background: #fff;
    font: inherit;
    color: var(--text);
}

input:focus,
textarea:focus {
    outline: 2px solid rgba(13, 158, 198, 0.22);
    border-color: rgba(13, 158, 198, 0.4);
}

textarea {
    min-height: 11rem;
    resize: vertical;
}

.field-error {
    margin-top: 0.35rem;
    color: var(--error);
    font-size: 0.92rem;
}

.assistive-text {
    font-size: 0.95rem;
    color: var(--text-soft);
}

.site-footer {
    padding: 2rem 0 2.5rem;
    border-top: 1px solid rgba(18, 86, 117, 0.08);
    background: rgba(239, 248, 253, 0.7);
}

.footer-grid {
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

.footer-links li + li {
    margin-top: 0.45rem;
}

.footer-bottom {
    padding-top: 1rem;
}

.footer-bottom p {
    margin: 0;
    color: var(--text-soft);
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (min-width: 720px) {
    .hero__layout {
        grid-template-columns: 1.2fr 0.8fr;
        align-items: start;
    }

    .section-grid {
        grid-template-columns: 1.15fr 0.85fr;
    }

    .card-grid,
    .info-grid,
    .tips-grid,
    .contact-layout {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 980px) {
    .nav-toggle {
        display: none;
    }

    .site-nav {
        position: static;
        opacity: 1;
        pointer-events: auto;
        transform: none;
        padding: 0;
        background: transparent;
        border: 0;
        box-shadow: none;
    }

    .site-nav ul {
        display: flex;
        flex-wrap: wrap;
        gap: 0.45rem;
    }

    .site-nav li + li {
        margin-top: 0;
    }

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

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

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

    .contact-layout {
        grid-template-columns: 0.85fr 1.15fr;
    }
}

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

    .reveal,
    .reveal.is-visible,
    .card,
    .tip-card,
    .panel,
    .contact-card,
    .button-link,
    .button-link--ghost {
        transition: none;
        transform: none;
        opacity: 1;
    }
}

