/*
Theme Name: Kailan Launch
Theme URI: https://meetkailan.com
Author: Kailan
Description: Lightweight launch and early-access theme for Kailan.
Version: 1.1.0
Text Domain: kailan-launch
*/
/* =========================================================
   VARIABLES
   ========================================================= */

:root {
    --charcoal: #0d0d0f;
    --charcoal-2: #15171a;
    --gold: #d4af37;
    --gold-deep: #b88a1b;
    --bone: #f4efe6;
    --slate: #1c232b;
    --stone: #4a4f59;
    --ember: #c46335;
    --forest: #1f3d2c;
    --deep-blue: #13233a;
    --ink: #171512;
    --white: #fff;
    --muted: #c9c2b8;
    --max: 1180px;
}

/* =========================================================
   BASE
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--charcoal);
    color: var(--white);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system,
        BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

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

img {
    display: block;
    max-width: 100%;
}

.wrap {
    width: min(var(--max), calc(100% - 40px));
    margin-inline: auto;
}

.serif {
    font-family: Lora, Georgia, serif;
}

.gold {
    color: var(--gold);
}
/* =========================================================
   KAILAN TYPOGRAPHY
   ========================================================= */

.brush-title,
.section-title,
.work h3,
.split h3,
.trust-hero h1,
.trust-copy h2 {
    font-family: Sora, Arial, sans-serif;
}
/* =========================================================
   HEADER / NAVIGATION
   ========================================================= */

.site-header {
    position: absolute;
    inset: 0 0 auto;
    z-index: 20;
    padding: 22px 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand img {
    width: 150px;
    height: auto;
}

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
    font-size: 14px;
}

.nav a {
    opacity: .9;
}

.nav a:hover {
    color: var(--gold);
}

.nav .button {
    opacity: 1;
}

.menu-toggle {
    display: none;
    background: none;
    border: 1px solid rgba(255,255,255,.25);
    color: white;
    border-radius: 6px;
    padding: 8px 10px;
}

/* =========================================================
   BUTTONS
   ========================================================= */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid var(--gold);
    padding: 14px 20px;
    border-radius: 4px;
    font-weight: 800;
    letter-spacing: .03em;
    font-size: 13px;
    text-transform: uppercase;
    transition: .2s;
}

.button:hover {
    transform: translateY(-1px);
    background: var(--gold);
    color: var(--charcoal);
}

.button-solid {
    background: var(--gold);
    color: var(--charcoal);
}

.button-solid:hover {
    background: #e1bd49;
}

.button-wide {
    width: 100%;
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
    min-height: 800px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background:
        #080808

;
}

.hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(6,6,7,.96) 0%,
            rgba(6,6,7,.88) 35%,
            rgba(6,6,7,.34) 65%,
            rgba(6,6,7,.2) 100%
        ),
        linear-gradient(
            0deg,
            rgba(0,0,0,.58),
            transparent 50%
        );
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 100px;
    width: min(620px,100%);
}

.eyebrow {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .18em;
    color: var(--gold);
    font-weight: 800;
}

.brush-title {
    font-family: Sora, Arial, sans-serif;
    font-weight: 800;
    font-size: clamp(54px,7vw,92px);
    line-height: .88;
    letter-spacing: -.055em;
    margin: 18px 0 16px;
    text-transform: uppercase;
    max-width: 760px;
}

.brush-underline {
    display: block;
    width: min(490px,88%);
    height: 5px;
    background: linear-gradient(90deg,var(--gold),#e6bf42);
    margin: 18px 0 8px;
}

.hero .hero-promise {
    font-size: clamp(30px,4vw,48px);
    line-height: 1.12;
    margin: 0 0 20px;
    color: var(--gold);
    max-width: 560px;
}

.hero p {
    font-size: 18px;
    color: #eee8de;
    max-width: 590px;
}

.hero .meta {
    font-size: 13px;
    color: #c8c2ba;
    margin-top: 16px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 28px;
}

/* =========================================================
   GENERAL SECTIONS
   ========================================================= */

.section {
    padding: 88px 0;
}

.light {
    background: var(--bone);
    color: var(--ink);
}

.dark,
.dark-2 {
    background: #101114;
    color: white;
}

.section-title {
    font-family: Sora, Arial, sans-serif;
    font-weight: 700;
    font-size: clamp(34px,4vw,52px);
    line-height: 1.08;
    letter-spacing: -0.035em;
    margin: 0;
}

.section-rule {
    width: 110px;
    height: 4px;
    background: var(--gold);
    margin: 22px 0 28px;
}

.lead {
    font-size: 18px;
    color: inherit;
    max-width: 670px;
}

/* =========================================================
   CHAPTER SECTION
   ========================================================= */

.chapter-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 70px;
    align-items: center;
}

