@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@0,500;0,600;1,500;1,600&display=swap');

:root {
    --ink: #17372c;
    --cream: #f7f4ec;
    --sage: #d9e5cc;
    --green: #7ea45e;
    --orange: #ea873e;
    --muted: #a8b3a9;
    --line: rgba(23, 55, 44, 0.18);
    --max: 1240px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: clip;
}

body {
    margin: 0;
    color: var(--ink);
    font-family: Manrope, Arial, sans-serif;
    background: var(--cream);
    overflow-x: clip;
    max-width: 100%;
}

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

.container {
    width: min(calc(100% - 96px), var(--max));
    margin: auto;
}

/* Header & Navigation */
.site-header {
    position: fixed;
    z-index: 20;
    top: 0;
    left: 0;
    width: 100%;
    transition: .3s ease;
}

.site-header.scrolled {
    background: rgba(20, 44, 36, .9);
    backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .1);
}

.nav {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #f8f6ef;
    transition: 300ms;
}
.scrolled .nav {
  height: 70px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -.05em;
}

.brand img {
    width: 30px;
    height: 30px;
}

.brand-badge {
    font: 500 10px 'DM Mono', monospace;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.15);
    padding: 3px 8px;
    border-radius: 100px;
    letter-spacing: .08em;
    opacity: .85;
}

.nav-back-studio {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font: 600 12px 'DM Mono', monospace;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 8px 16px;
    border-radius: 100px;
    color: var(--cream);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.nav-back-studio:hover {
    background: var(--orange);
    color: var(--ink);
    border-color: var(--orange);
    transform: translateX(-2px);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    padding: 5px 12px;
    border-radius: 999px;
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    user-select: none;
}

.lang-switch a.lang-opt {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: color 0.15s ease;
}

.lang-switch a.lang-opt:hover {
    color: var(--orange);
}

.lang-switch .lang-opt.active {
    color: #ffffff;
    pointer-events: none;
}

.lang-switch .lang-divider {
    color: rgba(255, 255, 255, 0.3);
    font-size: 10px;
}

.nav-links {
    display: flex;
    gap: 30px;
    margin-left: auto;
    margin-right: 36px;
    font-size: 13px;
    align-items: center;
}

.nav-links a {
    opacity: .78;
    transition: .2s;
}

.nav-links a:hover {
    opacity: 1;
}

.nav-cta, .button {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    border: 1px solid currentColor;
    border-radius: 100px;
    padding: 13px 20px;
    font-size: 12px;
    font-weight: 700;
    transition: .25s;
    cursor: pointer;
}

.nav-cta:hover, .button:hover {
    transform: translateY(-2px);
    background: var(--orange);
    border-color: var(--orange);
    color: var(--ink);
}

.menu-toggle {
    display: none;
    background: none;
    border: 0;
    padding: 8px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: currentColor;
    margin: 5px;
}

.section-dark {
    background: var(--ink);
    color: var(--cream);
}

.section-light {
    background: var(--cream);
}

.section-sage {
    background: var(--sage);
}

/* Hero */
.hero {
    min-height: max(790px, 100svh);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    width: 70vw;
    height: 70vw;
    right: -25vw;
    top: -20vw;
    background: radial-gradient(circle, rgba(126, 164, 94, .25), transparent 68%);
    pointer-events: none;
}

.hero-inner {
    width: min(calc(100% - 96px), var(--max));
    min-height: 100%;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
    padding: calc(var(--header-height, 90px) + 20px) 0 40px;
    position: relative;
    z-index: 2;
}

.hero-copy {
    position: relative;
    z-index: 2;
    max-width: 590px;
}

.eyebrow {
    font: 500 11px/1.2 'DM Mono', monospace;
    text-transform: uppercase;
    letter-spacing: .13em;
    color: #d5e2d3;
    margin: 0 0 27px;
}

.eyebrow-green {
    color: #668456;
}

.hero h1 {
    font-size: clamp(64px, 8vw, 122px);
    line-height: .9;
    letter-spacing: -.085em;
    margin: 0 0 32px;
    min-height: 1.8em;
}

.hero h1 .typing-line {
    display: block;
    min-height: 1em;
    white-space: nowrap;
}

.hero h1 .cursor {
    display: inline-block;
    width: 4px;
    height: .75em;
    background: var(--orange);
    margin-left: 6px;
    vertical-align: baseline;
    animation: blink 1s steps(1) infinite;
}

.hero-intro {
    max-width: 410px;
    color: #bdcabe;
    font-size: 16px;
    line-height: 1.65;
    margin: 0 0 35px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.button-light {
    background: var(--cream);
    color: var(--ink);
    border-color: var(--cream);
}

.button-dark {
    color: var(--cream);
    background: var(--ink);
    border-color: var(--ink);
}

.button-outline-light {
    background: transparent;
    color: var(--cream);
    border-color: rgba(255, 255, 255, 0.35);
}

.button-outline-light:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--cream);
    color: var(--cream);
    transform: translateY(-2px);
}

