@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Sora:wght@500;600;700;800&display=swap");

:root {
    --ink: #16313f;
    --ink-soft: #58707b;
    --brand: #0f8b94;
    --brand-strong: #0b6970;
    --brand-deep: #0a4652;
    --brand-glow: rgba(15, 139, 148, 0.22);
    --accent: #e8f5f3;
    --accent-strong: #d3ece8;
    --paper: #f8fbfa;
    --paper-strong: #eef7f5;
    --surface: #ffffff;
    --warm: #f3dcc2;
    --rose: #f2b39c;
    --line: rgba(130, 165, 171, 0.26);
    --line-strong: rgba(92, 126, 133, 0.34);
    --shadow: 0 28px 70px rgba(22, 49, 63, 0.12);
    --shadow-soft: 0 16px 36px rgba(22, 49, 63, 0.09);
    --max-width: 1120px;
    --radius: 24px;
    --radius-sm: 16px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    position: relative;
    isolation: isolate;
    margin: 0;
    font-family: "Manrope", "Segoe UI", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(15, 139, 148, 0.16), transparent 24%),
        radial-gradient(circle at 92% 12%, rgba(242, 179, 156, 0.2), transparent 16%),
        linear-gradient(180deg, #fbfefd 0%, var(--paper) 100%);
    line-height: 1.6;
    overflow-x: hidden;
}

body::before,
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -2;
}

body::before {
    opacity: 0.18;
    background-image:
        linear-gradient(rgba(22, 49, 63, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(22, 49, 63, 0.05) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: radial-gradient(circle at center, black 26%, transparent 78%);
}

body::after {
    inset: auto;
    width: 30rem;
    height: 30rem;
    left: -8rem;
    top: 5rem;
    z-index: -1;
    background: radial-gradient(circle, rgba(15, 139, 148, 0.18), transparent 68%);
    filter: blur(18px);
    animation: drift 18s ease-in-out infinite;
}

a {
    color: var(--brand-strong);
}

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

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

.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 1000;
    background: var(--ink);
    color: #fff;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    text-decoration: none;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(18px);
    background: rgba(251, 254, 253, 0.84);
    border-bottom: 1px solid rgba(130, 165, 171, 0.18);
    box-shadow: 0 10px 30px rgba(22, 49, 63, 0.04);
}

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

.brand-mark {
    font-family: "Sora", "Segoe UI", sans-serif;
    color: var(--ink);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.brand-mark span {
    color: var(--brand);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.site-nav a {
    font-family: "Sora", "Segoe UI", sans-serif;
    text-decoration: none;
    color: var(--ink);
    font-weight: 600;
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.site-nav a[aria-current="page"],
.site-nav a:hover,
.site-nav a:focus-visible {
    background: rgba(15, 139, 148, 0.12);
    color: var(--brand-strong);
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink);
    border-radius: 999px;
    padding: 0.7rem 1rem;
    font-family: "Sora", "Segoe UI", sans-serif;
    font-weight: 700;
    cursor: pointer;
}

.hero,
.page-hero {
    padding: 5.5rem 0 3rem;
}

.hero-home,
.page-hero {
    position: relative;
    overflow: clip;
}

.hero-home::before,
.hero-home::after,
.page-hero::before,
.page-hero::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.hero-home::before {
    width: 34rem;
    height: 34rem;
    right: -8rem;
    top: -5rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(15, 139, 148, 0.16), transparent 68%);
    animation: drift 16s ease-in-out infinite;
}

.hero-home::after {
    width: 18rem;
    height: 18rem;
    left: -4rem;
    bottom: -4rem;
    border-radius: 40% 60% 60% 40%;
    background: radial-gradient(circle, rgba(243, 220, 194, 0.55), transparent 70%);
}

.page-hero::before {
    width: 28rem;
    height: 28rem;
    right: -10rem;
    top: -6rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(15, 139, 148, 0.14), transparent 70%);
}

.page-hero::after {
    width: 16rem;
    height: 16rem;
    left: -3rem;
    top: 3rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(242, 179, 156, 0.2), transparent 72%);
}

.hero-grid,
.split-layout,
.contact-layout,
.footer-grid {
    display: grid;
    gap: 2rem;
}

.hero-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.9fr);
    align-items: center;
}

.page-hero-inner,
.section-heading {
    max-width: 760px;
}

.page-hero-inner.narrow {
    max-width: 700px;
}

