/* Landing page layout and content styles. */
.hero {
    padding: 53px 0 0
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 9px
}

.dot {
    height: 6px;
    width: 6px;
    border-radius: 50%;
    background: #668d50
}

.hero-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    margin: 24px 0 40px
}

h1 {
    font-family: Manrope, sans-serif;
    font-weight: 500;
    font-size: clamp(44px, 5.4vw, 73px);
    letter-spacing: -4px;
    line-height: 1.08;
    margin: 0;
    max-width: 740px
}

h1 span {
    color: #85967d
}

.hero-aside {
    width: 280px;
    padding-bottom: 5px;
    flex-shrink: 0
}

.hero-aside p {
    font-size: 14px;
    line-height: 1.75;
    color: var(--muted);
    margin: 0 0 23px
}

.workspace {
    border-radius: 13px;
    overflow: hidden;
    background: #e4e8d9;
    box-shadow: 0 18px 55px #203c2710;
    border: 1px solid #d4ddcd;
    position: relative
}

.workspace-top {
    height: 57px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fffdf8;
    border-bottom: 1px solid #dce1d5;
    font-size: 11px
}

.workspace-top strong {
    font-size: 12px;
    font-weight: 600
}

.workspace-region {
    color: #a0ab96;
    margin-left: 10px;
    font-weight: 400
}

.demo-pill {
    font-size: 9px;
    border: 1px solid #d7ddcf;
    border-radius: 20px;
    padding: 5px 9px;
    color: #6a7867
}

.workspace-inner {
    display: grid;
    grid-template-columns: 310px 1fr;
    min-height: 410px
}

.feed {
    background: #fffdf8;
    padding: 23px;
    z-index: 2
}

.feed-title {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin-bottom: 15px
}

.feed-title span {
    color: #909b8b;
    font-size: 10px
}

.filter {
    display: flex;
    gap: 5px;
    margin-bottom: 18px
}

.filter button {
    border: 1px solid var(--line);
    background: transparent;
    font-size: 10px;
    padding: 7px 10px;
    border-radius: 5px;
    color: #677665
}

.filter button.active {
    background: var(--ink);
    color: white;
    border-color: var(--ink)
}

.record {
    width: 100%;
    text-align: left;
    background: transparent;
    border: 0;
    border-top: 1px solid #e8eadd;
    padding: 15px 0;
    color: var(--ink);
    display: block
}

.record[hidden] {
    display: none
}

.record.active {
    border-radius: 6px;
    background: #f1f4e9;
    padding: 15px 12px;
    border-top-color: transparent;
    margin-bottom: 5px
}

.record .type {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #7c8e72
}

.record h3 {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.5;
    margin: 6px 0
}

.record p {
    font-size: 10px;
    color: #8a9484;
    margin: 0
}

.map {
    position: relative;
    overflow: hidden;
    min-height: 410px;
    background: #e8ecdf
}

.map svg.terrain {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0
}

.map-label {
    position: absolute;
    font-size: 10px;
    letter-spacing: 2px;
    color: #98a18d;
    pointer-events: none
}

.map-label.valles {
    top: 20%;
    left: 14%
}

.map-label.barcelona {
    bottom: 23%;
    right: 18%
}

.pin {
    position: absolute;
    width: 29px;
    height: 29px;
    border: 5px solid #f8f9eb;
    background: #3e6550;
    border-radius: 50%;
    box-shadow: 0 2px 8px #294e3220;
    transition: transform .3s
}

.pin.p1 {
    left: 43%;
    top: 46%;
    background: #78913b
}

.pin.p2 {
    left: 68%;
    top: 65%
}

.pin.p3 {
    left: 28%;
    top: 70%
}

.pin.selected {
    transform: scale(1.25);
    outline: 1px solid #79945f;
    outline-offset: 6px
}

