/* BrickNote static site — Cloudflare Pages ready */
:root {
    color-scheme: dark;
    --ink: #f4f7f6;
    --muted: rgba(244, 247, 246, 0.68);
    --muted-2: rgba(244, 247, 246, 0.48);
    --bg: #050607;
    --panel: #111317;
    --panel-2: #171a20;
    --glass: rgba(255, 255, 255, 0.055);
    --glass-2: rgba(255, 255, 255, 0.085);
    --line: rgba(255, 255, 255, 0.13);
    --line-strong: rgba(126, 240, 194, 0.28);
    --accent: #7ef0c2;
    --accent-rgb: 126, 240, 194;
    --gold: #ffc857;
    --red: #ff8a80;
    --blue: #8fb3ff;
    --shadow: 0 26px 90px rgba(0, 0, 0, 0.52);
    --shadow-soft: 0 18px 54px rgba(0, 0, 0, 0.32);
    --radius-xl: 34px;
    --radius-lg: 26px;
    --radius-md: 18px;
    --max: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family:
        -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
        Inter, "Segoe UI", sans-serif;
    color: var(--ink);
    background: linear-gradient(135deg, #050607 0%, #0a0d10 48%, #111318 100%);
    line-height: 1.5;
    text-rendering: geometricPrecision;
    -webkit-font-smoothing: antialiased;
}

body::before,
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
}

body::before {
    opacity: 0.92;
    background-image: url("images/brick-pattern.svg");
    background-size: 184px 80px;
    background-position: center top;
    mask-image: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.86),
        rgba(0, 0, 0, 0.52) 46%,
        transparent 92%
    );
}

body::after {
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(5, 6, 7, 0.7) 78%,
        var(--bg) 100%
    );
}

a {
    color: inherit;
    text-decoration: none;
}
a:hover {
    color: var(--accent);
}
img {
    display: block;
    max-width: 100%;
}

.container {
    position: relative;
    z-index: 1;
    width: min(var(--max), calc(100% - 40px));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    padding: 14px 0;
    background: linear-gradient(
        180deg,
        rgba(5, 6, 7, 0.86),
        rgba(5, 6, 7, 0.58)
    );
    backdrop-filter: blur(18px);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 62px;
    padding: 10px 12px 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.095),
            rgba(255, 255, 255, 0.045)
        ),
        rgba(17, 19, 23, 0.76);
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.3);
}

.logo-link {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
    font-weight: 900;
    letter-spacing: -0.035em;
}

.logo-link img {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.1),
        0 10px 30px rgba(var(--accent-rgb), 0.18);
}

.logo-wordmark {
    font-size: 1.12rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 760;
}

.nav-links a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
}

.nav-links a:hover {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.075);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: var(--accent);
    color: #06100d;
    font-weight: 900;
    letter-spacing: -0.015em;
    box-shadow: 0 18px 54px rgba(var(--accent-rgb), 0.22);
    transition: 160ms ease;
}

.button:hover {
    color: #06100d;
    transform: translateY(-1px);
    box-shadow: 0 22px 70px rgba(var(--accent-rgb), 0.28);
}

.button.secondary {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.075);
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: none;
}

.button.secondary:hover {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.11);
}

.hero {
    position: relative;
    padding: 82px 0 70px;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.98fr) minmax(390px, 0.82fr);
    align-items: center;
    gap: clamp(34px, 7vw, 78px);
}

.kicker,
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    color: var(--accent);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.kicker::before,
.eyebrow::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--accent);
    box-shadow:
        0 0 0 7px rgba(var(--accent-rgb), 0.12),
        0 0 26px rgba(var(--accent-rgb), 0.62);
}

h1,
h2,
h3 {
    margin: 0;
    line-height: 1.02;
    letter-spacing: -0.06em;
}

h1 {
    max-width: 780px;
    font-size: clamp(3.35rem, 7.9vw, 7.35rem);
    font-weight: 950;
}

h2 {
    font-size: clamp(2.25rem, 4.5vw, 4.7rem);
    font-weight: 950;
}

