:root {
    --ink: #071821;
    --muted: #58717d;
    --deep: #082b3a;
    --blue: #0d6f9f;
    --aqua: #26c6b8;
    --foam: #eefbf9;
    --line: #d8e8eb;
    --card: #ffffff;
    --sun: #f2b84b;
    --shadow: 0 18px 50px rgba(7, 24, 33, 0.14);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--ink);
    background: #f7fbfb;
    line-height: 1.6;
}

a {
    color: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px clamp(18px, 5vw, 72px);
    background: rgba(247, 251, 251, 0.94);
    border-bottom: 1px solid rgba(216, 232, 235, 0.9);
    backdrop-filter: blur(12px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: 0;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: var(--deep);
    color: #fff;
    font-size: 13px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.site-nav a {
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--muted);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: color 0.2s ease, background 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
    color: var(--deep);
    background: #e6f6f5;
}

.nav-toggle {
    display: none;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 8px;
    padding: 10px 12px;
    color: var(--deep);
    font-weight: 800;
}

.hero {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--deep);
}

.hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(5, 22, 31, 0.88), rgba(5, 22, 31, 0.52) 44%, rgba(5, 22, 31, 0.08));
}

.hero-content {
    position: relative;
    width: min(720px, calc(100% - 36px));
    margin-left: clamp(18px, 6vw, 86px);
    color: #fff;
    padding: 64px 0;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--aqua);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 13px;
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

h1 {
    margin: 0;
    font-size: clamp(42px, 7vw, 86px);
    line-height: 0.98;
    letter-spacing: 0;
}

h2 {
    margin: 0 0 14px;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.08;
    letter-spacing: 0;
}

h3 {
    margin: 0 0 8px;
    font-size: 20px;
}

.hero-content p:not(.eyebrow),
.page-hero p:not(.eyebrow) {
    max-width: 650px;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.86);
}

.hero-actions,
.split-band {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 18px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn.primary {
    background: var(--aqua);
    color: #06252d;
}

.btn.secondary {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
}

.section {
    padding: clamp(56px, 8vw, 100px) clamp(18px, 5vw, 72px);
}

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

.intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 460px);
    gap: 28px;
    align-items: end;
}

.intro-grid p {
    color: var(--muted);
    max-width: 760px;
}

.info-strip {
    display: grid;
    gap: 10px;
    padding: 22px;
    background: var(--deep);
    color: #fff;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.info-strip span {
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.info-strip span:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

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

.feature-card,
.product-card,
.app-card,
.guide-card,
.contact-panel,
.contact-form {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(7, 24, 33, 0.06);
}

.feature-card,
.product-card,
.app-card,
.guide-card {
    padding: 24px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover,
.product-card:hover,
.app-card:hover,
.guide-card:hover {
    transform: translateY(-4px);
    border-color: rgba(38, 198, 184, 0.7);
}

.feature-card p,
.product-card p,
.app-card p,
.guide-card p,
.legal-copy p,
.content-narrow p {
    color: var(--muted);
}

.icon,
.app-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 18px;
    border-radius: 8px;
    background: #e6f6f5;
    color: var(--blue);
    font-weight: 900;
}

.split-band {
    justify-content: space-between;
    background: var(--deep);
    color: #fff;
}

.split-band div {
    max-width: 760px;
}

.split-band p {
    color: rgba(255, 255, 255, 0.78);
}

.page-hero {
    padding: clamp(64px, 10vw, 118px) clamp(18px, 5vw, 72px);
    background: radial-gradient(circle at 20% 20%, rgba(38, 198, 184, 0.22), transparent 34%), var(--deep);
    color: #fff;
}

.page-hero.compact {
    min-height: 340px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

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

.product-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-bottom: 18px;
}

.category {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 8px;
    background: var(--foam);
    color: var(--blue);
    font-size: 13px;
    font-weight: 800;
}

.product-card h2,
.app-card h2,
.guide-card h2,
.contact-panel h2,
.contact-form h2 {
    font-size: 24px;
}

.guide-list {
    display: grid;
    gap: 18px;
}

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

.content-narrow {
    max-width: 900px;
    margin: 0 auto;
}

.detail-list {
    padding: 20px;
    border-left: 4px solid var(--aqua);
    background: var(--foam);
    border-radius: 8px;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.2fr);
    gap: 24px;
    align-items: start;
}

.contact-panel,
.contact-form {
    padding: 26px;
}

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

.contact-form label {
    font-weight: 800;
}

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

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 3px solid rgba(38, 198, 184, 0.25);
    border-color: var(--aqua);
}

.notice {
    padding: 12px 14px;
    border-radius: 8px;
    font-weight: 700;
}

.notice p {
    margin: 0;
}

.notice.success {
    background: #e6f7ef;
    color: #11633b;
}

.notice.error {
    background: #fff0ed;
    color: #8a2d1f;
}

.site-footer {
    padding: 54px clamp(18px, 5vw, 72px) 26px;
    background: #06151d;
    color: rgba(255, 255, 255, 0.78);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1.1fr 0.8fr 0.9fr;
    gap: 28px;
}

.site-footer h2,
.site-footer h3 {
    color: #fff;
}

.site-footer a {
    display: block;
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    margin: 7px 0;
}

.site-footer a:hover {
    color: var(--aqua);
}

.copyright {
    margin: 34px 0 0;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1040px) {
    .catalog-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

@media (max-width: 760px) {
    .site-header {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .site-nav.is-open {
        display: flex;
    }

    .hero {
        min-height: 580px;
    }

    .hero-overlay {
        background: rgba(5, 22, 31, 0.72);
    }

    .hero-content {
        margin: 0 auto;
        padding: 54px 0;
    }

    .intro-grid,
    .feature-grid,
    .catalog-grid,
    .app-grid,
    .contact-layout,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .split-band {
        align-items: flex-start;
    }
}