.map-key {
    position: absolute;
    bottom: 17px;
    right: 20px;
    font-size: 9px;
    color: #79836d;
    background: #f6f8ecde;
    padding: 8px 12px;
    border-radius: 5px
}

.mapcard {
    position: absolute;
    right: 30px;
    top: 36px;
    width: 225px;
    background: #fffef9;
    border-radius: 9px;
    padding: 18px;
    box-shadow: 0 10px 30px #30442412;
    font-size: 11px
}

.mapcard .small {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #88967c
}

.mapcard h3 {
    font-family: Manrope, sans-serif;
    font-size: 15px;
    font-weight: 600;
    margin: 10px 0;
    line-height: 1.5
}

.mapcard p {
    font-size: 11px;
    color: #7e8a74;
    line-height: 1.6
}

.mapcard footer {
    border-top: 1px solid #e6eadf;
    padding-top: 11px;
    font-size: 10px;
    display: flex;
    justify-content: space-between
}

.mapcard footer span {
    color: #7b8a6f
}

.under {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-size: 10px;
    color: #89927f;
    margin-top: 15px
}

.under b {
    font-weight: 500;
    color: #52634c
}

.section {
    padding: 100px 0
}

.section-heading {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: end;
    margin-bottom: 42px
}

h2 {
    font-family: Manrope, sans-serif;
    font-size: clamp(32px, 3.5vw, 45px);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -2px;
    margin: 16px 0 0
}

.section-heading p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
    max-width: 420px;
    margin: 0
}

.opportunities {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 17px
}

.opportunity {
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    background: #fffefa
}

.visual {
    height: 175px;
    position: relative;
    overflow: hidden;
    background: #eaeedf
}

.visual svg {
    width: 100%;
    height: 100%
}

.visual .caption {
    position: absolute;
    bottom: 13px;
    left: 17px;
    font-size: 9px;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: #fffff4d9;
    padding: 6px 9px;
    border-radius: 3px
}

.op-body {
    padding: 24px
}

.op-body .number {
    font-size: 10px;
    color: #91a082
}

.op-body h3 {
    font-family: Manrope, sans-serif;
    font-size: 19px;
    font-weight: 500;
    letter-spacing: -.5px;
    line-height: 1.4;
    margin: 12px 0
}

.op-body p {
    font-size: 12px;
    line-height: 1.9;
    color: var(--muted);
    margin-bottom: 0
}

.method {
    background: #edf1e6;
    border-top: 1px solid #e2e7db;
    border-bottom: 1px solid #e2e7db
}

.method-inner {
    padding: 66px 0;
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 90px
}

.method h2 {
    font-size: 36px
}

.method .intro {
    font-size: 13px;
    line-height: 1.9;
    color: var(--muted);
    max-width: 320px
}

.steps article {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 15px;
    padding: 21px 0;
    border-bottom: 1px solid #d5ddcc
}

.steps article:first-child {
    padding-top: 0
}

.steps article:last-child {
    border: 0
}

.steps .n {
    font-size: 11px;
    color: #8d9c7d;
    padding-top: 5px
}

.steps h3 {
    font-size: 14px;
    font-weight: 500;
    margin: 0 0 7px
}

.steps p {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.8;
    margin: 0
}

.integration {
    padding: 80px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center
}

.integration p {
    font-size: 13px;
    line-height: 1.9;
    color: var(--muted);
    max-width: 350px
}

.code {
    background: #1e382f;
    border-radius: 10px;
    padding: 25px;
    color: #d3dfd0;
    font-family: monospace;
    font-size: 11px;
    line-height: 1.9;
    overflow: auto
}

.code .dim {
    color: #829987
}

.code .lime {
    color: #d9ef81
}

.code-head {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #ffffff16;
    padding-bottom: 15px;
    margin-bottom: 19px;
    font-size: 10px;
    color: #a4b49f
}

.copy {
    color: #d9ef81;
    background: none;
    border: 0;
    font-size: 10px
}