.chapter-cards {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 10px;
}

.chapter-card {
    position: relative;
    aspect-ratio: 4 / 3;
    min-height: 0;
    border-radius: 8px;
    overflow: hidden;
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
}

.chapter-icon {
    position: relative;
    z-index: 2;
    color: #d7a51f;
    font-size: 28px;
}

.chapter-note {
    margin-top: 26px;
    color: var(--stone);
    font-weight: 800;
}

/* =========================================================
   HOW KAILAN WORKS
   ========================================================= */

#how-it-works {
    background: #010204;
    color: white;
    text-align: center;
}

#how-it-works .section-title {
    color: white;
}

#how-it-works .section-rule {
    margin-left: auto;
    margin-right: auto;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    margin-top: 48px;
}

.work {
    padding: 15px 32px;
    min-height: 260px;
}

.work + .work {
    border-left: 1px solid #333;
}

.work-image {
    width: 100%;
    max-width: 240px;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    display: block;
    margin: 0 auto 18px;
}

.work h3 {
    font-family: Sora, Arial, sans-serif;
    font-weight: 700;
    font-size: 23px;
    letter-spacing: -0.025em;
    margin: 0 0 12px;
}

.work p {
    color: #d6d0c8;
    font-size: 15px;
}

/* =========================================================
   LONGITUDINAL / AI SECTION
   ========================================================= */

.longitudinal {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 80px;
    align-items: center;
}

.big-statement {
    font-size: clamp(42px,5.5vw,76px);
    line-height: .98;
    font-weight: 900;
    letter-spacing: -.045em;
    text-transform: uppercase;
    margin: 0;
}

.big-statement .gold {
    display: block;
    margin-top: 12px;
}

.fact-list {
    display: grid;
    gap: 20px;
}

.fact {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 16px;
    align-items: start;
}

.fact-mark {
    color: var(--gold);
    font-size: 22px;
}

.north-star {
    margin-top: 26px;
    color: var(--gold);
    font-weight: 800;
    font-size: 20px;
}

.stair-rule {
    height: 5px;
    width: 260px;
    background: var(--gold);
    margin-top: 28px;
}

/* =========================================================
   SPLIT / CAMPFIRE
   ========================================================= */

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #010204;
}

.split-panel {
    padding: 80px max(30px,calc((100vw - var(--max))/2));
    padding-right: 60px;
    min-height: 520px;
    background: #010204;
}

.split-panel + .split-panel {
    border-left: 1px solid #252525;
    padding-left: 60px;
    padding-right: max(30px,calc((100vw - var(--max))/2));
    background: #010204;
}

.human-ai-panel {
    background: #010204;
}

.campfire {
    background: #010204;
}

.split-visual {
    width: 100%;
    display: block;
    object-fit: contain;
    margin-top: 34px;
    background: #010204;
}
/* =========================================================
   TRUST / EARLY ACCESS
   ========================================================= */

.trust-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
}

.rights {
    display: grid;
    gap: 24px;
}

.right-item {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 18px;
    align-items: center;
}

.right-item h3 {
    margin: 0 0 3px;
    font-size: 16px;
}

.right-item p {
    margin: 0;
    color: #4e4a44;
    font-size: 14px;
}

.right-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.right-icon img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    display: block;
}

.form-panel {
    border-left: 1px solid #cbc1b3;
    padding-left: 70px;
}

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

.field {
    display: grid;
    gap: 6px;
}

.field.full {
    grid-column: 1 / -1;
}

.field label {
    font-size: 12px;
    font-weight: 800;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    border: 1px solid #bbb1a3;
    background: #fffdf9;
    border-radius: 4px;
    padding: 12px 13px;
    font: inherit;
    color: var(--ink);
}

.field textarea {
    min-height: 90px;
    resize: vertical;
}

.form-note {
    font-size: 12px;
    color: #625d55;
}

.notice {
    padding: 13px 15px;
    border-radius: 5px;
    margin-bottom: 15px;
}

.notice-success {
    background: #e6f4e9;
    color: #1d5d29;
}

.notice-error {
    background: #fae8e5;
    color: #8d2c20;
}

.hp {
    position: absolute !important;
    left: -9999px !important;
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    padding: 56px 0 36px;
    background: #070708;
    border-top: 1px solid #222;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 50px;
}

.footer-logo {
    width: 130px;
    margin-bottom: 12px;
}

.footer-title {
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 800;
}

.footer-links {
    display: grid;
    gap: 7px;
    margin-top: 14px;
    color: #d6d0c8;
    font-size: 14px;
}

.copyright {
    border-top: 1px solid #242424;
    margin-top: 42px;
    padding-top: 20px;
    font-size: 12px;
    color: #8d8984;
}

