:root {
    color-scheme: light;
    --bg: #f7f8fc;
    --paper: #ffffff;
    --ink: #171423;
    --muted: #676276;
    --soft: #eef2f7;
    --line: rgba(31, 28, 44, 0.12);
    --line-strong: rgba(31, 28, 44, 0.18);
    --violet: #7057d8;
    --rose: #dc5d87;
    --teal: #0b9a9a;
    --leaf: #6eaa53;
    --shadow: 0 22px 70px rgba(54, 44, 84, 0.12);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: 0;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        linear-gradient(180deg, #ffffff 0%, var(--bg) 36%, #f4f8f7 100%);
    font-family: inherit;
    letter-spacing: 0;
    overflow-x: hidden;
}

section {
    scroll-margin-top: 104px;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
    letter-spacing: 0;
}

.topbar {
    position: fixed;
    z-index: 20;
    top: 18px;
    left: 50%;
    width: min(calc(100% - 32px), 1160px);
    min-height: 66px;
    display: grid;
    grid-template-columns: minmax(184px, auto) 1fr auto;
    align-items: center;
    gap: 18px;
    padding: 10px 12px;
    border: 1px solid rgba(31, 28, 44, 0.1);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.76));
    box-shadow: 0 18px 50px rgba(54, 44, 84, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(18px);
    transform: translateX(-50%);
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    font-weight: 900;
}

.brand span,
.footer-brand span {
    display: grid;
    gap: 1px;
    line-height: 1;
}

.brand strong,
.footer-brand strong {
    font-size: 15px;
}

.brand small,
.footer-brand small {
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.brand img,
.footer-brand img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    border-radius: 8px;
}

.topbar-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
    gap: 5px;
    padding: 4px;
    border: 1px solid rgba(31, 28, 44, 0.08);
    border-radius: 8px;
    background: rgba(247, 248, 252, 0.62);
}

.topbar-nav a {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    color: var(--muted);
    border-radius: 8px;
    font-weight: 700;
    transition: color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.topbar-nav a:hover {
    color: var(--ink);
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(54, 44, 84, 0.08);
}

.topbar-side {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.nav-status {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    padding: 0 11px;
    color: var(--teal);
    border: 1px solid rgba(11, 154, 154, 0.18);
    border-radius: 8px;
    background: rgba(232, 250, 248, 0.72);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.nav-action,
.btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border: 0;
    border-radius: 8px;
    font-weight: 850;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.nav-action {
    color: #ffffff;
    background: var(--ink);
}

.btn.primary {
    color: #ffffff;
    background: linear-gradient(135deg, var(--violet), var(--rose));
    box-shadow: 0 16px 34px rgba(112, 87, 216, 0.22);
}

.btn.secondary {
    color: var(--ink);
    border: 1px solid var(--line-strong);
    background: rgba(255, 255, 255, 0.78);
}

.nav-action:hover,
.btn:hover {
    transform: translateY(-2px);
}

.hero {
    position: relative;
    min-height: 90svh;
    overflow: hidden;
    padding: 130px max(22px, calc((100% - 1160px) / 2)) 80px;
    border-bottom: 1px solid rgba(31, 28, 44, 0.08);
    background:
        linear-gradient(118deg, rgba(255, 255, 255, 0.92) 0%, rgba(244, 235, 255, 0.84) 24%, rgba(229, 250, 255, 0.78) 48%, rgba(255, 235, 243, 0.78) 70%, rgba(240, 252, 238, 0.82) 100%);
    background-size: 240% 240%;
    display: grid;
    align-items: center;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.52;
    background:
        linear-gradient(90deg, rgba(11, 154, 154, 0.08) 0 1px, transparent 1px),
        linear-gradient(180deg, rgba(112, 87, 216, 0.07) 0 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.64) 42%, transparent 78%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-bg span {
    position: absolute;
    display: block;
}

.bg-ribbon {
    left: -22%;
    width: 144%;
    height: 260px;
    border: 1px solid rgba(112, 87, 216, 0.14);
    background:
        linear-gradient(90deg, transparent 0%, rgba(112, 87, 216, 0.26) 22%, rgba(11, 154, 154, 0.2) 50%, rgba(220, 93, 135, 0.24) 78%, transparent 100%);
    transform: rotate(-10deg);
}

.bg-ribbon-a {
    top: 22%;
}

.bg-ribbon-b {
    top: 54%;
    opacity: 0.72;
    transform: rotate(8deg);
    background:
        linear-gradient(90deg, transparent 0%, rgba(11, 154, 154, 0.2) 25%, rgba(112, 87, 216, 0.22) 58%, rgba(110, 170, 83, 0.18) 82%, transparent 100%);
}

.bg-lines {
    inset: -20%;
    opacity: 0.56;
    background:
        repeating-linear-gradient(120deg, transparent 0 58px, rgba(112, 87, 216, 0.08) 59px, transparent 64px),
        repeating-linear-gradient(64deg, transparent 0 96px, rgba(11, 154, 154, 0.055) 97px, transparent 103px);
}

.bg-sheen {
    top: -16%;
    right: 12%;
    width: 42%;
    height: 132%;
    opacity: 0.68;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.78), rgba(255, 220, 244, 0.34), transparent);
    transform: rotate(12deg);
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 0.98fr) minmax(360px, 0.82fr);
    gap: clamp(28px, 5vw, 76px);
    align-items: center;
}

.hero-inner {
    position: relative;
    width: min(650px, 100%);
}

.hero-visual {
    min-width: 0;
    display: grid;
    place-items: center;
    min-height: 520px;
}

.hero-mark {
    position: relative;
    z-index: 2;
    width: min(100%, 520px);
    max-height: 74svh;
    object-fit: contain;
    filter:
        drop-shadow(0 32px 72px rgba(112, 87, 216, 0.28))
        drop-shadow(0 10px 24px rgba(220, 93, 135, 0.16));
}

.eyebrow {
    margin: 0;
    color: var(--teal);
    font-size: 13px;
    line-height: 1.3;
    font-weight: 900;
    text-transform: uppercase;
}

.hero h1 {
    margin: 16px 0 0;
    font-size: 104px;
    line-height: 0.9;
    font-weight: 950;
}

.hero-copy {
    max-width: 610px;
    margin: 24px 0 0;
    color: var(--muted);
    font-size: 22px;
    line-height: 1.55;
}

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

.hero-actions {
    margin-top: 30px;
}

.hero-status {
    margin-top: 24px;
}

.hero-status span {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    color: var(--muted);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.66);
}