.contact {
    background: #203c30;
    border-radius: 14px;
    padding: 55px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 65px;
    color: #f1f5e9
}

.contact h2 {
    font-size: 38px;
    margin: 0 0 16px
}

.contact p {
    font-size: 13px;
    color: #b4c4ae;
    line-height: 1.9;
    max-width: 380px
}

.contact .contact-note {
    font-size: 11px
}

.contact .eyebrow {
    color: #c8dc9d;
    margin-bottom: 20px
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px
}

.contact label {
    font-size: 10px;
    color: #c0ceb9;
    display: block;
    margin-bottom: 7px
}

.contact input {
    width: 100%;
    padding: 13px;
    background: #ffffff08;
    border: 1px solid #ffffff28;
    border-radius: 5px;
    color: white;
    font-size: 12px;
    margin-bottom: 14px
}

.contact input::placeholder {
    color: #98aa91
}

.contact .button {
    width: 100%;
    margin-top: 4px
}

.form-note {
    font-size: 10px !important;
    color: #9db093 !important;
    margin: 12px 0 0 !important
}

.main-footer {
    display: flex;
    justify-content: space-between;
    padding: 33px 0 35px;
    font-size: 10px;
    color: #8a9682;
    gap: 15px
}

.main-footer .brand {
    font-size: 19px;
    color: var(--ink)
}

.reveal {
    animation: appear .8s ease both
}

@keyframes appear {
    from {
        opacity: 0;
        transform: translateY(15px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@media(min-width:1500px) {
    .shell {
        max-width: 1380px
    }

    .hero {
        padding-top: 75px
    }
}

@media(max-width:1050px) {
    .shell {
        padding: 0 30px
    }

    h1 {
        font-size: 57px
    }

    .hero-aside {
        width: 240px
    }

    .mapcard {
        right: 17px;
        width: 195px
    }

    .method-inner,
    .integration {
        gap: 40px
    }

    .contact {
        gap: 35px;
        padding: 35px
    }
}

@media(max-width:760px) {
    .shell {
        padding: 0 21px
    }

    header {
        height: 78px
    }

    nav {
        display: none
    }

    .hero {
        padding-top: 35px
    }

    .hero-top {
        display: block
    }

    h1 {
        font-size: 48px;
        letter-spacing: -2.8px
    }

    .hero-aside {
        width: auto;
        margin-top: 23px;
        max-width: 390px
    }

    .workspace-inner {
        grid-template-columns: 1fr
    }

    .feed {
        display: none
    }

    .map {
        min-height: 340px
    }

    .workspace-top {
        padding: 0 14px
    }

    .mapcard {
        width: 200px
    }

    .under {
        font-size: 9px;
        line-height: 1.7;
        display: block
    }

    .under span {
        display: block
    }

    .section {
        padding: 64px 0
    }

    .section-heading {
        grid-template-columns: 1fr;
        gap: 23px
    }

    .opportunities {
        grid-template-columns: 1fr
    }

    .opportunity {
        display: grid;
        grid-template-columns: 120px 1fr
    }

    .visual {
        height: 100%;
        min-height: 200px
    }

    .visual .caption {
        left: 8px;
        font-size: 8px
    }

    .op-body {
        padding: 19px
    }

    .op-body h3 {
        font-size: 18px
    }

    .method-inner,
    .integration,
    .contact {
        grid-template-columns: 1fr;
        gap: 30px
    }

    .method-inner {
        padding: 45px 0
    }

    .integration {
        padding: 60px 0
    }

    .contact {
        padding: 28px
    }

    .contact h2 {
        font-size: 31px
    }

    .form-row {
        grid-template-columns: 1fr
    }

    .main-footer {
        align-items: center;
        flex-wrap: wrap
    }

    h2 {
        font-size: 34px
    }

    .hero-aside .button {
        width: 100%
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    .reveal {
        animation: none
    }

    * {
        transition: none !important
    }
}
