:root {
    --navy: #062f6f;
    --deep: #0a3f86;
    --blue: #1598d0;
    --sky: #dff5ff;
    --mist: #f4fbff;
    --ink: #123047;
    --muted: #5f7284;
    --line: #c7e8f6;
    --white: #ffffff;
    --coral: #ff8f83;
    --mint: #9de1d7;
    --shadow: 0 24px 60px rgba(6, 47, 111, 0.14);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Nunito", Arial, sans-serif;
    color: var(--ink);
    background: linear-gradient(180deg, var(--mist) 0%, #ffffff 46%, #eef9ff 100%);
}

a {
    color: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 14px clamp(18px, 5vw, 70px);
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(199, 232, 246, 0.8);
    backdrop-filter: blur(16px);
}

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

.brand img {
    width: 92px;
    height: auto;
    display: block;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-nav a {
    text-decoration: none;
    color: var(--deep);
    font-weight: 800;
    padding: 10px 14px;
    border-radius: 999px;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--white);
    background: var(--navy);
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
    align-items: center;
    min-height: calc(100vh - 94px);
    gap: clamp(28px, 5vw, 70px);
    padding: clamp(36px, 6vw, 82px) clamp(18px, 6vw, 86px) 56px;
}

.hero h1,
.page-hero h1 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(2.3rem, 6vw, 5.6rem);
    line-height: 0.98;
    max-width: 860px;
    letter-spacing: 0;
}

.hero-text,
.page-hero p,
.story-copy p {
    color: var(--muted);
    font-size: 1.15rem;
    line-height: 1.75;
    max-width: 660px;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--blue);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-actions,
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    padding: 13px 20px;
    border: 0;
    border-radius: 999px;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
}

.button.primary {
    color: var(--white);
    background: var(--navy);
    box-shadow: 0 14px 30px rgba(6, 47, 111, 0.2);
}

.button.secondary {
    color: var(--navy);
    background: var(--sky);
}

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

.hero-logo-panel {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 420px;
    padding: clamp(18px, 4vw, 44px);
    background:
        radial-gradient(circle at 15% 18%, rgba(157, 225, 215, 0.55), transparent 30%),
        radial-gradient(circle at 82% 78%, rgba(255, 143, 131, 0.32), transparent 26%),
        #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.hero-logo-panel img {
    width: min(100%, 520px);
    height: auto;
}

.intro-band,
.home-product-showcase,
.story-band,
.cta-strip,
.site-footer {
    margin: 0 clamp(18px, 6vw, 86px);
    border-radius: 8px;
}

.home-product-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    align-items: center;
    gap: clamp(24px, 5vw, 56px);
    padding: clamp(18px, 3vw, 28px);
    background: #ffffff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.showcase-image {
    overflow: hidden;
    border-radius: 8px;
    background: var(--sky);
}

.showcase-image img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.showcase-copy {
    padding: clamp(8px, 3vw, 20px);
}

.showcase-copy h2 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.06;
}

.showcase-copy p {
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.7;
}

.intro-band {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    overflow: hidden;
    background: var(--line);
    border: 1px solid var(--line);
}

.intro-band div {
    padding: 26px;
    background: rgba(255, 255, 255, 0.88);
}

.intro-band span,
.feature-icon,
.product-kicker {
    color: var(--blue);
    font-weight: 900;
}

.intro-band p,
.features-grid p,
.product-copy p,
.contact-card dd {
    color: var(--muted);
    line-height: 1.65;
}

.section {
    padding: clamp(58px, 8vw, 100px) clamp(18px, 6vw, 86px);
}

.section-heading {
    max-width: 740px;
    margin-bottom: 28px;
}

.section-heading h2,
.story-copy h2,
.cta-strip h2,
.contact-card h2,
.contact-form h2,
.product-copy h2 {
    margin: 0;
    color: var(--navy);
    line-height: 1.08;
}

.section-heading h2,
.story-copy h2,
.cta-strip h2 {
    font-size: clamp(2rem, 4vw, 3.6rem);
}

.features-grid,
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.features-grid article,
.product-card,
.contact-card,
.contact-form {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 18px 46px rgba(6, 47, 111, 0.08);
}

.features-grid article {
    padding: 26px;
}

.features-grid h3 {
    color: var(--navy);
    font-size: 1.35rem;
}

.story-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: clamp(30px, 5vw, 56px);
    color: var(--white);
    background: linear-gradient(135deg, var(--navy), var(--blue));
}

.story-band .eyebrow,
.story-band h2,
.story-band p {
    color: var(--white);
}

.page-hero {
    padding: clamp(54px, 8vw, 96px) clamp(18px, 6vw, 86px) clamp(34px, 5vw, 54px);
}

.products-hero,
.contact-hero,
.info-hero {
    background:
        linear-gradient(120deg, rgba(223, 245, 255, 0.9), rgba(255, 255, 255, 0.7)),
        linear-gradient(90deg, transparent 0 60%, rgba(157, 225, 215, 0.32));
}

.info-tabs {
    position: sticky;
    top: 84px;
    z-index: 8;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 clamp(18px, 6vw, 86px);
    padding: 14px 0;
    background: rgba(244, 251, 255, 0.92);
    backdrop-filter: blur(12px);
}

.info-tabs a {
    padding: 10px 14px;
    color: var(--deep);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-weight: 900;
    text-decoration: none;
}

