:root {
  --blue: #016ff7;
  --blue-2: #58a4ec;
  --navy: #06152d;
  --text: #0b1730;
  --muted: #68758a;
  --line: #dce4ef;
  --surface: #fff;
  --bg: #fefefe;
  --soft: #f4f8fd;
  --shadow: 0 18px 50px rgba(6, 21, 45, .10);
  --shadow-soft: 0 10px 30px rgba(6, 21, 45, .07);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 14px;
  --ease: cubic-bezier(.2,.75,.2,1);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
button, a { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section-grid { position: relative; isolation: isolate; }
.eyebrow { margin: 0 0 12px; color: #3567b1; font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.section-head { max-width: 760px; margin-bottom: 34px; }
.section-head h2, .section-copy h2, .app-demo-copy h2, .closing-copy h2 { margin: 0 0 14px; font-size: clamp(34px, 4.2vw, 56px); line-height: 1.02; letter-spacing: -.045em; }
.section-head p:not(.eyebrow), .section-copy p, .app-demo-copy p, .closing-copy p { color: var(--muted); }
.muted { color: var(--muted); }

.skip-link { position: fixed; left: 16px; top: 12px; z-index: 1000; transform: translateY(-150%); background: var(--navy); color: #fff; padding: 10px 14px; border-radius: 10px; }
.skip-link:focus { transform: none; }
:focus-visible { outline: 3px solid rgba(1,111,247,.55); outline-offset: 3px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92); border-bottom: 1px solid rgba(220,228,239,.86); backdrop-filter: blur(14px); }
.nav-wrap { min-height: 72px; display: flex; align-items: center; gap: 26px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; font-size: 20px; line-height: 1; letter-spacing: -.035em; white-space: nowrap; }
.brand img { width: 32px; height: 32px; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.main-nav a { position: relative; padding: 10px 12px; color: #34445a; font-size: 14px; font-weight: 650; border-radius: 10px; }
.main-nav a:hover, .main-nav a.active { color: var(--blue); background: rgba(1,111,247,.05); }
.main-nav a[aria-current="page"]:after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--blue); border-radius: 2px; }
.nav-toggle { display: none; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; }
.nav-toggle span { position: absolute; width: 18px; height: 2px; background: var(--navy); transition: transform .2s var(--ease), opacity .2s; }
.nav-toggle span:first-child { transform: translateY(-4px); }
.nav-toggle span:last-child { transform: translateY(4px); }
.nav-toggle[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

.button { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; border: 1px solid var(--blue); border-radius: 13px; background: var(--blue); color: #fff; font-weight: 750; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s; }
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(1,111,247,.22); }
.button-sm { min-height: 42px; padding-inline: 16px; font-size: 13px; }
.button-ghost { background: #fff; color: var(--navy); border-color: #bfd3ec; box-shadow: none; }
.button-ghost:hover { background: #f7faff; box-shadow: none; }
.button-dark-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.button-dark-ghost:hover { background: rgba(255,255,255,.08); box-shadow: none; }

/* Hero */
.hero { padding: 54px 0 26px; overflow: hidden; background: linear-gradient(180deg,#fff 0%,#fbfdff 100%); }
.hero-glow { position: absolute; z-index: -1; width: 700px; height: 700px; right: -100px; top: -160px; background: radial-gradient(circle, rgba(88,164,236,.18), transparent 68%); }
.hero-layout { display: grid; grid-template-columns: minmax(0,1.03fr) minmax(480px,.97fr); gap: 46px; align-items: center; min-height: 570px; }
.hero-copy { padding: 24px 0; }
.hero h1 { margin: 0 0 18px; max-width: 760px; font-size: clamp(48px, 5.2vw, 74px); line-height: .98; letter-spacing: -.055em; }
.hero h1 span { color: #153e7c; background: linear-gradient(180deg, transparent 0 68%, rgba(88,164,236,.18) 68% 100%); padding-inline: .02em; }
.lede { max-width: 700px; margin: 0; font-size: 18px; color: #42536a; }
.hero-note { max-width: 670px; margin: 12px 0 0; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-stage { position: relative; height: 500px; }
.flutter-core { position: absolute; left: 50%; top: 42px; transform: translateX(-50%); z-index: 3; display: grid; justify-items: center; gap: 8px; text-align: center; }
.flutter-core img { filter: drop-shadow(0 14px 20px rgba(1,111,247,.18)); }
.flutter-core span { padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.9); border: 1px solid #dfe9f5; color: #4b617c; font-size: 10px; line-height: 1.2; box-shadow: var(--shadow-soft); }
.orbit { position: absolute; left: 50%; top: 120px; transform: translateX(-50%) rotate(-8deg); border: 1px solid rgba(1,111,247,.20); border-radius: 50%; opacity: .8; }
.orbit-a { width: 430px; height: 215px; }
.orbit-b { width: 360px; height: 300px; transform: translateX(-50%) rotate(38deg); }
.motion-zone.in-view .orbit-a { animation: orbitA 12s linear infinite; }
.motion-zone.in-view .orbit-b { animation: orbitB 15s linear infinite; }
.connections { position: absolute; inset: 20px 0 auto; width: 100%; height: 440px; pointer-events: none; }
.connections path { fill: none; stroke: rgba(1,111,247,.28); stroke-width: 1.3; stroke-dasharray: 6 8; }
.device { position: absolute; z-index: 4; box-shadow: 0 24px 48px rgba(6,21,45,.16); }
.device .screen { overflow: hidden; background: #fff; }
.device-phone { width: 116px; height: 224px; left: 2%; bottom: 24px; border: 7px solid #101824; border-radius: 28px; background: #101824; }
.device-phone .screen { height: 100%; border-radius: 20px; padding: 28px 10px 12px; }
.phone-notch { position: absolute; z-index: 2; top: 7px; left: 50%; width: 44px; height: 13px; transform: translateX(-50%); border-radius: 0 0 10px 10px; background: #101824; }
.mini-brand { display: flex; align-items: center; gap: 5px; font-size: 7px; color: #586b82; }
.mini-brand b { display: grid; place-items: center; width: 16px; height: 16px; border-radius: 5px; background: var(--blue); color: #fff; }
.device-phone strong { display: block; margin-top: 18px; font-size: 13px; line-height: 1.15; }
.mini-menu { display: grid; gap: 6px; margin-top: 18px; }
.mini-menu i { display: block; height: 17px; border-radius: 6px; background: #eef5fd; }
.device-tablet { width: 164px; height: 248px; right: 0; bottom: 18px; border: 8px solid #101824; border-radius: 20px; }
.tablet-ui { height: 100%; padding: 20px 14px; }
.tablet-ui small { font-size: 8px; color: #708197; }
.tablet-ui strong { display: block; margin: 16px 0; font-size: 14px; line-height: 1.15; }
.tablet-ui .list { display: grid; gap: 7px; }
.tablet-ui .list span { display: block; height: 28px; border-radius: 8px; background: #edf5ff; }
.device-laptop { width: 370px; left: 19%; bottom: 0; }
.device-laptop > .screen { height: 240px; border: 9px solid #101824; border-bottom-width: 5px; border-radius: 16px 16px 5px 5px; }
.laptop-base { height: 10px; margin: 0 -18px; border-radius: 2px 2px 12px 12px; background: #b8c2cf; box-shadow: 0 6px 12px rgba(6,21,45,.16); }
.desktop-ui { display: grid; grid-template-columns: 56px 1fr; height: 100%; background: #f8fbff !important; }
.desktop-ui aside { display: grid; align-content: start; gap: 14px; padding: 14px 10px; background: #071b37; }
.desktop-ui aside b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: var(--blue); color: #fff; }
.desktop-ui aside span { height: 8px; border-radius: 6px; background: #244263; }
.desktop-ui section { padding: 18px; }
.desktop-ui small { color: #7a8da5; }
.desktop-ui h3 { margin: 3px 0 12px; font-size: 15px; }
.metric-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.metric-row i { display: block; height: 40px; border-radius: 8px; background: #e9f3ff; }
.chart { height: 76px; margin-top: 12px; border-radius: 9px; background: linear-gradient(180deg,#fff,#eaf4ff); position: relative; overflow: hidden; }
.chart b { position: absolute; left: 10%; right: 8%; top: 47%; height: 2px; transform: rotate(-8deg); background: var(--blue); }
.platform-strip { display: grid; grid-template-columns: repeat(5,1fr); border: 1px solid #e2eaf4; border-radius: 18px; background: rgba(255,255,255,.92); box-shadow: 0 12px 30px rgba(6,21,45,.05); overflow: hidden; }
.platform-strip span { min-width: 0; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 10px; border-right: 1px solid #e6edf5; }
.platform-strip span:last-child { border-right: 0; }
.platform-strip img { width: 20px; height: 20px; flex: 0 0 auto; object-fit: contain; }
.platform-strip span:nth-child(1) img { filter: none; }
.platform-strip span:nth-child(2) img, .platform-strip span:nth-child(4) img, .platform-strip span:nth-child(5) img { filter: brightness(.12); }
.platform-strip em { font-style: normal; font-weight: 700; font-size: 13px; }

/* Multiplataforma */
.platform-selector { padding: 84px 0; }
.selector-layout { display: grid; }
.selector-tabs { display: grid; grid-template-columns: repeat(5,1fr); gap: 8px; margin-bottom: 18px; padding: 6px; border: 1px solid var(--line); border-radius: 16px; background: #f8fbff; }
.selector-tabs button { min-width: 0; border: 0; border-radius: 11px; background: transparent; padding: 11px 9px; color: #52657d; font-weight: 720; cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease); }
.selector-tabs button:hover { background: #fff; color: var(--navy); }
.selector-tabs button[aria-selected="true"] { background: #fff; color: var(--blue); box-shadow: 0 8px 18px rgba(6,21,45,.08); transform: translateY(-1px); }
.selector-stage { --platform-exit: 140ms; --platform-morph: 480ms; display: grid; grid-template-columns: minmax(0,1.35fr) minmax(260px,.65fr); gap: 26px; align-items: center; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-xl); background: linear-gradient(145deg,#fbfdff,#f3f8fe); box-shadow: var(--shadow-soft); }
.selector-device { display: grid; place-items: center; min-height: 440px; transition: transform var(--platform-exit) var(--ease); will-change: transform; }
.selector-window { position: relative; width: min(100%, 660px); height: 390px; border: 8px solid #101824; border-radius: 21px; background: #fff; overflow: hidden; box-shadow: 0 24px 50px rgba(6,21,45,.14); transform: scale(1); transform-origin: center; will-change: width,height,border-radius,border-width,border-color,transform; transition: width var(--platform-morph) var(--ease), height var(--platform-morph) var(--ease), border-radius var(--platform-morph) var(--ease), border-width var(--platform-morph) var(--ease), border-color var(--platform-morph) var(--ease), transform var(--platform-exit) var(--ease), box-shadow .25s var(--ease); }
.selector-window::before { transition: opacity 130ms var(--ease), transform 180ms var(--ease); }
.app-top, .app-grid, .selector-copy > * { transition: opacity 140ms var(--ease), transform 180ms var(--ease); }
.selector-stage.is-platform-leaving .selector-window { transform: scale(.978); box-shadow: 0 18px 38px rgba(6,21,45,.11); }
.selector-stage.is-platform-leaving .app-top,
.selector-stage.is-platform-leaving .app-grid,
.selector-stage.is-platform-morphing .app-top,
.selector-stage.is-platform-morphing .app-grid { opacity: .08; transform: translateY(4px) scale(.995); }
.selector-stage.is-platform-leaving .selector-copy > *,
.selector-stage.is-platform-morphing .selector-copy > * { opacity: 0; transform: translateY(4px); }
.selector-stage.is-platform-leaving .selector-window::before,
.selector-stage.is-platform-morphing .selector-window::before { opacity: 0; }
.selector-stage.is-platform-entering .app-top,
.selector-stage.is-platform-entering .app-grid,
.selector-stage.is-platform-entering .selector-copy > * { opacity: 1; transform: translateY(0); }
.selector-stage.is-platform-entering .selector-window { transform: scale(1); }
.platform-android .selector-window { width: 224px; height: 414px; border-width: 7px; border-radius: 25px; }
.platform-ios .selector-window { width: 252px; height: 438px; border-width: 8px; border-radius: 38px; }
.platform-android .selector-window::before { content: ""; position: absolute; z-index: 5; top: 8px; left: 18px; width: 8px; height: 8px; border: 2px solid rgba(255,255,255,.78); border-radius: 50%; background: #111b28; box-shadow: 0 0 0 1px rgba(6,21,45,.14); }
.platform-ios .selector-window::before { content: ""; position: absolute; z-index: 5; top: 8px; left: 50%; width: 68px; height: 17px; transform: translateX(-50%); border-radius: 999px; background: #101824; box-shadow: inset 0 0 0 1px rgba(255,255,255,.05); }
.platform-windows .selector-window, .platform-macos .selector-window, .platform-linux .selector-window { width: min(100%, 650px); height: 370px; border-radius: 18px; }
.app-top { display: flex; align-items: center; gap: 9px; height: 48px; padding: 0 14px; border-bottom: 1px solid #e7edf4; background: #fff; }
.platform-android .app-top { display: grid; grid-template-columns: auto 1fr; align-items: start; column-gap: 8px; height: 56px; padding: 12px 12px 0 42px; }
.platform-ios .app-top { display: grid; grid-template-columns: auto 1fr; align-items: start; column-gap: 8px; height: 62px; padding: 18px 12px 0; }
.platform-android .platform-dot, .platform-ios .platform-dot { display: none; }
.app-top b { font-size: 13px; }
.app-top small { margin-left: auto; color: #718298; font-size: 11px; }
.platform-android .app-top small, .platform-ios .app-top small { margin-left: 0; justify-self: end; text-align: right; line-height: 1.25; }
.platform-android .app-top small { max-width: 86px; font-size: 10px; }
.platform-ios .app-top small { max-width: 96px; }
.platform-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--blue); }
.app-grid { display: grid; grid-template-columns: 64px 1fr; height: calc(100% - 48px); background: #f7faff; transition: grid-template-columns .45s var(--ease), background-color .3s var(--ease), opacity 140ms var(--ease), transform 180ms var(--ease); }
.app-grid aside { display: grid; align-content: start; gap: 12px; padding: 15px 12px; background: var(--navy); transition: opacity .2s var(--ease), background-color .3s var(--ease); }
.app-grid aside i { height: 8px; border-radius: 8px; background: #29486c; }
.app-grid section { padding: 20px; min-width: 0; position: relative; }
.app-grid h3 { margin: 0 0 14px; font-size: 18px; }
.app-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.app-cards article { min-width: 0; padding: 14px; border: 1px solid #e2eaf3; border-radius: 12px; background: #fff; transition: border-radius .3s var(--ease), background-color .3s var(--ease), box-shadow .3s var(--ease), opacity .18s var(--ease); }
.app-cards small { color: #7a8ca3; }
.app-cards b { display: block; margin: 7px 0 12px; font-size: 12px; }
.app-cards span { display: block; height: 5px; border-radius: 5px; background: #e9eef5; overflow: hidden; }
.app-cards span i { display: block; height: 100%; width: var(--p); background: var(--blue); }
.demo-bottom-nav { display: none; }
.platform-android .app-grid, .platform-ios .app-grid { grid-template-columns: 1fr; }
.platform-android .app-grid { height: calc(100% - 56px); }
.platform-ios .app-grid { height: calc(100% - 62px); }
.platform-android .app-grid aside, .platform-ios .app-grid aside { display: none; }
.platform-android .app-grid section { padding: 14px 14px 58px; }
.platform-ios .app-grid section { padding: 16px 16px 58px; }
.platform-android .app-grid h3, .platform-ios .app-grid h3 { margin-bottom: 12px; }
.platform-android .app-cards, .platform-ios .app-cards { grid-template-columns: 1fr; }
.platform-android .app-cards article:nth-child(3), .platform-ios .app-cards article:nth-child(3) { display: none; }
.platform-android .app-cards article { padding: 12px 13px; border-radius: 15px; }
.platform-android .app-cards small { font-size: 10px; }
.platform-android .app-cards b { margin: 6px 0 10px; font-size: 11px; }
.platform-android .demo-bottom-nav, .platform-ios .demo-bottom-nav { position: absolute; left: 12px; right: 12px; bottom: 12px; display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; padding: 9px 12px; border: 1px solid #e5ebf3; border-radius: 999px; background: #fff; }
.demo-bottom-nav i { height: 7px; border-radius: 999px; background: #dce8f6; }
.platform-ios .selector-window { border-color: #192231; }
.platform-ios .platform-dot { background: #111827; }
.platform-windows .platform-dot { border-radius: 2px; }
.platform-windows .app-cards article { border-radius: 13px; }
.platform-macos .selector-window { border-width: 6px; border-color: #98a0a9; border-radius: 24px; }
.platform-macos .selector-window::before { content: ""; position: absolute; left: 16px; top: 14px; width: 36px; height: 10px; background: radial-gradient(circle at 5px 5px,#ff5f57 0 4px,transparent 4.5px), radial-gradient(circle at 18px 5px,#febc2e 0 4px,transparent 4.5px), radial-gradient(circle at 31px 5px,#28c840 0 4px,transparent 4.5px); z-index: 6; }
.platform-macos .app-top { padding-left: 66px; background: linear-gradient(180deg,#fdfdfd,#f5f6f8); }
.platform-macos .app-grid { grid-template-columns: 1fr; background: linear-gradient(180deg,#f7f7f8,#eef3f9); }
.platform-macos .app-grid aside { display: none; }
.platform-macos .app-grid section { padding: 18px 18px 20px; }
.platform-macos .app-cards { grid-template-columns: repeat(2,1fr); }
.platform-macos .app-cards article:last-child { grid-column: 1 / -1; }
.platform-macos .app-cards article { border-radius: 16px; background: rgba(255,255,255,.78); backdrop-filter: blur(14px); box-shadow: 0 10px 24px rgba(6,21,45,.05); }
.platform-macos .app-grid h3 { font-size: 17px; }
.platform-linux .selector-window { border-width: 7px; border-color: #2f3744; border-radius: 14px; }
.platform-linux .selector-window::before { content: ""; position: absolute; left: 18px; top: 17px; width: 9px; height: 9px; border-radius: 50%; background: #8998ad; box-shadow: 14px 0 0 #8998ad, 28px 0 0 #8998ad; z-index: 6; }
.platform-linux .app-top { height: 52px; padding: 0 16px 0 58px; background: #eef2f7; }
.platform-linux .app-top b, .platform-linux .app-top small { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.platform-linux .app-grid { grid-template-columns: 74px 1fr; background: #f5f8fc; }
.platform-linux .app-grid aside { background: #182231; }
.platform-linux .app-grid aside i { background: #506175; border-radius: 3px; }
.platform-linux .app-grid section { padding: 18px; }
.platform-linux .app-cards article { border-radius: 10px; border-color: #d8e2ee; }
.selector-copy { padding: 10px 6px; }
.selector-kicker { color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.selector-copy h3 { margin: 7px 0 8px; font-size: 32px; letter-spacing: -.035em; }
.selector-copy p { color: var(--muted); }
.selector-copy small { display: block; color: #7a8aa0; font-size: 12px; }

/* App demo */
.interactive-app { padding: 84px 0; background: var(--navy); color: #fff; }
.app-demo-layout { display: grid; grid-template-columns: minmax(260px,.42fr) minmax(0,.58fr); gap: 40px; align-items: center; }
.app-demo-copy p { color: #b8c7da; }
.app-demo-copy ul { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; color: #d7e3f2; font-size: 13px; }
.app-demo-copy li:before { content: "✓"; margin-right: 8px; color: #58a4ec; }
.app-window { position: relative; min-height: 540px; display: grid; grid-template-columns: 150px 1fr; border: 1px solid rgba(255,255,255,.14); border-radius: 22px; background: #fff; color: var(--text); overflow: hidden; box-shadow: 0 28px 70px rgba(0,0,0,.28); }
.app-mobile-header { display: none; }
.app-drawer-overlay { display: none; }
.app-sidebar { display: flex; flex-direction: column; gap: 6px; padding: 16px 12px; background: #071b37; color: #b9c9db; }
.app-logo { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 9px; border-radius: 11px; background: var(--blue); color: #fff; font-weight: 900; flex: 0 0 auto; }
.app-sidebar-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.app-drawer-close { display: none; }
.app-sidebar button { display: flex; align-items: center; gap: 9px; width: 100%; border: 0; border-radius: 10px; background: transparent; color: inherit; padding: 10px; text-align: left; font-size: 12px; cursor: pointer; }
.app-sidebar button:hover, .app-sidebar button.active { background: #12345a; color: #fff; }
.app-sidebar button span { width: 18px; color: #71b2ff; }
.app-sidebar small { margin-top: auto; padding: 8px 10px; color: #6f88a6; }
.app-main { min-width: 0; background: #f7faff; }
.app-page { min-height: 100%; padding: 24px; }
.app-page-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.app-page-head small { color: #8190a4; }
.app-page-head h3 { margin: 3px 0 0; font-size: 24px; }
.avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #e0eeff; color: var(--blue); font-weight: 800; }
.stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 22px; }
.stats article { padding: 16px; border: 1px solid #e4ebf3; border-radius: 14px; background: #fff; }
.stats small, .stats span { display: block; color: #8392a6; font-size: 11px; }
.stats b { display: block; margin: 6px 0 2px; font-size: 25px; }
.dash-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 12px; margin-top: 12px; }
.dash-grid article { min-height: 190px; padding: 16px; border: 1px solid #e4ebf3; border-radius: 14px; background: #fff; }
.card-head { display: flex; justify-content: space-between; }
.card-head small { color: #8c9aae; }
.fake-chart { position: relative; height: 110px; margin-top: 18px; overflow: hidden; border-radius: 10px; background: linear-gradient(180deg,#edf6ff,#fff); }
.fake-chart:before { content: ""; position: absolute; left: 6%; right: 6%; top: 52%; height: 3px; background: var(--blue); transform: rotate(-7deg); box-shadow: 80px -15px 0 -1px #58a4ec, 150px 4px 0 -1px #016ff7; }
.tasks-card p { font-size: 12px; color: #53657c; }
.tasks-card i { display: inline-block; width: 9px; height: 9px; margin-right: 8px; border-radius: 50%; border: 2px solid #a9c8ed; }
.project-list, .message-list { display: grid; gap: 10px; margin-top: 24px; }
.project-list article, .message-list article { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 14px; border: 1px solid #e3ebf4; border-radius: 13px; background: #fff; }
.project-list article > span, .message-list article > span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: #e9f3ff; color: var(--blue); font-weight: 800; }
.project-list small, .message-list small { color: #8493a6; }
.project-list em { font-style: normal; font-weight: 800; color: var(--blue); }
.project-list i { display: block; height: 5px; margin-top: 8px; border-radius: 5px; background: #e9eef5; overflow: hidden; }
.project-list u { display: block; width: 0; height: 100%; background: var(--blue); text-decoration: none; transition: width .75s var(--ease); }
.app-page.active .project-list u { width: var(--progress); }
.message-list p { margin: 3px 0 0; color: #56687e; font-size: 12px; }
.message-list article { animation: messageIn .35s var(--ease) both; }
.message-list article:nth-child(2) { animation-delay: .08s; }
.badge, .demo-pill { padding: 6px 9px; border-radius: 999px; background: #e9f3ff; color: var(--blue); font-size: 11px; font-weight: 750; }
.profile-block { display: grid; justify-items: center; padding: 30px 10px; text-align: center; }
.avatar.large { width: 70px; height: 70px; font-size: 20px; }
.profile-block h3 { margin: 12px 0 0; }
.profile-block p { margin: 4px 0 18px; color: var(--muted); }
.profile-options { width: min(100%, 420px); display: grid; gap: 8px; }
.profile-options button { display: flex; justify-content: space-between; width: 100%; padding: 13px 14px; border: 1px solid #e1e9f3; border-radius: 12px; background: #fff; cursor: pointer; }
.profile-options button[aria-pressed="true"] { border-color: #a9cef8; background: #f0f7ff; }

/* Benefits — editorial, intentionally not a six-card grid */
.benefits { padding: 80px 0; }
.benefits-editorial { display: grid; gap: 18px; }
.benefits-intro { padding: 30px 32px; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(135deg,#fff 0%,#f7fbff 100%); box-shadow: 0 14px 36px rgba(6,21,45,.055); }
.benefits-intro-grid { display: grid; grid-template-columns: minmax(0,1.18fr) minmax(280px,.82fr); gap: 44px; align-items: end; }
.benefits-intro h2 { max-width: 760px; margin: 0; font-size: clamp(36px,4.6vw,58px); line-height: 1.01; letter-spacing: -.05em; }
.benefits-intro h2 span { color: #153e7c; background: linear-gradient(180deg, transparent 0 70%, rgba(88,164,236,.16) 70% 100%); padding-inline: .02em; }
.benefits-intro-grid > p { margin: 0 0 5px; max-width: 500px; color: var(--muted); font-size: 15px; }
.benefit-matrix { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border: 1px solid var(--line); border-radius: 22px; background: #fff; overflow: hidden; }
.benefit-matrix article { min-height: 178px; display: grid; grid-template-columns: 52px 1fr; gap: 14px; padding: 25px 26px; align-items: start; transition: background .2s var(--ease); }
.benefit-matrix article:nth-child(odd) { border-right: 1px solid var(--line); }
.benefit-matrix article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.benefit-matrix article:hover { background: #f8fbff; }
.benefit-matrix span, .benefit-foundation span { color: var(--blue); font-size: 11px; font-weight: 850; letter-spacing: .08em; }
.benefit-matrix h3, .benefit-foundation h3 { margin: 0 0 7px; font-size: 20px; line-height: 1.15; letter-spacing: -.025em; }
.benefit-matrix p, .benefit-foundation p { margin: 0; color: var(--muted); font-size: 13px; }
.benefit-foundation { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border-radius: 22px; overflow: hidden; background: var(--navy); color: #fff; box-shadow: 0 18px 44px rgba(6,21,45,.11); }
.benefit-foundation article { min-height: 150px; display: grid; grid-template-columns: 52px 1fr; gap: 14px; padding: 26px 28px; align-items: start; }
.benefit-foundation article + article { border-left: 1px solid rgba(255,255,255,.13); }
.benefit-foundation span { color: #69adff; }
.benefit-foundation p { color: #b9c7d8; }

/* Process + wireframe */
.process { padding: 86px 0; background: #f7faff; }
.process-combo { display: grid; grid-template-columns: minmax(0,.48fr) minmax(0,.52fr); gap: 28px; align-items: start; }
.process-steps { display: grid; gap: 10px; }
.process-step { display: grid; grid-template-columns: 42px 36px 1fr; gap: 12px; align-items: start; padding: 13px 14px; border: 1px solid #e0e8f2; border-radius: 15px; background: #fff; }
.process-step > b { color: var(--blue); font-size: 12px; padding-top: 9px; }
.process-step > i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #eaf4ff; color: var(--blue); font-style: normal; font-weight: 800; }
.process-step h3 { margin: 0 0 3px; font-size: 15px; }
.process-step p { margin: 0; color: var(--muted); font-size: 12.5px; }
.wire-demo-wrap { padding: 20px; border: 1px solid #dce6f1; border-radius: 22px; background: #fff; box-shadow: var(--shadow-soft); }
.wire-copy h3 { margin: 2px 0 6px; font-size: 25px; letter-spacing: -.03em; }
.wire-copy p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 13px; }
.wire-progress { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0; }
.wire-progress button { border: 1px solid #dce6f1; border-radius: 999px; background: #fff; padding: 7px 10px; color: #66778d; font-size: 11px; cursor: pointer; }
.wire-progress button.active { border-color: #a9cff9; background: #eaf4ff; color: var(--blue); font-weight: 800; }
.wire-window { overflow: hidden; border: 1px solid #d9e3ed; border-radius: 14px; background: #f7f9fc; }
.wire-bar { height: 30px; display: flex; align-items: center; gap: 5px; padding: 0 10px; border-bottom: 1px solid #dfe7f0; }
.wire-bar i { width: 6px; height: 6px; border-radius: 50%; background: #c4cfdb; }
.wire-body { display: grid; grid-template-columns: 72px 1fr; height: 285px; }
.wire-body aside { display: grid; align-content: start; gap: 10px; padding: 12px; border-right: 1px solid #dfe7f0; }
.wire-body aside span { height: 8px; border-radius: 6px; background: #d8e0e9; }
.wire-body section { padding: 16px; }
.wire-title { width: 38%; height: 18px; border-radius: 5px; background: #ccd5df; }
.wire-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; margin-top: 15px; }
.wire-grid article { min-height: 84px; padding: 10px; border: 1px solid #d8e1ea; border-radius: 9px; }
.wire-grid i, .wire-grid b, .wire-grid span { display: block; height: 8px; margin-bottom: 8px; border-radius: 5px; background: #d9e1e9; }
.wire-grid i { width: 30%; height: 18px; }
.wire-grid span { width: 75%; }
.wire-chart { height: 92px; margin-top: 12px; border: 1px solid #d8e1ea; border-radius: 9px; position: relative; overflow: hidden; }
.wire-chart span { position: absolute; left: 8%; right: 8%; top: 52%; height: 2px; background: #cfd8e2; transform: rotate(-6deg); }
.wire-status { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; font-size: 11px; color: #7b8ca1; }
.wire-status b { color: var(--navy); }
.wire-demo[data-step="1"] .wire-body,
.wire-demo[data-step="2"] .wire-body,
.wire-demo[data-step="3"] .wire-body,
.wire-demo[data-step="4"] .wire-body { background: #fff; }
.wire-demo[data-step="1"] .wire-title,
.wire-demo[data-step="2"] .wire-title,
.wire-demo[data-step="3"] .wire-title,
.wire-demo[data-step="4"] .wire-title { width: 48%; }
.wire-demo[data-step="1"] .wire-grid article,
.wire-demo[data-step="2"] .wire-grid article,
.wire-demo[data-step="3"] .wire-grid article,
.wire-demo[data-step="4"] .wire-grid article { background: rgba(255,255,255,.7); }
.wire-demo[data-step="2"] .wire-body section,
.wire-demo[data-step="3"] .wire-body section,
.wire-demo[data-step="4"] .wire-body section { padding-top: 18px; }
.wire-demo[data-step="2"] .wire-grid article,
.wire-demo[data-step="3"] .wire-grid article,
.wire-demo[data-step="4"] .wire-grid article { box-shadow: 0 8px 18px rgba(6,21,45,.04); }
.wire-demo[data-step="2"] .wire-title,
.wire-demo[data-step="3"] .wire-title,
.wire-demo[data-step="4"] .wire-title,
.wire-demo[data-step="2"] .wire-grid b,
.wire-demo[data-step="3"] .wire-grid b,
.wire-demo[data-step="4"] .wire-grid b { background: #9daaba; }
.wire-demo[data-step="3"] .wire-body aside,
.wire-demo[data-step="4"] .wire-body aside { background: #071b37; }
.wire-demo[data-step="3"] .wire-body aside span,
.wire-demo[data-step="4"] .wire-body aside span { background: #29486c; }
.wire-demo[data-step="3"] .wire-grid article,
.wire-demo[data-step="4"] .wire-grid article { box-shadow: 0 10px 22px rgba(6,21,45,.06); }
.wire-demo[data-step="4"] .wire-body { background: #f7faff; }
.wire-demo[data-step="4"] .wire-title { background: var(--navy); }
.wire-demo[data-step="4"] .wire-grid i { background: #e7f2ff; }
.wire-demo[data-step="4"] .wire-grid b { background: var(--blue); }
.wire-demo[data-step="4"] .wire-chart { background: linear-gradient(180deg,#fff,#eaf4ff); }
.wire-demo[data-step="4"] .wire-chart span { background: var(--blue); }

/* Growth */
.growth { padding: 82px 0; }
.growth-grid { display: grid; grid-template-columns: minmax(0,.44fr) minmax(0,.56fr); gap: 40px; align-items: center; }
.lead-small { font-size: 17px; color: #42536a !important; }
.section-copy small { color: #7b8ba0; }
.growth-visual { display: grid; grid-template-columns: 1fr auto 1fr auto 1.18fr; gap: 10px; align-items: center; }
.growth-phase { min-width: 0; min-height: 190px; padding: 16px; border: 1px solid #dce6f1; border-radius: 18px; background: #fff; box-shadow: var(--shadow-soft); }
.growth-phase > b { display: block; margin-bottom: 16px; color: var(--blue); font-size: 10px; letter-spacing: .12em; }
.growth-devices { min-height: 120px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.g-phone { position: relative; display: grid; place-items: center; width: 60px; height: 114px; padding: 14px 6px 9px; border: 5px solid #182331; border-radius: 16px; background: #eaf4ff; color: var(--blue); text-align: center; font-size: 9px; line-height: 1.05; font-weight: 800; }
.g-phone::before { content: ""; position: absolute; top: 6px; left: 9px; width: 5px; height: 5px; border-radius: 50%; background: #182331; }
.g-phone.ios { width: 56px; height: 110px; border-radius: 19px; background: #f3f3f5; color: #313b49; }
.g-phone.ios::before { left: 50%; width: 21px; height: 6px; transform: translateX(-50%); border-radius: 999px; }
.g-phone.small { width: 44px; height: 84px; padding: 10px 3px 6px; font-size: 7.5px; border-width: 4px; border-radius: 13px; }
.g-phone.small.ios { width: 42px; height: 82px; border-radius: 15px; }
.g-phone.small::before { top: 4px; left: 7px; width: 4px; height: 4px; }
.g-phone.small.ios::before { left: 50%; width: 16px; height: 5px; }
.g-desktop { display: grid; place-items: center; width: 108px; height: 74px; border: 6px solid #182331; border-bottom-width: 9px; border-radius: 8px; background: #eaf4ff; color: var(--blue); text-align: center; font-size: 9px; line-height: 1; font-weight: 800; }
.growth-arrow { color: #91a6be; font-size: 22px; }

/* Integrations + sync */
.integrations { padding: 86px 0; background: #f7faff; }
.integration-layout { display: grid; grid-template-columns: minmax(0,.45fr) minmax(0,.55fr); gap: 24px; align-items: stretch; }
.integration-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; align-content: start; }
.integration-grid span { display: grid; place-items: center; min-height: 56px; padding: 8px; border: 1px solid #dce6f1; border-radius: 13px; background: #fff; color: #41536b; text-align: center; font-size: 12px; font-weight: 700; }
.architecture { position: relative; min-height: 330px; border: 1px solid #dce6f1; border-radius: 20px; background: radial-gradient(circle at 50% 50%,#f8fbff 0,#fff 55%); overflow: hidden; }
.arch-flow { position: absolute; inset: 0; width: 100%; height: 100%; }
.arch-flow path { fill: none; stroke: #b8cfe8; stroke-width: 1.25; stroke-dasharray: 4 7; vector-effect: non-scaling-stroke; }
.arch-flow .arch-packet { r: 4.2px; fill: var(--blue); filter: drop-shadow(0 0 5px rgba(1,111,247,.32)); opacity: .92; transform-box: fill-box; transform-origin: center; }
.arch-node { position: absolute; z-index: 2; min-width: 64px; padding: 8px 10px; border: 1px solid #d7e4f2; border-radius: 10px; background: #fff; color: #53657c; text-align: center; font-size: 10px; font-weight: 800; box-shadow: 0 6px 14px rgba(6,21,45,.05); }
.arch-node.center { left: 50%; top: 50%; transform: translate(-50%,-50%); min-width: 88px; background: var(--blue); color: #fff; border-color: var(--blue); font-size: 12px; box-shadow: 0 10px 22px rgba(1,111,247,.2); }
.arch-node.n1 { left: 12%; top: 12%; }.arch-node.n2 { right: 10%; top: 12%; }.arch-node.n3 { right: 4%; top: 48%; transform: translateY(-50%); }.arch-node.n4 { right: 13%; bottom: 12%; }.arch-node.n5 { left: 13%; bottom: 12%; }.arch-node.n6 { left: 4%; top: 48%; transform: translateY(-50%); }
.sync-card { display: grid; grid-template-columns: .42fr .58fr; gap: 24px; align-items: center; margin-top: 22px; padding: 22px; border: 1px solid #dce6f1; border-radius: 20px; background: #fff; }
.sync-copy h3 { margin: 4px 0 6px; font-size: 24px; letter-spacing: -.03em; }
.sync-copy p { margin: 0 0 14px; color: var(--muted); font-size: 13px; }
.sync-demo { min-width: 0; display: flex; align-items: center; justify-content: center; gap: 16px; }
.sync-phone { width: 118px; height: 190px; padding: 22px 12px; border: 7px solid #182331; border-radius: 24px; background: #fff; box-shadow: var(--shadow-soft); }
.sync-phone small, .sync-laptop small { display: block; color: #718398; font-size: 11px; }
.sync-phone b { display: block; margin: 20px 0 8px; font-size: 28px; }
.sync-phone > div, .sync-laptop .screen > div { height: 6px; border-radius: 6px; background: #e8eef5; overflow: hidden; }
.sync-phone i, .sync-laptop i { display: block; width: 65%; height: 100%; background: var(--blue); transition: width .45s var(--ease); }
.sync-wave { width: 74px; height: 2px; background: #c7d8ea; position: relative; overflow: visible; }
.sync-wave i { position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); opacity: 0; }
.sync-wave.active i { animation: wave .75s var(--ease) 2; opacity: 1; }
.sync-laptop { width: 230px; }
.sync-laptop .screen { min-height: 145px; padding: 22px; border: 7px solid #182331; border-bottom-width: 4px; border-radius: 13px 13px 4px 4px; background: #fff; }
.sync-laptop strong { display: block; margin: 15px 0 7px; font-size: 25px; }
.sync-laptop em { display: block; margin-top: 12px; color: #65778d; font-size: 11px; font-style: normal; font-weight: 650; }

/* Flutter */
.flutter-section { padding: 70px 0; }
.flutter-layout { display: grid; grid-template-columns: .38fr .62fr; gap: 34px; align-items: center; }
.flutter-logo-card { min-height: 260px; display: grid; place-items: center; align-content: center; gap: 18px; padding: 24px; border: 1px solid #dce6f1; border-radius: 22px; background: linear-gradient(145deg,#fff,#f2f8ff); }
.flutter-logo-card div { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.flutter-logo-card span { padding: 6px 8px; border: 1px solid #d9e7f6; border-radius: 999px; background: #fff; color: #64758b; font-size: 10px; }

/* Closing + CTA */
.closing { position: relative; overflow: hidden; padding: 88px 0 92px; background: var(--navy); color: #fff; }
.final-glow { position: absolute; width: 600px; height: 600px; right: -80px; bottom: -240px; border-radius: 50%; background: radial-gradient(circle, rgba(1,111,247,.32), transparent 68%); }
.closing-grid { display: grid; grid-template-columns: minmax(300px,.43fr) minmax(0,.57fr); gap: 36px; align-items: center; position: relative; z-index: 2; }
.closing-copy p { color: #bdcce0; }
.closing-copy .eyebrow { color: #77b7ff; }
.platform-line { color: #fff !important; font-size: 13px; font-weight: 800; letter-spacing: .06em; }
.device-family { position: relative; height: 390px; }
.family-links { position: absolute; inset: 58px 18px 18px; width: calc(100% - 36px); height: calc(100% - 76px); overflow: visible; z-index: 1; opacity: 0; transition: opacity .9s var(--ease); }
.family-links path { fill: none; stroke: rgba(123,191,255,.88); stroke-width: 2.2; stroke-linecap: round; filter: drop-shadow(0 0 10px rgba(1,111,247,.42)); }
.family-packet { r: 5; fill: #ffffff; filter: drop-shadow(0 0 8px rgba(126,196,255,.92)); }
.device-family > div { position: absolute; bottom: 0; z-index: 2; opacity: .25; transition: transform 1s var(--ease), opacity 1s var(--ease); }
.family-phone { left: 1%; width: 108px; height: 220px; border: 8px solid #101824; border-radius: 26px; background: #fff; transform: translateX(-70px) rotate(-5deg); }
.phone-ui { display: grid; justify-items: center; align-content: start; gap: 14px; height: 100%; padding: 28px 13px 18px; color: var(--navy); }
.phone-icon { width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(145deg,#f2f8ff,#ddeeff); position: relative; }
.phone-icon::before { content: ""; position: absolute; left: 50%; top: 50%; width: 24px; height: 24px; transform: translate(-50%,-46%); background: linear-gradient(180deg,#2082ff,#1269e4); clip-path: polygon(50% 0, 100% 38%, 100% 100%, 62% 100%, 62% 60%, 38% 60%, 38% 100%, 0 100%, 0 38%); border-radius: 3px; }
.phone-ui strong { font-size: 16px; letter-spacing: -.03em; }
.phone-ui i { align-self: end; width: 48px; height: 8px; border-radius: 999px; background: #dfeafb; }
.family-tablet { left: 17%; width: 170px; height: 240px; border: 8px solid #101824; border-radius: 20px; background: linear-gradient(145deg,#0b74e9,#5bacff); transform: translateX(-35px) rotate(-3deg); }
.family-tablet div { display: grid; align-content: start; gap: 10px; padding: 32px 18px; font-size: 20px; line-height: 1.05; }
.family-tablet span { color: #e0efff; font-size: 11px; }
.family-tablet i { display: block; height: 10px; border-radius: 999px; background: rgba(219,237,255,.28); }
.family-tablet i:last-child { width: 60%; }
.family-laptop { left: 39%; width: 300px; transform: translateX(45px); }
.family-laptop .screen { height: 195px; padding: 28px; border: 8px solid #101824; border-bottom-width: 4px; border-radius: 13px 13px 4px 4px; background: linear-gradient(150deg,#12345d,#0a64c4); }
.family-laptop small { color: #bddaff; }
.family-laptop strong { display: block; margin-top: 20px; font-size: 22px; line-height: 1.07; }
.screen-lines { display: grid; gap: 8px; margin-top: 22px; max-width: 130px; }
.screen-lines i { display: block; height: 8px; border-radius: 999px; background: rgba(115,167,232,.3); }
.screen-lines i:last-child { width: 72%; }
.family-desktop { right: 0; width: 150px; height: 220px; border: 8px solid #101824; border-radius: 12px; background: #fff; color: var(--navy); transform: translateX(65px) rotate(4deg); }
.family-desktop div { padding: 24px 13px; }
.family-desktop strong { display: block; margin: 14px 0; color: var(--blue); font-size: 34px; }
.desktop-chart { display: block; position: relative; height: 55px; border-radius: 9px; background: #eaf4ff; overflow: hidden; }
.desktop-chart i { position: absolute; left: 14px; right: 14px; top: 27px; height: 4px; border-radius: 999px; background: linear-gradient(90deg,#7ebeff 0 16%, #3d8cff 16% 46%, #7ebeff 46% 67%, #2b79ff 67% 100%); transform: rotate(-9deg); transform-origin: left center; }
.device-family.in-view .family-links { opacity: 1; }
.device-family.in-view > div { opacity: 1; transform: translateX(0) rotate(0); }

/* Footer */
.site-footer { padding: 40px 0 42px; background: var(--navy); color: #aebed2; }
.site-footer .container { display: grid; justify-items: start; gap: 9px; }
.site-footer .brand { color: #fff; }
.site-footer .footer-brand { gap: 12px; margin-bottom: 3px; font-size: 20px; font-weight: 800; }
.site-footer .footer-brand img { width: 32px; height: 32px; }
.site-footer p { margin: 0; font-size: 13px; line-height: 1.55; }
.site-footer small { color: #7f93ad; font-size: 13px; line-height: 1.5; }

/* Progressive enhancement / motion */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .62s var(--ease), transform .62s var(--ease); }
.js .reveal.in-view { opacity: 1; transform: none; }
@keyframes orbitA { to { transform: translateX(-50%) rotate(352deg); } }
@keyframes orbitB { to { transform: translateX(-50%) rotate(398deg); } }
@keyframes wave { to { left: calc(100% - 8px); } }
@keyframes messageIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (max-width: 1100px) {
  .hero-layout { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { max-width: 820px; }
  .hero-stage { width: min(100%,760px); margin-inline: auto; }
  .selector-stage, .app-demo-layout, .process-combo, .growth-grid, .integration-layout, .flutter-layout, .closing-grid { grid-template-columns: 1fr; }
  .selector-copy { max-width: 680px; }
  .app-demo-copy { max-width: 760px; }
  .app-window { width: min(100%,900px); margin-inline: auto; }
  .process-combo { gap: 20px; }
  .process-steps { grid-template-columns: repeat(5,1fr); gap: 8px; }
  .process-step { grid-template-columns: 1fr; gap: 7px; padding: 13px; }
  .process-step > b { padding: 0; }
  .process-step > i { width: 30px; height: 30px; }
  .process-step h3 { font-size: 14px; }
  .process-step p { font-size: 11.5px; }
  .growth-visual { max-width: 850px; }
  .integration-layout { grid-template-columns: .45fr .55fr; }
  .closing-copy { max-width: 720px; }
  .device-family { width: min(100%,700px); }
  .family-links { inset: 52px 14px 14px; width: calc(100% - 28px); height: calc(100% - 66px); }
}

@media (max-width: 820px) {
  .container { width: min(calc(100% - 30px), var(--container)); }
  .nav-wrap { min-height: 66px; }
  .nav-toggle { display: grid; margin-left: auto; }
  .header-cta { display: none; }
  .main-nav { position: fixed; top: 66px; left: 15px; right: 15px; display: none; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px; }
  .main-nav a[aria-current="page"]:after { display: none; }
  .hero { padding-top: 34px; }
  .hero h1 { font-size: clamp(42px,10vw,58px); }
  .hero-stage { height: 420px; }
  .platform-strip { grid-template-columns: repeat(5,1fr); }
  .platform-strip span { padding: 12px 5px; gap: 5px; }
  .platform-strip em { font-size: 11px; }
  .selector-stage { padding: 20px; }
  .selector-device { min-height: 410px; }
  .app-demo-layout { gap: 26px; }
  .benefits-intro-grid { grid-template-columns: 1fr; gap: 18px; }
  .benefit-matrix article { min-height: 164px; }
  .app-window { min-height: 540px; grid-template-columns: 1fr; grid-template-rows: auto 1fr; isolation: isolate; }
  .app-mobile-header { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 62px; padding: 10px 12px; background: #071b37; color: #fff; border-bottom: 1px solid rgba(255,255,255,.08); }
  .app-mobile-brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
  .app-mobile-brand .app-logo { width: 38px; height: 38px; margin: 0; border-radius: 10px; }
  .app-mobile-brand-name { overflow: hidden; color: #dbe7f5; font-size: 12px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
  .app-drawer-toggle { position: relative; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; background: #0d294a; color: #fff; cursor: pointer; }
  .app-drawer-toggle span { position: absolute; width: 18px; height: 2px; border-radius: 999px; background: currentColor; transition: transform .24s var(--ease), opacity .18s var(--ease); }
  .app-drawer-toggle span:nth-child(1) { transform: translateY(-6px); }
  .app-drawer-toggle span:nth-child(3) { transform: translateY(6px); }
  .app-drawer-toggle[aria-expanded="true"] { opacity: 0; pointer-events: none; }
  .app-sidebar { position: absolute; inset: 0 auto 0 0; z-index: 6; width: min(78%, 260px); min-width: 220px; display: flex; flex-direction: column; gap: 6px; padding: max(16px, env(safe-area-inset-top)) 12px max(16px, env(safe-area-inset-bottom)); overflow-y: auto; overflow-x: hidden; background: #071b37; color: #b9c9db; box-shadow: 18px 0 40px rgba(3,14,31,.34); transform: translateX(-104%); visibility: hidden; transition: transform .28s var(--ease), visibility 0s linear .28s; will-change: transform; }
  .app-sidebar.open { transform: translateX(0); visibility: visible; transition: transform .28s var(--ease), visibility 0s; }
  .app-sidebar-top { min-height: 42px; margin-bottom: 8px; }
  .app-sidebar .app-logo { display: grid; margin: 0; }
  .app-drawer-close { position: relative; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid rgba(255,255,255,.14); border-radius: 11px; background: #0d294a; color: #fff; cursor: pointer; }
  .app-drawer-close span { position: absolute; width: 17px; height: 2px; border-radius: 999px; background: currentColor; }
  .app-drawer-close span:first-child { transform: rotate(45deg); }
  .app-drawer-close span:last-child { transform: rotate(-45deg); }
  .app-sidebar button[data-app-view] { flex: 0 0 auto; width: 100%; min-height: 44px; white-space: normal; }
  .app-sidebar small { display: block; margin-top: auto; }
  .app-drawer-overlay { position: absolute; inset: 0; z-index: 5; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: rgba(3,14,31,.46); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .24s var(--ease), visibility 0s linear .24s; cursor: pointer; }
  .app-drawer-overlay.open { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .24s var(--ease), visibility 0s; }
  .app-main { grid-row: 2; min-height: 0; }
  .process-steps { grid-template-columns: 1fr; }
  .process-step { grid-template-columns: 38px 34px 1fr; gap: 10px; }
  .process-step p { font-size: 12.5px; }
  .growth-visual { grid-template-columns: 1fr; gap: 8px; }
  .growth-phase { min-height: 142px; display: grid; grid-template-columns: 70px 1fr; align-items: center; }
  .growth-phase > b { margin: 0; }
  .growth-devices { min-height: 110px; }
  .growth-arrow { transform: rotate(90deg); justify-self: center; line-height: 1; }
  .integration-layout { grid-template-columns: 1fr; }
  .sync-card { grid-template-columns: 1fr; }
  .sync-copy { max-width: 620px; }
  .closing { padding-bottom: 72px; }
}

@media (max-width: 560px) {
  .container { width: min(calc(100% - 24px), var(--container)); }
  .section-head { margin-bottom: 24px; }
  .section-head h2, .section-copy h2, .app-demo-copy h2, .closing-copy h2 { font-size: 34px; }
  .hero { padding: 28px 0 18px; }
  .hero h1 { font-size: 41px; }
  .lede { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-stage { height: 335px; margin-top: 6px; }
  .flutter-core { top: 20px; }
  .flutter-core img { width: 92px; height: 92px; }
  .orbit-a { width: 290px; height: 145px; top: 75px; }
  .orbit-b { width: 240px; height: 220px; top: 72px; }
  .device-laptop { width: 230px; left: 17%; bottom: 5px; }
  .device-laptop > .screen { height: 150px; }
  .device-tablet { width: 95px; height: 152px; right: 0; bottom: 8px; }
  .device-phone { width: 78px; height: 154px; left: 0; bottom: 10px; border-width: 5px; }
  .device-phone .screen { padding: 22px 7px 8px; }
  .device-phone strong { font-size: 9px; }
  .desktop-ui { grid-template-columns: 38px 1fr; }
  .desktop-ui aside { padding: 10px 7px; gap: 9px; }
  .desktop-ui section { padding: 9px; }
  .desktop-ui h3 { font-size: 11px; margin-bottom: 8px; }
  .metric-row i { height: 24px; }
  .chart { height: 42px; }
  .platform-strip { margin-top: 2px; }
  .platform-strip span { min-height: 58px; flex-direction: column; gap: 3px; padding: 8px 3px; }
  .platform-strip img { width: 18px; height: 18px; }
  .platform-strip em { font-size: 11px; line-height: 1.1; text-align: center; }
  .platform-selector, .interactive-app, .benefits, .process, .growth, .integrations, .flutter-section { padding: 58px 0; }
  .selector-tabs { grid-template-columns: repeat(5,minmax(0,1fr)); gap: 4px; padding: 4px; }
  .selector-tabs button { min-height: 42px; padding: 8px 2px; font-size: 11px; line-height: 1.1; }
  .selector-stage { padding: 14px; gap: 12px; }
  .selector-device { min-height: 340px; }
  .platform-android .selector-window, .platform-ios .selector-window { transform: scale(.9); }
  .platform-android .selector-window { width: 205px; height: 372px; }
  .platform-ios .selector-window { width: 225px; height: 392px; border-radius: 34px; }
  .platform-windows .selector-window, .platform-macos .selector-window, .platform-linux .selector-window { width: min(100%, 350px); height: 310px; transform: none; }
  .platform-windows .app-grid, .platform-linux .app-grid { grid-template-columns: 56px 1fr; }
  .platform-windows .app-grid section, .platform-linux .app-grid section { padding: 14px; }
  .platform-windows .app-cards, .platform-linux .app-cards { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .platform-windows .app-cards article, .platform-linux .app-cards article { padding: 10px; }
  .platform-windows .app-cards article:nth-child(3), .platform-linux .app-cards article:nth-child(3) { grid-column: 1 / -1; }
  .platform-windows .app-cards b, .platform-linux .app-cards b { margin: 5px 0 8px; font-size: 10.5px; overflow-wrap: anywhere; }
  .platform-windows .app-cards small, .platform-linux .app-cards small { font-size: 10px; }
  .platform-windows .app-grid h3, .platform-linux .app-grid h3 { margin-bottom: 10px; font-size: 16px; }
  .platform-windows .app-top, .platform-linux .app-top { min-height: 48px; height: auto; padding-block: 8px; }
  .platform-windows .app-top small, .platform-linux .app-top small { max-width: 128px; text-align: right; line-height: 1.2; }
  .platform-macos .app-grid section { padding: 14px; }
  .platform-macos .app-cards { gap: 8px; }
  .platform-macos .app-cards article { padding: 10px; }
  .platform-macos .app-cards b { margin: 5px 0 8px; font-size: 10.5px; }
  .platform-macos .app-cards small { font-size: 10px; }
  .selector-copy h3 { font-size: 26px; }
  .app-window { min-height: 510px; border-radius: 16px; }
  .app-mobile-header { min-height: 60px; padding: 8px 10px; }
  .app-mobile-brand-name { display: none; }
  .app-sidebar { width: min(82%, 252px); min-width: 0; }
  .app-sidebar button[data-app-view] { padding: 11px 12px; font-size: 12px; }
  .app-sidebar button[data-app-view] span { width: 18px; font-size: 15px; }
  .app-page { padding: 16px; }
  .app-page-head h3 { font-size: 20px; }
  .stats { grid-template-columns: repeat(3,1fr); gap: 7px; }
  .stats article { padding: 10px 8px; min-width: 0; }
  .stats small { font-size: 11px; }
  .stats b { font-size: 20px; }
  .stats span { font-size: 11px; }
  .dash-grid { grid-template-columns: 1fr; }
  .dash-grid article { min-height: 150px; }
  .tasks-card { display: none; }
  .project-list article, .message-list article { padding: 10px; gap: 9px; }
  .message-list p { font-size: 11px; }
  .benefits-intro { padding: 22px 20px; }
  .benefits-intro h2 { font-size: 34px; }
  .benefit-matrix { grid-template-columns: 1fr; }
  .benefit-matrix article { min-height: 0; grid-template-columns: 40px 1fr; padding: 19px 18px; border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .benefit-matrix article:last-child { border-bottom: 0; }
  .benefit-matrix h3, .benefit-foundation h3 { font-size: 17px; }
  .benefit-foundation { grid-template-columns: 1fr; }
  .benefit-foundation article { min-height: 0; grid-template-columns: 40px 1fr; padding: 20px 18px; }
  .benefit-foundation article + article { border-left: 0; border-top: 1px solid rgba(255,255,255,.13); }
  .process-step { padding: 11px; }
  .wire-demo-wrap { padding: 14px; }
  .wire-copy h3 { font-size: 22px; }
  .wire-progress { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 7px; overflow: visible; padding: 0; margin-inline: 0; }
  .wire-progress button { grid-column: span 2; min-width: 0; min-height: 40px; padding: 8px 7px; font-size: 11px; line-height: 1.1; }
  .wire-progress button:nth-child(4), .wire-progress button:nth-child(5) { grid-column: span 3; }
  .wire-body { grid-template-columns: 54px 1fr; height: 240px; }
  .wire-grid { grid-template-columns: repeat(2,1fr); }
  .wire-grid article:nth-child(3) { display: none; }
  .wire-chart { height: 72px; }
  .wire-status { align-items: flex-start; flex-direction: column; gap: 2px; }
  .growth-phase { min-height: 125px; }
  .g-phone { width: 54px; height: 96px; }
  .g-phone.ios { width: 50px; height: 94px; }
  .g-phone.small { width: 42px; height: 76px; }
  .g-phone.small.ios { width: 40px; height: 74px; }
  .g-desktop { width: 88px; height: 60px; }
  .integration-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; }
  .integration-grid span { min-height: 50px; padding: 5px; font-size: 11px; }
  .architecture { min-height: 285px; }
  .arch-node { padding: 7px 8px; font-size: 9.5px; }
  .sync-card { padding: 16px; }
  .sync-demo { gap: 8px; }
  .sync-phone { width: 95px; height: 160px; padding: 18px 9px; }
  .sync-phone b { font-size: 24px; }
  .sync-wave { width: 40px; }
  .sync-laptop { width: 190px; }
  .sync-laptop .screen { min-height: 128px; padding: 17px; }
  .sync-laptop strong { font-size: 22px; }
  .flutter-logo-card { min-height: 220px; }
  .closing { padding: 64px 0; }
  .device-family { width: 100%; height: clamp(190px,62vw,285px); margin: 0; transform: none; overflow: visible; }
  .family-links { inset: 12% 2% 5%; width: 96%; height: 83%; }
  .family-phone { left: 1%; width: 15.5%; height: auto; aspect-ratio: 108 / 220; border-width: 5px; border-radius: 16px; }
  .phone-ui { gap: 7px; padding: 14px 5px 8px; }
  .phone-icon { width: clamp(24px,8vw,36px); height: clamp(24px,8vw,36px); border-radius: 10px; }
  .phone-icon::before { width: 52%; height: 52%; }
  .phone-ui strong { font-size: clamp(9px,3vw,12px); }
  .phone-ui i { width: 54%; height: 5px; }
  .family-tablet { left: 17%; width: 24.5%; height: auto; aspect-ratio: 170 / 240; border-width: 5px; border-radius: 14px; }
  .family-tablet div { gap: 6px; padding: clamp(13px,4vw,20px) clamp(8px,3vw,12px); font-size: clamp(12px,4vw,17px); }
  .family-tablet span { font-size: clamp(7px,2.4vw,10px); }
  .family-tablet i { height: 6px; }
  .family-laptop { left: 38%; width: 43%; }
  .family-laptop .screen { height: auto; aspect-ratio: 300 / 195; padding: clamp(12px,4vw,20px); border-width: 5px; border-bottom-width: 3px; border-radius: 9px 9px 3px 3px; }
  .family-laptop small { font-size: clamp(7px,2.3vw,10px); }
  .family-laptop strong { margin-top: clamp(8px,3vw,14px); font-size: clamp(12px,4vw,18px); }
  .screen-lines { gap: 5px; margin-top: clamp(9px,3vw,15px); max-width: 48%; }
  .screen-lines i { height: 5px; }
  .family-laptop .laptop-base { height: 7px; margin-inline: -8px; }
  .family-desktop { right: 0; width: 21%; height: auto; aspect-ratio: 150 / 220; border-width: 5px; border-radius: 9px; }
  .family-desktop div { padding: clamp(10px,3.4vw,16px) clamp(6px,2.4vw,10px); }
  .family-desktop small { font-size: clamp(7px,2.3vw,10px); }
  .family-desktop strong { margin: clamp(7px,2.4vw,11px) 0; font-size: clamp(18px,6vw,28px); }
  .desktop-chart { height: clamp(28px,9vw,44px); border-radius: 7px; }
  .desktop-chart i { left: 9px; right: 9px; top: 50%; height: 3px; }
  .site-footer { padding: 34px 0 36px; }
}


@media (max-width: 360px) {
  .stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .stats article:nth-child(3) { grid-column: 1 / -1; }
  .stats article { min-height: 104px; }
}
@media (max-width: 340px) {
  .hero h1 { font-size: 37px; }
  .selector-tabs button { font-size: 10px; }
  .sync-demo { display: grid; grid-template-columns: 1fr; justify-items: center; }
  .sync-wave { width: 2px; height: 28px; }
  .sync-wave i { left: -3px; top: 0; }
  .sync-wave.active i { animation: waveY .75s var(--ease) 2; }
  .platform-strip em { font-size: 10px; }
  .selector-tabs button { font-size: 11px; }
}

@keyframes waveY { to { top: calc(100% - 8px); } }

@media (prefers-reduced-motion: reduce) {
  .selector-tabs button,
  .selector-device,
  .selector-window,
  .selector-window::before,
  .app-top,
  .app-grid,
  .selector-copy > * { transition-duration: .001ms !important; }
  .selector-stage.is-platform-leaving .selector-window,
  .selector-stage.is-platform-morphing .selector-window,
  .selector-stage.is-platform-entering .selector-window { transform: none !important; }
  .selector-stage.is-platform-leaving .app-top,
  .selector-stage.is-platform-leaving .app-grid,
  .selector-stage.is-platform-morphing .app-top,
  .selector-stage.is-platform-morphing .app-grid,
  .selector-stage.is-platform-leaving .selector-copy > *,
  .selector-stage.is-platform-morphing .selector-copy > * { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal, .reveal { opacity: 1 !important; transform: none !important; }
  .orbit, .sync-wave i { animation: none !important; }
  .arch-packet { display: none; }
  .device-family > div { opacity: 1 !important; transform: none !important; }
  .app-sidebar, .app-drawer-overlay, .app-drawer-toggle span { transition: none !important; }
}

.page-hidden .orbit,
.page-hidden .sync-wave i { animation-play-state: paused !important; }
.page-hidden .arch-packet { display: none; }

.growth-phase .g-phone, .growth-phase .g-phone.small, .growth-phase .g-phone.ios, .growth-phase .g-phone.small.ios { overflow: hidden; }
.growth-phase .g-phone::after, .growth-phase .g-phone.small::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: 10px; height: 4px; border-radius: 999px; background: rgba(1,111,247,.12); }
.growth-phase .g-phone.ios::after, .growth-phase .g-phone.small.ios::after { background: rgba(49,59,73,.10); }
.growth-phase .g-phone span, .growth-phase .g-phone.small span { display:block; }

.arch-node.center::after { content: ""; position: absolute; inset: -8px; border-radius: 18px; border: 1px solid rgba(1,111,247,.12); }

.page-hidden .family-packet { display: none; }
@media (prefers-reduced-motion: reduce) {
  .family-packet { display: none; }
}

/* Responsive hardening */
.hero-layout > *, .selector-stage > *, .app-demo-layout > *, .process-combo > *, .growth-grid > *, .integration-layout > *, .flutter-layout > *, .closing-grid > * { min-width: 0; }
@media (max-width: 820px) {
  .main-nav a { min-height: 44px; display: flex; align-items: center; }
}
@media (max-width: 430px) {
  .site-footer .footer-brand { font-size: 19px; }
}

/* Integração institucional e progressos compatíveis com CSP. */
.preview-progress-72 { --p: 72%; }
.preview-progress-46 { --p: 46%; }
.preview-progress-28 { --p: 28%; }
.project-progress-72 { --progress: 72%; }
.project-progress-89 { --progress: 89%; }
.project-progress-41 { --progress: 41%; }
.site-footer .footer-brand { display: inline-flex; }
.site-footer .footer-brand img { width: 180px; height: auto; }
.site-footer .footer-links { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-block: 10px; }
.site-footer .footer-links a { color: #c5d2e3; font-size: 14px; padding-block: 8px; }
.site-footer a:focus-visible { outline: 3px solid #73b7ff; outline-offset: 4px; }
.site-footer .md-source-note { margin-top: 12px; }
