:root {
    --bg-top: #000;
    --bg-mid: #050d1c;
    --bg-bottom: #0a1428;
    --card-fill: rgba(255, 255, 255, 0.04);
    --card-fill-strong: rgba(255, 255, 255, 0.06);
    --card-border: rgba(255, 255, 255, 0.14);
    --card-border-hover: rgba(255, 255, 255, 0.28);
    --text: #fff;
    --text-secondary: rgba(255, 255, 255, 0.78);
    --text-muted: rgba(255, 255, 255, 0.48);
    --accent: #5ac8fa;
    --accent-deep: #0a84ff;
    --accent-glow: rgba(90, 200, 250, 0.18);
    --accent-warm: #ff9500;
    --summit-red: #ff453a;
}

body::before {
    content: "";
    position: fixed;
    top: -180px;
    right: -180px;
    width: 540px;
    height: 540px;
    background: radial-gradient(circle, var(--accent-glow), transparent 70%);
    pointer-events: none;
    z-index: -1;
}
body::after {
    content: "";
    position: fixed;
    bottom: -240px;
    left: -240px;
    width: 640px;
    height: 640px;
    background: radial-gradient(circle, rgba(10, 132, 255, 0.10), transparent 70%);
    pointer-events: none;
    z-index: -1;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
    background: linear-gradient(to bottom, var(--bg-top), var(--bg-bottom)) fixed;
    background-color: var(--bg-top);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro", system-ui, sans-serif;
    line-height: 1.5;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

main { max-width: 1080px; margin: 0 auto; padding: 96px 32px 120px; }

/* Hero */
.hero {
    text-align: center;
    padding: 24px 0 96px;
}
.hero .icon {
    width: 112px;
    height: 112px;
    margin: 0 auto 32px;
    display: block;
    border-radius: 24px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
    animation: markFadeIn 1.0s ease-out;
}
.hero .brand {
    font-size: 64px;
    font-weight: 700;
    letter-spacing: -2px;
    margin-bottom: 12px;
    animation: brandFadeIn 0.9s ease-out 0.15s both;
}
.hero .subbrand {
    font-size: 17px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 32px;
    animation: brandFadeIn 0.9s ease-out 0.20s both;
}
.hero .tagline {
    font-size: 22px;
    color: var(--text-secondary);
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.5;
    animation: brandFadeIn 0.9s ease-out 0.30s both;
}
.hero .from-kyros {
    margin-top: 40px;
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: brandFadeIn 0.9s ease-out 0.45s both;
}
.hero .from-kyros a { color: var(--text-secondary); }

@keyframes markFadeIn {
    from { opacity: 0; transform: scale(0.92); }
    to { opacity: 1; transform: scale(1); }
}
@keyframes brandFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Section */
section.block {
    margin: 96px 0 64px;
}
section.block .label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent);
    margin-bottom: 12px;
    text-align: center;
}
section.block h2 {
    font-size: 38px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
    text-align: center;
}
section.block p.section-lede {
    font-size: 19px;
    color: var(--text-secondary);
    max-width: 780px;
    margin: 0 auto 56px;
    text-align: center;
    line-height: 1.55;
}

/* Capability cards */
.capabilities {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    margin-top: 32px;
}
.capability {
    background: var(--card-fill);
    border: 1px solid var(--card-border);
    border-radius: 18px;
    padding: 32px 28px;
    transition: border-color 0.2s ease;
}
.capability:hover { border-color: var(--card-border-hover); }
.capability .stage {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 10px;
}
.capability h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.3px;
}
.capability .summary {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 14px;
}
.capability .example {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    border-left: 2px solid var(--card-border);
    padding-left: 14px;
    margin-top: 14px;
    font-style: italic;
}

/* Anti-list (what we don't do) */
.anti-list {
    background: var(--card-fill);
    border: 1px solid var(--card-border);
    border-radius: 18px;
    padding: 36px 32px;
    max-width: 780px;
    margin: 0 auto;
}
.anti-list ul {
    list-style: none;
    padding: 0;
    margin: 16px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px 24px;
}
.anti-list li {
    color: var(--text-secondary);
    font-size: 15px;
    padding: 6px 0;
    position: relative;
    padding-left: 22px;
}
.anti-list li::before {
    content: "—";
    color: var(--summit-red);
    position: absolute;
    left: 0;
    font-weight: 700;
}
.anti-list .frame {
    color: var(--text);
    font-size: 16px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--card-border);
    line-height: 1.65;
}

/* Research section */
.research-card {
    background: var(--card-fill);
    border: 1px solid var(--card-border);
    border-radius: 18px;
    padding: 28px 28px;
    margin-top: 16px;
    transition: border-color 0.2s ease;
}
.research-card:hover { border-color: var(--card-border-hover); }
.research-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.2px;
}
.research-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}
.research-card .citation {
    margin-top: 12px;
    font-size: 13px;
    color: var(--text-muted);
}
.research-card .citation a { color: var(--accent); }

/* FAQ */
.faq {
    max-width: 780px;
    margin: 0 auto;
}
.faq-item {
    background: var(--card-fill);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    padding: 24px 26px;
    margin-bottom: 14px;
}
.faq-item h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text);
}
.faq-item p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* Story */
.story {
    background: var(--card-fill);
    border: 1px solid var(--card-border);
    border-radius: 18px;
    padding: 36px 32px;
    max-width: 780px;
    margin: 0 auto;
}
.story p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}
.story p:last-child { margin-bottom: 0; }
.story p strong { color: var(--text); font-weight: 600; }

/* About KyrosWorks */
.kyros-about {
    text-align: center;
    background: var(--card-fill);
    border: 1px solid var(--card-border);
    border-radius: 18px;
    padding: 36px 32px;
    max-width: 780px;
    margin: 0 auto;
}
.kyros-about p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.65;
    margin-bottom: 16px;
}
.kyros-about .siblings {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--card-border);
}
.kyros-about .siblings a {
    font-size: 14px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* TestFlight CTA */
.testflight {
    text-align: center;
    margin-top: 80px;
    padding-top: 48px;
    border-top: 1px solid var(--card-border);
}
.testflight h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
}
.testflight p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.testflight .contact {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 16px;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 16px 48px;
    color: var(--text-muted);
    font-size: 13px;
}
footer p { margin-bottom: 8px; }
footer a { color: var(--text-secondary); }

@media (max-width: 700px) {
    .hero .brand { font-size: 42px; }
    .hero .tagline { font-size: 18px; }
    section.block h2 { font-size: 28px; }
    section.block p.section-lede { font-size: 17px; }
    main { padding: 64px 20px 80px; }
    .anti-list ul { grid-template-columns: 1fr; }
}