.page-hero-inner {
    position: relative;
    padding: 2.35rem 2.45rem;
    border-radius: 32px;
    border: 1px solid rgba(130, 165, 171, 0.2);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(14px);
}

.eyebrow {
    margin: 0 0 0.8rem;
    color: var(--brand-strong);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-family: "Sora", "Segoe UI", sans-serif;
}

h1,
h2,
h3 {
    font-family: "Sora", "Segoe UI", sans-serif;
    margin: 0 0 1rem;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

h1 {
    font-size: clamp(2.35rem, 4.6vw, 4.35rem);
    max-width: 11.5ch;
}

h2 {
    font-size: clamp(1.95rem, 3.5vw, 3.2rem);
}

h3 {
    font-size: 1.2rem;
}

p {
    margin: 0 0 1rem;
    color: var(--ink-soft);
}

.lead {
    font-size: 1.03rem;
    max-width: 66ch;
}

.hero-copy h1 {
    font-size: clamp(2.55rem, 4.9vw, 4.6rem);
    max-width: 11.2ch;
    line-height: 1.03;
}

.page-hero-inner h1 {
    font-size: clamp(2.15rem, 4.1vw, 3.95rem);
    max-width: 12ch;
    line-height: 1.04;
}

.page-hero-inner .lead {
    font-size: 0.99rem;
    max-width: 58ch;
}

.prose-card h2 {
    font-size: clamp(1.55rem, 2.7vw, 2.7rem);
    line-height: 1.08;
    margin-top: 1.1rem;
}

.prose-card h2:first-child {
    margin-top: 0;
}

.button-row,
.pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.button {
    font-family: "Sora", "Segoe UI", sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.2rem;
    padding: 0.85rem 1.2rem;
    border-radius: 999px;
    text-decoration: none;
    border: 1px solid transparent;
    font-weight: 700;
    transition: transform 0.25s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.25s ease;
    cursor: pointer;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 18px 32px rgba(10, 70, 82, 0.18);
}

.button-primary {
    background: linear-gradient(135deg, var(--brand) 0%, #16a1ab 100%);
    color: #fff;
}

.button-primary:hover,
.button-primary:focus-visible {
    background: linear-gradient(135deg, var(--brand-strong) 0%, var(--brand) 100%);
}

.button-secondary {
    background: rgba(15, 139, 148, 0.08);
    color: var(--brand-strong);
    border-color: rgba(15, 139, 148, 0.18);
}

.pill-list {
    padding: 0;
    list-style: none;
    margin: 1.25rem 0 0;
}

.pill-list li {
    padding: 0.55rem 0.9rem;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(15, 139, 148, 0.12);
    border-radius: 999px;
    color: var(--brand-strong);
    font-weight: 700;
    font-size: 0.94rem;
    box-shadow: 0 8px 20px rgba(22, 49, 63, 0.05);
}

.hero-panel,
.surface-card,
.note-card,
.prose-card,
.error-card {
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(130, 165, 171, 0.2);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
}

.hero-panel,
.surface-card,
.note-card,
.prose-card,
.error-card {
    padding: 1.6rem;
}

.metric-card {
    padding: 1rem 1.1rem;
    background: linear-gradient(180deg, rgba(15, 139, 148, 0.08), rgba(15, 139, 148, 0.03));
    border: 1px solid rgba(15, 139, 148, 0.12);
    border-radius: var(--radius-sm);
}

.metric-card + .metric-card {
    margin-top: 1rem;
}

.metric-card strong,
.note-card strong {
    display: block;
    margin-bottom: 0.35rem;
}

.section {
    padding: 1.5rem 0 4rem;
}

.section-alt {
    background:
        linear-gradient(180deg, rgba(232, 245, 243, 0.72), rgba(232, 245, 243, 0.14)),
        radial-gradient(circle at 12% 14%, rgba(243, 220, 194, 0.3), transparent 26%);
}

.section-accent {
    background:
        linear-gradient(180deg, rgba(15, 139, 148, 0.1), transparent),
        radial-gradient(circle at 92% 24%, rgba(242, 179, 156, 0.18), transparent 18%);
}

.section-heading {
    margin-bottom: 2rem;
}

.card-grid {
    display: grid;
    gap: 1.25rem;
}

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

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

.surface-card,
.note-card,
.prose-card {
    box-shadow: var(--shadow-soft);
}

.surface-card,
.faq-item,
.timeline-item,
.note-card,
.metric-card,
.prose-card {
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.surface-card:hover,
.faq-item:hover,
.timeline-item:hover,
.note-card:hover,
.metric-card:hover {
    transform: translateY(-5px);
    border-color: rgba(15, 139, 148, 0.22);
    box-shadow: 0 22px 42px rgba(22, 49, 63, 0.12);
}

.surface-card h3,
.surface-card h2,
.prose-card h2 {
    color: var(--ink);
}

.compact-card {
    align-self: start;
}

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

.faq-item {
    padding: 1.25rem 1.35rem;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
}

.detail-list,
.link-list,
.footer-links {
    margin: 0;
    padding-left: 1.15rem;
}

.detail-list li,
.link-list li,
.footer-links li {
    margin-bottom: 0.65rem;
    color: var(--ink-soft);
}

.link-list a {
    color: var(--brand-strong);
}

.timeline {
    display: grid;
    gap: 1rem;
}

.timeline-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: start;
    padding: 1.25rem 1.35rem;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
}

.timeline-step {
    width: 2.2rem;
    height: 2.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--brand);
    color: #fff;
    font-weight: 800;
    border-radius: 50%;
    box-shadow: 0 10px 22px rgba(15, 139, 148, 0.24);
}

.contact-layout {
    align-items: start;
}

.info-block + .info-block {
    margin-top: 1.5rem;
}

.form-help {
    margin-bottom: 1.25rem;
}

.hero-copy {
    position: relative;
    z-index: 1;
}

.hero-visual {
    position: relative;
    min-height: 35rem;
}

.hero-visual::before {
    content: "";
    position: absolute;
    inset: 3.5rem 2rem 2rem 3rem;
    border-radius: 36px;
    border: 1px dashed rgba(15, 139, 148, 0.18);
    opacity: 0.75;
}

.hero-illustration-shell {
    position: absolute;
    inset: 2.75rem 1rem 1rem 3rem;
    display: grid;
    place-items: center;
    border-radius: 36px;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.82), transparent 30%),
        linear-gradient(180deg, rgba(239, 247, 246, 0.95), rgba(226, 241, 238, 0.95));
    border: 1px solid rgba(130, 165, 171, 0.2);
    box-shadow: var(--shadow);
}