.hero-visual {
    height: 570px;
    position: relative;
}

.hero-card {
    position: absolute;
    border: 6px solid rgba(247, 244, 236, .9);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0, 0, 0, .3);
    background: #ddd;
}

.hero-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-card-main {
    width: 285px;
    height: 580px;
    right: 90px;
    top: -15px;
    transform: rotate(8deg);
}

.hero-card-side {
    width: 220px;
    height: 452px;
    right: -5px;
    bottom: -5px;
    transform: rotate(-10deg);
}

.orbit {
    position: absolute;
    border: 1px solid rgba(217, 229, 204, .28);
    border-radius: 50%;
    pointer-events: none;
}

.orbit-one {
    width: 470px;
    height: 470px;
    right: 0;
    top: 48px;
}

.orbit-two {
    width: 680px;
    height: 680px;
    right: -110px;
    top: -58px;
}

.scroll-cue {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: #93a69a;
    font: 10px 'DM Mono', monospace;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.scroll-cue i {
    font-style: normal;
    font-size: 20px;
    color: var(--orange);
}

/* About */
.about {
    padding: 140px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.07fr .93fr;
    gap: 9vw;
    align-items: center;
}

.about-media {
    height: 580px;
    overflow: hidden;
    border-radius: 12px;
}

.about-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-copy {
    max-width: 480px;
}

.about h2, .product h2 {
    font-size: clamp(50px, 6vw, 88px);
    line-height: .96;
    letter-spacing: -.075em;
    margin: 0 0 25px;
}

.about .lead, .product .lead {
    font-size: 23px;
    line-height: 1.35;
    letter-spacing: -.04em;
    margin: 0 0 25px;
}

.about-copy > p:not(.eyebrow):not(.lead) {
    color: #5c6a5f;
    line-height: 1.7;
    font-size: 15px;
    margin-bottom: 35px;
}

.text-link {
    font-size: 13px;
    border-bottom: 1px solid var(--ink);
    padding-bottom: 8px;
    font-weight: 600;
}

/* Product */
.product {
    padding: 140px 0 160px;
    overflow: hidden;
}

.product-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 7vw;
    align-items: center;
}

.product h2 em {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
}

.product-copy {
    max-width: 480px;
}

.feature-list {
    border-top: 1px solid var(--line);
    margin: 48px 0 40px;
}

.feature-list > div {
    display: flex;
    gap: 22px;
    border-bottom: 1px solid var(--line);
    padding: 17px 0;
}

.feature-number {
    font: 11px 'DM Mono', monospace;
    color: #708b61;
    padding-top: 4px;
}

.feature-list strong, .feature-list small {
    display: block;
}

.feature-list strong {
    font-size: 14px;
    margin-bottom: 5px;
}

.feature-list small {
    font-size: 12px;
    color: #687767;
}

.product-showcase {
    height: 680px;
    position: relative;
}

.showcase-backdrop {
    position: absolute;
    inset: 8% 8% 2% 12%;
    border-radius: 50%;
    background: #91b274;
    transform: rotate(-12deg);
}

.phone {
    position: absolute;
    filter: drop-shadow(25px 35px 26px rgba(23, 55, 44, .22));
    border-radius: 28px;
}

.phone-back {
    height: 500px;
    width: auto;
    left: 18%;
    top: 80px;
    transform: rotate(-12deg);
}

.phone-front {
    height: 610px;
    width: auto;
    right: 13%;
    top: 28px;
    transform: rotate(10deg);
}