.info-tabs a:hover {
    color: var(--white);
    background: var(--navy);
}

.info-section {
    scroll-margin-top: 150px;
}

.soft-section {
    background: rgba(223, 245, 255, 0.38);
}

.month-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.info-card,
.timeline-card,
.tool-card,
.result-card,
.notice-card {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 18px 46px rgba(6, 47, 111, 0.08);
}

.info-card {
    padding: 24px;
}

.info-card span,
.timeline-card span {
    color: var(--blue);
    font-weight: 900;
}

.info-card h3 {
    margin: 10px 0;
    color: var(--navy);
    font-size: 1.14rem;
    line-height: 1.35;
}

.info-card p,
.timeline-card p,
.result-card p,
.notice-card p {
    color: var(--muted);
    line-height: 1.62;
}

.faq-block {
    margin-top: 42px;
}

.compact-heading {
    margin-bottom: 18px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.faq-card h3 {
    font-size: 1.2rem;
}

.timeline-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.timeline-card {
    min-height: 172px;
    padding: 18px;
}

.timeline-card p {
    margin-bottom: 0;
}

.calculator-section {
    scroll-margin-top: 150px;
}

.tool-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 1.1fr);
    gap: 20px;
    align-items: stretch;
}

.tool-card,
.result-card {
    padding: clamp(22px, 4vw, 34px);
}

.tool-card {
    display: grid;
    gap: 14px;
}

.tool-card label {
    display: grid;
    gap: 7px;
    color: var(--navy);
    font-weight: 900;
}

.tool-card input,
.tool-card select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 13px 14px;
    color: var(--ink);
    background: #fbfdff;
    font: inherit;
}

.result-card {
    display: grid;
    align-content: center;
    gap: 12px;
    background:
        radial-gradient(circle at 92% 10%, rgba(157, 225, 215, 0.3), transparent 24%),
        #ffffff;
}

.result-card strong {
    display: block;
    color: var(--navy);
    font-size: clamp(1.25rem, 3vw, 2rem);
    line-height: 1.2;
}

.notice-card,
.source-card {
    margin-top: 22px;
    padding: 22px;
    border-left: 5px solid var(--blue);
}

.source-card {
    border-left-color: var(--mint);
}

.notice-card strong,
.source-card strong {
    color: var(--navy);
    font-size: 1.15rem;
}

.source-card div {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.source-card a {
    padding: 9px 12px;
    color: var(--deep);
    background: var(--sky);
    border-radius: 999px;
    font-weight: 900;
    text-decoration: none;
}

.product-card {
    overflow: hidden;
}

.product-image {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: var(--sky);
}

.product-copy {
    padding: 24px;
}

.cta-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 30px;
    background: var(--sky);
    border: 1px solid var(--line);
}

.product-detail-section {
    padding-top: 0;
}

.feature-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.feature-gallery article {
    overflow: hidden;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 18px 46px rgba(6, 47, 111, 0.08);
}

.feature-gallery img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: var(--mist);
}

.feature-gallery h3,
.feature-gallery p {
    margin-left: 22px;
    margin-right: 22px;
}

.feature-gallery h3 {
    margin-top: 22px;
    color: var(--navy);
    font-size: 1.3rem;
}

.feature-gallery p {
    margin-bottom: 24px;
    color: var(--muted);
    line-height: 1.6;
}

.gallery-section {
    padding-top: 0;
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.image-gallery img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 14px 34px rgba(6, 47, 111, 0.08);
}

.contact-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 22px;
    padding: 38px clamp(18px, 6vw, 86px) 80px;
}

.contact-card,
.contact-form {
    padding: clamp(24px, 4vw, 38px);
}

.contact-card dl {
    margin: 24px 0 0;
}

.contact-card dt {
    margin-bottom: 8px;
    color: var(--navy);
    font-weight: 900;
}

.contact-card dd {
    margin: 0 0 8px;
}

.contact-card a {
    color: var(--deep);
    font-weight: 800;
}

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

.contact-form label {
    display: grid;
    gap: 8px;
    color: var(--navy);
    font-weight: 900;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 14px 16px;
    color: var(--ink);
    background: #fbfdff;
    font: inherit;
}

.contact-form textarea {
    resize: vertical;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 26px 0 38px;
    color: var(--muted);
}

.site-footer strong {
    display: block;
    color: var(--navy);
}

.site-footer small {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 0.9rem;
}

.site-footer a {
    color: var(--deep);
    font-weight: 800;
    text-decoration: none;
}

@media (max-width: 920px) {
    .hero,
    .home-product-showcase,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
    }

    .features-grid,
    .feature-gallery,
    .product-grid,
    .image-gallery,
    .month-grid,
    .faq-grid,
    .timeline-grid,
    .tool-layout,
    .intro-band {
        grid-template-columns: 1fr;
    }

    .story-band,
    .cta-strip,
    .site-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 620px) {
    .site-header {
        position: static;
        align-items: flex-start;
        flex-direction: column;
    }

    .main-nav {
        width: 100%;
        justify-content: space-between;
        gap: 4px;
        flex-wrap: wrap;
    }

    .main-nav a {
        flex: 1 1 46%;
        padding: 10px 8px;
        text-align: center;
        font-size: 0.9rem;
    }

    .brand img {
        width: 82px;
    }

    .hero-logo-panel {
        min-height: 280px;
    }

    .button {
        width: 100%;
    }

    .info-tabs {
        position: static;
    }
}
