:root {
    --bg: #f1f4f8;
    --paper: #ffffff;
    --soft: #e1e8f1;
    --ink: #17263d;
    --muted: #697991;
    --line: #d5deea;

    --red: #e2a52f;
    --blue: #2858a5;
    --tint: #fff1d2;
    --sky: #dce8f7;
    --gold: #d18b24;

    --shadow: 0 18px 50px #17263d16;
    --nav: #fffffff0;
    --foot: #14233b;
}

[data-theme=dark] {
    --bg: #101827;
    --paper: #19263a;
    --soft: #25364d;
    --ink: #f3f6fc;
    --muted: #a4b1c5;
    --line: #35465e;

    --red: #f4bd53;
    --blue: #82aaf0;
    --tint: #42351f;
    --sky: #203852;
    --gold: #f5c76d;

    --shadow: 0 20px 50px #0007;
    --nav: #19263aeb;
    --foot: #090f1b;
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 84px
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: "DM Sans", sans-serif;
    line-height: 1.65;
    overflow-x: hidden;
    transition: .3s
}

a {
    color: inherit;
    text-decoration: none
}

button,
input,
select,
textarea {
    font: inherit
}

.shell {
    width: min(1160px, calc(100% - 36px));
    margin: auto
}

.section {
    padding: 82px 0;
    border-top: 1px solid var(--line)
}

.skip {
    position: absolute;
    left: -9999px
}

.skip:focus {
    left: 0;
    z-index: 5000;
    background: var(--red);
    color: #fff;
    padding: 10px
}

.label {
    color: var(--red);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase
}

.head {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 30px;
    margin-bottom: 38px
}

.head h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 500;
    letter-spacing: -.06em;
    line-height: 1;
    margin: 0
}

.head p,
.muted {
    color: var(--muted)
}

.btn-main,
.btn-line {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .8rem 1.1rem;
    border: 1px solid var(--ink);
    border-radius: 3px;
    font-weight: 700;
    cursor: pointer
}

.btn-main {
    background: var(--ink);
    color: var(--paper)
}

.btn-main:hover {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
    transform: translateY(-2px)
}

.btn-line {
    background: transparent;
    color: var(--ink)
}

.btn-line:hover {
    background: var(--soft)
}

/* nav */
.nav {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    background: var(--nav);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line)
}

.nav-in {
    height: 70px;
    display: grid;
    grid-template-columns: 300px 1fr auto;
    align-items: center
}

.brand {
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: .6rem
}

.mark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    background: var(--red);
    color: #fff
}

.links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin: 0;
    padding: 0
}

.links a {
    font-size: .84rem;
    font-weight: 600;
    color: var(--muted);
    padding: .5rem 0;
    border-bottom: 2px solid transparent
}

.links a:hover,
.links a.active {
    color: var(--ink);
    border-color: var(--red)
}

.actions {
    display: flex;
    gap: .5rem
}

.icon {
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    background: var(--paper);
    color: var(--ink);
    display: grid;
    place-items: center
}

.mobile {
    display: none;
    background: var(--paper);
    padding: 10px 18px 18px
}

.mobile.open {
    display: grid
}

.mobile a {
    padding: .7rem 0;
    border-bottom: 1px solid var(--line)
}

#menu {
    display: none
}

/* hero */
.hero {
    min-height: 100svh;
    padding: 125px 0 55px;
    display: flex;
    align-items: center
}

.hero-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 55px;
    align-items: center
}

.hero h1 {
    font-size: clamp(3.2rem, 5vw, 4rem);
    line-height: .91;
    letter-spacing: -.08em;
    font-weight: 500;
    margin: 1rem 0
}

.hero h1 span {
    color: var(--red)
}

.hero p {
    font-size: 1.06rem;
    color: var(--muted);
    max-width: 540px
}

.hero-actions {
    display: flex;
    gap: .7rem;
    flex-wrap: wrap;
    margin: 1.5rem 0
}

.status {
    font-size: .84rem;
    color: var(--muted)
}

.status i {
    color: #318f68
}

.tools {
    margin-top: 1.7rem;
    border-top: 1px solid var(--line)
}

.tool-tabs {
    display: flex;
    gap: 1.2rem;
    border-bottom: 1px solid var(--line)
}

.tool-tab {
    background: 0;
    border: 0;
    border-bottom: 3px solid transparent;
    padding: .7rem 0;
    color: var(--muted);
    font-weight: 700
}

.tool-tab.on {
    color: var(--ink);
    border-color: var(--red)
}

.pane {
    display: none;
    padding-top: 1rem
}

.pane.on {
    display: block
}

.quick {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: .5rem
}

.field {
    width: 100%;
    background: var(--paper);
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 3px;
    padding: .78rem;
    outline: 0
}