h3 {
    font-size: 1.12rem;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.text-gradient {
    color: transparent;
    background: linear-gradient(90deg, var(--accent), #d7fff0 48%, var(--gold));
    -webkit-background-clip: text;
    background-clip: text;
}

.lede {
    max-width: 650px;
    margin: 24px 0 0;
    color: rgba(244, 247, 246, 0.74);
    font-size: clamp(1.08rem, 2vw, 1.28rem);
    letter-spacing: -0.018em;
}

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

.hero-proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    max-width: 610px;
    margin-top: 28px;
}

.proof-pill {
    padding: 13px 14px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    background: rgba(255, 255, 255, 0.055);
    color: var(--muted);
    backdrop-filter: blur(18px);
}

.proof-pill strong {
    display: block;
    color: var(--ink);
    font-size: 0.98rem;
    letter-spacing: -0.02em;
}

.proof-pill span {
    display: block;
    margin-top: 2px;
    font-size: 0.82rem;
}

.mock-stage {
    position: relative;
    min-height: 660px;
}

.mock-stage::before {
    content: "";
    position: absolute;
    inset: 28px -22px 30px;
    border-radius: 54px;
    background: linear-gradient(
        160deg,
        rgba(var(--accent-rgb), 0.14),
        rgba(255, 255, 255, 0.035) 44%,
        rgba(143, 179, 255, 0.1)
    );
    filter: blur(0.3px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.phone {
    position: relative;
    width: min(100%, 430px);
    margin-left: auto;
    padding: 12px;
    border-radius: 44px;
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.2),
            rgba(255, 255, 255, 0.045)
        ),
        #0b0d10;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: var(--shadow);
}

.phone::before {
    content: "";
    position: absolute;
    top: 9px;
    left: 50%;
    width: 110px;
    height: 24px;
    border-radius: 0 0 18px 18px;
    transform: translateX(-50%);
    background: #060708;
    z-index: 3;
}

.screen {
    position: relative;
    min-height: 610px;
    overflow: hidden;
    padding: 34px 18px 18px;
    border-radius: 34px;
    background:
        linear-gradient(rgba(17, 19, 23, 0.82), rgba(9, 11, 14, 0.92)),
        url("images/brick-pattern.svg"),
        linear-gradient(180deg, #111317, #090b0e 72%);
    background-size:
        auto,
        184px 80px,
        auto;
    border: 1px solid rgba(255, 255, 255, 0.09);
}

.screen-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.screen-top img {
    width: 142px;
    height: auto;
}

.tier-pill {
    padding: 7px 10px;
    border-radius: 999px;
    color: #06100d;
    background: var(--accent);
    font-size: 0.72rem;
    font-weight: 950;
}

.property-card {
    margin-top: 22px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(18px);
}

.property-card small,
.module-label,
.task-meta,
.feature-card p,
.copy p,
.copy li,
.section-intro {
    color: var(--muted);
}

.property-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
}

.property-title {
    margin-top: 5px;
    font-size: 1.35rem;
    font-weight: 950;
    letter-spacing: -0.045em;
}

.star {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 13px;
    color: #050607;
    background: var(--gold);
    font-weight: 950;
}

.budget-line {
    position: relative;
    height: 9px;
    margin-top: 18px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
}

.budget-line::before {
    content: "";
    display: block;
    width: 68%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--accent), #e7fff5);
    box-shadow: 0 0 24px rgba(var(--accent-rgb), 0.38);
}

.module-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 12px;
}

.module {
    min-height: 108px;
    padding: 14px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.module-value {
    display: block;
    margin-top: 10px;
    color: var(--ink);
    font-size: 1.42rem;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.module.accent {
    background: rgba(var(--accent-rgb), 0.12);
    border-color: rgba(var(--accent-rgb), 0.24);
}

.task-list {
    margin-top: 12px;
    display: grid;
    gap: 9px;
}

.task-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 11px;
    padding: 11px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.085);
}

.check {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 8px;
    background: rgba(var(--accent-rgb), 0.18);
    color: var(--accent);
    font-weight: 950;
    font-size: 0.78rem;
}

.task-title {
    display: block;
    color: var(--ink);
    font-weight: 840;
    letter-spacing: -0.02em;
}

.task-meta {
    display: block;
    font-size: 0.78rem;
}

.task-tag {
    padding: 5px 9px;
    border-radius: 999px;
    color: var(--accent);
    background: rgba(var(--accent-rgb), 0.1);
    font-size: 0.72rem;
    font-weight: 900;
}

.float-card {
    position: absolute;
    z-index: 4;
    max-width: 210px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 22px;
    background: rgba(17, 19, 23, 0.7);
    backdrop-filter: blur(22px);
    box-shadow: var(--shadow-soft);
}

.float-card.top {
    top: 54px;
    left: -18px;
}

.float-card.bottom {
    right: -18px;
    bottom: 72px;
}

.float-card small {
    color: var(--muted-2);
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.float-card strong {
    display: block;
    margin-top: 6px;
    font-size: 1.05rem;
    letter-spacing: -0.025em;
}

.section {
    padding: 78px 0;
}

.section-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 26px;
}

.section-header h2 {
    max-width: 720px;
}

.section-intro {
    max-width: 430px;
    margin: 0;
    font-size: 1.02rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.feature-card,
.card,
.panel,
.copy-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.115);
    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.078),
            rgba(255, 255, 255, 0.038)
        ),
        rgba(17, 19, 23, 0.68);
    backdrop-filter: blur(22px);
    box-shadow: var(--shadow-soft);
}

