:root {
  --ink: #474E52;
  --ink-soft: #5B6265;
  --ink-muted: #5f686b;
  --paper: #f2f7f8;
  --paper-deep: #e3f0f3;
  --paper-bright: #ffffff;
  --line: #cfe0e5;
  --line-dark: rgba(255, 255, 255, .18);
  --white: #fff;
  --accent: #319CB8;
  --accent-strong: #176b80;
  --orange: #176b80;
  --blue: #176b80;
  --shadow: 0 18px 50px rgba(71, 78, 82, .12);
  --radius: 12px;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --serif: Georgia, "Times New Roman", serif;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { min-width: 320px; margin: 0; color: var(--ink); background: var(--paper); }
body, button, select { font: inherit; }
a { color: inherit; text-decoration: none; }
button, select { border: 0; }
button { cursor: pointer; }
img { max-width: 100%; }
::selection { color: var(--ink); background: var(--accent); }
:focus-visible { outline: 3px solid var(--accent-strong); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 20; top: 10px; left: 12px; padding: 10px 14px; color: var(--ink); background: var(--accent); transform: translateY(-150%); transition: transform .2s ease; }
.skip-link:focus { transform: translateY(0); }
.container { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }
.site-shell { overflow: hidden; }
.site-header { position: sticky; z-index: 10; top: 0; border-bottom: 1px solid var(--line); background: rgba(242, 247, 248, .92); backdrop-filter: blur(16px); }
.nav { position: relative; display: flex; align-items: center; gap: 32px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; gap: 10px; }
.brand-mark-wrap { display: grid; place-items: center; flex: 0 0 30px; width: 30px; height: 30px; }
.brand-mark { display: block; width: 30px; height: 30px; }
.brand-copy { display: grid; gap: 2px; }
.brand-name { font-size: .96rem; font-weight: 850; letter-spacing: -.04em; }
.brand-sub { color: var(--ink-muted); font-family: var(--mono); font-size: .58rem; letter-spacing: .08em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 25px; margin-left: auto; }
.nav-links a, .footer-links a { color: var(--ink-muted); font-size: .76rem; font-weight: 720; transition: color .2s ease; }
.nav-links a:hover, .nav-links a[aria-current="page"], .footer-links a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.language-control { display: inline-flex; align-items: center; }
.language-control select { min-height: 34px; padding: 0 25px 0 9px; border: 1px solid var(--line); border-radius: 3px; color: var(--ink); outline: 0; background: transparent; font-family: var(--mono); font-size: .62rem; font-weight: 800; letter-spacing: .05em; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 11px) 14px, calc(100% - 7px) 14px; background-size: 4px 4px, 4px 4px; background-repeat: no-repeat; }
.nav-cta { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border: 1px solid var(--ink); color: var(--paper); background: var(--ink); font-size: .73rem; font-weight: 800; transition: color .2s ease, background .2s ease, transform .2s ease; }
.nav-cta:hover { color: var(--ink); background: var(--accent); transform: translateY(-1px); }
.menu-button { display: none; width: 38px; height: 38px; padding: 9px; border: 1px solid var(--line); background: transparent; }
.menu-button span { display: block; height: 1px; margin: 5px 0; background: var(--ink); }