.hero-illustration {
    width: min(100%, 34rem);
    height: auto;
    animation: float 7.5s ease-in-out infinite;
}

.floating-card {
    position: absolute;
    z-index: 2;
    max-width: 15.5rem;
    padding: 1rem 1.05rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(130, 165, 171, 0.18);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(12px);
    animation: floatCard 7s ease-in-out infinite;
}

.floating-card strong {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--ink);
    font-family: "Sora", "Segoe UI", sans-serif;
}

.floating-card span {
    display: block;
    color: var(--ink-soft);
    font-size: 0.93rem;
}

.floating-eyebrow {
    display: inline-block;
    margin-bottom: 0.55rem;
    color: var(--brand-strong);
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-family: "Sora", "Segoe UI", sans-serif;
    font-weight: 700;
}

.floating-card-top {
    top: 0;
    left: 0;
}

.floating-card-right {
    top: 18%;
    right: 0;
    animation-delay: -2.4s;
}

.floating-card-bottom {
    left: 12%;
    bottom: 0;
    animation-delay: -4.8s;
}

.illustration-card {
    overflow: hidden;
}

.section-illustration {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 1rem;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(239, 247, 246, 0.95), rgba(226, 241, 238, 0.95));
    border: 1px solid rgba(130, 165, 171, 0.18);
}

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

.form-field {
    display: grid;
    gap: 0.45rem;
}

label {
    font-weight: 700;
    color: var(--ink);
}

input,
textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: 18px;
    border: 1px solid #bfd2d0;
    background: #fbfffe;
    color: var(--ink);
    font: inherit;
}

input:focus,
textarea:focus {
    outline: 2px solid rgba(13, 124, 134, 0.18);
    border-color: var(--brand);
}

.form-status {
    min-height: 1.5rem;
    margin-bottom: 0;
}

.policy-date {
    margin-top: 2rem;
}

.site-footer {
    position: relative;
    overflow: clip;
    padding: 3rem 0 1.6rem;
    background:
        radial-gradient(circle at top right, rgba(15, 139, 148, 0.22), transparent 22%),
        linear-gradient(180deg, #17313b 0%, #102633 100%);
    color: #fff;
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(232, 245, 243, 0.45), transparent);
}