.field:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--red) 15%, transparent)
}

.advice {
    margin-top: .6rem;
    background: var(--paper);
    border-left: 3px solid var(--red);
    padding: .8rem;
    font-size: .84rem;
    color: var(--muted)
}

.scene {
    position: relative;
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 15px
}

.scene svg {
    width: 100%;
    display: block
}

.hot {
    position: absolute;
    width: 33px;
    height: 33px;
    border: 0;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    box-shadow: 0 0 0 7px color-mix(in srgb, var(--red) 20%, transparent);
    animation: pulse 2s infinite
}

.hot:nth-of-type(1) {
    left: 18%;
    top: 44%
}

.hot:nth-of-type(2) {
    left: 48%;
    top: 30%;
    animation-delay: .5s
}

.hot:nth-of-type(3) {
    right: 16%;
    top: 52%;
    animation-delay: 1s
}

.hot:nth-of-type(4) {
    left: 47%;
    bottom: 18%;
    animation-delay: 1.5s
}

.scene-cap {
    border-top: 1px solid var(--line);
    padding: .8rem 0 0;
    color: var(--muted);
    font-size: .83rem
}

.sun {
    transform-origin: 408px 64px;
    animation: spin 30s linear infinite
}

.worker {
    animation: walk 4s ease-in-out infinite alternate
}

.roof {
    stroke-dasharray: 440;
    animation: draw 2s ease both
}

@keyframes pulse {
    50% {
        box-shadow: 0 0 0 12px transparent
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

@keyframes walk {
    to {
        transform: translateX(8px)
    }
}

@keyframes draw {
    from {
        stroke-dashoffset: 440
    }

    to {
        stroke-dashoffset: 0
    }
}

/* shared */
.about {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 60px
}

.about p {
    color: var(--muted)
}

.principle {
    padding: 0 0 1.2rem 1.3rem;
    margin-bottom: 1.2rem;
    border-left: 1px solid var(--line);
    border-bottom: 1px solid var(--line)
}

.principle h3 {
    font-size: 1rem;
    margin: .4rem 0
}

.principle p {
    font-size: .86rem;
    margin: 0
}

.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--line);
    margin-top: 42px
}

.feature {
    padding: 1.3rem;
    border-right: 1px solid var(--line)
}

.feature:last-child {
    border: 0
}

.feature i {
    color: var(--red);
    font-size: 1.25rem
}

.feature h3 {
    font-size: .93rem;
    margin: .6rem 0
}

.feature p {
    font-size: .8rem;
    color: var(--muted);
    margin: 0
}

/* services */
#services {
    background: var(--paper)
}

.services-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 42px
}

.index {
    position: sticky;
    top: 90px;
    align-self: start
}

.index button {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: .8rem 0;
    background: 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-weight: 600
}

.index button.on,
.index button:hover {
    color: var(--red)
}

.search {
    margin-bottom: 1rem
}

.service-stack {
    border-top: 1px solid var(--line)
}

.service {
    display: grid;
    grid-template-columns: 55px 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem .4rem;
    border-bottom: 1px solid var(--line);
    cursor: pointer
}

.service:hover {
    background: var(--bg);
    padding-left: .8rem
}

.service .em {
    font-size: 1.6rem
}

.service h3 {
    font-size: 1rem;
    margin: 0
}

.service p {
    font-size: .82rem;
    color: var(--muted);
    margin: .15rem 0
}

.service .arr {
    width: 36px;
    height: 36px;
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    color: var(--red)
}

.service:hover .arr {
    background: var(--red);
    color: #fff
}

/* why */
.why {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line)
}

.why article {
    background: var(--bg);
    padding: 1.6rem;
    min-height: 200px
}

.why small {
    color: var(--red)
}

.why i {
    display: block;
    font-size: 1.4rem;
    color: var(--blue);
    margin: 1rem 0
}

.why h3 {
    font-size: 1rem
}

.why p {
    font-size: .86rem;
    color: var(--muted)
}

.process {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
    margin-top: 38px
}

.process div {
    padding: 1.2rem 1rem 0 0
}

.process b {
    color: var(--red);
    font-size: .72rem
}

.process h4 {
    font-size: .92rem;
    margin: .4rem 0
}

.process p {
    font-size: .8rem;
    color: var(--muted)
}

/* ownership */
.own {
    padding: 65px 0;
    border-top: 1px solid var(--line)
}

.own-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center
}

.own:nth-of-type(even) .copy {
    order: 2
}

.own .big {
    font-size: 4rem
}

.own h2 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    letter-spacing: -.05em
}

.own p {
    color: var(--muted)
}

.list {
    list-style: none;
    padding: 0
}

