:root {
  --bg: #06111d;
  --bg-deep: #030b14;
  --panel: #0a1826;
  --panel-2: #0d1d2d;
  --panel-3: #102337;
  --line: rgba(140, 182, 224, 0.16);
  --line-strong: rgba(61, 145, 255, 0.38);
  --text: #f2f6fb;
  --muted: #9eb0c2;
  --muted-2: #71869b;
  --primary: #2d86f7;
  --primary-2: #1764d8;
  --primary-soft: rgba(45, 134, 247, 0.14);
  --success: #43c784;
  --danger: #ff6b75;
  --warning: #f7b84b;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 85% 7%, rgba(27, 101, 208, 0.13), transparent 28%),
    radial-gradient(circle at 3% 28%, rgba(21, 84, 168, 0.08), transparent 24%),
    linear-gradient(180deg, var(--bg-deep), var(--bg) 32%, #071421 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
img, svg { display: block; max-width: 100%; }

.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.section { padding: 68px 0; }
.section-tight { padding: 42px 0; }
.section-divider { border-top: 1px solid var(--line); }

.skip-link {
  position: fixed; left: 14px; top: -80px; z-index: 1000;
  padding: 10px 14px; border-radius: 10px; background: white; color: #07111d;
}
.skip-link:focus { top: 14px; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(3, 11, 20, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(140, 182, 224, 0.1);
}
.header-inner { position: relative; height: 78px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: max-content; font-weight: 760; font-size: 1.26rem; letter-spacing: -0.025em; }
.brand img { width: 46px; height: 46px; }
.nav { display: flex; gap: 28px; margin-left: auto; align-items: center; }
.nav a { position: relative; color: #c6d1dc; font-size: .96rem; padding: 26px 0; }
.nav a:hover, .nav a.active { color: #fff; }
.nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 18px; height: 2px; border-radius: 2px; background: var(--primary); }
.header-actions { display: flex; gap: 10px; margin-left: 22px; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); color: white; align-items: center; justify-content: center; }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { content: ""; width: 20px; height: 2px; background: currentColor; position: absolute; border-radius: 2px; transition: .2s ease; }
.menu-toggle span { transform: translateY(0); }
.menu-toggle::before { transform: translateY(-6px); }
.menu-toggle::after { transform: translateY(6px); }
.menu-toggle[aria-expanded="true"] span { opacity: 0; }
.menu-toggle[aria-expanded="true"]::before { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"]::after { transform: rotate(-45deg); }

.btn {
  min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 0 18px; border-radius: 10px; border: 1px solid transparent; font-weight: 660;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid rgba(45, 134, 247, .28); outline-offset: 2px; }
.btn-primary { color: white; background: linear-gradient(180deg, #368ff8, #1765db); box-shadow: 0 10px 28px rgba(23, 101, 219, .26); }
.btn-primary:hover { box-shadow: 0 13px 34px rgba(23, 101, 219, .34); }
.btn-outline { color: #e5edf5; background: rgba(255,255,255,.015); border-color: rgba(174, 199, 224, .28); }
.btn-outline:hover { background: rgba(255,255,255,.04); border-color: rgba(174, 199, 224, .46); }
.btn-ghost { color: #bfd0e0; background: transparent; border-color: transparent; }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: .9rem; }
.btn-wide { width: 100%; }
.icon-inline { width: 18px; height: 18px; }

.eyebrow { margin: 0 0 14px; color: #71aef8; font-size: .82rem; font-weight: 720; letter-spacing: .11em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { overflow-wrap: anywhere; }
h1 { font-size: clamp(2.35rem, 5vw, 4.4rem); line-height: 1.08; letter-spacing: -.045em; margin-bottom: 22px; }
h2 { font-size: clamp(1.75rem, 3vw, 2.55rem); line-height: 1.16; letter-spacing: -.035em; margin-bottom: 14px; }
h3 { font-size: 1.12rem; line-height: 1.3; margin-bottom: 10px; }
.lead { color: #b7c5d3; font-size: clamp(1rem, 1.8vw, 1.16rem); max-width: 700px; }
.muted { color: var(--muted); }
.section-heading { display: flex; justify-content: space-between; gap: 32px; align-items: end; margin-bottom: 28px; }
.section-heading p { color: var(--muted); max-width: 620px; margin-bottom: 4px; }
.center-heading { text-align: center; max-width: 760px; margin: 0 auto 30px; }
.center-heading p { color: var(--muted); }

.hero { padding: 72px 0 52px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .88fr) minmax(540px, 1.22fr); gap: 48px; align-items: center; }
.hero-copy { padding: 18px 0; }
.hero-copy h1 { font-size: clamp(2.25rem, 4.6vw, 4rem); }
.hero-copy .lead { max-width: 610px; }
.check-list { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 10px; }
.check-list li { color: #c9d5e0; display: flex; gap: 10px; align-items: flex-start; }
.check-list svg { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 3px; color: #52a0ff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.microcopy { margin: 15px 0 0; color: var(--muted-2); font-size: .88rem; display: flex; align-items: center; gap: 8px; }
.microcopy svg { width: 17px; height: 17px; color: #5fa8fb; }

.panel { background: linear-gradient(180deg, rgba(15, 34, 52, .92), rgba(8, 24, 38, .95)); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.panel-soft { background: rgba(10, 27, 42, .72); border: 1px solid var(--line); border-radius: var(--radius); }

.app-shell { overflow: hidden; min-height: 540px; }
.app-topbar { height: 54px; padding: 0 14px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); background: rgba(5, 16, 27, .7); }
.traffic { display: flex; gap: 6px; }
.traffic span { width: 9px; height: 9px; border-radius: 50%; background: #ff665e; }
.traffic span:nth-child(2) { background: #f5b947; }
.traffic span:nth-child(3) { background: #42c97b; }
.app-brand-mini { display: flex; align-items: center; gap: 7px; font-size: .8rem; color: #dfe9f3; }
.app-brand-mini img { width: 24px; height: 24px; }
.search-mock { margin-left: 16px; flex: 1; height: 32px; max-width: 320px; border: 1px solid var(--line); border-radius: 8px; color: #637b91; font-size: .78rem; display: flex; align-items: center; padding: 0 12px; }
.app-actions { margin-left: auto; display: flex; gap: 12px; color: #7990a7; }
.app-actions svg { width: 17px; height: 17px; }
.app-layout { display: grid; grid-template-columns: 168px minmax(0, 1fr) 186px; min-height: 486px; }
.app-sidebar { border-right: 1px solid var(--line); padding: 14px 10px; }
.app-nav { display: grid; gap: 3px; }
.app-nav a { color: #9db0c2; padding: 8px 10px; border-radius: 8px; font-size: .79rem; display: flex; align-items: center; gap: 8px; }
.app-nav a.active { background: rgba(47, 132, 241, .18); color: #dcecff; }
.app-nav svg { width: 15px; height: 15px; }
.app-section-label { margin: 16px 10px 7px; color: #526b82; font-size: .66rem; letter-spacing: .09em; }
.project-dot { width: 8px; height: 8px; border-radius: 3px; background: #f2a93b; }
.app-main { padding: 18px; min-width: 0; }
.app-main h3 { font-size: 1.05rem; }
.folder-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(116px, 1fr)); gap: 10px; margin-bottom: 12px; }
.file-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(86px, 1fr)); gap: 10px; }
.file-card { min-width: 0; min-height: 92px; padding: 11px; border: 1px solid rgba(133,177,222,.13); border-radius: 10px; background: rgba(13,32,49,.86); }
.folder-card { display: flex; gap: 8px; align-items: center; min-height: 72px; }
.folder-icon { width: 26px; height: 20px; border-radius: 3px; background: linear-gradient(180deg, #5da9ff, #1d68c8); position: relative; flex: 0 0 auto; }
.folder-icon::before { content:""; position:absolute; left:3px; top:-4px; width:11px; height:5px; border-radius:3px 3px 0 0; background:#78baff; }
.file-title { color: #dce8f3; font-size: .68rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.file-meta { color: #657d93; font-size: .61rem; margin-top: 3px; }
.doc-icon { width: 27px; height: 34px; border-radius: 5px; background: linear-gradient(180deg, #f46d45, #d7402e); color: white; display:flex; align-items:center; justify-content:center; font-weight:800; font-size:.62rem; margin-bottom: 10px; }
.doc-icon.blue { background: linear-gradient(180deg, #479cff, #1764d7); }
.video-card { padding: 0; overflow: hidden; position: relative; min-height: 104px; background: linear-gradient(135deg, #173a60, #0a1727 52%, #164874); }
.video-card::before { content:""; position:absolute; inset:0; background: linear-gradient(120deg, transparent 15%, rgba(99,177,255,.18) 16%, transparent 17% 40%, rgba(27,104,185,.28) 41%, transparent 43%); }
.play { position:absolute; left:50%; top:42%; transform:translate(-50%,-50%); width:35px; height:35px; border-radius:50%; border:1px solid rgba(255,255,255,.7); background:rgba(3,12,20,.55); }
.play::after { content:""; position:absolute; left:13px; top:10px; border-left:10px solid white; border-top:7px solid transparent; border-bottom:7px solid transparent; }
.video-label { position:absolute; left:9px; right:9px; bottom:8px; font-size:.62rem; color:#d9e8f5; }
.media-panel { margin-top: 13px; padding: 12px; border: 1px solid var(--line); border-radius: 11px; background: rgba(8, 24, 38, .46); }
.media-head { display:flex; justify-content:space-between; margin-bottom:9px; font-size:.68rem; }
.media-head a { color:#62a9fb; }
.thumbnail-row { display:grid; grid-template-columns: repeat(4, 1fr); gap:6px; }
.thumb { aspect-ratio: 1.42; border-radius: 7px; background:
  radial-gradient(circle at 70% 25%, rgba(139,205,255,.7), transparent 13%),
  linear-gradient(150deg, #28648f 0 28%, #a8c5d7 29% 38%, #15344d 39% 58%, #071827 59%); }
.thumb:nth-child(2) { background: linear-gradient(155deg, #5f91b0 0 40%, #173448 41% 61%, #071725 62%); }
.thumb:nth-child(3) { background: linear-gradient(90deg, #0b1724 0 17%, #df7d2c 18% 20%, #14283a 21% 42%, #e9983e 43% 45%, #06101b 46%); }
.thumb:nth-child(4) { background: repeating-linear-gradient(110deg, #0b1a29 0 12px, #30475b 13px 15px, #07111c 16px 29px); }
.activity { border-left:1px solid var(--line); padding:14px 12px; }
.activity h4 { font-size:.76rem; margin:0 0 12px; }
.activity-item { display:grid; grid-template-columns:22px 1fr; gap:7px; margin-bottom:12px; }
.avatar { width:22px; height:22px; border-radius:50%; background:linear-gradient(135deg,#fd7a43,#de3d2b); }
.avatar.green { background:linear-gradient(135deg,#5ed58b,#1a9257); }
.avatar.blue { background:linear-gradient(135deg,#72affd,#265bad); }
.activity-text { font-size:.61rem; color:#a9bac9; line-height:1.35; }
.activity-time { color:#516a80; font-size:.55rem; }
.integrations-mini { margin-top:20px; padding-top:12px; border-top:1px solid var(--line); display:grid; gap:8px; }
.integration-mini { display:flex; align-items:center; justify-content:space-between; font-size:.62rem; color:#b8c6d3; }
.status-online { color: var(--success); }

.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.grid-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.card { padding: 24px; background: linear-gradient(180deg, rgba(14,33,51,.86), rgba(8,24,38,.88)); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.card:hover { border-color: rgba(83,151,231,.28); }
.icon-box { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; color: #64a9fa; background: rgba(45,134,247,.09); border: 1px solid rgba(75,151,244,.18); margin-bottom: 18px; }
.icon-box svg { width: 25px; height: 25px; }
.card p { color: var(--muted); font-size: .94rem; margin-bottom: 0; }
.card ul { color: var(--muted); margin: 16px 0 0; padding-left: 18px; }
.card li + li { margin-top: 6px; }
.feature-card { min-height: 220px; }
.feature-card h3 { font-size: 1.02rem; }

.workflow { padding: 26px; }
.workflow-grid { display:grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.workflow-step { position: relative; padding: 8px 28px 8px 4px; }
.workflow-step:not(:last-child)::after { content:"→"; position:absolute; right:7px; top:28px; color:#526c84; font-size:1.3rem; }
.workflow-step .icon-box { margin-bottom: 12px; }
.workflow-step p { color: var(--muted); font-size: .86rem; margin:0; }

.stats-strip { display:grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap:1px; overflow:hidden; }
.stat { padding:22px 18px; display:flex; gap:13px; background:rgba(10,26,41,.92); }
.stat + .stat { border-left:1px solid var(--line); }
.stat svg { width:26px; height:26px; color:#62a9fa; flex:0 0 auto; }
.stat strong { display:block; font-size:.98rem; }
.stat span { display:block; color:var(--muted); font-size:.77rem; margin-top:3px; }

.cta-panel { display:grid; grid-template-columns: .9fr 1.1fr; gap:36px; padding:32px; align-items:center; }
.cta-points { display:flex; gap:28px; margin-top:24px; color:var(--muted); font-size:.84rem; }
.cta-point { display:flex; gap:9px; align-items:center; }
.cta-point svg { width:20px; height:20px; color:#5ca5f9; }
.form-grid { display:grid; gap:14px; }
.form-group label { display:block; color:#d6e0e9; font-size:.84rem; margin-bottom:6px; }
.req { color:#ff6872; }
.input { width:100%; border:1px solid rgba(135,177,218,.18); border-radius:10px; background:#0a1c2b; color:#f0f5fa; padding:12px 14px; outline:none; }
.input:focus { border-color:rgba(65,146,245,.7); box-shadow:0 0 0 3px rgba(45,134,247,.12); }
textarea.input { min-height:100px; resize:vertical; }
.form-status { min-height: 22px; font-size:.84rem; color:var(--muted); }
.form-status.success { color:var(--success); }
.form-status.error { color:var(--danger); }

.page-hero { padding:70px 0 38px; }
.page-hero-grid { display:grid; grid-template-columns:1.05fr .95fr; gap:54px; align-items:center; }
.page-hero h1 { font-size: clamp(2.25rem, 4.6vw, 3.9rem); }
.hero-visual { min-height:300px; display:grid; place-items:center; position:relative; overflow:hidden; }
.hero-visual::before { content:""; position:absolute; inset:14%; border:1px solid rgba(74,143,224,.16); border-radius:50%; box-shadow:0 0 0 42px rgba(28,93,165,.035),0 0 0 84px rgba(28,93,165,.02); }
.server-stack { width:240px; height:210px; position:relative; z-index:2; perspective:600px; }
.server-unit { height:54px; border:1px solid rgba(89,162,246,.38); background:linear-gradient(180deg,#143958,#0b2135); border-radius:13px; margin-top:-5px; transform:skewY(-2deg); box-shadow:0 16px 26px rgba(0,0,0,.24); display:flex; align-items:center; padding:0 18px; gap:8px; }
.server-unit:first-child { margin-top:14px; }
.server-light { width:7px; height:7px; border-radius:50%; background:#4ea1ff; box-shadow:0 0 10px #4ea1ff; }
.server-slot { height:5px; flex:1; border-radius:5px; background:#0a1724; border:1px solid rgba(95,159,226,.2); }
.cloud-badge { position:absolute; right:-2px; top:-8px; width:88px; height:68px; border-radius:22px; display:grid; place-items:center; background:linear-gradient(145deg,#2e8dff,#1557bc); box-shadow:0 18px 36px rgba(20,92,193,.35); }
.cloud-badge svg { width:48px; height:48px; color:white; }

.detail-card { padding:25px; }
.detail-card .card-head { display:flex; gap:14px; align-items:flex-start; }
.detail-card .icon-box { margin-bottom:0; flex:0 0 auto; }
.detail-card p { margin-top:14px; }
.mini-checks { list-style:none; padding:0; margin:18px 0 0; display:grid; gap:7px; }
.mini-checks li { color:#aabac9; font-size:.85rem; display:flex; gap:8px; }
.mini-checks li::before { content:"✓"; color:#58a3f8; font-weight:800; }

.media-browser { overflow:hidden; }
.browser-tabs { display:flex; gap:20px; padding:16px 18px; border-bottom:1px solid var(--line); color:var(--muted); font-size:.84rem; }
.browser-tabs span:first-child { color:#68adff; }
.browser-body { padding:16px; }
.browser-thumbs { display:grid; grid-template-columns:repeat(4,1fr); gap:8px; }
.file-table { width:100%; border-collapse:collapse; margin-top:16px; font-size:.77rem; }
.file-table th, .file-table td { padding:9px 8px; text-align:left; border-top:1px solid var(--line); color:#a9bac8; }
.file-table th { color:#647b91; font-weight:600; }

.integration-diagram { padding:30px; min-height:280px; display:grid; place-items:center; }
.diagram-core { width:112px; height:112px; border-radius:24px; display:grid; place-items:center; justify-self:center; background:#0a1f33; border:1px solid rgba(74,158,255,.62); box-shadow:0 0 38px rgba(31,119,222,.15); position:relative; }
.diagram-core img { width:72px; height:72px; }
.diagram-grid { display:grid; grid-template-columns:1fr auto 1fr; gap:54px; align-items:center; width:100%; }
.diagram-side { display:grid; gap:20px; }
.diagram-node { height:52px; padding:0 14px; border:1px solid var(--line); border-radius:11px; display:flex; align-items:center; gap:10px; color:#a9bbcc; background:rgba(10,26,40,.72); }
.diagram-node svg { width:22px; height:22px; color:#69adfc; }
.integration-card { min-height:224px; display:flex; flex-direction:column; }
.integration-brand { display:flex; align-items:center; gap:13px; margin-bottom:14px; }
.brand-mark { width:48px; height:48px; border-radius:12px; display:grid; place-items:center; background:#0a1724; border:1px solid var(--line); color:white; flex:0 0 auto; }
.brand-mark img { width:27px; height:27px; display:block; object-fit:contain; }
.brand-mark.github { border-radius:50%; }
.brand-mark.slack img { width:25px; height:25px; }
.brand-mark.gitlab img, .brand-mark.jira img { width:29px; height:29px; }
.integration-card .btn { margin-top:auto; align-self:flex-start; }

.pricing-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:15px; align-items:stretch; }
.price-card { padding:25px; display:flex; flex-direction:column; position:relative; }
.price-card.recommended { border-color:rgba(56,145,253,.72); background:linear-gradient(180deg,rgba(17,47,77,.96),rgba(8,25,41,.95)); box-shadow:0 18px 48px rgba(21,95,191,.17); }
.badge { display:inline-flex; align-items:center; min-height:25px; padding:0 9px; border-radius:7px; background:#2178e9; color:white; font-size:.72rem; font-weight:700; }
.price-card .badge { position:absolute; right:18px; top:18px; }
.price { font-size:2.5rem; line-height:1; letter-spacing:-.04em; margin:14px 0 6px; font-weight:760; }
.price-period { color:var(--muted); font-size:.84rem; }
.price-card > p { color:var(--muted); min-height:66px; margin:16px 0; }
.price-features { list-style:none; padding:0; margin:0 0 24px; display:grid; gap:9px; }
.price-features li { color:#b4c2ce; font-size:.86rem; display:flex; gap:8px; }
.price-features li::before { content:"✓"; color:#54a1f8; }
.price-card .btn { margin-top:auto; }
.table-wrap { overflow:auto; border-radius:var(--radius); border:1px solid var(--line); }
.compare-table { width:100%; min-width:850px; border-collapse:collapse; background:rgba(8,24,38,.78); }
.compare-table th, .compare-table td { padding:13px 16px; border-right:1px solid var(--line); border-bottom:1px solid var(--line); text-align:left; color:#aebdca; font-size:.84rem; }
.compare-table th { color:#e2ebf3; background:rgba(14,34,52,.92); }
.compare-table tr:last-child td { border-bottom:0; }
.compare-table th:last-child, .compare-table td:last-child { border-right:0; }

.faq { display:grid; gap:8px; }
.faq-item { border-bottom:1px solid var(--line); }
.faq-question { width:100%; padding:15px 0; background:none; border:0; color:#e4edf5; display:flex; justify-content:space-between; gap:20px; text-align:left; }
.faq-question svg { width:18px; height:18px; flex:0 0 auto; transition:.2s ease; }
.faq-question[aria-expanded="true"] svg { transform:rotate(180deg); }
.faq-answer { display:none; color:var(--muted); font-size:.9rem; padding:0 26px 15px 0; }
.faq-question[aria-expanded="true"] + .faq-answer { display:block; }

.contact-card a { color:#64a9fa; font-weight:650; overflow-wrap:anywhere; }
.expect-list { display:grid; gap:10px; }
.expect-item { padding:16px; display:grid; grid-template-columns:44px 1fr; gap:14px; border:1px solid var(--line); border-radius:12px; background:rgba(8,24,38,.55); }
.expect-item .icon-box { width:44px; height:44px; margin:0; }
.expect-item p { color:var(--muted); font-size:.84rem; margin:4px 0 0; }
.process-grid { display:grid; grid-template-columns:repeat(4,1fr); }
.process-step { padding:20px; position:relative; }
.process-step:not(:last-child)::after { content:"→"; position:absolute; right:-6px; top:37px; color:#557088; }
.process-step .icon-box { margin-bottom:12px; }
.process-step p { color:var(--muted); font-size:.83rem; }

.auth-page { min-height:calc(100vh - 79px); display:grid; place-items:center; padding:60px 20px; }
.auth-card { width:min(480px,100%); padding:34px; }
.auth-card .brand { margin-bottom:28px; }
.auth-card h1 { font-size:2rem; }
.auth-note { color:var(--muted); font-size:.84rem; text-align:center; margin-top:18px; }

.site-footer { border-top:1px solid var(--line); padding:38px 0; margin-top:40px; }
.footer-grid { display:grid; grid-template-columns:1.4fr repeat(3, .72fr); gap:44px; }
.footer-brand p { color:var(--muted); max-width:280px; font-size:.88rem; margin-top:16px; }
.footer-title { color:#dfe8f0; font-weight:700; margin-bottom:11px; }
.footer-links { display:grid; gap:8px; }
.footer-links a { color:#8ea1b3; font-size:.86rem; }
.footer-links a:hover { color:#dce7f1; }
.footer-bottom { margin-top:30px; padding-top:22px; border-top:1px solid var(--line); display:flex; justify-content:space-between; gap:20px; color:#657a8e; font-size:.8rem; }

.reveal { opacity:0; transform:translateY(16px); transition:opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity:1; transform:none; }

@media (max-width: 1100px) {
  .hero-grid { grid-template-columns:1fr; }
  .hero-copy { max-width:760px; }
  .app-shell { min-height:auto; }
  .grid-6 { grid-template-columns:repeat(3,1fr); }
  .pricing-grid { grid-template-columns:repeat(2,1fr); }
  .stats-strip { grid-template-columns:repeat(3,1fr); }
  .stat:nth-child(4) { border-left:0; border-top:1px solid var(--line); }
  .stat:nth-child(5) { border-top:1px solid var(--line); }
}

@media (max-width: 900px) {
  .site-header { background:#030b14; backdrop-filter:none; }
  .header-inner {
    height:auto; min-height:78px;
    display:grid; grid-template-columns:minmax(0,1fr) auto;
    grid-template-areas:"brand toggle" "nav nav" "actions actions";
    column-gap:14px; align-items:center;
  }
  .header-inner > .brand { grid-area:brand; }
  .menu-toggle { grid-area:toggle; display:flex; position:relative; margin-left:auto; flex:0 0 auto; z-index:2; }
  .nav, .header-actions { display:none; }
  .nav.open {
    grid-area:nav; position:static; z-index:auto;
    display:flex; flex-direction:column; align-items:stretch; gap:8px;
    width:100%; margin:0; padding:10px 0 8px;
    border-top:1px solid var(--line);
    background:#030b14;
    visibility:visible; opacity:1; pointer-events:auto; transform:none;
  }
  .nav.open a { padding:14px 14px; border:1px solid var(--line); border-radius:11px; font-size:1.02rem; background:#091827; }
  .nav.open a:hover, .nav.open a.active { background:#0d2237; border-color:rgba(61,145,255,.32); }
  .nav.open a.active::after { display:none; }
  .nav.open + .header-actions {
    grid-area:actions; position:static;
    display:grid; grid-template-columns:1fr 1fr; gap:10px;
    width:100%; margin:0; padding:2px 0 16px;
    background:#030b14;
  }
  .nav.open + .header-actions .btn { width:100%; }
  .menu-open .site-header { max-height:100dvh; overflow-y:auto; box-shadow:0 24px 60px rgba(0,0,0,.42); }
  .page-hero-grid, .cta-panel { grid-template-columns:1fr; }
  .hero-visual { min-height:260px; }
  .grid-3 { grid-template-columns:repeat(2,1fr); }
  .grid-4 { grid-template-columns:repeat(2,1fr); }
  .workflow-grid, .process-grid { grid-template-columns:repeat(2,1fr); }
  .workflow-step:nth-child(2)::after, .process-step:nth-child(2)::after { display:none; }
  .footer-grid { grid-template-columns:1.2fr repeat(2,1fr); }
  .footer-grid > div:last-child { grid-column:2; }
}

@media (max-width: 700px) {
  .container { width:min(100% - 28px, var(--container)); }
  .section { padding:52px 0; }
  .hero { padding-top:48px; }
  .app-layout { grid-template-columns:110px minmax(0,1fr); }
  .activity { display:none; }
  .folder-grid, .file-grid { grid-template-columns:repeat(2,1fr); }
  .grid-2, .grid-3, .grid-4, .grid-5, .grid-6, .pricing-grid { grid-template-columns:1fr; }
  .workflow-grid, .process-grid { grid-template-columns:1fr; }
  .workflow-step:not(:last-child)::after, .process-step:not(:last-child)::after { content:"↓"; right:auto; left:25px; top:auto; bottom:-5px; }
  .stats-strip { grid-template-columns:1fr; }
  .stat + .stat { border-left:0; border-top:1px solid var(--line); }
  .cta-panel { padding:24px; }
  .cta-points { flex-direction:column; gap:12px; }
  .section-heading { display:block; }
  .integration-diagram { min-height:0; padding:24px 18px; }
  .diagram-grid { grid-template-columns:1fr; gap:20px; justify-items:stretch; }
  .diagram-side { grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; width:100%; }
  .diagram-core { justify-self:center; margin-inline:auto; }
  .diagram-node { min-width:0; justify-content:center; padding:0; }
  .diagram-node span { display:none; }
  .footer-grid { grid-template-columns:1fr 1fr; gap:28px; }
  .footer-brand { grid-column:1 / -1; }
  .footer-grid > div:last-child { grid-column:auto; }
  .footer-bottom { flex-direction:column; }
}

@media (max-width: 480px) {
  .header-inner { min-height:70px; height:auto; }
  .brand { font-size:1.08rem; }
  .brand span { max-width:132px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .brand img { width:40px; height:40px; }
  .nav.open + .header-actions { grid-template-columns:1fr; }
  h1 { font-size:2.3rem; }
  .hero-actions { flex-direction:column; }
  .hero-actions .btn { width:100%; }
  .page-integrations .page-hero { padding-top:42px; }
  .page-integrations .page-hero-grid { gap:30px; }
  .page-integrations .integration-diagram { padding:22px 14px; }
  .app-sidebar { display:none; }
  .app-layout { grid-template-columns:1fr; }
  .search-mock { display:none; }
  .app-main { padding:13px; }
  .thumbnail-row { grid-template-columns:repeat(2,1fr); }
  .footer-grid { grid-template-columns:1fr; }
  .footer-grid > div:last-child { grid-column:auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior:auto !important; transition:none !important; animation:none !important; }
  .reveal { opacity:1; transform:none; }
}