.site-footer h2,
.site-footer p,
.site-footer li {
    color: #dceceb;
}

.site-footer h2 {
    margin-bottom: 1rem;
    font-size: 0.96rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-footer strong {
    color: #ffffff;
}

.site-footer .footer-links a,
.site-footer .link-list a {
    color: var(--accent);
}

.footer-grid {
    grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
    align-items: start;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(220, 236, 235, 0.16);
}

.footer-brand-block,
.footer-column {
    position: relative;
    padding: 1.25rem 1.3rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(232, 245, 243, 0.08);
}

.footer-brand,
.footer-brand:hover,
.footer-brand:focus-visible {
    color: #fff;
}

.footer-copy {
    max-width: 38ch;
}

.footer-badges,
.footer-links-clean,
.footer-contact-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1rem;
}

.footer-badges li {
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    background: rgba(232, 245, 243, 0.08);
    border: 1px solid rgba(232, 245, 243, 0.08);
    font-size: 0.86rem;
    color: #f0fbfa;
}

.footer-links-clean li,
.footer-contact-list li {
    margin-bottom: 0.8rem;
}

.footer-contact-list li {
    line-height: 1.5;
}

.footer-contact-list a {
    color: var(--accent);
}

.footer-meta {
    padding-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.75rem 2rem;
}

body.js-ready .page-hero-inner,
body.js-ready .hero-copy,
body.js-ready .hero-visual,
body.js-ready .section-heading,
body.js-ready .surface-card,
body.js-ready .note-card,
body.js-ready .prose-card,
body.js-ready .faq-item,
body.js-ready .timeline-item,
body.js-ready .hero-panel,
body.js-ready .metric-card,
body.js-ready .illustration-card {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

body.js-ready .is-visible {
    opacity: 1;
    transform: translateY(0);
}

.error-page {
    min-height: 100vh;
}

.error-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 2rem;
}

.error-card {
    max-width: 680px;
    text-align: center;
}

@keyframes drift {
    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(2.5rem, 1rem, 0) scale(1.08);
    }
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

@keyframes floatCard {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@media (max-width: 900px) {
    .hero-grid,
    .card-grid-3,
    .card-grid-2,
    .split-layout,
    .contact-layout,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    h1 {
        max-width: none;
    }

    .hero-copy h1,
    .page-hero-inner h1 {
        max-width: none;
    }

    .hero-visual {
        min-height: 30rem;
    }

    .hero-illustration-shell {
        inset: 2rem 0.5rem 1rem 1rem;
    }

    .hero-visual::before {
        inset: 2.5rem 1.2rem 1.2rem 1.2rem;
    }
}

@media (max-width: 760px) {
    .menu-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: absolute;
        left: 1rem;
        right: 1rem;
        top: calc(100% + 0.5rem);
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 0.85rem;
        background: rgba(252, 255, 254, 0.98);
        border: 1px solid var(--line);
        border-radius: 22px;
        box-shadow: var(--shadow);
    }

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

    .site-nav a {
        padding: 0.85rem 0.95rem;
    }

    .hero,
    .page-hero {
        padding-top: 4.75rem;
    }

    .page-hero-inner {
        padding: 1.7rem 1.35rem;
        border-radius: 24px;
    }

    .hero-copy h1 {
        font-size: clamp(2.35rem, 9vw, 3.5rem);
    }

    .page-hero-inner h1 {
        font-size: clamp(2rem, 8vw, 3.1rem);
    }

    .lead,
    .page-hero-inner .lead {
        font-size: 0.98rem;
    }

    .hero-home {
        padding-top: 5rem;
    }

    .hero-visual {
        min-height: 26rem;
    }

    .hero-illustration-shell {
        inset: 3.5rem 0 1rem 0;
        border-radius: 28px;
    }

    .hero-visual::before {
        inset: 4.2rem 0.8rem 1.6rem 0.8rem;
    }

    .floating-card {
        max-width: 13rem;
        padding: 0.85rem 0.9rem;
    }

    .floating-card-right {
        top: 14%;
    }

    .floating-card-bottom {
        left: 4%;
        right: 4%;
        max-width: none;
    }

    .footer-meta {
        flex-direction: column;
    }
}
