:root {
    color-scheme: light;
    --ink: #06271f;
    --ink-soft: #34554a;
    --forest: #06271f;
    --forest-raised: #103a30;
    --mint: #7fe0ba;
    --mint-soft: #dff5e9;
    --cream: #f4f1e8;
    --paper: #fcfbf7;
    --line: #c9d6cb;
    --amber: #efcb66;
    --focus: #a86900;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    scroll-behavior: smooth;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--cream); color: var(--ink); }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; border-radius: 4px; }
button:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.skip-link {
    position: absolute;
    z-index: 30;
    inset: 8px auto auto 8px;
    padding: 10px 14px;
    border-radius: 8px;
    background: var(--paper);
    color: var(--ink);
    transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.landing-page .site-header, .landing-page .hero { background: var(--forest); color: var(--cream); }
.site-header { border-bottom: 1px solid rgba(244, 241, 232, .16); }
.header-inner {
    width: min(100% - 48px, 1240px);
    margin-inline: auto;
    min-height: 88px;
    display: flex;
    align-items: center;
    gap: 34px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex: none;
    font-size: .96rem;
    font-weight: 750;
    letter-spacing: -.025em;
    text-decoration: none;
}
.brand img {
    width: 42px;
    height: 42px;
    border-radius: 11px;
}
.site-nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); margin-inline: auto; }
.site-nav a {
    color: #d0e3d9;
    font-size: .9rem;
    font-weight: 600;
    text-decoration: none;
    text-underline-offset: 5px;
}
.site-nav a:hover { color: #fff; text-decoration: underline; }
.header-cta, .button-primary, .button-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 20px;
    border-radius: 999px;
    font-weight: 750;
    text-align: center;
    text-decoration: none;
    transition: background-color .16s ease, color .16s ease, transform .16s ease;
}
.header-cta { background: var(--mint); color: var(--ink); white-space: nowrap; font-size: .9rem; }
.header-cta:hover, .button-primary:hover { background: #a6eccc; transform: translateY(-2px); }
.button-primary { background: var(--mint); color: var(--ink); }
.button-outline { border: 1px solid #88a99a; color: var(--cream); }
.button-outline:hover { background: #224a3d; }

.section-inner { width: min(100% - 48px, 1240px); margin-inline: auto; }
.eyebrow {
    margin: 0 0 20px;
    color: var(--ink-soft);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .16em;
    line-height: 1.4;
    text-transform: uppercase;
}
.eyebrow-on-dark { color: var(--mint); }
.hero { overflow: hidden; }
.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    align-items: center;
    gap: clamp(48px, 5vw, 88px);
    padding-block: clamp(80px, 10vw, 156px) clamp(88px, 11vw, 154px);
}
.hero h1 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(3.35rem, 5.4vw, 5.75rem);
    line-height: .99;
    letter-spacing: -.075em;
    font-weight: 760;
}
.hero h1 em {
    color: var(--mint);
    font-family: Georgia, "Times New Roman", serif;
    font-style: italic;
    font-weight: 500;
    letter-spacing: -.065em;
}
.hero-copy {
    max-width: 585px;
    margin: 30px 0 0;
    color: #c7ddd2;
    font-size: clamp(1.08rem, 1.5vw, 1.26rem);
    line-height: 1.64;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 34px; }
.platform-note { margin: 22px 0 0; color: #b7cfc2; font-size: .9rem; line-height: 1.5; }
.platform-note strong { color: #e7f5ed; }
.hero-visual {
    margin: 0;
    position: relative;
    border: 1px solid rgba(127, 224, 186, .3);
    border-radius: 30px;
    overflow: hidden;
    background: #0b3028;
    box-shadow: 0 32px 80px rgba(0, 0, 0, .25);
}
.hero-visual img { width: 100%; height: auto; }
.hero-visual figcaption {
    padding: 16px 24px 18px;
    color: #cce8d9;
    border-top: 1px solid rgba(127, 224, 186, .22);
    font-size: .9rem;
    line-height: 1.4;
}

.section { padding-block: clamp(76px, 8vw, 130px); }
.section-heading { max-width: 730px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-heading h2, .flow-heading h2, .coming-copy h2, .founder-copy h2, .closing h2 {
    margin: 0;
    font-size: clamp(2.4rem, 4.3vw, 4.5rem);
    line-height: 1.08;
    letter-spacing: -.058em;
}
.section-heading p:last-child {
    max-width: 570px;
    margin: 20px 0 0;
    color: var(--ink-soft);
    font-size: 1.1rem;
    line-height: 1.65;
}
.case-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 18px; }
.case-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: clamp(28px, 3vw, 48px);
    border-radius: 26px;
    border: 1px solid var(--line);
    background: var(--paper);
}
.case-card-primary { grid-row: span 2; background: var(--mint-soft); border-color: #a8d9bf; }
.case-index { margin: 0 0 40px; color: #2f806c; font-size: .78rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.case-card h3 { max-width: 560px; margin: 0; font-size: clamp(1.75rem, 2.6vw, 3rem); line-height: 1.14; letter-spacing: -.045em; }
.case-card p:not(.case-index) { max-width: 570px; margin: 18px 0 0; color: var(--ink-soft); font-size: 1.03rem; line-height: 1.65; }
.case-card .case-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: auto 0 0;
    padding-top: 54px;
    list-style: none;
}
.case-tags li {
    padding: 7px 11px;
    border: 1px solid #a6c6b4;
    border-radius: 999px;
    color: #315749;
    font-size: .8rem;
    font-weight: 650;
}
.case-card:not(.case-card-primary) .case-index { margin-bottom: 26px; }
.case-card:not(.case-card-primary) .case-tags { padding-top: 28px; }

.flow { background: #12392f; color: var(--cream); }
.flow-inner { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(52px, 8vw, 120px); }
.flow-heading h2 { max-width: 420px; }
.flow-heading > p:last-child { color: #c3d9cd; font-size: 1.05rem; line-height: 1.65; max-width: 470px; }
.flow-list { margin: 0; padding: 0; list-style: none; }
.flow-list li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 20px; padding: 22px 0 26px; border-top: 1px solid #426558; }
.flow-list li:last-child { border-bottom: 1px solid #426558; }
.flow-number { color: var(--mint); font-family: Georgia, serif; font-size: 1.55rem; line-height: 1.2; }
.flow-list h3 { margin: 0; font-size: 1.32rem; letter-spacing: -.025em; }
.flow-list p { margin: 8px 0 0; color: #c3d9cd; line-height: 1.6; }

.coming { background: var(--paper); }
.coming-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
    gap: clamp(38px, 5vw, 90px);
    padding: clamp(34px, 5vw, 76px);
    border-radius: 32px;
    background: var(--mint-soft);
    border: 1px solid #a5d5ba;
}
.coming-copy h2 { max-width: 630px; }
.coming-copy > p:not(.eyebrow) { max-width: 560px; color: var(--ink-soft); font-size: 1.08rem; line-height: 1.7; }
.release-label { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 24px; color: #236b52; font-weight: 760; }
.release-label::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(239, 203, 102, .26); }
.coming-details { align-self: center; padding: 28px; border: 1px solid #9fceb4; border-radius: 22px; background: rgba(255, 255, 255, .58); }
.coming-details h3 { margin: 0 0 16px; font-size: 1.2rem; }
.coming-details ul { margin: 0; padding-left: 20px; color: var(--ink-soft); line-height: 1.65; }
.coming-details li + li { margin-top: 10px; }
.coming-details p { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid #badbc7; color: #315749; font-size: .9rem; line-height: 1.5; }

.founder { background: var(--cream); }
.founder-inner { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(40px, 7vw, 105px); }
.founder-intro { position: relative; }
.founder-intro h2 { max-width: 460px; }
.founder-mark { width: 76px; height: 5px; margin-top: 28px; border-radius: 4px; background: var(--amber); }
.founder-copy { max-width: 680px; }
.founder-copy p { margin: 0 0 18px; color: #29483e; font-size: 1.08rem; line-height: 1.8; }
.founder-copy p:first-child { color: var(--ink); font-size: 1.24rem; line-height: 1.68; }
.founder-signature { margin-top: 28px; font-weight: 750; }
.founder-copy a { color: #155f4c; font-weight: 760; text-decoration-thickness: 2px; text-underline-offset: 4px; }

.closing { padding-block: 76px; background: var(--forest); color: var(--cream); }
.closing-inner { display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.closing h2 { font-size: clamp(2rem, 3.3vw, 3.4rem); }
.closing p { color: #c4dbcf; line-height: 1.6; }
.site-footer { background: #041d17; color: #c5d9cc; }
.footer-inner {
    width: min(100% - 48px, 1240px);
    margin-inline: auto;
    padding-block: 34px 48px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
}
.footer-inner p { margin: 0; font-size: .84rem; line-height: 1.5; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px 26px; }
.footer-links a { font-size: .84rem; text-underline-offset: 4px; }
.footer-links a:hover { color: #fff; }

@media (max-width: 900px) {
    .hero-inner, .flow-inner, .coming-panel, .founder-inner { grid-template-columns: 1fr; }
    .hero-inner { gap: 48px; }
    .hero-visual { max-width: 690px; }
    .flow-heading h2 { max-width: 650px; }
    .coming-details { align-self: auto; }
    .founder-copy { max-width: 760px; }
}
@media (max-width: 680px) {
    .header-inner { flex-wrap: wrap; gap: 14px 18px; padding-block: 16px; }
    .site-nav { order: 3; width: 100%; margin: 0; justify-content: space-between; gap: 12px; padding-top: 9px; border-top: 1px solid rgba(244, 241, 232, .13); }
    .header-cta { margin-left: auto; }
    .hero-inner { padding-top: 74px; }
    .case-grid { grid-template-columns: 1fr; }
    .case-card-primary { grid-row: auto; }
    .case-card .case-tags { padding-top: 32px; }
    .closing-inner, .footer-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 390px) {
    .header-inner, .section-inner, .footer-inner { width: min(100% - 32px, 1240px); }
    .brand { font-size: .86rem; gap: 8px; }
    .brand img { width: 34px; height: 34px; border-radius: 9px; }
    .header-cta { min-height: 42px; padding: 8px 12px; font-size: .78rem; }
    .site-nav a { font-size: .77rem; }
    .hero h1 { font-size: clamp(3.1rem, 13vw, 4rem); }
    .hero-actions a { width: 100%; }
    .coming-details { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
    :root { scroll-behavior: auto; }
    .header-cta, .button-primary, .button-outline { transition: none; }
    .header-cta:hover, .button-primary:hover { transform: none; }
}

.download-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: center; }
.download-qr { margin: 0; text-align: center; max-width: 260px; }
.download-qr img { display: block; background: #fff; border: 1px solid #d4ded8; border-radius: 16px; }
.download-qr figcaption { margin-top: 12px; font-size: .9rem; line-height: 1.5; }
@media (max-width: 640px) { .download-grid { grid-template-columns: 1fr; } .download-qr { display: none; } }

.download-grid .platform-note { color: var(--ink-soft); }
