/* SX visual system and home layout. Inner pages add their own layout styles. */
:root {
    --ink: #080d14;
    --surface: #101821;
    --line: #25303b;
    --text: #f1f4f7;
    --muted: #9faab5;
    --accent: #c3f878;
    --cyan: #7cdaef;
    --paper: #f3f5f1;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 108px; }
body {
    margin: 0;
    background: var(--ink);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
::selection { color: var(--ink); background: var(--accent); }
a { color: inherit; text-decoration: none; }
a:hover { color: inherit; }
button { font: inherit; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 5px; }
img { max-width: 100%; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { font-weight: 600; }
.site-container { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }
.svg-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 24px; height: 24px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 1100; background: var(--accent); color: var(--ink); padding: 12px 20px; border-radius: 6px; }
.skip-link:focus { top: 16px; color: var(--ink); }
.eyebrow { display: flex; align-items: center; gap: 10px; font: 500 11px/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: 1.4px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgb(195 248 120 / 8%); }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 18px; min-height: 54px; padding: 14px 22px; border: 1px solid transparent; border-radius: 5px; font-size: 14px; font-weight: 600; line-height: 1.4; transition: background .2s, color .2s, transform .2s; }
.button .icon { width: 19px; height: 19px; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent); color: var(--ink); }
.button-primary:hover { background: #d6ff9f; color: var(--ink); }
.button-light { background: var(--text); color: var(--ink); }
.button-light:hover { background: var(--accent); color: var(--ink); }
.button-small { min-height: 42px; padding: 10px 15px; font-size: 12px; gap: 14px; }
.button-ink { color: var(--text); background: var(--ink); }
.button-ink:hover { color: var(--text); background: #20302a; }
.text-link { display: inline-flex; align-items: center; gap: 12px; color: var(--text); font-size: 13px; font-weight: 500; }
.text-link .icon { width: 17px; height: 17px; transition: transform .2s; }
.text-link:hover { color: var(--accent); }
.text-link:hover .icon { transform: translate(2px, -2px); }

/* Navigation */
.site-header { position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid rgb(159 170 181 / 13%); background: rgb(8 13 20 / 94%); backdrop-filter: blur(18px); }
.header-inner { display: flex; align-items: center; min-height: 88px; gap: 40px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; font-size: 16px; font-weight: 600; line-height: 1.4; letter-spacing: -.35px; }
.brand img { display: block; object-fit: contain; width: 63px; height: 42px; }
.brand-subtitle { display: block; margin-top: 4px; font: 400 8px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace; color: var(--muted); letter-spacing: 1.3px; }
.site-navigation { display: flex; align-items: center; justify-content: space-between; flex: 1; gap: 24px; }
.nav-links, .nav-actions { display: flex; align-items: center; gap: 28px; }
.nav-links { margin-left: auto; }
.nav-links a, .nav-login { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: #b8c1ca; white-space: nowrap; transition: color .2s; }
.nav-links a:hover, .nav-login:hover { color: var(--accent); }
.nav-links .nav-arrow { width: 12px; height: 12px; }
.nav-actions { margin-left: 12px; gap: 22px; }
.nav-toggle { display: none; }

/* Intro */
.hero { position: relative; overflow: clip; background: radial-gradient(ellipse at 85% 36%, #102431 0%, var(--ink) 47%); }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; align-items: center; gap: 16px; padding-block: 62px 58px; min-height: 700px; }
.hero-copy { position: relative; z-index: 2; }
.hero-copy > .eyebrow { color: #b9c2cb; margin-bottom: 25px; }
.hero h1 { font-size: clamp(46px, 4.7vw, 68px); line-height: 1.06; letter-spacing: -3.7px; font-weight: 600; }
.hero h1 span { color: var(--accent); }
.hero-description { margin-top: 29px; font-size: 19px; line-height: 1.55; letter-spacing: -.3px; color: #d7dfe5; }
.hero-detail { max-width: 425px; margin-top: 15px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.hero-ai-principles { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero-ai-principles a { display: inline-flex; align-items: center; gap: 8px; padding: 7px 11px; border: 1px solid #344750; border-radius: 4px; color: #cce2ea; background: rgb(124 218 239 / 4%); font: 500 10px/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; transition: border-color .2s, background .2s; }
.hero-ai-principles a:hover { border-color: var(--cyan); background: rgb(124 218 239 / 9%); }
.hero-ai-principles .status-dot { width: 5px; height: 5px; background: var(--cyan); box-shadow: none; }
.hero-ai-principles .icon { width: 14px; height: 14px; color: var(--accent); }
.hero-actions { display: flex; align-items: center; gap: 25px; margin-top: 31px; }
.hero-signature { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 10px; color: #939faa; margin-top: 32px; }
.hero-signature a { display: inline-flex; align-items: center; gap: 4px; color: #bcc6cf; }
.hero-signature a:hover { color: var(--accent); }
.hero-signature .icon { width: 12px; height: 12px; }
.signature-line { height: 1px; width: 20px; background: #52616e; margin-right: 3px; }
.hero-visual { position: relative; min-width: 0; align-self: stretch; display: flex; align-items: center; justify-content: center; }
.hero-visual::before { content: ""; position: absolute; inset: 0 -36px; background-image: linear-gradient(rgb(124 218 239 / 4%) 1px, transparent 1px), linear-gradient(90deg, rgb(124 218 239 / 4%) 1px, transparent 1px); background-size: 50px 50px; mask-image: radial-gradient(ellipse, black, transparent 70%); pointer-events: none; }
.hero-art { width: calc(100% + 48px); max-width: none; height: auto; position: relative; mix-blend-mode: lighten; }
.visual-coordinate { position: absolute; top: 0; left: 15px; font: 9px/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: 1.2px; color: #819aa6; z-index: 1; }
.visual-coordinate::before { content: "+"; font-size: 15px; padding-right: 10px; color: var(--cyan); }
.visual-tag { position: absolute; z-index: 2; display: inline-flex; gap: 8px; align-items: center; border: 1px solid #344550; background: rgb(13 23 31 / 90%); backdrop-filter: blur(10px); border-radius: 4px; padding: 10px 14px; font: 11px/1.3 ui-monospace, SFMono-Regular, Consolas, monospace; color: #d4e6ed; box-shadow: 0 10px 35px rgb(0 0 0 / 25%); }
.visual-tag > span { width: 5px; height: 5px; background: var(--cyan); border-radius: 50%; }
.tag-front { top: 19%; right: 0; }
.tag-back { top: 55%; left: 0; }
.tag-ops { bottom: 12%; right: 5%; }
.tag-ops > span { background: var(--accent); }
.visual-caption { position: absolute; bottom: -8px; left: 15px; right: 0; display: flex; justify-content: space-between; color: #7f94a1; font: 8px/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: 1px; }
.visual-caption span:last-child { color: var(--cyan); }
.hero-bottom { display: flex; justify-content: space-between; align-items: center; gap: 35px; min-height: 115px; border-top: 1px solid var(--line); }
.hero-bottom > p { font-size: 12px; line-height: 1.7; color: var(--muted); }
.hero-bottom strong { font-weight: 500; color: #d9e0e6; }
.hero-principles { display: flex; flex-wrap: wrap; gap: 34px; color: #b8c2cc; font-size: 12px; }
.hero-principles > span { display: inline-flex; align-items: center; gap: 8px; }
.hero-principles .icon { color: var(--accent); width: 15px; height: 15px; }
.scroll-link { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; flex-shrink: 0; }
.scroll-link .icon { width: 16px; height: 16px; transform: rotate(90deg); }
.scroll-link:hover { border-color: var(--accent); color: var(--accent); }

/* Framework */
.section { padding-block: 100px; }
.section h2 { font-size: clamp(32px, 3vw, 44px); line-height: 1.18; letter-spacing: -1.6px; }
.section-eyebrow { color: var(--accent); margin-bottom: 20px; }
.muted-heading { color: #82919e; }
.section-heading { display: grid; grid-template-columns: 1.35fr 1fr; align-items: end; gap: 80px; margin-bottom: 48px; }
.section-heading > p { color: var(--muted); font-size: 14px; line-height: 1.85; padding-bottom: 4px; max-width: 380px; }
.architecture { background: #0c121a; border-top: 1px solid #16212c; }
.framework-map { border: 1px solid #2b3d48; border-radius: 14px; overflow: hidden; }
.architecture-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); background: #2b3d48; gap: 1px; }
.architecture-group { min-width: 0; display: flex; flex-direction: column; padding: 34px; background: linear-gradient(145deg, #162630, #101b24 75%); }
.architecture-group-heading { padding-bottom: 28px; border-bottom: 1px solid rgb(124 218 239 / 17%); }
.architecture-label { color: var(--cyan); font: 500 9px/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: 1.2px; margin-bottom: 10px; }
.architecture-group-heading h3, .framework-ops-heading h3 { font-size: 42px; letter-spacing: -1.4px; line-height: 1.15; }
.architecture-group-heading > p:last-child { color: #a6b9c5; margin-top: 12px; font-size: 13px; line-height: 1.7; }
.module-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding-block: 28px; flex: 1; }
.module-card { min-width: 0; }
.module-card + .module-card { border-left: 1px solid rgb(124 218 239 / 14%); padding-left: 24px; }
.module-icon { display: flex; align-items: center; justify-content: center; width: 43px; height: 43px; border: 1px solid #395360; background: rgb(124 218 239 / 5%); border-radius: 8px; color: var(--cyan); margin-bottom: 18px; }
.module-icon .icon { width: 24px; height: 24px; }
.module-card h4 { font: 600 18px/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: -.4px; }
.module-card p { color: #a7bac6; font-size: 12px; line-height: 1.85; margin-top: 10px; }
.module-grid .module-card.module-mcp { grid-column: 1 / -1; display: grid; grid-template-columns: 43px minmax(0, 1fr); column-gap: 16px; border-left: 0; border-top: 1px solid rgb(124 218 239 / 17%); padding: 20px 0 0; }
.module-mcp .module-icon { grid-row: 1 / 3; margin-bottom: 0; }
.module-mcp h4 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.module-mcp p { margin-top: 7px; }
.module-badge { border: 1px solid #3d5358; border-radius: 3px; padding: 3px 6px; color: var(--cyan); font: 500 7px/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .7px; }
.module-protocol { color: #d3e9f0; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #637c89; }
.module-protocol:hover { color: var(--cyan); }
.architecture-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid rgb(124 218 239 / 17%); padding-top: 20px; font-size: 12px; color: #cee0e9; }
.architecture-link:hover { color: var(--cyan); }
.architecture-link .icon { width: 17px; height: 17px; }
.framework-ops { border-top: 1px solid #364737; padding: 30px 34px; background: linear-gradient(135deg, #19281e, #12201a 80%); }
.framework-ops-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 25px; }
.framework-ops-heading .architecture-label { color: var(--accent); }
.framework-ops-heading > p { color: #b0c0ab; font-size: 13px; line-height: 1.8; max-width: 420px; }
.devops-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.service-card { min-width: 0; border: 1px solid #344735; border-radius: 7px; padding: 23px; background: rgb(7 18 13 / 35%); }
.service-card-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 17px; }
.service-card-heading h4 { color: var(--accent); font: 500 29px/1 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: -1px; }
.service-card-heading .icon { color: #9bae94; width: 24px; height: 24px; }
.service-card p { color: #b0c0ab; font-size: 13px; line-height: 1.8; min-height: 47px; }
.service-scope { display: block; padding-top: 15px; margin-top: 18px; border-top: 1px solid #304332; color: #b3c5a6; font: 8px/1.7 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .5px; }
.framework-ops-link { color: #d9e9ce; margin-top: 22px; font-size: 12px; }
.foundation-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; border-top: 1px solid var(--line); padding-top: 33px; margin-top: 38px; }
.foundation-grid > div { position: relative; padding-left: 39px; }
.foundation-grid .icon { position: absolute; left: 0; top: 2px; width: 23px; height: 23px; color: #8b9eac; }
.foundation-grid h3 { font-size: 14px; margin-bottom: 7px; }
.foundation-grid p { color: var(--muted); font-size: 12px; line-height: 1.8; max-width: 270px; }

/* AI principles: a collaboration model, separate from application runtime. */
.ai-first { border-top: 1px solid var(--line); background: radial-gradient(ellipse at 0 45%, rgb(124 218 239 / 5%), transparent 65%), var(--ink); }
.ai-principle-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.ai-principle-card { min-width: 0; display: flex; flex-direction: column; padding: 32px; border: 1px solid #334652; border-radius: 9px; background: linear-gradient(145deg, #14232d, #101922 80%); }
.ai-control-card { border-color: #3a4d38; background: linear-gradient(145deg, #1a281e, #111d17 80%); }
.ai-card-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 28px; color: var(--cyan); }
.ai-control-card .ai-card-top { color: var(--accent); }
.ai-principle-number { font: 500 9px/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: 1px; }
.ai-card-top .icon { width: 27px; height: 27px; }
.ai-principle-card h3 { font-size: clamp(25px, 2.5vw, 33px); line-height: 1.2; letter-spacing: -.9px; }
.ai-principle-card .ai-translation { margin-top: 7px; color: var(--cyan); font-size: 12px; }
.ai-control-card .ai-translation { color: var(--accent); }
.ai-principle-card > p:not(.ai-translation) { margin-top: 23px; padding-bottom: 27px; color: #b1c0ca; font-size: 13px; line-height: 1.85; max-width: 485px; }
.ai-control-card > p:not(.ai-translation) { color: #b6c6af; }
.ai-card-footnote { display: block; margin-top: auto; padding-top: 18px; border-top: 1px solid rgb(124 218 239 / 16%); color: #9cb5bf; font: 500 8px/1.7 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .6px; }
.ai-control-card .ai-card-footnote { color: #adbf9e; border-color: rgb(195 248 120 / 15%); }
.ai-collaboration { padding: 25px 30px 27px; margin-top: 22px; border: 1px solid #2b3945; border-radius: 9px; background: #0e1720; }
.ai-sequence-label { font: 500 8px/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: 1px; color: #8fa4b2; margin-bottom: 24px; }
.ai-sequence { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 45px; padding: 0; margin: 0; }
.ai-sequence li { position: relative; min-width: 0; padding-left: 37px; }
.ai-sequence li:not(:first-child)::before { content: "→"; position: absolute; left: -33px; top: -2px; color: #76909d; font-size: 21px; line-height: 1.5; }
.ai-sequence li > span { position: absolute; top: 1px; left: 0; color: var(--cyan); font: 500 11px/1.7 ui-monospace, SFMono-Regular, Consolas, monospace; }
.ai-sequence li:last-child > span { color: var(--accent); }
.ai-sequence strong { display: block; font-weight: 500; font-size: 14px; line-height: 1.5; }
.ai-sequence p { margin-top: 8px; color: var(--muted); font-size: 11px; line-height: 1.8; }
.industry-note { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 32px; align-items: start; padding-top: 28px; }
.industry-note .eyebrow { padding-top: 2px; color: #b9c8ce; font-size: 9px; letter-spacing: .8px; }
.industry-note .eyebrow a { display: inline-flex; align-items: center; gap: 9px; }
.industry-note .eyebrow a:hover { color: var(--cyan); }
.industry-note .icon { width: 13px; height: 13px; }
.industry-note > p:last-child { color: var(--muted); font-size: 12px; line-height: 1.85; max-width: 815px; }

/* Method */
.method { border-top: 1px solid var(--line); }
.method-steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px; padding: 0; margin: 58px 0 0; }
.step-top { display: flex; align-items: center; gap: 18px; margin-bottom: 27px; }
.step-number { color: var(--accent); font: 300 42px/1 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: -2px; }
.step-rule { flex: 1; height: 1px; background: #34403a; }
.step-top .icon { color: #769169; width: 18px; height: 18px; }
.method-steps h3 { font-size: 22px; letter-spacing: -.55px; margin-bottom: 14px; }
.method-steps p { font-size: 13px; color: var(--muted); line-height: 1.85; max-width: 310px; }
.step-tag { display: block; margin-top: 25px; font: 9px/1.7 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .6px; color: #9caba2; }

/* Technology */
.technology { background: var(--paper); color: var(--ink); }
.technology-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 65px; align-items: center; }
.core-visual { position: relative; border-radius: 9px; overflow: hidden; background: var(--ink); align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.core-visual > img { display: block; width: 100%; height: auto; mix-blend-mode: lighten; }
.core-caption { display: flex; align-items: center; gap: 17px; position: relative; padding: 22px 30px 28px; margin-top: auto; color: #c6d3dc; font: 9px/1.8 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: 1.2px; }
.core-caption .icon { color: var(--cyan); }
.technology .section-eyebrow { color: #426b27; }
.technology h2 { font-size: 42px; }
.technology-copy > p:not(.eyebrow) { font-size: 14px; line-height: 1.85; color: #53616a; margin-top: 22px; max-width: 460px; }
.technology-logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-block: 30px 25px; border: 1px solid #dce1d9; background: #dce1d9; border-radius: 6px; overflow: hidden; }
.technology-logos > div { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; min-height: 112px; background: #fff; padding: 18px 10px 14px; transition: background .2s; }
.technology-logos > div:hover { background: #f6faed; }
.technology-logos img { width: 82px; height: 36px; object-fit: contain; }
.technology-logos img.square-logo { width: 37px; height: 36px; }
.technology-logos img.github-logo { width: 50px; height: 36px; }
.technology-logos span { font: 9px/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; color: #626d72; }
.dark-link { color: #24352b; }
.dark-link:hover { color: #426b27; }

/* FAQ & contact */
.faq { border-top: 1px solid var(--line); background: #0b1119; }
.faq-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 70px; }
.faq .text-link { margin-top: 30px; }
.faq-items { border-top: 1px solid #35414c; }
.faq-items details { border-bottom: 1px solid #2a3540; }
.faq-items summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 24px; font-size: 14px; font-weight: 500; cursor: pointer; list-style: none; line-height: 1.6; }
.faq-items summary::-webkit-details-marker { display: none; }
.faq-items summary:hover { color: var(--accent); }
.faq-items summary .icon { width: 18px; height: 18px; color: var(--accent); transition: transform .2s; }
.faq-items details[open] summary .icon { transform: rotate(45deg); }
.faq-items details > p { font-size: 13px; line-height: 1.85; color: var(--muted); padding: 0 42px 24px 0; }
.contact-section { padding-block: 35px 70px; background: #0b1119; }
.contact-panel { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 54px 54px 50px; background: var(--accent); color: var(--ink); border-radius: 9px; position: relative; overflow: hidden; }
.contact-panel::before { content: "+"; position: absolute; font: 200 350px/1 ui-monospace, SFMono-Regular, Consolas, monospace; right: 18px; top: -95px; opacity: .055; pointer-events: none; }
.contact-panel .eyebrow { font-size: 9px; letter-spacing: 1px; margin-bottom: 19px; }
.contact-panel h2 { font-size: clamp(27px, 2.6vw, 37px); line-height: 1.2; letter-spacing: -1.25px; }
.contact-panel p:not(.eyebrow) { font-size: 13px; margin-top: 19px; max-width: 445px; color: #314321; }
.contact-panel .button { position: relative; flex-shrink: 0; }
.contact-email { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; margin-top: 20px; }
.contact-email .icon { width: 14px; height: 14px; }
.contact-email:hover { text-decoration: underline; color: #263c19; }
.contact-panel :focus-visible { outline-color: #1c481c; }

/* Footer */
.site-footer { padding-block: 45px 35px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-bottom: 35px; border-bottom: 1px solid var(--line); }
.footer-links { display: flex; align-items: center; gap: 28px; }
.footer-links a { display: inline-flex; align-items: center; gap: 7px; color: #b3bec8; font-size: 12px; }
.footer-links .icon { width: 13px; height: 13px; }
.footer-links a:hover, .legal-links a:hover { color: var(--accent); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-top: 27px; }
.footer-bottom > p { color: #a6b1bc; font-size: 10px; line-height: 1.8; }
.footer-bottom > p > span:not(#current-year) { color: #81909d; font-size: 9px; }
.legal-links { display: flex; gap: 20px; font-size: 10px; color: #a6b1bc; }
.social-links { display: flex; gap: 8px; }
.social-links a { display: flex; align-items: center; justify-content: center; width: 29px; height: 29px; border: 1px solid var(--line); border-radius: 4px; color: #a6b1bc; font: 600 10px/1 ui-monospace, SFMono-Regular, Consolas, monospace; }
.social-links a:hover { color: var(--accent); border-color: #53693e; }
.whatsapp-float { position: fixed; bottom: 22px; right: 22px; z-index: 1020; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid #416141; border-radius: 50%; color: var(--accent); background: #13241a; box-shadow: 0 5px 24px rgb(0 0 0 / 25%); transition: transform .2s, background .2s; }
.whatsapp-float:hover { transform: translateY(-3px); background: #1c3b27; }
.whatsapp-float img { width: 25px; height: 25px; filter: brightness(0) invert(1); }

/* Bootstrap owns the dialog behavior; these rules change its appearance only. */
.modal-backdrop { --bs-backdrop-opacity: .82; background: #02070e; }
.consent-modal { backdrop-filter: blur(6px); }
.consent-modal .modal-dialog { max-width: 500px; }
.consent-modal .modal-content { color: var(--text); border: 1px solid #334350; border-radius: 12px; background: #101a24; box-shadow: 0 30px 100px rgb(0 0 0 / 45%); }
.consent-modal .modal-header { display: block; border: 0; padding: 33px 34px 0; }
.consent-brand { gap: 15px; margin-bottom: 26px; font-size: 18px; }
.consent-brand img { width: 86px; height: 50px; }
.consent-brand .brand-subtitle { font-size: 8px; letter-spacing: 1.7px; }
.consent-modal .eyebrow { color: var(--accent); font-size: 9px; margin-bottom: 15px; }
.consent-modal .modal-title { font-size: 26px; font-weight: 600; line-height: 1.25; letter-spacing: -.9px; }
.consent-modal .modal-body { padding: 21px 34px 0; font-size: 13px; color: #aab9c6; line-height: 1.85; }
.consent-modal .modal-body a { color: #e2eaf0; text-decoration: underline; text-underline-offset: 3px; }
.consent-modal .modal-body a:hover { color: var(--accent); }
.consent-modal .modal-footer { display: flex; flex-direction: column; border: 0; padding: 27px 34px 28px; gap: 17px; }
.consent-modal .modal-footer > * { margin: 0; }
.consent-modal .modal-footer .button { width: 100%; justify-content: space-between; font-size: 13px; }
.consent-modal .modal-footer > span { color: #8d9eac; font-size: 9px; }

/* Responsive layouts */
@media (min-width: 1500px) {
    .hero-grid { min-height: 745px; }
    .hero h1 { font-size: 72px; }
}
@media (max-width: 1200px) {
    .site-container { width: calc(100% - 72px); }
    .header-inner { gap: 22px; }
    .nav-links { gap: 19px; }
    .nav-actions { gap: 17px; margin-left: 0; }
    .hero-grid { min-height: 660px; gap: 0; }
    .hero h1 { font-size: 56px; letter-spacing: -2.8px; }
    .hero-art { width: calc(100% + 36px); }
    .hero-actions { gap: 18px; }
    .hero-actions .button { padding-inline: 17px; font-size: 12px; gap: 13px; }
    .hero-actions .text-link { font-size: 12px; gap: 8px; }
    .hero-principles { gap: 23px; font-size: 11px; }
    .section-heading { gap: 55px; }
    .architecture-group { padding: 30px; }
    .framework-ops { padding: 28px 30px; }
    .module-grid { gap: 20px; }
    .module-card + .module-card { padding-left: 20px; }
    .module-card h4 { font-size: 16px; }
    .technology-grid { gap: 42px; }
    .contact-panel { padding: 45px; }
}
@media (max-width: 1040px) {
    .header-inner { min-height: 76px; justify-content: space-between; }
    .nav-toggle { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 7px; border: 1px solid #33404c; border-radius: 4px; width: 43px; height: 40px; background: transparent; color: var(--text); }
    .nav-toggle span { width: 19px; height: 1px; background: currentColor; transition: transform .2s; }
    .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
    .site-navigation { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #101923; border-bottom: 1px solid #35414c; padding: 22px 36px 28px; box-shadow: 0 18px 25px rgb(0 0 0 / 20%); }
    .site-navigation.is-open { display: flex; align-items: stretch; flex-direction: column; gap: 22px; }
    .nav-links { margin: 0; flex-direction: column; align-items: stretch; gap: 0; }
    .nav-links a { padding: 14px 0; font-size: 14px; border-bottom: 1px solid #25323d; }
    .nav-actions { justify-content: space-between; }
    .nav-login { font-size: 14px; padding: 10px 0; }
    .hero-grid { min-height: 610px; padding-block: 50px; }
    .hero h1 { font-size: 48px; }
    .hero-description { font-size: 17px; }
    .hero-detail { font-size: 13px; max-width: 360px; }
    .hero-actions { flex-direction: column; align-items: flex-start; gap: 18px; }
    .hero-signature { max-width: 320px; font-size: 9px; }
    .hero-art { width: calc(100% + 64px); }
    .hero-principles { gap: 17px; }
    .hero-bottom { gap: 22px; }
    .hero-bottom > p { font-size: 10px; }
    .hero-principles { font-size: 10px; }
    .visual-tag { font-size: 10px; padding: 8px 10px; }
    .visual-coordinate, .visual-caption { font-size: 7px; }
    .section { padding-block: 78px; }
    .section h2 { font-size: 36px; }
    .section-heading { gap: 42px; }
    .architecture-group { padding: 25px; }
    .architecture-group-heading h3, .framework-ops-heading h3 { font-size: 36px; }
    .architecture-group-heading { padding-bottom: 23px; }
    .architecture-label { font-size: 8px; letter-spacing: .8px; }
    .module-grid { gap: 16px; padding-block: 24px; }
    .module-card + .module-card { padding-left: 16px; }
    .module-card h4 { font-size: 14px; }
    .module-card p { font-size: 11px; }
    .framework-ops { padding: 27px 25px; }
    .framework-ops-heading { gap: 25px; }
    .framework-ops-heading > p { max-width: 365px; font-size: 12px; }
    .foundation-grid { gap: 24px; }
    .ai-principle-card { padding: 27px; }
    .ai-principle-card h3 { font-size: 27px; }
    .ai-collaboration { padding: 25px; }
    .ai-sequence { gap: 30px; }
    .ai-sequence li { padding-left: 30px; }
    .ai-sequence li:not(:first-child)::before { left: -23px; font-size: 18px; }
    .ai-sequence strong { font-size: 12px; }
    .industry-note { grid-template-columns: 130px minmax(0, 1fr); gap: 24px; }
    .method-steps { gap: 32px; }
    .method-steps h3 { font-size: 20px; }
    .step-tag { font-size: 8px; }
    .technology-grid { gap: 32px; grid-template-columns: .85fr 1.15fr; }
    .technology-logos > div { padding-inline: 8px; }
    .technology-logos img { width: 65px; height: 30px; }
    .technology-logos img.square-logo { width: 30px; height: 30px; }
    .technology-logos img.github-logo { height: 30px; }
    .technology-logos { margin-top: 22px; }
    .devops-grid { gap: 12px; }
    .service-card { padding: 20px; }
    .service-card p { font-size: 12px; }
    .service-scope { font-size: 7px; letter-spacing: .3px; }
    .faq-grid { gap: 42px; }
    .contact-panel { gap: 25px; padding: 36px; }
    .contact-panel h2 { font-size: 29px; }
    .footer-bottom { flex-wrap: wrap; }
}
@media (max-width: 760px) {
    html { scroll-padding-top: 92px; }
    .site-container { width: calc(100% - 40px); }
    .header-inner { min-height: 72px; }
    .brand { font-size: 14px; gap: 9px; }
    .brand img { width: 51px; height: 34px; }
    .brand-subtitle { font-size: 7px; letter-spacing: 1px; }
    .site-navigation { padding: 15px 20px 22px; }
    .hero-grid { display: flex; flex-direction: column; gap: 30px; padding-block: 44px 31px; }
    .hero-copy { width: 100%; }
    .hero-copy > .eyebrow { font-size: 10px; margin-bottom: 24px; }
    .hero h1 { font-size: clamp(39px, 8.9vw, 62px); letter-spacing: -2.3px; line-height: 1.09; }
    .hero-description { font-size: 17px; margin-top: 23px; }
    .hero-detail { max-width: 470px; margin-top: 13px; }
    .hero-actions { flex-direction: row; flex-wrap: wrap; gap: 18px 23px; margin-top: 27px; }
    .hero-actions .button { min-height: 48px; font-size: 12px; padding-inline: 16px; }
    .hero-signature { max-width: none; margin-top: 25px; }
    .hero-visual { align-self: center; width: min(100%, 460px); aspect-ratio: 1; margin-top: 9px; }
    .hero-art { width: 100%; }
    .visual-coordinate { left: 5px; top: -3px; font-size: 7px; }
    .visual-caption { left: 5px; bottom: -1px; font-size: 7px; letter-spacing: .5px; }
    .tag-front { top: 20%; right: 0; }
    .tag-back { top: 56%; left: 0; }
    .tag-ops { right: 0; bottom: 12%; }
    .hero-bottom { display: grid; grid-template-columns: 1fr auto; gap: 20px; min-height: auto; padding-block: 24px; }
    .hero-bottom > p { font-size: 11px; }
    .hero-principles { grid-column: 1 / -1; grid-row: 2; gap: 14px 20px; font-size: 10px; }
    .scroll-link { grid-column: 2; grid-row: 1; }
    .section { padding-block: 62px; }
    .section h2 { font-size: 31px; line-height: 1.2; letter-spacing: -1.2px; }
    .section-eyebrow { margin-bottom: 17px; font-size: 9px; letter-spacing: 1px; }
    .section-heading { grid-template-columns: 1fr; gap: 22px; margin-bottom: 31px; }
    .section-heading > p { max-width: 520px; font-size: 13px; }
    .architecture-grid { grid-template-columns: 1fr; }
    .architecture-group { padding: 27px 24px; }
    .architecture-group-heading h3, .framework-ops-heading h3 { font-size: 35px; }
    .architecture-label { font-size: 9px; letter-spacing: .7px; }
    .architecture-group-heading > p:last-child { font-size: 12px; }
    .module-grid { gap: 24px; padding-block: 25px; }
    .module-card + .module-card { padding-left: 24px; }
    .module-card h4 { font-size: 18px; }
    .module-card p { font-size: 12px; }
    .framework-ops { padding: 27px 24px; }
    .framework-ops-heading { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 23px; }
    .framework-ops-heading > p { max-width: 490px; }
    .foundation-grid { grid-template-columns: 1fr; gap: 26px; margin-top: 30px; padding-top: 29px; }
    .foundation-grid p { max-width: 440px; }
    .ai-principle-grid { grid-template-columns: 1fr; gap: 15px; }
    .ai-principle-card { padding: 27px 24px; }
    .ai-card-top { margin-bottom: 23px; }
    .ai-principle-card h3 { font-size: 30px; }
    .ai-principle-card > p:not(.ai-translation) { max-width: none; padding-bottom: 23px; margin-top: 19px; }
    .ai-collaboration { padding: 25px 24px; margin-top: 17px; }
    .ai-sequence-label { margin-bottom: 22px; }
    .ai-sequence { grid-template-columns: 1fr; gap: 32px; }
    .ai-sequence li { padding-left: 36px; }
    .ai-sequence li:not(:first-child)::before { content: "↓"; top: -27px; left: 5px; font-size: 17px; }
    .ai-sequence strong { font-size: 14px; }
    .ai-sequence p { margin-top: 5px; font-size: 12px; }
    .industry-note { grid-template-columns: 1fr; gap: 12px; padding-top: 25px; }
    .method-steps { grid-template-columns: 1fr; gap: 37px; margin-top: 36px; }
    .step-top { margin-bottom: 20px; }
    .step-number { font-size: 36px; }
    .method-steps h3 { font-size: 23px; }
    .method-steps p { max-width: 520px; }
    .step-tag { margin-top: 16px; font-size: 9px; }
    .technology-grid { grid-template-columns: 1fr; gap: 32px; }
    .core-visual { width: 100%; max-width: 460px; margin-inline: auto; }
    .core-caption { padding: 10px 24px 24px; }
    .technology-copy { grid-row: 1; }
    .technology-copy > p:not(.eyebrow) { font-size: 13px; margin-top: 19px; }
    .technology-logos { grid-template-columns: repeat(4, 1fr); margin-top: 25px; }
    .technology-logos > div { min-height: 103px; gap: 11px; padding: 16px 7px 13px; }
    .technology-logos img { width: 68px; height: 31px; }
    .technology-logos span { font-size: 8px; }
    .technology .text-link { font-size: 12px; }
    .devops-grid { grid-template-columns: 1fr; gap: 12px; }
    .service-card { padding: 22px; }
    .service-card-heading { margin-bottom: 14px; }
    .service-card p { min-height: auto; max-width: 440px; }
    .service-scope { font-size: 8px; margin-top: 16px; }
    .faq-grid { grid-template-columns: 1fr; gap: 30px; }
    .faq .text-link { margin-top: 24px; }
    .faq-items summary { font-size: 13px; padding-block: 21px; gap: 18px; }
    .faq-items details > p { padding-right: 20px; font-size: 12px; }
    .contact-section { padding-block: 10px 44px; }
    .contact-panel { align-items: flex-start; flex-direction: column; padding: 33px 26px; gap: 27px; }
    .contact-panel h2 { font-size: 28px; line-height: 1.24; letter-spacing: -1px; }
    .contact-panel .eyebrow { font-size: 8px; letter-spacing: .7px; }
    .contact-panel p:not(.eyebrow) { font-size: 12px; margin-top: 17px; }
    .contact-panel .button { width: 100%; justify-content: space-between; }
    .site-footer { padding-block: 35px 65px; }
    .footer-top { flex-direction: column; align-items: flex-start; gap: 28px; padding-bottom: 25px; }
    .footer-links { gap: 20px; flex-wrap: wrap; }
    .footer-links a { font-size: 11px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: 21px; padding-top: 23px; }
    .legal-links { flex-wrap: wrap; font-size: 10px; gap: 17px; }
    .whatsapp-float { width: 44px; height: 44px; bottom: 16px; right: 16px; }
    .consent-modal .modal-dialog { margin-inline: 16px; }
    .consent-modal .modal-header { padding: 28px 25px 0; }
    .consent-modal .modal-title { font-size: 24px; }
    .consent-modal .modal-body { padding: 19px 25px 0; font-size: 12px; }
    .consent-modal .modal-footer { padding: 24px 25px; }
}
@media (max-width: 560px) {
    .module-grid { grid-template-columns: 1fr; }
    .module-card { display: grid; grid-template-columns: 43px minmax(0, 1fr); column-gap: 16px; }
    .module-icon { grid-row: 1 / 3; margin-bottom: 0; }
    .module-card + .module-card { border-left: 0; border-top: 1px solid rgb(124 218 239 / 14%); padding-left: 0; padding-top: 24px; }
    .module-card h4 { font-size: 18px; }
    .module-card p { margin-top: 6px; }
}
@media (max-width: 360px) {
    .consent-brand { gap: 12px; font-size: 16px; }
    .consent-brand img { width: 70px; height: 42px; }
    .hero h1 { font-size: 37px; letter-spacing: -2px; }
    .hero-description { font-size: 16px; }
    .desktop-break { display: none; }
    .hero-actions { gap: 19px; }
    .hero-actions .button { width: 100%; justify-content: space-between; }
    .hero-principles { gap: 12px; }
    .section h2 { font-size: 28px; }
    .architecture-group, .framework-ops { padding-inline: 20px; }
    .architecture-group-heading h3, .framework-ops-heading h3 { font-size: 32px; }
    .architecture-label { font-size: 8px; letter-spacing: .4px; }
    .architecture-link, .framework-ops-link { font-size: 11px; }
    .ai-principle-card, .ai-collaboration { padding-inline: 20px; }
    .ai-principle-card h3 { font-size: 27px; }
    .technology-logos { grid-template-columns: repeat(2, 1fr); }
    .technology-logos img { width: 82px; }
    .technology-logos span { font-size: 9px; }
    .contact-panel { padding-inline: 22px; }
    .contact-panel h2 { font-size: 25px; }
    .consent-modal .modal-header { padding-inline: 21px; }
    .consent-modal .modal-title { font-size: 22px; }
    .consent-modal .modal-body { padding-inline: 21px; }
    .consent-modal .modal-footer { padding-inline: 21px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}