.list li {
    padding: .6rem 0;
    border-bottom: 1px solid var(--line);
    font-size: .9rem
}

.list i {
    color: var(--red);
    margin-right: .5rem
}

.widget {
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 1.4rem
}

.widget h3 {
    font-size: 1rem
}

.choice {
    display: flex;
    gap: .6rem;
    padding: .65rem 0;
    border-bottom: 1px solid var(--line);
    font-size: .88rem
}

.choice input,
input[type=range] {
    accent-color: var(--red)
}

.bar {
    height: 6px;
    background: var(--soft);
    margin-top: 1rem
}

.bar span {
    display: block;
    height: 100%;
    background: var(--red);
    width: 0
}

.seg {
    display: flex;
    border: 1px solid var(--line);
    margin-bottom: 1rem
}

.seg button {
    flex: 1;
    border: 0;
    background: 0;
    color: var(--muted);
    padding: .7rem;
    font-weight: 700
}

.seg button.on {
    background: var(--ink);
    color: var(--paper)
}

.range label {
    display: flex;
    justify-content: space-between;
    font-size: .82rem;
    font-weight: 700
}

.range input {
    width: 100%
}

.pay {
    background: var(--tint);
    border-left: 3px solid var(--red);
    padding: 1rem
}

.pay strong {
    font-size: 1.45rem;
    display: block
}

/* testimonials faq */
.test-stage {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 45px
}

.customers {
    border-top: 1px solid var(--line)
}

.customers button {
    display: flex;
    width: 100%;
    gap: .6rem;
    align-items: center;
    background: 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    padding: .7rem 0;
    color: var(--muted);
    text-align: left
}

.customers button.on {
    color: var(--ink)
}

.avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--soft);
    display: grid;
    place-items: center;
    font-size: .73rem;
    font-weight: 700
}

.customers button.on .avatar {
    background: var(--red);
    color: #fff
}

.quote {
    background: var(--paper);
    border: 1px solid var(--line);
    padding: clamp(1.4rem, 5vw, 3rem);
    min-height: 320px
}

.quote .qm {
    font-size: 3.5rem;
    color: var(--red);
    line-height: .6
}

.quote blockquote {
    font-size: clamp(1.15rem, 3vw, 1.7rem);
    letter-spacing: -.02em;
    margin: 1.2rem 0
}

.stars {
    color: var(--gold);
    letter-spacing: .14em
}

.faq-grid {
    display: grid;
    grid-template-columns: .7fr 1.3fr;
    gap: 60px
}

.faq {
    border-top: 1px solid var(--line)
}

.faq-q {
    width: 100%;
    display: grid;
    grid-template-columns: 34px 1fr auto;
    gap: .5rem;
    background: 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    padding: 1rem 0;
    text-align: left;
    color: var(--ink);
    font-weight: 700
}

.faq-q span:first-child {
    color: var(--red);
    font-size: .72rem
}

.faq-q i {
    transition: .3s
}

.faq.open .faq-q i {
    transform: rotate(45deg)
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s
}

.faq-a p {
    padding: 0 1.8rem 1rem 34px;
    color: var(--muted);
    font-size: .88rem;
    margin: 0
}

/* newsletter contact */
.newsletter {
    background: var(--blue);
    color: #fff;
    padding: 65px 0
}

.nl-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 55px
}

.newsletter h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -.05em
}

.newsletter p {
    color: #ffffffc7
}

.form-grid,
.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .8rem
}

.wide {
    grid-column: 1/-1
}

.form-grid label,
.form-label {
    font-size: .75rem;
    font-weight: 700
}

.form-grid .field {
    background: #ffffff14;
    border-color: #ffffff55;
    color: #fff
}

.consent {
    display: flex;
    gap: .5rem;
    font-size: .76rem
}

.error {
    display: none;
    color: var(--red);
    font-size: .73rem
}

.unsubscribe {
    background: 0;
    border: 0;
    color: #fff;
    text-decoration: underline
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 45px
}

.contact-info {
    border-left: 1px solid var(--line);
    padding-left: 30px
}

.info {
    margin-bottom: 1.1rem
}

.info b {
    display: block;
    color: var(--muted);
    font-size: .73rem;
    text-transform: uppercase
}

.map {
    height: 190px;
    background: var(--sky);
    border: 1px solid var(--line)
}

.map svg {
    width: 100%;
    height: 100%
}

/* footer modal */
footer {
    background: var(--foot);
    color: #b9c4c7;
    padding: 55px 0 18px
}

.foot-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 35px
}

.foot-grid h3 {
    font-size: .78rem;
    color: #fff;
    text-transform: uppercase
}

.foot-grid p,
.foot-grid a {
    font-size: .84rem
}