/* =========================================================
   TRUST PAGE
   ========================================================= */

.trust-hero {
    padding: 160px 0 90px;
    background: #080808;
}

.trust-hero h1 {
    font-family: Inter, Arial, sans-serif;
    font-size: clamp(48px,6vw,76px);
    margin: 0 0 20px;
}

.trust-copy {
    max-width: 840px;
}

.trust-copy h2 {
    font-family: Inter, Arial, sans-serif;
    font-size: 34px;
    margin-top: 55px;
}

.trust-copy p,
.trust-copy li {
    color: #ded8d0;
}

.trust-copy strong {
    color: white;
}

.trust-callout {
    border-left: 4px solid var(--gold);
    background: #151515;
    padding: 20px 24px;
    margin: 30px 0;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero {
        min-height: 760px;
        background-position: 62% center;
    }

    .hero:before {
        background:
            linear-gradient(
                90deg,
                rgba(6,6,7,.97),
                rgba(6,6,7,.8) 70%,
                rgba(6,6,7,.5)
            );
    }

    .chapter-grid,
    .longitudinal,
    .trust-grid {
        grid-template-columns: 1fr;
    }

    .chapter-grid {
        gap: 44px;
    }

    .work-grid {
        grid-template-columns: 1fr 1fr;
    }

    .work:nth-child(3) {
        border-left: 0;
    }

    .split {
        grid-template-columns: 1fr;
    }

    .split-panel,
    .split-panel + .split-panel {
        padding: 65px 32px;
        border-left: 0;
        border-top: 1px solid #343434;
    }

    .form-panel {
        border-left: 0;
        border-top: 1px solid #cbc1b3;
        padding-left: 0;
        padding-top: 50px;
    }

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

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .wrap {
        width: min(var(--max),calc(100% - 28px));
    }

    .brand img {
        width: 122px;
    }

    .section {
        padding: 65px 0;
    }

    .hero {
        min-height: 760px;
    }

    .hero-content {
        padding-top: 88px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .chapter-cards {
        grid-template-columns: 1fr 1fr;
    }

    .work-grid {
        grid-template-columns: 1fr;
    }

    .work + .work {
        border-left: 0;
        border-top: 1px solid #333;
    }

    .work {
        min-height: 0;
        padding: 28px 20px;
    }

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

    .field {
        grid-column: 1 / -1;
    }

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

.split h3 {
    font-family: Sora, Arial, sans-serif;
    font-weight: 700;
    font-size: 38px;
    line-height: 1.08;
    letter-spacing: -0.035em;
    margin: 0;
}
}
/* Approved maintenance refresh: same artwork and palette, responsive delivery. */
img { height: auto; }
.hero { background: #080808; }
.hero-background, .trust-hero-background { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; pointer-events:none; }
.hero:before { z-index:1; pointer-events:none; }
.hero .wrap { z-index:2; }
.hero .hero-promise { font-weight:700; }
.trust-hero { position:relative; overflow:hidden; }
.trust-hero:before { content:""; position:absolute; z-index:1; inset:0; pointer-events:none; background:linear-gradient(90deg,rgba(0,0,0,.96) 0%,rgba(0,0,0,.88) 38%,rgba(0,0,0,.42) 68%,rgba(0,0,0,.18) 100%); }
.trust-hero .wrap { position:relative; z-index:2; }
.chapter-image { width:100%; height:100%; object-fit:cover; }
.work-image { height:auto; aspect-ratio:1 / 1; object-fit:contain; }
.right-icon img { width:56px; height:56px; }
.panel-title { font-family:Sora,Arial,sans-serif; font-size:clamp(28px,3vw,38px); line-height:1.12; letter-spacing:-.035em; margin:0; }
.value-over-time { border-top:1px solid #333; }
.rights { margin:24px 0; }
.right-item h3 { font-size:16px; line-height:1.4; font-weight:700; }
.trust-link { margin-top:32px; }
.form-context { color:var(--stone); font-size:14px; line-height:1.55; }
.form-context a, .privacy-link a { text-decoration:underline; text-underline-offset:.2em; }
.skip-link { position:absolute; left:16px; top:12px; z-index:999; padding:12px 18px; background:var(--bone); color:var(--charcoal); transform:translateY(-200%); }
.skip-link:focus { transform:translateY(0); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline:3px solid currentColor; outline-offset:4px; }
#main-content:focus { outline:0; }
#early-access { scroll-margin-top:24px; }
.privacy-link { margin-top:24px; color:var(--bone); }
@media(max-width:900px) { .hero-background { object-position:62% center; } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } .button { transition:none; } .button:hover { transform:none; } }