.stat-bubble {
    position: absolute;
    background: var(--cream);
    border: 3px solid var(--ink);
    border-radius: 50%;
    width: 145px;
    height: 145px;
    right: 2%;
    bottom: 18%;
    padding: 35px 10px 0 28px;
    transform: rotate(8deg);
    box-shadow: 10px 15px 0 rgba(23, 55, 44, .14);
}

.stat-bubble span, .stat-bubble strong {
    display: block;
}

.stat-bubble span {
    font: 10px 'DM Mono', monospace;
    text-transform: uppercase;
}

.stat-bubble strong {
    font: 600 17px 'Playfair Display', serif;
    line-height: 1.1;
    margin-top: 4px;
}

.stat-bubble i {
    position: absolute;
    right: 22px;
    bottom: 24px;
    font-style: normal;
    color: var(--orange);
}

/* Footer */
.footer {
    padding: 48px 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #a9b8ad;
    font-size: 13px;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-brand {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.footer-brand > span:first-child {
    font-size: 22px;
    color: var(--cream);
    font-weight: 800;
    letter-spacing: -.06em;
}

.footer-tagline {
    font-size: 12px;
    color: #8fa093;
}

.footer-links-group {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-links-group a {
    transition: color .2s;
}

.footer-links-group a:hover {
    color: var(--cream);
}

.footer a.highlight-link {
    color: var(--orange);
}

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

.reveal.visible {
    opacity: 1;
    transform: none;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

@media (max-width: 800px) {
    .container {
        width: min(calc(100% - 42px), var(--max));
    }

    .nav {
        height: 72px;
    }

    .nav-links, .nav-cta, .nav-back-studio {
        display: none;
    }

    .menu-toggle {
        display: block;
        color: var(--cream);
    }

    .site-header.menu-open {
        background: rgba(20, 44, 36, .96);
        backdrop-filter: blur(16px);
    }

    .site-header.menu-open .nav {
        height: auto;
        min-height: 72px;
        flex-wrap: wrap;
    }

    .site-header.menu-open .nav-links {
        display: flex;
        order: 3;
        width: 100%;
        flex-direction: column;
        gap: 0;
        margin: 0;
        padding: 14px 0 20px;
    }

    .site-header.menu-open .nav-links a {
        padding: 14px 0;
        font-size: 16px;
    }

    .hero {
        min-height: 850px;
        height: auto;
    }

    .hero-inner {
        min-height: 850px;
        display: block;
        padding-top: 135px;
    }

    .hero h1 {
        font-size: clamp(40px, 13vw, 84px);
    }

    .hero-intro {
        font-size: 14px;
    }

    .hero-visual {
        height: 410px;
        margin-top: 15px;
    }

    .hero-card-main {
        width: 205px;
        height: 420px;
        right: 27%;
        top: 10px;
    }

    .hero-card-side {
        width: 155px;
        height: 320px;
        right: 1%;
        bottom: 0;
    }

    .orbit-one {
        width: 330px;
        height: 330px;
        right: 1%;
        top: 30px;
    }

    .orbit-two {
        width: 480px;
        height: 480px;
        right: -55px;
        top: -45px;
    }

    .scroll-cue {
        display: none;
    }

    .about, .product {
        padding: 85px 0;
    }

    .about-grid, .product-grid {
        display: flex;
        flex-direction: column;
        gap: 55px;
        align-items: stretch;
    }

    .about-media {
        height: 350px;
    }

    .about h2, .product h2 {
        font-size: 58px;
    }

    .about .lead, .product .lead {
        font-size: 20px;
    }

    .product-showcase {
        height: 540px;
        order: -1;
    }

    .phone-back {
        height: 380px;
        left: 7%;
        top: 72px;
    }

    .phone-front {
        height: 470px;
        right: 8%;
        top: 24px;
    }

    .stat-bubble {
        width: 125px;
        height: 125px;
        font-size: 14px;
        padding: 29px 8px 0 22px;
        bottom: 9%;
        right: 0;
    }

    .footer-inner {
        gap: 18px;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 480px) {
    .container {
        width: min(calc(100% - 32px), var(--max));
    }
}

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

    .reveal {
        transition: none;
    }

    .hero h1 .cursor {
        animation: none;
    }
}