main > section:not(.hero) {
    width: min(calc(100% - 40px), 1160px);
    margin-inline: auto;
}

.intro,
.contact-section {
    padding: 96px 0 0;
}

.section-copy {
    max-width: 760px;
}

.section-copy h2,
.comfort-panel h2,
.contact-copy h2 {
    margin: 12px 0 0;
    font-size: 48px;
    line-height: 1.06;
}

.section-copy p:not(.eyebrow),
.comfort-panel p,
.contact-copy p {
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.62;
}

.contact-meta {
    display: grid;
    gap: 10px;
    margin: 26px 0 0;
}

.contact-meta div {
    display: grid;
    grid-template-columns: minmax(110px, .42fr) minmax(0, 1fr);
    gap: 14px;
    align-items: baseline;
    padding-top: 10px;
    border-top: 1px solid var(--line);
}

.contact-meta dt,
.contact-meta dd {
    margin: 0;
}

.contact-meta dt {
    color: var(--muted);
    font-size: 13px;
    font-weight: 850;
}

.contact-meta dd {
    color: var(--ink);
    font-weight: 800;
    overflow-wrap: anywhere;
}

.contact-meta a {
    color: var(--violet);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.contact-meta a[hidden] {
    display: none;
}

.intro-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 46px;
}

.intro-points article,
.comfort-list article {
    min-height: 210px;
    padding: 32px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 12px 34px rgba(54, 44, 84, 0.06);
}

.intro-points span {
    color: var(--rose);
    font-size: 13px;
    font-weight: 900;
}

.intro-points h3,
.comfort-list h3 {
    margin: 36px 0 0;
    font-size: 25px;
    line-height: 1.16;
}

.comfort-list h3 {
    margin-top: 0;
}

.intro-points p,
.comfort-list p {
    margin: 14px 0 0;
    color: var(--muted);
    line-height: 1.58;
}