.hero { color: var(--paper); background-color: var(--ink); }
.home-hero { position: relative; isolation: isolate; padding: 108px 0 96px; }
.home-hero::before { position: absolute; z-index: -1; inset: 0; opacity: .42; background-image: linear-gradient(rgba(242, 247, 248, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(242, 247, 248, .055) 1px, transparent 1px); background-size: 72px 72px; content: ""; mask-image: linear-gradient(90deg, #000, transparent 83%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr); gap: clamp(44px, 8vw, 112px); align-items: center; }
.hero-copy-block { max-width: 650px; }
.eyebrow, .section-kicker, .card-index, .mono-label, .mini-label, .code-label, .meta-label, .platform-index, .timeline-label, .step-number { font-family: var(--mono); font-size: .66rem; font-weight: 800; letter-spacing: .13em; line-height: 1.35; text-transform: uppercase; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 25px; color: var(--accent); }
.eyebrow-dot, .status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(49, 156, 184, .16); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 830; letter-spacing: -.055em; }
h1 { max-width: 760px; margin-bottom: 24px; font-size: clamp(3.2rem, 7.3vw, 6.35rem); line-height: .93; }
h2 { max-width: 760px; margin-bottom: 20px; font-size: clamp(2rem, 4vw, 3.75rem); line-height: .98; }
h3 { font-size: 1.15rem; line-height: 1.08; }
.hero-copy { max-width: 600px; margin-bottom: 30px; color: #d0e0e4; font-size: clamp(1.02rem, 1.4vw, 1.2rem); line-height: 1.62; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 45px; padding: 0 17px; border: 1px solid transparent; border-radius: 3px; font-size: .76rem; font-weight: 800; transition: transform .2s ease, color .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--ink); background: var(--accent); }
.button-primary:hover { background: #65bed2; }
.button-ghost { border-color: rgba(245, 243, 237, .30); color: var(--paper); background: transparent; }
.button-ghost:hover { border-color: var(--paper); background: rgba(245, 243, 237, .08); }
.button-dark { color: var(--paper); background: var(--ink); }
.button-dark:hover { background: var(--ink-soft); }
.hero-note { margin: 21px 0 0; color: #b6c6c0; font-family: var(--mono); font-size: .65rem; letter-spacing: .04em; }
.text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; color: var(--ink); font-size: .77rem; font-weight: 820; }
.text-link:hover { color: var(--orange); }
.hero .text-link { color: var(--accent); }

.architecture-card { border: 1px solid rgba(245, 243, 237, .22); background: #1b2528; box-shadow: 22px 22px 0 rgba(49, 156, 184, .16); }
.architecture-card-head, .architecture-card-foot, .terminal-head, .studio-window-bar { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.architecture-card-head { min-height: 48px; padding: 0 18px; border-bottom: 1px solid var(--line-dark); color: #c7d8dc; font-family: var(--mono); font-size: .63rem; }
.architecture-card-head > span:first-child { display: inline-flex; align-items: center; gap: 9px; }
.mono-label { color: #b8cbd0; font-size: .58rem; letter-spacing: .05em; }
.architecture-flow { display: grid; gap: 0; padding: 25px 22px 18px; }
.flow-node { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; min-height: 82px; padding: 14px 15px; border: 1px solid rgba(245, 243, 237, .18); }
.flow-node-light { color: var(--ink); background: var(--paper); }
.flow-node-accent { color: var(--ink); border-color: var(--accent); background: var(--accent); }
.flow-node-dark { color: var(--paper); border-color: rgba(245, 243, 237, .20); background: #142125; }
.node-index { align-self: start; color: #7c877e; font-family: var(--mono); font-size: .61rem; }
.flow-node strong { display: block; font-size: 1.05rem; letter-spacing: -.03em; }
.flow-node small { display: block; margin-top: 5px; color: #52636a; font-family: var(--mono); font-size: .62rem; }
.flow-node-dark small { color: #b5cbd0; }
.node-symbol { font-size: 1.35rem; font-weight: 300; }
.flow-connector { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; height: 38px; color: #b5cbd0; font-family: var(--mono); font-size: .58rem; text-transform: uppercase; }
.flow-connector span:first-child { position: relative; display: block; width: 100%; height: 1px; background: #7f9aa2; }
.flow-connector span:first-child::after { position: absolute; top: -3px; right: 0; width: 6px; height: 6px; border-top: 1px solid #c6d9dd; border-right: 1px solid #c6d9dd; transform: rotate(45deg); content: ""; }
.architecture-card-foot { padding: 15px 22px; border-top: 1px solid var(--line-dark); }
.architecture-card-foot > span { display: grid; gap: 4px; color: #86938a; font-family: var(--mono); font-size: .56rem; }
.architecture-card-foot b { color: var(--accent); font-size: .82rem; letter-spacing: .03em; }

.proof-strip { color: var(--paper); background: #1b2528; }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-item { display: flex; align-items: center; gap: 13px; min-height: 78px; padding: 0 18px; border-right: 1px solid var(--line-dark); color: #bdc7bf; font-size: .74rem; font-weight: 700; }
.proof-item:first-child { border-left: 1px solid var(--line-dark); }
.proof-number { color: var(--accent); font-family: var(--mono); font-size: .62rem; }

.section-identity { padding-top: 92px; padding-bottom: 92px; background: var(--paper-deep); }
.identity-grid { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: 80px; align-items: start; }
.identity-heading h2 { max-width: 420px; margin-bottom: 0; }
.identity-copy { max-width: 700px; }
.identity-copy > p:first-child { margin: 0; color: var(--ink); font-size: 1.2rem; line-height: 1.65; }
.identity-english { margin: 24px 0 0; padding-left: 19px; border-left: 2px solid var(--blue); color: var(--ink-muted); font-family: var(--serif); font-size: 1.02rem; font-style: italic; line-height: 1.65; }
.origin-band { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 35px; align-items: center; margin-top: 70px; padding: 30px 34px; border: 1px solid rgba(49, 156, 184, .34); background: var(--paper); }
.origin-script { color: var(--blue); font-family: var(--serif); font-size: 3.2rem; line-height: 1; direction: rtl; }
.origin-band h3 { margin: 0 0 10px; font-size: 1.45rem; }
.origin-band p:not(.section-kicker) { max-width: 760px; margin: 0; color: var(--ink-muted); line-height: 1.7; }

.section { padding: 115px 0; }
.section-paper { background: var(--paper); }
.section-dark { color: var(--paper); background: var(--ink); }
.intro-grid, .sql-grid { display: grid; grid-template-columns: minmax(0, .93fr) minmax(0, 1fr); gap: 80px; align-items: start; }
.section-kicker { margin-bottom: 17px; color: var(--orange); }
.section-dark .section-kicker { color: var(--accent); }
.intro-grid h2 { max-width: 510px; }
.intro-copy { max-width: 540px; padding-top: 25px; }
.intro-copy p, .sql-copy p, .section-heading > p { color: var(--ink-muted); font-size: 1.02rem; line-height: 1.7; }
.boundary-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: stretch; margin-top: 70px; }
.boundary-card { min-height: 285px; padding: 28px; border: 1px solid var(--line); background: var(--paper-bright); }
.boundary-card h3 { max-width: 310px; margin: 30px 0 14px; font-size: 1.5rem; }
.boundary-card > p:not(.card-index) { max-width: 310px; color: var(--ink-muted); font-size: .9rem; line-height: 1.65; }
.boundary-old { background: transparent; }
.boundary-new { border-color: var(--ink); box-shadow: 9px 9px 0 var(--accent); }
.card-index { margin: 0; color: var(--ink-muted); font-size: .59rem; }
.boundary-new .card-index, .feature-card .card-index { color: var(--ink); }
.boundary-arrow { align-self: center; color: var(--orange); font-size: 2rem; }
.boundary-line { display: flex; align-items: center; gap: 7px; margin-top: 39px; }
.line-host, .line-database, .line-storage { display: block; height: 12px; border: 1px solid var(--ink); }
.line-host { width: 56px; background: var(--ink); }
.line-database { width: 32px; background: var(--paper-deep); }
.line-storage { width: 92px; background: var(--accent); }

.section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, .6fr); gap: 70px; align-items: end; margin-bottom: 48px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { margin-bottom: 2px; }
.section-heading-dark > p { color: #c7d8dc; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; border: 1px solid var(--line-dark); background: var(--line-dark); }
.feature-card { min-height: 285px; padding: 24px; background: #1f2c30; transition: background .2s ease, transform .2s ease; }
.feature-card:hover { background: #263a40; transform: translateY(-3px); }
.feature-top { display: flex; align-items: start; justify-content: space-between; margin-bottom: 72px; }
.feature-number { color: var(--accent); font-family: var(--mono); font-size: .63rem; }
.feature-icon { color: var(--orange); font-size: 1.35rem; line-height: 1; }
.feature-card h3 { max-width: 220px; margin-bottom: 13px; font-size: 1.25rem; }
.feature-card p { margin: 0; color: #c7d8dc; font-size: .83rem; line-height: 1.65; }
.feature-card code, .main-card code { color: var(--ink); background: var(--accent); }
.feature-card code { color: var(--accent); background: transparent; font-family: var(--mono); font-size: .77rem; }

.section-sql { border-bottom: 1px solid var(--line); }
.sql-copy h2 { max-width: 500px; }
.sql-copy .hero-actions { margin-top: 29px; }
.sql-copy .text-link { margin-top: 0; }
.terminal-card { overflow: hidden; border: 1px solid var(--line); background: #142125; box-shadow: var(--shadow); }
.terminal-card-light { background: #1d2b30; }
.terminal-head { min-height: 47px; padding: 0 17px; border-bottom: 1px solid var(--line-dark); color: #c7d8dc; font-family: var(--mono); font-size: .61rem; }
.terminal-lights { display: inline-flex; gap: 5px; }
.terminal-lights i { display: block; width: 7px; height: 7px; border-radius: 50%; background: #6b776f; }
.terminal-lights i:first-child { background: var(--orange); }
.terminal-lights i:last-child { background: var(--accent); }
.terminal-live { color: var(--accent); font-size: .58rem; text-transform: uppercase; }
.terminal-code { min-height: 250px; padding: 28px; color: #e4f0f2; font-family: var(--mono); font-size: .78rem; line-height: 1.7; white-space: nowrap; }
.code-muted { color: #b5cbd0; }
.code-green { color: #9de0b9; }
.code-blue { color: #8ed9e5; }
.code-accent { color: #a8e5ec; }

.community-section { padding: 82px 0; background: var(--paper-deep); }
.community-panel { display: grid; grid-template-columns: minmax(260px, .8fr) 1.2fr; gap: 56px; align-items: center; padding: 28px; border: 1px solid var(--line); background: var(--paper-bright); box-shadow: 9px 9px 0 rgba(32, 154, 184, .16); }
.community-logo-card { display: grid; place-items: center; min-height: 280px; padding: 18px; border: 1px solid var(--line); background: #fff; }
.community-logo-card img { display: block; width: min(100%, 320px); height: auto; }
.community-copy { max-width: 560px; }
.community-actions { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 22px; }
.community-actions .text-link { margin-top: 0; }
.community-whatsapp:hover { color: #128c7e; }
.cta-section { padding: 75px 0; background: var(--paper-deep); }
.cta-panel { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 42px; border: 1px solid var(--ink); background: var(--accent); }
.cta-panel h2 { margin-bottom: 12px; }
.cta-panel p:not(.section-kicker) { max-width: 520px; margin-bottom: 0; color: #294c56; line-height: 1.6; }
.cta-panel .section-kicker { color: #1d6f83; }
.cta-panel-dark { border-color: rgba(245, 243, 237, .24); color: var(--paper); background: #1d2b30; }
.cta-panel-dark p:not(.section-kicker) { color: #c7d8dc; }
.cta-panel-dark .section-kicker { color: var(--accent); }

.page-hero { position: relative; overflow: hidden; color: var(--paper); background: var(--ink); }
.page-hero::after { position: absolute; right: 6%; bottom: -185px; width: 390px; height: 390px; border: 1px solid rgba(245, 243, 237, .12); border-radius: 50%; content: ""; }
.page-hero-grid { display: flex; align-items: end; justify-content: space-between; gap: 50px; padding: 86px 0 78px; }
.page-hero .breadcrumbs { display: flex; gap: 9px; margin-bottom: 25px; color: #bfd0d4; font-family: var(--mono); font-size: .63rem; }
.page-hero .breadcrumbs a { color: var(--accent); }
.page-hero h1 { max-width: 850px; margin-bottom: 20px; font-size: clamp(2.8rem, 6vw, 5.4rem); }
.page-hero p:not(.eyebrow) { max-width: 700px; margin-bottom: 0; color: #d0e0e4; font-size: 1.06rem; line-height: 1.65; }
.page-hero-index { display: grid; position: relative; z-index: 1; flex: 0 0 160px; gap: 10px; color: #b8cbd0; font-family: var(--mono); font-size: .62rem; text-align: right; text-transform: uppercase; }
.page-hero-index span:first-child { color: var(--accent); font-size: 3.5rem; letter-spacing: -.12em; }

.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 60px; align-items: start; }
.main-card, .side-card { border: 1px solid var(--line); background: var(--paper-bright); }
.main-card { padding: clamp(26px, 4vw, 50px); }
.main-card h2 { margin-top: 49px; font-size: 2rem; }
.main-card h2:first-of-type { margin-top: 0; }
.main-card h3 { margin-top: 30px; }
.main-card p, .main-card li { color: var(--ink-muted); line-height: 1.75; }
.main-card ul { padding-left: 20px; }
.main-card .hero-actions { margin-top: 30px; }
.side-card { position: sticky; top: 102px; padding: 22px; }
.side-card h3 { margin-bottom: 14px; font-size: .96rem; letter-spacing: -.025em; }
.side-links { display: grid; gap: 3px; }
.side-links a { padding: 9px 10px; color: var(--ink-muted); font-size: .77rem; font-weight: 750; }
.side-links a:hover { color: var(--ink); background: var(--paper-deep); }
.side-rule { height: 1px; margin: 21px 0 17px; background: var(--line); }
.side-note { margin: 0; color: var(--ink-muted); font-size: .73rem; line-height: 1.65; }
.callout { margin: 27px 0; padding: 16px 18px; border-left: 3px solid var(--accent-strong); color: var(--ink-muted); background: #e7f4f7; font-size: .86rem; line-height: 1.65; }
.callout strong { color: var(--ink); }
.code-card { margin: 23px 0; border: 1px solid var(--line); background: #16272d; }
.code-label { padding: 11px 16px; border-bottom: 1px solid var(--line-dark); color: #b5cbd0; font-size: .57rem; }
.code-card pre { overflow-x: auto; margin: 0; padding: 20px; color: #e4f0f2; font-family: var(--mono); font-size: .76rem; line-height: 1.75; }
.check-list { display: grid; gap: 11px; padding: 0 !important; list-style: none; }
.check-list li { position: relative; padding-left: 24px; }
.check-list li::before { position: absolute; left: 0; top: .35em; width: 10px; height: 5px; border-bottom: 2px solid var(--accent-strong); border-left: 2px solid var(--accent-strong); transform: rotate(-45deg); content: ""; }
.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-dark); }
.mini-card { min-height: 195px; padding: 27px; background: #1d2b30; }
.mini-card-light { border: 1px solid var(--line); background: var(--paper-bright); }
.mini-card h3 { margin: 46px 0 13px; }
.mini-card p { margin: 0; color: #c7d8dc; font-size: .84rem; line-height: 1.65; }
.mini-card-light p { color: var(--ink-muted); }
.mini-card .card-index { color: var(--accent); }
.mini-card-light .card-index { color: var(--orange); }

.step-block { display: grid; grid-template-columns: 43px 1fr; gap: 22px; padding: 8px 0 48px; border-bottom: 1px solid var(--line); }
.step-block + .step-block { padding-top: 48px; }
.step-block:last-child { padding-bottom: 0; border-bottom: 0; }
.step-number { display: grid; place-items: center; width: 34px; height: 34px; color: var(--ink); background: var(--accent); font-size: .59rem; }
.step-block h2 { margin-bottom: 13px; font-size: 1.85rem; }
.step-block .text-link { margin-top: 3px; }
.quickstart-availability { border-bottom: 1px solid var(--line); background: var(--paper-deep); }
.quickstart-availability .container { display: flex; justify-content: space-between; gap: 30px; align-items: center; min-height: 72px; }
.quickstart-availability .container > div { display: flex; gap: 10px; align-items: center; }
.quickstart-availability strong { font-size: .78rem; }
.quickstart-availability span:not(.status-dot), .quickstart-availability p { color: var(--ink-muted); font-family: var(--mono); font-size: .64rem; }
.quickstart-availability p { max-width: 530px; margin: 0; line-height: 1.55; text-align: right; }
.quickstart-runbook { padding-top: 88px; }
.runbook { max-width: 940px; }
.runbook-intro { max-width: 690px; margin-bottom: 54px; }
.runbook-intro h2 { margin-bottom: 15px; }
.runbook-intro > p:not(.section-kicker) { color: var(--ink-muted); font-size: 1rem; line-height: 1.7; }
.runbook-step { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 26px; padding: 54px 0; border-top: 1px solid var(--line); }
.runbook-step-body { min-width: 0; }
.runbook-step h2 { margin: 0 0 13px; font-size: clamp(1.65rem, 3vw, 2.15rem); }
.runbook-step-body > p:not(.section-kicker) { max-width: 730px; color: var(--ink-muted); line-height: 1.75; }
.runbook-step .code-card { margin: 25px 0 18px; }
.expected-result, .credential-fact { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; padding: 14px 16px; border-left: 3px solid var(--accent); background: var(--paper-deep); }
.expected-result strong, .credential-fact span { font-size: .73rem; }
.expected-result code, .credential-fact code { overflow-wrap: anywhere; color: var(--ink); font-family: var(--mono); font-size: .7rem; }
.provider-examples { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 18px 0; background: var(--line); }
.provider-examples > div { display: grid; gap: 8px; padding: 16px; background: var(--paper-deep); }
.provider-examples strong { font-size: .78rem; }
.provider-examples code { overflow-wrap: anywhere; color: var(--ink); font-family: var(--mono); font-size: .65rem; line-height: 1.45; }
.provider-examples span { color: var(--ink-muted); font-family: var(--mono); font-size: .61rem; }
.definition-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 18px; background: var(--line); }
.definition-grid > div { display: grid; gap: 7px; padding: 16px; background: var(--paper-deep); }
.definition-grid strong { font-family: var(--mono); font-size: .72rem; }
.definition-grid span { color: var(--ink-muted); font-size: .75rem; }
.runbook-finish { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-top: 22px; padding: 34px; color: var(--paper); background: var(--ink); }
.runbook-finish h2 { max-width: 560px; margin-bottom: 10px; }
.runbook-finish p:not(.section-kicker) { max-width: 600px; margin: 0; color: #c7d8dc; line-height: 1.65; }
.runbook-finish .hero-actions { flex: 0 0 auto; margin: 0; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 80px; align-items: center; }
.split-copy { max-width: 550px; }
.split-dark .split-copy p:not(.section-kicker) { color: #c7d8dc; }
.metric-panel { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.metric-panel div { min-height: 105px; padding: 20px 14px; border-right: 1px solid var(--line-dark); }
.metric-panel div:last-child { border-right: 0; }
.metric-panel span { display: block; margin-bottom: 16px; color: #b6c6c0; font-family: var(--mono); font-size: .57rem; text-transform: uppercase; }
.metric-panel strong { color: var(--accent); font-size: 1.15rem; letter-spacing: -.04em; }

.download-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-bottom: 22px; }
.download-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--ink-muted); font-family: var(--mono); font-size: .66rem; }
.download-meta strong { color: var(--ink); }
.meta-label { color: var(--orange); font-size: .57rem; }
.filter-row { display: flex; flex-wrap: wrap; gap: 5px; }
.filter { padding: 9px 12px; border: 1px solid var(--line); border-radius: 3px; color: var(--ink-muted); background: transparent; font-family: var(--mono); font-size: .61rem; font-weight: 800; }
.filter:hover, .filter.active { border-color: var(--ink); color: var(--ink); background: var(--accent); }
.download-list { display: grid; gap: 10px; }
.download-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 23px 25px; border: 1px solid var(--line); background: var(--paper-bright); }
.download-title { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.download-title h3 { margin: 0; font-size: 1.08rem; }
.download-sub { margin: 8px 0 0; color: var(--ink-muted); font-size: .78rem; }
.download-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 13px; }
.tag { padding: 5px 8px; color: var(--ink-muted); background: var(--paper-deep); font-family: var(--mono); font-size: .57rem; font-weight: 750; }
.tag.good { color: var(--ink); background: var(--accent); }
.download-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.download-actions .button { min-height: 38px; padding: 0 13px; font-size: .68rem; }
.button-quiet { border: 1px solid var(--line); color: var(--ink); background: transparent; }
.button-quiet:hover { border-color: var(--ink); background: var(--paper-deep); }
.empty-state { padding: 32px 20px; border: 1px dashed #aeb9af; color: var(--ink-muted); background: var(--paper-bright); text-align: center; }
.platform-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-dark); }
.platform { min-height: 210px; padding: 23px; border: 1px solid var(--line); background: var(--paper-bright); }
.platform-dark { border-color: var(--line-dark); background: #1f2c30; }
.platform-index { color: var(--orange); font-size: .58rem; }
.platform strong { display: block; margin-top: 44px; color: var(--ink); font-size: 1rem; }
.platform-dark strong { color: var(--paper); }
.platform small { display: block; min-height: 43px; margin-top: 8px; color: var(--ink-muted); font-size: .72rem; line-height: 1.5; }
.platform-dark small { color: #c7d8dc; }
.status { display: inline-flex; margin-top: 17px; padding: 5px 8px; font-family: var(--mono); font-size: .57rem; font-weight: 800; text-transform: uppercase; }
.status.available { color: var(--ink); background: var(--accent); }
.status.pending { color: #c7d8dc; background: rgba(245, 243, 237, .10); }

.studio-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); gap: 80px; align-items: center; }
.studio-window { overflow: hidden; border: 1px solid var(--ink); background: #142125; box-shadow: 14px 14px 0 var(--accent); }
.studio-window-bar { min-height: 44px; padding: 0 15px; border-bottom: 1px solid var(--line-dark); color: #c7d8dc; font-family: var(--mono); font-size: .58rem; }
.studio-online { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); text-transform: uppercase; }
.studio-online i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.studio-workbench { display: grid; grid-template-columns: 144px 1fr; min-height: 380px; }
.studio-sidebar { display: grid; align-content: start; gap: 4px; padding: 20px 12px; border-right: 1px solid var(--line-dark); color: #a8bcc1; font-family: var(--mono); font-size: .61rem; }
.studio-sidebar strong { margin-bottom: 25px; color: var(--paper); font-family: inherit; font-size: .72rem; }
.studio-sidebar span { padding: 8px 10px; }
.studio-sidebar-active { color: var(--ink) !important; background: var(--accent); }
.studio-main { padding: 22px; }
.studio-main-top { display: flex; align-items: end; justify-content: space-between; gap: 15px; padding-bottom: 18px; border-bottom: 1px solid var(--line-dark); }
.studio-main-top strong { display: block; margin-top: 6px; color: var(--paper); font-size: .94rem; }
.mini-label { display: block; color: #b5cbd0; font-size: .55rem; }
.studio-pill { padding: 5px 8px; color: var(--ink); background: var(--accent); font-family: var(--mono); font-size: .56rem; text-transform: uppercase; }
.studio-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; padding: 18px 0; }
.studio-stats div { padding: 12px; border: 1px solid var(--line-dark); }
.studio-stats span { display: block; color: #b5cbd0; font-family: var(--mono); font-size: .54rem; text-transform: uppercase; }
.studio-stats strong { display: block; margin-top: 9px; color: var(--paper); font-size: .98rem; }
.studio-table { border: 1px solid var(--line-dark); color: #c7d8dc; font-family: var(--mono); font-size: .6rem; }
.studio-table > div { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 10px; padding: 12px; border-bottom: 1px solid var(--line-dark); }
.studio-table > div:last-child { border-bottom: 0; }
.studio-table > div:first-child { color: #b5cbd0; font-size: .53rem; text-transform: uppercase; }
.table-good { color: var(--accent); }
.studio-copy h2 { max-width: 440px; }
.studio-copy > p:not(.section-kicker) { color: var(--ink-muted); line-height: 1.7; }
.studio-copy .check-list { margin-top: 28px; }
.studio-copy .check-list li { color: var(--ink-muted); font-size: .88rem; }

.release-row { display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.release-row h2 { margin-bottom: 0 !important; }
.release-badge { padding: 8px 10px; color: var(--ink); background: var(--accent); font-family: var(--mono); font-size: .6rem; font-weight: 800; white-space: nowrap; }
.timeline { margin: 53px 0 0; }
.timeline-item { display: grid; grid-template-columns: 43px 1fr; gap: 22px; padding: 0 0 42px; }
.timeline-item + .timeline-item { padding-top: 42px; border-top: 1px solid var(--line); }
.timeline-mark { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--ink); color: var(--ink); font-family: var(--mono); font-size: .58rem; }
.timeline-label { margin: 4px 0 13px; color: var(--orange); font-size: .58rem; }
.timeline-item h3 { margin: 0 0 15px; font-size: 1.35rem; }
.timeline-item ul { margin: 0; }
.timeline-item p { margin-bottom: 0; }
.timeline-item li { margin-bottom: 5px; }
.timeline-item li:last-child { margin-bottom: 0; }

.footer { padding: 68px 0 24px; color: #c7d8dc; background: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 44px; }
.footer .brand-name { color: var(--paper); }
.footer .brand-sub { color: #b5cbd0; }
.footer .brand-mark-wrap { width: 32px; height: 32px; }
.footer .brand-mark { width: 32px; height: 32px; }
.footer p { max-width: 280px; margin: 18px 0 0; color: #b5cbd0; font-size: .78rem; line-height: 1.7; }
.footer h3 { margin: 0 0 16px; color: var(--paper); font-size: .71rem; letter-spacing: .04em; text-transform: uppercase; }
.footer-links { display: grid; gap: 9px; }
.footer-links a { color: #c7d8dc; font-size: .75rem; }
.footer-links a:hover { color: #ffffff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 55px; padding-top: 17px; border-top: 1px solid var(--line-dark); color: #a5bbc0; font-family: var(--mono); font-size: .58rem; }

@media (max-width: 1050px) {
  .nav-links { position: absolute; top: 77px; right: 0; left: 0; display: none; gap: 0; padding: 8px; border: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow); }
  .nav-links.open { display: grid; }
  .nav-links a { padding: 12px 11px; }
  .nav-actions { margin-left: auto; }
  .nav-commercial, .nav-cta { display: none; }
  .menu-button { display: block; order: 3; }
  .hero-grid { grid-template-columns: 1fr; }
  .architecture-card { max-width: 650px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .studio-layout { grid-template-columns: 1fr; gap: 55px; }
  .studio-copy { max-width: 650px; }
  .content-grid { grid-template-columns: 1fr; }
  .side-card { position: static; }
  .side-links { grid-template-columns: repeat(4, 1fr); }
  .side-rule, .side-note { display: none; }
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 16px; }
  .container { width: min(100% - 32px, 600px); }
  .site-header { position: relative; }
  .nav { min-height: 68px; gap: 13px; }
  .nav-links { top: 69px; }
  .nav-actions { margin-left: auto; }
  .nav-cta { display: none; }
  .menu-button { display: block; order: 3; }
  .home-hero { padding: 76px 0 72px; }
  h1 { font-size: clamp(3.1rem, 15vw, 5rem); }
  .hero-copy { font-size: .98rem; }
  .architecture-card { box-shadow: 9px 9px 0 rgba(49, 156, 184, .16); }
  .architecture-card-foot { gap: 10px; }
  .architecture-card-foot > span { font-size: .51rem; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-item { min-height: 67px; padding: 0 12px; font-size: .66rem; }
  .section { padding: 76px 0; }
  .section-identity { padding: 64px 0; }
  .identity-grid { grid-template-columns: 1fr; gap: 30px; }
  .identity-copy > p:first-child { font-size: 1.05rem; }
  .origin-band { grid-template-columns: 1fr; gap: 21px; margin-top: 48px; padding: 25px 22px; }
  .origin-script { font-size: 2.5rem; }
  .intro-grid, .sql-grid, .split { grid-template-columns: 1fr; gap: 39px; }
  .intro-copy { padding-top: 0; }
  .boundary-grid { grid-template-columns: 1fr; gap: 18px; margin-top: 45px; }
  .boundary-arrow { justify-self: center; transform: rotate(90deg); }
  .boundary-card { min-height: 250px; }
  .section-heading { display: block; margin-bottom: 30px; }
  .section-heading > p { margin-top: 18px; }
  .feature-grid, .mini-grid, .platform-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 230px; }
  .feature-top { margin-bottom: 55px; }
  .cta-panel { display: block; padding: 29px; }
  .cta-panel .hero-actions { margin-top: 27px; }
  .page-hero-grid { display: block; padding: 66px 0 57px; }
  .page-hero h1 { font-size: clamp(2.75rem, 14vw, 4.7rem); }
  .page-hero-index { display: none; }
  .download-toolbar { display: block; }
  .filter-row { margin-top: 19px; }
  .download-card { grid-template-columns: 1fr; }
  .download-actions { justify-content: flex-start; }
  .side-links { grid-template-columns: repeat(2, 1fr); }
  .step-block { grid-template-columns: 34px 1fr; gap: 14px; }
  .step-block h2 { font-size: 1.65rem; }
  .quickstart-availability .container { display: grid; gap: 10px; padding-top: 16px; padding-bottom: 16px; }
  .quickstart-availability p { text-align: left; }
  .runbook-step { grid-template-columns: 36px minmax(0, 1fr); gap: 14px; padding: 42px 0; }
  .provider-examples { grid-template-columns: 1fr; }
  .definition-grid { grid-template-columns: 1fr; }
  .runbook-finish { display: block; padding: 26px; }
  .runbook-finish .hero-actions { margin-top: 24px; }
  .metric-panel { grid-template-columns: 1fr; }
  .metric-panel div { min-height: 75px; border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .metric-panel div:last-child { border-bottom: 0; }
  .studio-window { box-shadow: 7px 7px 0 var(--accent); }
  .studio-workbench { grid-template-columns: 1fr; }
  .studio-sidebar { display: flex; overflow-x: auto; align-items: center; gap: 4px; padding: 9px; border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .studio-sidebar strong { margin: 0 13px 0 3px; white-space: nowrap; }
  .studio-sidebar span { white-space: nowrap; }
  .studio-main { padding: 14px; }
  .studio-stats { gap: 4px; }
  .studio-stats div { padding: 9px; }
  .studio-stats strong { font-size: .83rem; }
  .release-row { display: block; }
  .release-badge { display: inline-flex; margin-top: 17px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 19px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { display: grid; gap: 8px; }
}
@media (max-width: 760px) {
  .community-panel { grid-template-columns: 1fr; gap: 28px; padding: 18px; }
  .community-logo-card { min-height: 210px; }
  .community-logo-card img { width: min(100%, 280px); }
}

@media (max-width: 410px) {
  .nav { gap: 8px; }
  .brand-sub { display: none; }
  .language-control select { padding-left: 7px; padding-right: 20px; }
  .proof-item { gap: 8px; }
  .architecture-card-foot { display: grid; grid-template-columns: repeat(3, 1fr); }
  .architecture-card-head { padding: 0 12px; }
  .architecture-card-head .mono-label { max-width: 90px; text-align: right; }
  .terminal-code { overflow-x: auto; padding: 21px; font-size: .68rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}



/* Tabela de produtos */
.table-wrap { overflow-x: auto; margin: 20px 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-bright); }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: .86rem; }
.table-wrap th, .table-wrap td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-wrap th { font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); }
.table-wrap tr:last-child td { border-bottom: 0; }
.tag-state { display: inline-block; padding: 2px 8px; border-radius: 999px; font-family: var(--mono); font-size: .62rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.tag-now { color: #1d6b2f; background: #e3f3e6; }
.tag-soon { color: #7a5b00; background: #f6ecd2; }




.footer-company a { color: var(--ink); font-weight: 700; }

/* Quando usar */
.when-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.when-card { display: flex; min-height: 220px; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-bright); }
.when-card .card-index { display: block; margin-bottom: 10px; font-family: var(--mono); font-size: .64rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-strong); }
.when-card h3 { max-width: 34rem; margin: 0 0 10px; font-size: 1rem; }
.when-card p { max-width: 48rem; margin: 0; color: var(--ink-muted); font-size: .88rem; line-height: 1.6; }
@media (max-width: 760px) {
  .when-grid { grid-template-columns: 1fr; }
  .when-card { min-height: 0; padding: 22px; }
}

/* Numeros medidos */
.metric-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px; }
.metric-card { display: flex; flex-direction: column; gap: 6px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-bright); }
.metric-value { font-size: 2rem; font-weight: 850; letter-spacing: -.03em; color: var(--accent-strong); }
.metric-label { color: var(--ink-muted); font-size: .8rem; line-height: 1.5; }
.numbers-note { margin: 20px 0 0; }

/* Link de suporte comercial na nav */
.nav-commercial { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border: 1px solid var(--line); color: var(--accent-strong); font-size: .73rem; font-weight: 800; transition: color .2s ease, border-color .2s ease; }
.nav-commercial:hover { color: var(--ink); border-color: var(--accent-strong); }


/* Seletor de versao nos downloads */
.version-control { display: inline-flex; align-items: center; }
.version-control select { min-height: 32px; padding: 0 24px 0 8px; border: 1px solid var(--line); border-radius: 4px; color: var(--ink); outline: 0; background: transparent; font-family: var(--mono); font-size: .72rem; font-weight: 800; letter-spacing: .04em; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 10px) 14px, calc(100% - 6px) 14px; background-size: 4px 4px, 4px 4px; background-repeat: no-repeat; }