:root {
  --ink: #0b1728;
  --ink-soft: #506179;
  --muted: #78879b;
  --line: #e2e9f2;
  --surface: #f5f8fc;
  --white: #ffffff;
  --navy: #071526;
  --navy-soft: #0c2239;
  --blue: #246bfd;
  --blue-dark: #1554d8;
  --cyan: #1fd0bb;
  --green: #0ea876;
  --orange: #f59e42;
  --shadow: 0 20px 60px rgba(18, 49, 89, .12);
  --content: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Manrope", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
svg { display: block; }

.skip-link {
  position: fixed;
  z-index: 200;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--blue);
  border-radius: 10px;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  height: 76px;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  transition: background .2s, box-shadow .2s;
}
.site-header.scrolled,
.site-header.menu-open {
  background: rgba(7, 21, 38, .96);
  box-shadow: 0 12px 35px rgba(0, 0, 0, .14);
  backdrop-filter: blur(18px);
}
.header-inner {
  width: min(var(--content), calc(100% - 48px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 34px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -.04em;
}
.brand-mark {
  width: 34px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(145deg, var(--blue), #5b9dff);
  clip-path: polygon(50% 0, 95% 17%, 88% 72%, 50% 100%, 12% 72%, 5% 17%);
}
.brand-mark svg {
  width: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.brand-mark-small { width: 29px; height: 32px; font-size: .72rem; }
.desktop-nav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.desktop-nav a { color: #c0ccda; font-size: .84rem; font-weight: 700; transition: color .2s; }
.desktop-nav a:hover { color: var(--white); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.text-button {
  padding: 10px 12px;
  color: var(--white);
  background: transparent;
  border: 0;
  font-size: .86rem;
  font-weight: 800;
}
.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 11px;
}
.menu-button svg { width: 21px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.mobile-nav {
  position: absolute;
  top: 76px;
  right: 0;
  left: 0;
  padding: 12px 24px 22px;
  background: rgba(7, 21, 38, .98);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.mobile-nav a,
.mobile-nav button {
  width: 100%;
  display: block;
  padding: 13px 0;
  color: #dce6f0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  text-align: left;
  font-size: .95rem;
  font-weight: 700;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: .88rem;
  font-weight: 800;
  transition: transform .18s, background .18s, box-shadow .18s;
}
.button:hover { transform: translateY(-2px); }
.button:focus-visible, .text-button:focus-visible, .menu-button:focus-visible, .auth-switch:focus-visible, a:focus-visible, input:focus-visible {
  outline: 3px solid rgba(47, 130, 255, .35);
  outline-offset: 3px;
}
.button-small { min-height: 40px; padding: 0 15px; font-size: .8rem; border-radius: 10px; }
.button-large { min-height: 54px; padding: 0 24px; }
.button-primary { color: var(--white); background: linear-gradient(135deg, var(--blue), #4489ff); box-shadow: 0 13px 30px rgba(36, 107, 253, .26); }
.button-primary:hover { background: linear-gradient(135deg, var(--blue-dark), #337cff); box-shadow: 0 16px 36px rgba(36, 107, 253, .32); }
.button-secondary { color: var(--white); background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.19); }
.button-secondary:hover { background: rgba(255,255,255,.12); }
.button-white { color: var(--navy); background: var(--white); }
.button-outline-light { color: var(--white); background: transparent; border-color: rgba(255,255,255,.32); }

.hero {
  position: relative;
  min-height: 790px;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(118deg, rgba(7, 21, 38, .99) 0%, rgba(8, 30, 52, .98) 52%, rgba(8, 42, 67, .96) 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .12;
  background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(90deg, transparent, black 45%, black);
}
.hero-orb { position: absolute; border-radius: 50%; filter: blur(10px); pointer-events: none; }
.hero-orb-a { width: 520px; height: 520px; right: -100px; top: -170px; background: radial-gradient(circle, rgba(43, 132, 255, .3), transparent 69%); }
.hero-orb-b { width: 430px; height: 430px; left: 38%; bottom: -240px; background: radial-gradient(circle, rgba(31, 208, 187, .18), transparent 68%); }
.hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--content), calc(100% - 48px));
  min-height: 790px;
  margin: 0 auto;
  padding: 138px 0 86px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(570px, 1.14fr);
  align-items: center;
  gap: 68px;
}
.eyebrow, .section-kicker {
  margin: 0;
  color: var(--blue);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  color: #bad4ff;
  background: rgba(51, 125, 255, .1);
  border: 1px solid rgba(104, 159, 255, .22);
  border-radius: 999px;
  letter-spacing: .06em;
}
.eyebrow span { width: 7px; height: 7px; background: var(--cyan); border-radius: 50%; box-shadow: 0 0 0 5px rgba(31,208,187,.11); }
.hero h1 {
  max-width: 650px;
  margin: 24px 0 20px;
  font-size: clamp(3.25rem, 5vw, 4.7rem);
  line-height: 1.02;
  letter-spacing: -.064em;
}
.hero-lead { max-width: 640px; margin: 0; color: #adbdce; font-size: 1.08rem; line-height: 1.75; }
.hero-actions { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-proof { margin-top: 27px; display: flex; gap: 22px; flex-wrap: wrap; color: #aebdcd; font-size: .78rem; font-weight: 650; }
.hero-proof i { margin-right: 6px; color: var(--cyan); font-style: normal; }

.product-preview {
  position: relative;
  overflow: hidden;
  background: #f7f9fc;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 23px;
  box-shadow: 0 40px 100px rgba(0,0,0,.32);
  transform: perspective(1400px) rotateY(-3deg) rotateX(1deg);
}
.preview-topbar { height: 58px; padding: 0 15px; display: flex; align-items: center; background: #071526; }
.preview-brand { display: flex; align-items: center; gap: 9px; color: var(--white); font-size: .7rem; }
.preview-shield { width: 25px; height: 28px; display: grid; place-items: center; color: var(--white); background: var(--blue); clip-path: polygon(50% 0,95% 18%,88% 72%,50% 100%,12% 72%,5% 18%); font-size: .55rem; }
.status { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 99px; font-size: .57rem; font-weight: 800; }
.status i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-good { color: #0b956e; background: #dcf8ef; }
.preview-body { min-height: 440px; display: grid; grid-template-columns: 54px 1fr; }
.preview-sidebar { padding-top: 26px; display: flex; flex-direction: column; align-items: center; gap: 18px; background: #0a1c30; }
.preview-sidebar span { width: 18px; height: 5px; border-radius: 8px; background: #35506d; }
.preview-sidebar .preview-nav-active { width: 28px; height: 29px; background: #246bfd; border-radius: 9px; box-shadow: inset 9px 11px 0 -8px #fff; }
.preview-content { padding: 24px 20px; color: var(--ink); }
.preview-heading { display: flex; align-items: center; justify-content: space-between; }
.preview-heading div { display: grid; gap: 5px; }
.preview-heading small { color: var(--muted); font-size: .52rem; }
.preview-heading b { font-size: .9rem; }
.preview-heading button { padding: 7px 10px; color: var(--white); background: var(--blue); border: 0; border-radius: 7px; font-size: .55rem; font-weight: 800; }
.metric-row { margin: 18px 0 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.metric-row article { min-width: 0; padding: 12px; display: flex; align-items: center; gap: 9px; background: var(--white); border: 1px solid #e7ecf3; border-radius: 11px; }
.metric-row article div { min-width: 0; display: grid; gap: 3px; }
.metric-row small { color: var(--muted); font-size: .48rem; }
.metric-row b { font-size: .74rem; white-space: nowrap; }
.metric-row em { color: var(--green); font-size: .46rem; font-style: normal; }
.metric-icon { width: 27px; height: 27px; flex: none; display: grid; place-items: center; border-radius: 8px; font-size: .7rem; font-weight: 800; }
.metric-blue { color: var(--blue); background: #edf3ff; }
.metric-green { color: var(--green); background: #e9f8f3; }
.metric-orange { color: var(--orange); background: #fff4e8; }
.preview-main-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 10px; }
.device-panel, .activity-panel { padding: 14px; background: var(--white); border: 1px solid #e7ecf3; border-radius: 12px; }
.panel-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.panel-title b { font-size: .65rem; }
.panel-title small { color: var(--muted); font-size: .46rem; }
.device-row { padding: 10px 0; display: flex; align-items: center; gap: 9px; border-bottom: 1px solid #edf1f5; }
.device-row:last-child { border: 0; }
.device-avatar { width: 29px; height: 29px; flex: none; display: grid; place-items: center; color: var(--white); background: var(--blue); border-radius: 9px; font-size: .56rem; font-weight: 800; }
.device-avatar-teal { background: #1aa995; }
.device-avatar-gray { background: #8a98aa; }
.device-row > div { min-width: 0; display: grid; gap: 3px; }
.device-row > div b { overflow: hidden; font-size: .56rem; text-overflow: ellipsis; white-space: nowrap; }
.device-row > div small { color: var(--muted); font-size: .43rem; white-space: nowrap; }
.online-dot, .offline-dot { width: 5px; height: 5px; display: inline-block; margin-right: 3px; border-radius: 50%; background: var(--green); }
.offline-dot { background: #9aa7b7; }
.device-ready, .device-wait { margin-left: auto; padding: 4px 6px; color: var(--green); background: #e9f8f3; border-radius: 99px; font-size: .41rem; font-weight: 800; white-space: nowrap; }
.device-wait { color: #68778a; background: #eef2f6; }
.event-row { padding: 10px 0; display: flex; align-items: flex-start; gap: 8px; border-bottom: 1px solid #edf1f5; }
.event-row:last-child { border: 0; }
.event-row > span { width: 23px; height: 23px; flex: none; display: grid; place-items: center; border-radius: 7px; font-size: .55rem; font-weight: 800; }
.event-check { color: var(--green); background: #e9f8f3; }
.event-pin { color: var(--blue); background: #edf3ff; }
.event-shield { color: #8558d8; background: #f3edff; }
.event-row div { display: grid; gap: 3px; }
.event-row b { font-size: .49rem; line-height: 1.3; }
.event-row small { color: var(--muted); font-size: .4rem; }

.quick-facts {
  width: min(var(--content), calc(100% - 48px));
  margin: -37px auto 0;
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 17px;
  box-shadow: var(--shadow);
}
.quick-facts div { padding: 25px 28px; display: grid; gap: 4px; border-right: 1px solid var(--line); }
.quick-facts div:last-child { border: 0; }
.quick-facts strong { font-size: .9rem; }
.quick-facts span { color: var(--muted); font-size: .76rem; }

.section { width: min(var(--content), calc(100% - 48px)); margin: 0 auto; padding: 112px 0; }
.section-heading { margin-bottom: 44px; }
.section-heading h2, .setup-intro h2, .security-copy h2, .final-cta h2 { margin: 12px 0 0; font-size: clamp(2.2rem, 4vw, 3.35rem); line-height: 1.1; letter-spacing: -.05em; }
.section-heading > p, .setup-intro > p, .security-copy > p { color: var(--ink-soft); font-size: 1rem; line-height: 1.75; }
.heading-split { display: grid; grid-template-columns: 1fr .8fr; align-items: end; gap: 80px; }
.heading-split > p { margin: 0; }
.centered { max-width: 720px; margin-right: auto; margin-left: auto; text-align: center; }
.centered > p:last-child { margin: 15px 0 0; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.feature-card { min-height: 260px; padding: 28px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 18px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.feature-card:hover { transform: translateY(-4px); border-color: #cbd9ee; box-shadow: 0 18px 45px rgba(18, 49, 89, .09); }
.feature-primary { color: var(--white); background: linear-gradient(145deg, #155adc, #277bff); border-color: transparent; }
.feature-icon { width: 46px; height: 46px; display: grid; place-items: center; color: var(--blue); background: #edf3ff; border-radius: 13px; }
.feature-primary .feature-icon { color: var(--white); background: rgba(255,255,255,.16); }
.feature-icon svg { width: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature-card h3 { margin: 25px 0 9px; font-size: 1.05rem; letter-spacing: -.02em; }
.feature-card p { margin: 0; color: var(--ink-soft); font-size: .84rem; line-height: 1.7; }
.feature-primary p { color: #d9e8ff; }
.feature-link { margin-top: auto; padding-top: 20px; font-size: .72rem; font-weight: 700; }
.feature-link b { margin-left: 6px; }

.setup-section {
  width: 100%;
  max-width: none;
  padding: 102px max(24px, calc((100% - var(--content)) / 2));
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  align-items: center;
  gap: 90px;
  color: var(--white);
  background: var(--navy);
}
.section-kicker-light { color: #6da4ff; }
.setup-intro > p { color: #aebdcd; }
.setup-intro .button { margin-top: 15px; }
.setup-steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.setup-steps li { min-height: 178px; padding: 24px; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.1); border-radius: 16px; }
.setup-steps li > span { color: #6fa6ff; font-size: .7rem; font-weight: 800; letter-spacing: .08em; }
.setup-steps h3 { margin: 21px 0 8px; font-size: .98rem; }
.setup-steps p { margin: 0; color: #aab9ca; font-size: .8rem; line-height: 1.65; }

.roles-section { padding-bottom: 96px; }
.roles-table { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; }
.role-row { min-height: 78px; padding: 0 24px; display: grid; grid-template-columns: .72fr 1fr 1.25fr; align-items: center; gap: 28px; border-bottom: 1px solid var(--line); font-size: .82rem; }
.role-row:last-child { border: 0; }
.role-row > span:first-child { display: flex; align-items: center; gap: 11px; }
.role-row > span:not(:first-child) { color: var(--ink-soft); line-height: 1.5; }
.role-header { min-height: 48px; color: var(--muted); background: var(--surface); font-size: .66rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.role-header > span { color: inherit !important; }
.role-dot { width: 10px; height: 10px; flex: none; border-radius: 50%; }
.role-owner { background: var(--blue); box-shadow: 0 0 0 5px rgba(36,107,253,.1); }
.role-head { background: #7c5ce7; box-shadow: 0 0 0 5px rgba(124,92,231,.1); }
.role-admin { background: var(--cyan); box-shadow: 0 0 0 5px rgba(31,208,187,.1); }
.role-viewer { background: #96a3b3; box-shadow: 0 0 0 5px rgba(150,163,179,.1); }

.security-section { padding: 0 0 112px; display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 88px; }
.security-copy > p { margin: 18px 0 24px; }
.security-list { display: grid; gap: 11px; }
.security-list article { padding: 22px 24px; display: grid; grid-template-columns: 42px 1fr; gap: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.security-list article > span { width: 38px; height: 38px; display: grid; place-items: center; color: var(--blue); background: var(--white); border: 1px solid var(--line); border-radius: 11px; font-size: .63rem; font-weight: 800; }
.security-list h3 { margin: 0 0 6px; font-size: .96rem; }
.security-list p { margin: 0; color: var(--ink-soft); font-size: .8rem; line-height: 1.6; }

.final-cta {
  width: min(var(--content), calc(100% - 48px));
  margin: 0 auto 90px;
  padding: 52px 56px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
  gap: 70px;
  overflow: hidden;
  position: relative;
  color: var(--white);
  background: linear-gradient(125deg, #0b2440, #123f65);
  border-radius: 24px;
}
.final-cta::after { content: ""; position: absolute; width: 340px; height: 340px; right: -100px; top: -180px; background: radial-gradient(circle, rgba(53,135,255,.42), transparent 66%); }
.final-cta h2 { position: relative; z-index: 1; font-size: clamp(2rem, 3.2vw, 2.9rem); }
.final-cta > div:last-child { position: relative; z-index: 1; }
.final-cta > div:last-child p { margin: 0 0 20px; color: #bac8d7; font-size: .88rem; line-height: 1.65; }
.final-actions { display: flex; gap: 10px; }

.site-footer { width: min(var(--content), calc(100% - 48px)); min-height: 96px; margin: 0 auto; display: flex; align-items: center; gap: 25px; color: var(--muted); border-top: 1px solid var(--line); font-size: .75rem; }
.brand-footer { color: var(--ink); }
.site-footer p { margin-right: auto; }

.login-layer { position: fixed; z-index: 300; inset: 0; display: grid; place-items: center; padding: 20px; }
.login-layer[hidden] { display: none; }
.login-backdrop { position: absolute; inset: 0; background: rgba(3, 11, 21, .76); backdrop-filter: blur(8px); }
.login-dialog { position: relative; width: min(440px, 100%); padding: 34px; background: var(--white); border-radius: 22px; box-shadow: 0 35px 100px rgba(0,0,0,.34); animation: dialog-in .18s ease-out; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(12px) scale(.985); } }
.close-button { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; display: grid; place-items: center; color: #66758a; background: #f0f4f8; border: 0; border-radius: 10px; font-size: 1.45rem; line-height: 1; }
.login-brand { display: flex; align-items: center; gap: 9px; font-weight: 800; }
.login-dialog h2 { margin: 28px 0 8px; font-size: 1.72rem; letter-spacing: -.04em; }
.login-dialog > p { margin: 0 0 23px; color: var(--ink-soft); font-size: .84rem; line-height: 1.55; }
.login-dialog label { margin-bottom: 15px; display: grid; gap: 7px; }
.login-dialog label > span { color: #44536a; font-size: .75rem; font-weight: 800; }
.login-dialog input { width: 100%; min-height: 48px; padding: 0 14px; color: var(--ink); background: var(--white); border: 1px solid #d7e0eb; border-radius: 11px; outline: 0; }
.login-dialog input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(36,107,253,.1); }
.login-submit { width: 100%; }
.login-submit:disabled { opacity: .65; cursor: wait; transform: none; }
.login-error { min-height: 21px; margin: -3px 0 7px; color: #c52d43; font-size: .75rem; font-weight: 700; }
.auth-switch { width: 100%; margin-top: 14px; padding: 5px; color: var(--ink-soft); background: transparent; border: 0; font-size: .78rem; }
.auth-switch b { color: var(--blue); }
.login-dialog .login-note { margin: 17px 0 0; padding-top: 17px; color: var(--muted); border-top: 1px solid var(--line); text-align: center; font-size: .7rem; }
body.modal-open { overflow: hidden; }

@media (max-width: 1050px) {
  .desktop-nav { display: none; }
  .menu-button { display: inline-flex; }
  .hero-inner { grid-template-columns: 1fr; padding-top: 132px; gap: 58px; }
  .hero-copy { max-width: 760px; text-align: center; margin: 0 auto; }
  .hero-lead { margin: 0 auto; }
  .hero-actions, .hero-proof { justify-content: center; }
  .product-preview { max-width: 760px; width: 100%; margin: 0 auto -75px; transform: none; }
  .hero { padding-bottom: 90px; }
  .heading-split { grid-template-columns: 1fr; gap: 18px; }
  .heading-split > p { max-width: 700px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .setup-section { grid-template-columns: 1fr; gap: 50px; }
  .setup-intro { max-width: 760px; }
  .security-section { grid-template-columns: 1fr; gap: 45px; }
  .security-copy { max-width: 720px; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 72px; }
  .site-header { height: 68px; }
  .header-inner { width: min(100% - 30px, var(--content)); }
  .header-actions > .text-button, .header-actions > .button { display: none; }
  .mobile-nav { top: 68px; }
  .hero-inner { width: min(100% - 32px, var(--content)); min-height: auto; padding: 116px 0 60px; }
  .hero h1 { font-size: clamp(2.7rem, 12vw, 3.5rem); }
  .hero-lead { font-size: .96rem; }
  .product-preview { margin-bottom: -35px; }
  .preview-body { min-height: auto; grid-template-columns: 42px 1fr; }
  .preview-content { padding: 18px 14px; }
  .metric-row { grid-template-columns: 1fr 1fr; }
  .metric-row article:last-child { display: none; }
  .preview-main-grid { grid-template-columns: 1fr; }
  .activity-panel { display: none; }
  .quick-facts { width: min(100% - 32px, var(--content)); grid-template-columns: 1fr; margin-top: -18px; }
  .quick-facts div { padding: 20px 22px; border-right: 0; border-bottom: 1px solid var(--line); }
  .section { width: min(100% - 32px, var(--content)); padding: 82px 0; }
  .section-heading h2, .setup-intro h2, .security-copy h2, .final-cta h2 { font-size: 2.25rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 230px; }
  .setup-section { width: 100%; padding: 80px 16px; }
  .setup-steps { grid-template-columns: 1fr; }
  .setup-steps li { min-height: 0; display: grid; grid-template-columns: 42px 1fr; gap: 12px; }
  .setup-steps h3 { margin: 0 0 7px; }
  .role-header { display: none; }
  .role-row { padding: 20px; grid-template-columns: 1fr; gap: 9px; }
  .role-row > span:not(:first-child) { padding-left: 21px; }
  .security-section { padding-bottom: 82px; }
  .final-cta { width: min(100% - 32px, var(--content)); margin-bottom: 60px; padding: 38px 28px; grid-template-columns: 1fr; gap: 28px; }
  .site-footer { width: min(100% - 32px, var(--content)); padding: 26px 0; align-items: flex-start; flex-direction: column; gap: 8px; }
  .site-footer p { margin: 0; }
}

@media (max-width: 480px) {
  .hero-actions, .final-actions { flex-direction: column; }
  .hero-actions .button, .final-actions .button { width: 100%; }
  .hero-proof { display: grid; gap: 9px; }
  .preview-topbar { height: 52px; }
  .preview-sidebar { display: none; }
  .preview-body { grid-template-columns: 1fr; }
  .preview-heading button { display: none; }
  .metric-row article { padding: 10px; }
  .login-dialog { padding: 30px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