.comfort {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 48px;
    align-items: start;
    margin-top: 96px;
    padding: 54px;
    border: 1px solid rgba(31, 28, 44, 0.1);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(11, 154, 154, 0.08), rgba(112, 87, 216, 0.06)),
        rgba(255, 255, 255, 0.72);
    box-shadow: var(--shadow);
}

.comfort-list {
    display: grid;
    gap: 16px;
}

.comfort-list article {
    min-height: auto;
}

.contact-section {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
    gap: 52px;
    align-items: start;
    margin-top: 96px;
    margin-bottom: 88px;
    padding: 54px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    box-shadow: var(--shadow);
}

.lead-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.lead-form label {
    display: grid;
    gap: 8px;
}

.lead-form label.wide,
.lead-form button,
.form-status {
    grid-column: 1 / -1;
}

.lead-form span {
    color: var(--muted);
    font-size: 14px;
    font-weight: 800;
}

.lead-form input,
.lead-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 13px 14px;
    color: var(--ink);
    background: #fbfcff;
    outline: none;
}

.lead-form textarea {
    min-height: 120px;
    resize: vertical;
}

.lead-form input:focus,
.lead-form textarea:focus {
    border-color: rgba(112, 87, 216, 0.55);
    box-shadow: 0 0 0 4px rgba(112, 87, 216, 0.1);
}

.topbar a:focus-visible,
.hero a:focus-visible,
.contact-meta a:focus-visible,
.lead-form input:focus-visible,
.lead-form textarea:focus-visible,
.lead-form button:focus-visible,
.footer a:focus-visible {
    outline: 3px solid var(--violet);
    outline-offset: 3px;
}

.lead-form button {
    width: fit-content;
    min-width: 180px;
}

.lead-form button:disabled {
    cursor: wait;
    opacity: 0.64;
    transform: none;
}

.form-status {
    min-height: 22px;
    margin: 0;
    color: var(--muted);
}

.form-status.ok {
    color: var(--teal);
}

.form-status.error {
    color: var(--rose);
}

.footer {
    width: 100%;
    margin-top: 18px;
    padding: 0 22px 34px;
    color: var(--ink);
    border-top: 1px solid rgba(31, 28, 44, 0.08);
    background:
        radial-gradient(circle at 18% 0%, rgba(112, 87, 216, 0.16), transparent 34%),
        radial-gradient(circle at 82% 18%, rgba(11, 154, 154, 0.14), transparent 30%),
        linear-gradient(135deg, #ffffff 0%, #f8f6ff 46%, #eefaf9 100%);
}

.footer-inner {
    width: min(100%, 1160px);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 44px;
    margin: 0 auto;
    padding: 38px 0 28px;
}

.footer-main {
    display: grid;
    gap: 18px;
    max-width: 470px;
}

.footer-brand {
    color: var(--ink);
}

.footer-brand small {
    color: var(--muted);
}

.footer-main p {
    margin: 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.55;
}

.footer-cta {
    width: fit-content;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    color: #ffffff;
    border-radius: 8px;
    background: var(--ink);
    font-weight: 900;
    box-shadow: 0 16px 34px rgba(54, 44, 84, 0.16);
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.footer-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 42px rgba(54, 44, 84, 0.2);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(150px, 1fr));
    gap: 34px;
    min-width: 340px;
}

.footer-links div {
    display: grid;
    gap: 9px;
}