.feature-card {
    min-height: 230px;
    padding: 24px;
    border-radius: 28px;
}

.feature-card::after {
    content: "";
    position: absolute;
    inset: auto -30px -58px auto;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(var(--accent-rgb), 0.08);
}

.feature-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-bottom: 22px;
    border-radius: 14px;
    color: var(--accent);
    background: rgba(var(--accent-rgb), 0.1);
    border: 1px solid rgba(var(--accent-rgb), 0.18);
    font-weight: 950;
}

.feature-card p {
    margin: 12px 0 0;
}

.split {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 16px;
}

.panel,
.card {
    border-radius: 32px;
    padding: clamp(24px, 4vw, 38px);
}

.panel {
    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.09),
            rgba(255, 255, 255, 0.04)
        ),
        rgba(17, 19, 23, 0.75);
}

.panel p:not(.eyebrow) {
    color: var(--muted);
    margin: 18px 0 0;
    font-size: 1.08rem;
}

.check-list {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding: 16px 16px 16px 50px;
    border-radius: 18px;
    color: rgba(244, 247, 246, 0.78);
    background: rgba(255, 255, 255, 0.047);
    border: 1px solid rgba(255, 255, 255, 0.075);
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 18px;
    width: 18px;
    height: 18px;
    border-radius: 7px;
    background: var(--accent);
    box-shadow: 0 0 22px rgba(var(--accent-rgb), 0.35);
}

.check-list li::after {
    content: "";
    position: absolute;
    left: 22px;
    top: 23px;
    width: 6px;
    height: 10px;
    border-right: 2px solid #06100d;
    border-bottom: 2px solid #06100d;
    transform: rotate(45deg);
}

.cta-band {
    margin: 78px auto 88px;
    padding: clamp(28px, 5vw, 52px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 36px;
    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.09),
            rgba(255, 255, 255, 0.045)
        ),
        rgba(17, 19, 23, 0.72);
    backdrop-filter: blur(22px);
    box-shadow: var(--shadow);
}

.cta-band p:not(.eyebrow) {
    max-width: 720px;
    color: var(--muted);
    font-size: 1.08rem;
}

.page-hero {
    padding: 70px 0 28px;
}

.page-hero h1 {
    max-width: 860px;
    font-size: clamp(2.75rem, 6.2vw, 5.8rem);
}

.copy {
    position: relative;
    z-index: 1;
    max-width: 920px;
    padding-bottom: 86px;
}

.copy-card {
    border-radius: 34px;
    padding: clamp(22px, 4vw, 42px);
}

.copy h2 {
    margin: 42px 0 12px;
    font-size: clamp(1.55rem, 3vw, 2.25rem);
}

.copy h3 {
    margin: 28px 0 8px;
}

.copy p,
.copy li {
    font-size: 1rem;
}

.copy a {
    color: var(--accent);
    font-weight: 850;
}

.copy ul {
    padding-left: 1.2rem;
}

.notice {
    padding: 18px;
    border-radius: 22px;
    color: rgba(244, 247, 246, 0.82);
    background: rgba(var(--accent-rgb), 0.09);
    border: 1px solid rgba(var(--accent-rgb), 0.2);
}

.site-footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    padding: 32px 0;
    color: var(--muted-2);
    background: rgba(5, 6, 7, 0.58);
}

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

.footer-links {
    display: flex;
    gap: 16px;
    font-weight: 760;
}

@media (max-width: 980px) {
    .hero-grid,
    .split {
        grid-template-columns: 1fr;
    }

    .mock-stage {
        min-height: auto;
        max-width: 520px;
        margin-inline: auto;
    }

    .phone {
        margin-inline: auto;
    }

    .section-header {
        display: block;
    }

    .section-intro {
        margin-top: 16px;
    }
}

@media (max-width: 780px) {
    .feature-grid,
    .hero-proof {
        grid-template-columns: 1fr;
    }

    .float-card {
        display: none;
    }

    .hero {
        padding-top: 50px;
    }
}

@media (max-width: 620px) {
    .container {
        width: min(100% - 28px, var(--max));
    }

    .site-header {
        padding: 10px 0;
    }

    .nav {
        border-radius: 24px;
        align-items: flex-start;
        flex-direction: column;
        padding: 12px;
    }

    .nav-links {
        width: 100%;
        justify-content: space-between;
    }

    .nav-links a {
        padding: 0 10px;
    }

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

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

    .screen {
        min-height: auto;
    }

    .task-item {
        grid-template-columns: auto 1fr;
    }

    .task-tag {
        grid-column: 2;
        width: max-content;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}