.foot-links {
    list-style: none;
    padding: 0
}

.foot-links li {
    margin: .4rem 0
}

.bottom {
    border-top: 1px solid #ffffff24;
    margin-top: 35px;
    padding-top: 16px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    font-size: .76rem
}

.bottom a,
.bottom button {
    background: 0;
    border: 0;
    color: #b9c4c7;
    text-decoration: underline;
    padding: 0
}

.modal-content {
    background: var(--paper);
    color: var(--ink);
    border-radius: 3px
}

.modal-body h4 {
    font-size: 1rem;
    color: var(--red);
    margin-top: 1.2rem
}

.modal-body p {
    font-size: .88rem;
    color: var(--muted)
}

.close {
    background: var(--paper);
    color: var(--ink);
    border: 1px solid var(--line);
    width: 38px;
    height: 38px
}

.toastx {
    position: fixed;
    left: 50%;
    bottom: 20px;
    z-index: 3000;
    transform: translate(-50%, 100px);
    opacity: 0;
    background: var(--ink);
    color: var(--paper);
    padding: .75rem 1.1rem;
    transition: .35s
}

.toastx.show {
    transform: translate(-50%, 0);
    opacity: 1
}

.back {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 44px;
    height: 44px;
    background: var(--paper);
    color: var(--ink);
    border: 1px solid var(--line);
    opacity: 0;
    visibility: hidden
}

.back.show {
    opacity: 1;
    visibility: visible
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: .65s
}

.reveal.in {
    opacity: 1;
    transform: none
}

/* Page headers */
.page-header {
    padding: 140px 0 60px;
    background: var(--paper);
    border-bottom: 1px solid var(--line)
}

.page-header h1 {
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    font-weight: 500;
    letter-spacing: -.06em;
    line-height: 1;
    margin: .8rem 0
}

.page-header p {
    color: var(--muted);
    font-size: 1.1rem;
    max-width: 640px
}

/* Newsletter / Unsubscribe pages */
.auth-section {
    padding: 80px 0;
}

.auth-wrap {
    max-width: 560px;
    margin: auto;
    background: var(--paper);
    border: 1px solid var(--line);
    padding: 2.4rem;
    box-shadow: var(--shadow);
    border-radius: 3px
}

.auth-wrap h2 {
    font-size: 1.8rem;
    margin-bottom: .4rem
}

.auth-wrap .muted {
    margin-bottom: 1.5rem;
    font-size: .9rem
}

/* Legal pages */
.legal-content {
    padding: 60px 0 100px;
}

.legal-body {
    background: var(--paper);
    border: 1px solid var(--line);
    padding: clamp(1.5rem, 4vw, 3rem);
    border-radius: 3px;
    box-shadow: var(--shadow)
}

.legal-body h4 {
    font-size: 1.1rem;
    color: var(--red);
    margin-top: 1.8rem;
    margin-bottom: .6rem
}

.legal-body p {
    color: var(--muted);
    font-size: .95rem;
    line-height: 1.7
}

@media(max-width:1000px) {
    .links {
        display: none
    }

    #menu {
        display: grid
    }

    .nav-in {
        grid-template-columns: 1fr auto
    }

    .hero-grid,
    .about,
    .services-layout,
    .own-grid,
    .test-stage,
    .faq-grid,
    .nl-grid,
    .contact-grid {
        grid-template-columns: 1fr
    }

    .own:nth-of-type(even) .copy {
        order: 0
    }

    .index {
        position: static;
        display: flex;
        overflow: auto;
        gap: 1rem
    }

    .index button {
        min-width: max-content
    }

    .why {
        grid-template-columns: 1fr 1fr
    }

    .foot-grid {
        grid-template-columns: 1fr 1fr
    }

    .contact-info {
        border: 0;
        padding: 0
    }

    .head {
        grid-template-columns: 1fr;
        gap: 8px
    }
}

@media(max-width:600px) {
    .section {
        padding: 60px 0
    }

    .hero h1 {
        font-size: 3.35rem
    }

    .quick,
    .form-grid,
    .contact-form {
        grid-template-columns: 1fr
    }

    .wide {
        grid-column: auto
    }

    .features,
    .why,
    .process {
        grid-template-columns: 1fr
    }

    .feature {
        border-right: 0;
        border-bottom: 1px solid var(--line)
    }

    .foot-grid {
        grid-template-columns: 1fr
    }

    .actions .btn-main {
        display: none
    }

    .service p {
        display: none
    }

    .hot {
        display: none
    }
}

@media(prefers-reduced-motion:reduce) {

    *,
    *:before,
    *:after {
        animation: none !important;
        transition: none !important
    }

    html {
        scroll-behavior: auto
    }
}

.nav {
    display: block
}