.footer-links span {
    color: var(--teal);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.footer-links a {
    color: var(--muted);
    font-weight: 750;
    transition: color 160ms ease, transform 160ms ease;
}

.footer-links a:hover {
    color: var(--ink);
    transform: translateX(3px);
}

.footer-bottom {
    width: min(100%, 1160px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 0 auto;
    padding-top: 18px;
    color: rgba(103, 98, 118, 0.78);
    border-top: 1px solid rgba(31, 28, 44, 0.1);
    font-size: 13px;
    font-weight: 750;
}

@media (prefers-reduced-motion: no-preference) {
    .hero {
        animation: heroWash 14s ease-in-out infinite alternate;
    }

    .hero::before {
        animation: heroGridDrift 18s linear infinite;
    }

    .bg-ribbon-a {
        animation: heroRibbonA 14s ease-in-out infinite alternate;
    }

    .bg-ribbon-b {
        animation: heroRibbonB 16s ease-in-out infinite alternate;
    }

    .bg-lines {
        animation: heroLines 24s linear infinite;
    }

    .bg-sheen {
        animation: heroBackgroundSheen 9s ease-in-out infinite;
    }
}

@keyframes heroWash {
    from {
        background-position: 0% 42%;
    }
    to {
        background-position: 100% 58%;
    }
}

@keyframes heroGridDrift {
    from {
        background-position: 0 0, 0 0;
    }
    to {
        background-position: 72px 72px, 72px 72px;
    }
}

@keyframes heroRibbonA {
    from {
        translate: -5% -18px;
        opacity: 0.62;
    }
    to {
        translate: 5% 18px;
        opacity: 0.92;
    }
}

@keyframes heroRibbonB {
    from {
        translate: 6% 18px;
        opacity: 0.5;
    }
    to {
        translate: -6% -18px;
        opacity: 0.78;
    }
}

@keyframes heroLines {
    from {
        background-position: 0 0, 0 0;
    }
    to {
        background-position: 180px 120px, -160px 96px;
    }
}

@keyframes heroBackgroundSheen {
    0%, 100% {
        translate: -120% 0;
        opacity: 0;
    }
    42%, 58% {
        opacity: 0.48;
    }
    100% {
        translate: 120% 0;
    }
}

@media (max-width: 980px) {
    .topbar {
        grid-template-columns: auto auto;
        justify-content: space-between;
    }

    .topbar-nav {
        display: none;
    }

    .hero {
        min-height: auto;
        padding-top: 112px;
        padding-bottom: 54px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .hero h1 {
        font-size: 78px;
    }

    .hero-visual {
        min-height: 380px;
    }

    .hero-mark {
        width: min(100%, 420px);
    }

    .intro-points,
    .comfort,
    .contact-section {
        grid-template-columns: 1fr;
    }

    .contact-section {
        margin-top: 72px;
    }

    .footer-inner {
        display: grid;
        grid-template-columns: 1fr;
    }

    .footer-links {
        min-width: 0;
    }
}

@media (max-width: 640px) {
    .topbar {
        top: 10px;
        width: calc(100% - 20px);
        min-height: 58px;
        padding: 8px 8px 8px 12px;
    }

    .brand img,
    .footer-brand img {
        width: 34px;
        height: 34px;
    }

    .brand small {
        display: none;
    }

    .nav-status {
        display: none;
    }

    .nav-action {
        min-height: 40px;
        padding: 0 14px;
    }

    .hero {
        min-height: 94svh;
        padding: 94px 20px 34px;
    }

    .hero::before {
        mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.3) 54%, transparent 100%);
    }

    .hero-grid {
        gap: 18px;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero-copy {
        margin-top: 16px;
        font-size: 16.5px;
        line-height: 1.48;
    }

    .hero-actions {
        display: grid;
        gap: 10px;
        margin-top: 22px;
    }

    .btn {
        width: 100%;
    }

    .hero-status {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        margin-top: 16px;
    }

    .hero-status span {
        width: auto;
        min-height: 32px;
    }

    .hero-visual {
        min-height: 250px;
    }

    .hero-mark {
        width: min(100%, 270px);
        max-height: none;
    }

    main > section:not(.hero) {
        width: min(calc(100% - 28px), 1160px);
    }

    .intro {
        padding-top: 66px;
    }

    .intro-points {
        gap: 12px;
        margin-top: 30px;
    }

    .intro-points article,
    .comfort-list article {
        padding: 24px;
    }

    .comfort {
        margin-top: 66px;
    }

    .section-copy h2,
    .comfort-panel h2,
    .contact-copy h2 {
        font-size: 34px;
    }

    .comfort,
    .contact-section {
        padding: 28px 22px;
    }

    .comfort-list {
        gap: 12px;
    }

    .contact-section {
        margin-top: 66px;
        margin-bottom: 58px;
    }

    .lead-form {
        grid-template-columns: 1fr;
    }

    .contact-meta div {
        grid-template-columns: 1fr;
        gap: 5px;
    }

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

    .footer {
        padding: 0 18px 28px;
    }

    .footer-inner {
        gap: 28px;
        padding-top: 30px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }
}
