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

:root {
    color-scheme: dark;
    --ink: #080806;
    --paper: #f7f3ec;
    --muted: rgba(247, 243, 236, 0.66);
    --line: rgba(247, 243, 236, 0.2);
    --orange: #ff6f11;
    --amber: #ffc400;
}

* {
    box-sizing: border-box;
}

html,
body {
    min-width: 320px;
    min-height: 100%;
    margin: 0;
}

body {
    background: var(--ink);
    color: var(--paper);
    font-family: Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    overflow: hidden;
}

button,
a {
    font: inherit;
}

button {
    color: inherit;
}

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

.landing-shell {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-rows: auto 1fr auto;
    width: 100%;
    height: 100dvh;
    min-height: 620px;
    overflow: hidden;
    background: radial-gradient(ellipse at 50% 19%, #3d250f 0%, rgba(36, 21, 10, 0.68) 25%, rgba(8, 8, 6, 0) 64%), #080806;
}

.ambient {
    position: absolute;
    z-index: -2;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.ambient--top {
    top: -52vh;
    left: 28%;
    width: 46vw;
    height: 80vh;
    background: rgba(214, 119, 38, 0.4);
}

.ambient--left {
    bottom: -30vh;
    left: -7vw;
    width: 42vw;
    height: 68vh;
    background: rgba(33, 61, 53, 0.22);
}

.ambient--right {
    right: -10vw;
    bottom: -40vh;
    width: 45vw;
    height: 80vh;
    background: rgba(93, 26, 16, 0.28);
}

.grain {
    position: absolute;
    z-index: -1;
    inset: 0;
    pointer-events: none;
    opacity: 0.14;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

.site-header {
    width: min(100% - 64px, 1440px);
    margin: clamp(24px, 4vh, 56px) auto 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    padding: 12px 22px 12px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: background 180ms ease, border-color 180ms ease;
}

.brand:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.34);
}

.brand-mark {
    display: inline-block;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--orange) 28%, var(--amber));
    box-shadow: 0 0 25px rgba(255, 126, 11, 0.4);
}

.brand-name {
    font-size: 19px;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.language-picker {
    position: relative;
}

.language-toggle {
    display: inline-flex;
    align-items: center;
    gap: 19px;
    min-width: 152px;
    padding: 13px 17px 13px 21px;
    cursor: pointer;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.045);
    font-size: 15px;
    font-weight: 700;
    transition: border-color 180ms ease, background 180ms ease;
}

.language-toggle:hover,
.language-toggle:focus-visible {
    outline: none;
    border-color: rgba(255, 255, 255, 0.48);
    background: rgba(255, 255, 255, 0.09);
}

.language-toggle svg {
    width: 13px;
    transition: transform 160ms ease;
}

.language-toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.language-menu {
    position: absolute;
    top: calc(100% + 9px);
    right: 0;
    width: 152px;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    background: rgba(24, 22, 16, 0.98);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.42);
}

.language-menu[hidden] {
    display: none;
}

.language-menu button {
    width: 100%;
    padding: 10px 12px;
    border: 0;
    border-radius: 10px;
    cursor: pointer;
    background: transparent;
    text-align: left;
    font-size: 14px;
}

.language-menu button:hover,
.language-menu button:focus-visible {
    outline: 0;
    background: rgba(255, 255, 255, 0.1);
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 0;
    padding: 20px 24px;
    text-align: center;
}

.product-stage {
    position: relative;
    width: min(630px, 64vh);
    aspect-ratio: 1.29;
    overflow: hidden;
    border: 1px solid rgba(252, 237, 204, 0.1);
    border-radius: clamp(26px, 3vw, 44px);
    background: radial-gradient(circle at 65% 33%, rgba(236, 214, 146, 0.58), rgba(111, 82, 35, 0.3) 23%, transparent 50%), linear-gradient(125deg, #090a08 0%, #26190e 50%, #17130d 100%);
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.46), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.product-stage::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.3), transparent 46%, rgba(0, 0, 0, 0.14));
    pointer-events: none;
}

.stage-label {
    position: absolute;
    z-index: 3;
    right: 24px;
    top: 22px;
    font-family: "DM Mono", monospace;
    font-size: clamp(7px, 0.72vw, 9px);
    letter-spacing: 0.34em;
    color: rgba(255, 248, 234, 0.87);
}

.portrait-scene {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.scene-halo {
    position: absolute;
    top: 13%;
    right: 18%;
    width: 47%;
    height: 66%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 231, 166, 0.7) 0%, rgba(197, 138, 67, 0.26) 42%, transparent 69%);
    filter: blur(10px);
}

.scene-sweep {
    position: absolute;
    width: 69%;
    height: 22%;
    border-radius: 50%;
    filter: blur(24px);
    opacity: 0.8;
    background: radial-gradient(ellipse, rgba(230, 112, 24, 0.6), transparent 67%);
}

.scene-sweep--one {
    top: 31%;
    right: -14%;
    transform: rotate(-14deg);
}

