/* =========================================================
   Launch Cycle — matheu.systems
   style.css
   ========================================================= */

/* =========================================================
   01. RESET
   ========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    background: #f7f7f5;
    color: #151515;
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
}

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

button,
a {
    -webkit-tap-highlight-color: transparent;
}


/* =========================================================
   02. DESIGN TOKENS
   ========================================================= */

:root {
    --black: #111111;
    --black-soft: #191919;
    --white: #ffffff;

    --paper: #f7f7f5;
    --paper-dark: #ecece8;

    --text: #151515;
    --text-muted: #686868;
    --text-light: #a9a9a3;

    --border: #dcdcd6;
    --border-dark: #303030;

    --accent: #d9ff3f;

    --container: 1180px;
    --narrow: 780px;

    --header-height: 72px;
}


/* =========================================================
   03. LAYOUT
   ========================================================= */

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

.container.narrow {
    width: min(
        calc(100% - 48px),
        var(--narrow)
    );
}

.section {
    padding: 120px 0;
}

.section-dark {
    background: var(--black);
    color: var(--white);
}

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

.section-accent {
    background: var(--accent);
    color: var(--black);
}


/* =========================================================
   04. HEADER
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;

    height: var(--header-height);

    background: rgba(247, 247, 245, 0.94);
    border-bottom: 1px solid var(--border);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.nav-container {
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 32px;
}

.brand {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;

    white-space: nowrap;
}

.brand-name {
    font-weight: 750;
    letter-spacing: -0.04em;
}

.brand-product {
    color: var(--text-muted);
    font-size: 14px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 28px;

    font-size: 14px;
    font-weight: 500;
}

.site-nav a {
    transition:
        color 160ms ease,
        opacity 160ms ease;
}

.site-nav a:not(.nav-cta):hover {
    color: var(--text-muted);
}

.nav-cta {
    padding: 9px 16px;

    background: var(--black);
    color: var(--white);

    border-radius: 5px;

    transition:
        background 160ms ease,
        transform 160ms ease;
}

.nav-cta:hover {
    background: #2a2a2a;
    transform: translateY(-1px);
}


/* =========================================================
   05. TYPOGRAPHY
   ========================================================= */

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    font-weight: 700;
    letter-spacing: -0.045em;
}

h1 {
    max-width: 950px;

    margin-bottom: 30px;

    font-size: clamp(3.4rem, 7vw, 6.8rem);
    line-height: 0.94;
}

h1 span {
    display: block;
    color: var(--text-muted);
}

h2 {
    margin-bottom: 24px;

    font-size: clamp(2.5rem, 5vw, 4.4rem);
    line-height: 1.02;
}

h3 {
    font-size: 1.45rem;
    line-height: 1.15;
}

p {
    color: var(--text-muted);
}

.eyebrow {
    margin-bottom: 22px;

    color: currentColor;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.section-dark p {
    color: #a8a8a3;
}

.section-lead {
    max-width: 680px;

    font-size: 1.25rem;
    line-height: 1.55;
}


/* =========================================================
   06. HERO
   ========================================================= */

.hero {
    min-height: calc(100vh - var(--header-height));

    display: flex;
    align-items: center;

    padding: 100px 0 120px;

    background: var(--paper);
}

.hero-container {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        280px;

    gap: 80px;
    align-items: end;
}

.hero-content {
    max-width: 1000px;
}

.hero-lead {
    max-width: 700px;

    margin-bottom: 40px;

    font-size: clamp(1.15rem, 2vw, 1.4rem);
    line-height: 1.55;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-note {
    padding-left: 24px;

    border-left: 1px solid var(--border);
}

.hero-note-label {
    margin-bottom: 16px;

    color: var(--text-muted);

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hero-note blockquote {
    margin: 0;

    font-size: 15px;
    line-height: 1.55;
}

.hero-note strong {
    display: inline-block;
    margin-top: 8px;
}


/* =========================================================
   07. BUTTONS
   ========================================================= */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;
    padding: 0 20px;

    border: 1px solid var(--black);
    border-radius: 5px;

    font-size: 14px;
    font-weight: 650;

    transition:
        transform 160ms ease,
        background 160ms ease,
        color 160ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background: var(--black);
    color: var(--white);
}

.button-primary:hover {
    background: #292929;
}

.button-secondary {
    background: transparent;
    color: var(--black);
}

.button-secondary:hover {
    background: var(--white);
}

.button-large {
    min-height: 56px;
    padding-inline: 28px;

    font-size: 15px;
}


/* =========================================================
   08. PROBLEM SECTION
   ========================================================= */

.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    margin-top: 64px;

    border-top: 1px solid var(--border-dark);
}

.problem-item {
    padding: 32px 32px 0 0;

    border-right: 1px solid var(--border-dark);
}

.problem-item:not(:first-child) {
    padding-left: 32px;
}

.problem-item:last-child {
    border-right: 0;
}

.problem-number {
    display: block;
    margin-bottom: 30px;

    color: #686862;

    font-family:
        ui-monospace,
        SFMono-Regular,
        Menlo,
        Monaco,
        Consolas,
        monospace;

    font-size: 12px;
}

.problem-item h3 {
    margin-bottom: 12px;
}

.statement {
    margin-top: 90px;
    padding-top: 30px;

    border-top: 1px solid var(--border-dark);
}

.statement p {
    margin-bottom: 8px;

    font-size: 14px;
}

.statement strong {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    letter-spacing: -0.025em;
}


/* =========================================================
   09. SECTION HEADINGS
   ========================================================= */

.section-heading {
    margin-bottom: 80px;
}

.section-heading h2 {
    max-width: 800px;
}

.section-heading .section-lead {
    margin-bottom: 0;
}


/* =========================================================
   10. FRAMEWORK
   ========================================================= */

.framework {
    border-top: 1px solid var(--border);
}

.framework-step {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);

    gap: 40px;

    padding: 58px 0;

    border-bottom: 1px solid var(--border);
}

.step-number {
    font-family:
        ui-monospace,
        SFMono-Regular,
        Menlo,
        Monaco,
        Consolas,
        monospace;

    font-size: 13px;
    color: var(--text-muted);
}

.step-content {
    max-width: 800px;
}

.step-label {
    margin-bottom: 12px;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.step-content h3 {
    margin-bottom: 6px;

    font-size: clamp(2rem, 4vw, 3.2rem);
}

.step-name {
    margin-bottom: 22px;

    color: var(--text);
    font-size: 14px;
    font-weight: 650;
}

.step-content > p:not(.step-label):not(.step-name) {
    max-width: 680px;

    font-size: 1.08rem;
}

.step-output {
    display: grid;
    grid-template-columns: 100px 1fr;

    gap: 20px;

    margin-top: 32px;
    padding-top: 20px;

    border-top: 1px solid var(--border);
}

.step-output strong {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.step-output span {
    color: var(--text-muted);
}


/* =========================================================
   11. ACCENT / PHILOSOPHY
   ========================================================= */

.section-accent .section-lead,
.section-accent p {
    color: #303030;
}

.section-accent h2 {
    max-width: 700px;
}

.section-accent > .container > p:not(.eyebrow) {
    max-width: 650px;
}

.quote {
    margin-top: 60px;
    padding: 30px 0;

    border-top: 1px solid rgba(0, 0, 0, 0.25);
    border-bottom: 1px solid rgba(0, 0, 0, 0.25);
}

.quote p {
    margin: 0;

    color: var(--black);
    font-size: clamp(1.25rem, 2.5vw, 1.8rem);
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -0.025em;
}


/* =========================================================
   12. DELIVERABLES
   ========================================================= */

.deliverables-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.deliverable-group {
    min-height: 260px;

    padding: 34px;

    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.deliverable-group h3 {
    margin-bottom: 26px;
}

.deliverable-group ul {
    display: grid;
    gap: 10px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.deliverable-group li {
    position: relative;

    padding-left: 18px;

    color: var(--text-muted);
}

.deliverable-group li::before {
    content: "—";

    position: absolute;
    left: 0;

    color: var(--text);
}


/* =========================================================
   13. WHAT IT IS NOT
   ========================================================= */

.not-list {
    margin-top: 60px;

    border-top: 1px solid var(--border-dark);
}

.not-list > div {
    display: grid;
    grid-template-columns: 280px 1fr;

    gap: 30px;

    padding: 25px 0;

    border-bottom: 1px solid var(--border-dark);
}

.not-list strong {
    font-size: 1.05rem;
}

.not-list span {
    color: #9a9a94;
}


/* =========================================================
   14. FIT SECTION
   ========================================================= */

.fit-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    border-top: 1px solid var(--border);
}

.fit-column {
    padding: 36px 36px 0 0;
}

.fit-column + .fit-column {
    padding-left: 36px;

    border-left: 1px solid var(--border);
}

.fit-column h3 {
    margin-bottom: 28px;
}

.fit-column ul {
    display: grid;
    gap: 16px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.fit-column li {
    position: relative;

    padding-left: 24px;

    color: var(--text-muted);
}

.fit-column li::before {
    content: "→";

    position: absolute;
    left: 0;

    color: var(--text);
}

.fit-column:last-child li::before {
    content: "×";
}


/* =========================================================
   15. NEXT STAGE
   ========================================================= */

.next-stage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    border-top: 1px solid var(--border);
}

.next-stage-grid > div {
    padding: 34px 34px 0 0;

    border-right: 1px solid var(--border);
}

.next-stage-grid > div:not(:first-child) {
    padding-left: 34px;
}

.next-stage-grid > div:last-child {
    border-right: 0;
}

.next-stage-number {
    display: block;

    margin-bottom: 28px;

    color: var(--text-muted);

    font-family:
        ui-monospace,
        SFMono-Regular,
        Menlo,
        Monaco,
        Consolas,
        monospace;

    font-size: 12px;
}

.next-stage-grid h3 {
    margin-bottom: 12px;
}


/* =========================================================
   16. CTA
   ========================================================= */

.cta-section {
    padding: 150px 0;

    background: var(--black);
    color: var(--white);

    text-align: center;
}

.cta-section h2 {
    max-width: 850px;
    margin-inline: auto;
}

.cta-section .section-lead {
    margin: 0 auto 40px;

    color: #a8a8a3;
}

.cta-section .button-primary {
    background: var(--white);
    color: var(--black);

    border-color: var(--white);
}

.cta-section .button-primary:hover {
    background: #e8e8e5;
}

.cta-note {
    margin-top: 20px;

    color: #777771;

    font-size: 12px;
}


/* =========================================================
   17. FOOTER
   ========================================================= */

.site-footer {
    padding: 50px 0;

    background: var(--black);
    color: var(--white);

    border-top: 1px solid #303030;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.footer-brand {
    font-weight: 750;
    letter-spacing: -0.04em;
}

.site-footer p {
    max-width: 340px;
    margin: 10px 0 0;

    color: #777771;
    font-size: 13px;
}

.footer-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;

    color: #777771;

    font-size: 12px;
}


/* =========================================================
   18. RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 900px) {

    .section {
        padding: 90px 0;
    }

    .hero {
        min-height: auto;
        padding: 90px 0;
    }

    .hero-container {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .hero-note {
        max-width: 420px;
    }

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

    .problem-item,
    .problem-item:not(:first-child) {
        padding: 28px 0;

        border-right: 0;
        border-bottom: 1px solid var(--border-dark);
    }

    .problem-item:last-child {
        border-bottom: 0;
    }

    .framework-step {
        grid-template-columns: 70px minmax(0, 1fr);

        gap: 24px;
    }

    .not-list > div {
        grid-template-columns: 200px 1fr;
    }

    .next-stage-grid {
        grid-template-columns: 1fr;
    }

    .next-stage-grid > div,
    .next-stage-grid > div:not(:first-child) {
        padding: 30px 0;

        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .next-stage-grid > div:last-child {
        border-bottom: 0;
    }
}


/* =========================================================
   19. RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 700px) {

    :root {
        --header-height: 64px;
    }

    .container,
    .container.narrow {
        width: min(
            calc(100% - 32px),
            var(--container)
        );
    }

    .section {
        padding: 72px 0;
    }

    .site-nav {
        display: none;
    }

    .brand-product {
        display: none;
    }

    h1 {
        font-size: clamp(3rem, 15vw, 4.5rem);
    }

    h2 {
        font-size: clamp(2.3rem, 11vw, 3.4rem);
    }

    .hero {
        padding: 70px 0 80px;
    }

    .hero-lead {
        font-size: 1.08rem;
    }

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

    .button {
        width: 100%;
    }

    .section-heading {
        margin-bottom: 50px;
    }

    .framework-step {
        grid-template-columns: 1fr;

        gap: 15px;

        padding: 45px 0;
    }

    .step-content h3 {
        font-size: 2.25rem;
    }

    .step-output {
        grid-template-columns: 1fr;

        gap: 8px;
    }

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

    .deliverable-group {
        min-height: auto;

        padding: 28px;
    }

    .not-list > div {
        grid-template-columns: 1fr;

        gap: 8px;
    }

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

    .fit-column,
    .fit-column + .fit-column {
        padding: 30px 0;

        border-left: 0;
        border-bottom: 1px solid var(--border);
    }

    .fit-column:last-child {
        border-bottom: 0;
    }

    .cta-section {
        padding: 100px 0;
    }

    .footer-container {
        flex-direction: column;
    }

    .footer-meta {
        align-items: flex-start;
    }
}


/* =========================================================
   20. REDUCED MOTION
========================================================= */

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

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}