.scene-sweep--two {
    bottom: 16%;
    right: -15%;
    transform: rotate(10deg);
    opacity: 0.42;
}

.ghost {
    position: absolute;
    z-index: 1;
    width: 19%;
    height: 73%;
    top: 18%;
    border-radius: 45% 45% 17% 17%;
    background: linear-gradient(155deg, #a94e15, #24120d 60%, #060604);
    filter: blur(7px);
    opacity: 0.76;
}

.ghost::before {
    content: "";
    position: absolute;
    left: 18%;
    top: -13%;
    width: 68%;
    height: 26%;
    border-radius: 50%;
    background: #a95b2b;
}

.ghost--left {
    left: 47%;
    transform: rotate(10deg);
}

.ghost--right {
    right: -1%;
    transform: rotate(-13deg);
    opacity: 0.88;
}

.model {
    position: absolute;
    z-index: 2;
    right: 20%;
    bottom: -7%;
    width: 35%;
    height: 81%;
    filter: drop-shadow(0 16px 17px rgba(0, 0, 0, .4));
}

.model-hair {
    position: absolute;
    z-index: 3;
    top: 2%;
    left: 29%;
    width: 46%;
    height: 21%;
    border-radius: 47% 53% 47% 44%;
    background: linear-gradient(110deg, #170d08, #352218 55%, #0a0604);
    transform: rotate(-5deg);
}

.model-face {
    position: absolute;
    z-index: 4;
    top: 8%;
    left: 34%;
    width: 36%;
    height: 25%;
    border-radius: 46% 50% 48% 48%;
    background: linear-gradient(105deg, #e4a679 0%, #bd744d 59%, #7a4128 100%);
    transform: rotate(7deg);
    box-shadow: inset -8px -5px 12px rgba(80, 35, 20, .28);
}

.model-face::after {
    content: "";
    position: absolute;
    top: 45%;
    right: 7%;
    width: 9%;
    height: 7%;
    border-radius: 50%;
    background: #3a160f;
    box-shadow: -23px -8px 0 -2px #30140d;
}

.model-neck {
    position: absolute;
    z-index: 2;
    top: 28%;
    left: 40%;
    width: 25%;
    height: 18%;
    background: linear-gradient(105deg, #d9986a, #9b583b);
    transform: rotate(6deg);
}

.model-body {
    position: absolute;
    bottom: 0;
    left: 1%;
    width: 100%;
    height: 66%;
    overflow: hidden;
    border-radius: 47% 47% 0 0 / 19% 19% 0 0;
    background: linear-gradient(100deg, #6c5844 0%, #ede3cd 38%, #af9e85 67%, #524236 100%);
    transform: rotate(4deg);
}

.model-body span {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 13%;
    background: rgba(92, 73, 51, 0.28);
    transform: skewX(-13deg);
}

.model-body span:nth-child(1) {
    left: 15%;
}

.model-body span:nth-child(2) {
    left: 35%;
}

.model-body span:nth-child(3) {
    left: 55%;
}

.model-body span:nth-child(4) {
    left: 75%;
}

.model-body span:nth-child(5) {
    left: 93%;
}

.prompt-panel {
    position: absolute;
    z-index: 5;
    top: 6.5%;
    left: 4%;
    width: 35%;
    min-height: 72%;
    display: flex;
    flex-direction: column;
    padding: clamp(12px, 1.5vw, 20px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: clamp(15px, 2vw, 22px);
    background: linear-gradient(145deg, rgba(27, 26, 21, 0.93), rgba(7, 8, 7, 0.92));
    box-shadow: 12px 18px 45px rgba(0, 0, 0, 0.25), inset 0 1px rgba(255, 255, 255, .06);
    text-align: left;
}

.panel-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: rgba(255, 255, 255, .57);
    font-family: "DM Mono", monospace;
    font-size: clamp(6px, .55vw, 8px);
    letter-spacing: .08em;
}

.panel-controls {
    display: flex;
    gap: 5px;
}

.panel-controls span {
    display: grid;
    width: 21px;
    height: 21px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 7px;
    font-family: Manrope, sans-serif;
    font-size: 10px;
}

.panel-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: clamp(11px, 1.5vw, 19px);
}

.panel-title-row h2 {
    margin: 0;
    font-size: clamp(13px, 1.2vw, 17px);
    letter-spacing: -0.05em;
}

.token-count {
    min-width: 55px;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 9px;
    text-align: center;
    color: rgba(255, 255, 255, .75);
    font-family: "DM Mono", monospace;
    font-size: clamp(8px, .6vw, 10px);
}

.prompt-copy {
    margin: clamp(10px, 1vw, 14px) 0;
    color: rgba(255, 255, 255, .73);
    font-size: clamp(7px, .63vw, 9px);
    line-height: 1.48;
}

.prompt-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.prompt-tags span {
    padding: 3px 6px;
    border-radius: 7px;
    background: rgba(255, 255, 255, .09);
    color: rgba(255, 255, 255, .7);
    font-size: clamp(5px, .5vw, 7px);
}

.panel-footer {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, .09);
}

.language-pill {
    display: grid;
    width: 28px;
    height: 25px;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 7px;
    font-weight: 800;
}

.copy-demo {
    flex: 1;
    padding: 7px;
    cursor: pointer;
    border: 0;
    border-radius: 10px;
    background: #e9e6df;
    color: #111;
    font-size: 8px;
    font-weight: 800;
    transition: transform .16s ease, background .16s ease;
}

.copy-demo:hover {
    transform: translateY(-1px);
    background: #fff;
}

.stage-wordmark {
    position: absolute;
    z-index: 5;
    bottom: 32px;
    left: 4%;
    font-size: clamp(24px, 3.9vw, 50px);
    font-weight: 500;
    letter-spacing: .13em;
    color: rgba(254, 243, 225, 0.91);
}

.stage-wordmark span {
    padding-left: 5px;
    color: rgba(254, 243, 225, .62);
    font-size: .56em;
}

.stage-tagline {
    position: absolute;
    z-index: 5;
    bottom: 16px;
    left: 4.5%;
    font-family: "DM Mono", monospace;
    font-size: clamp(5px, .55vw, 7px);
    letter-spacing: .32em;
    color: rgba(254, 243, 225, .78);
}

.hero-copy {
    margin-top: clamp(18px, 3vh, 34px);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.eyebrow {
    margin: 0 0 10px;
    color: #efb66e;
    font-family: "DM Mono", monospace;
    font-size: clamp(8px, .65vw, 10px);
    letter-spacing: .22em;
}

h1 {
    margin: 0;
    font-size: clamp(35px, 4.2vw, 64px);
    line-height: .97;
    letter-spacing: -.075em;
}

.hero-description {
    max-width: 530px;
    margin: 14px 0 18px;
    color: var(--muted);
    font-size: clamp(13px, 1.1vw, 16px);
    line-height: 1.55;
}

.chrome-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 13px 17px 13px 14px;
    border-radius: 999px;
    background: linear-gradient(100deg, #ff851c, #ff5c0b);
    box-shadow: 0 12px 32px rgba(255, 91, 11, .32), inset 0 1px rgba(255, 255, 255, .22);
    font-size: 15px;
    font-weight: 800;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.chrome-cta:hover,
.chrome-cta:focus-visible {
    outline: none;
    transform: translateY(-2px);
    box-shadow: 0 18px 42px rgba(255, 91, 11, .45), inset 0 1px rgba(255, 255, 255, .25);
}

.chrome-cta .brand-mark {
    width: 19px;
    height: 19px;
}

.cta-arrow {
    width: 17px;
}

.cta-note {
    margin: 9px 0 0;
    color: rgba(255, 255, 255, .43);
    font-size: 10px;
}

.site-footer {
    width: min(100% - 64px, 1440px);
    margin: 0 auto clamp(20px, 3vh, 35px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: rgba(255, 255, 255, .42);
    font-size: 10px;
}

.footer-divider {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: currentColor;
}

@media (max-height: 820px) and (min-width: 721px) {
    .site-header {
        margin-top: 22px;
    }

    .product-stage {
        width: min(550px, 55vh);
    }

    .hero-copy {
        margin-top: 14px;
    }

    .hero-description {
        margin: 10px 0 12px;
    }

    .eyebrow {
        display: none;
    }

    .site-footer {
        margin-bottom: 17px;
    }
}

@media (max-width: 720px) {
    body {
        overflow: auto;
    }

    .landing-shell {
        height: auto;
        min-height: 100dvh;
        overflow: visible;
        grid-template-rows: auto auto auto;
    }

    .site-header {
        width: calc(100% - 32px);
        margin-top: 18px;
    }

    .brand {
        padding: 9px 14px 9px 10px;
        gap: 9px;
    }

    .brand-mark {
        width: 21px;
        height: 21px;
    }

    .brand-name {
        font-size: 13px;
    }

    .language-toggle {
        min-width: 112px;
        padding: 10px 13px 10px 15px;
        gap: 12px;
        font-size: 12px;
    }

    .hero {
        justify-content: start;
        padding: 32px 16px 30px;
    }

    .product-stage {
        width: min(100%, 490px);
    }

    .stage-label {
        right: 16px;
        top: 15px;
    }

    .hero-copy {
        margin-top: 29px;
    }

    .eyebrow {
        font-size: 8px;
    }

    .hero-description {
        max-width: 400px;
        font-size: 13px;
    }

    .site-footer {
        width: calc(100% - 32px);
        margin-bottom: 18px;
        font-size: 9px;
    }
}

@media (max-width: 390px) {
    .brand-name {
        font-size: 11px;
    }

    .language-toggle {
        min-width: 103px;
    }

    .site-header {
        width: calc(100% - 24px);
    }

    .prompt-panel {
        width: 39%;
        left: 3%;
    }

    .product-stage {
        border-radius: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}