@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --blue: #18b7ef;
  --blue-2: #079fe0;
  --blue-3: #008dd1;
  --ink: #0c1728;
  --ink-2: #172539;
  --muted: #647084;
  --line: #e6edf3;
  --soft: #f5fbff;
  --soft-2: #eef8fe;
  --navy: #061727;
  --navy-2: #0a2135;
  --white: #ffffff;
  --success: #16a673;
  --warning: #e79b32;
  --shadow-sm: 0 10px 35px rgba(12, 23, 40, .06);
  --shadow-md: 0 24px 70px rgba(12, 23, 40, .11);
  --shadow-blue: 0 16px 38px rgba(24, 183, 239, .24);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 26px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
::selection { background: rgba(24,183,239,.2); color: var(--ink); }

.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.narrow { width: min(calc(100% - 40px), 820px); margin-inline: auto; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-soft { background: linear-gradient(135deg, #f6fbff 0%, #ffffff 68%); }
.section-dark { background: var(--navy); color: white; }
.hidden { display: none !important; }
.text-center { text-align: center; }
.text-blue { color: var(--blue-2); }
.muted { color: var(--muted); }

.eyebrow {
  color: var(--blue-2);
  text-transform: uppercase;
  font-weight: 850;
  letter-spacing: .055em;
  font-size: 12px;
  margin-bottom: 16px;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border: 1px solid rgba(24,183,239,.22);
  border-radius: 999px;
  background: rgba(24,183,239,.075);
  color: var(--blue-3);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
}
h1, h2, h3, h4 { margin: 0; line-height: 1.1; letter-spacing: -.04em; }
h1 { font-size: clamp(48px, 5.2vw, 76px); }
h2 { font-size: clamp(36px, 4vw, 56px); }
h3 { font-size: 23px; letter-spacing: -.025em; }
p { margin: 0; }
.lead { color: var(--muted); font-size: 18px; line-height: 1.75; }
.section-head { max-width: 760px; margin: 0 auto 46px; text-align: center; }
.section-head h2 { margin-bottom: 16px; }
.section-head p { color: var(--muted); font-size: 17px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.93);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(230,237,243,.86);
}
.navbar {
  height: 78px;
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 22px;
  align-items: center;
}
.brand { display: inline-flex; align-items: center; }
.brand img { width: 178px; height: auto; }
.nav-links { display: flex; justify-content: center; align-items: stretch; gap: 28px; }
.nav-links a {
  display: flex;
  align-items: center;
  position: relative;
  height: 78px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 14px;
  height: 2px;
  background: var(--blue);
  border-radius: 999px;
  transition: right .22s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { right: 0; }
.nav-actions { display: flex; gap: 10px; }
.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  cursor: pointer;
}
.menu-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px auto; transition: .2s; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 21px;
  border-radius: 7px;
  border: 1px solid transparent;
  font-weight: 800;
  font-size: 14px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, color .2s ease, background .2s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: white; box-shadow: var(--shadow-blue); }
.btn-primary:hover { box-shadow: 0 20px 44px rgba(24,183,239,.31); }
.btn-outline { border-color: #aab7c4; background: white; }
.btn-outline:hover { border-color: var(--blue); color: var(--blue-3); }
.btn-dark { background: var(--ink); color: white; }
.btn-ghost { background: transparent; color: var(--blue-2); padding-inline: 0; }
.btn-lg { min-height: 54px; padding-inline: 27px; }
.btn[aria-disabled="true"], .btn:disabled { opacity: .55; pointer-events: none; }

.hero {
  position: relative;
  min-height: 665px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(circle at 86% 31%, rgba(24,183,239,.13), transparent 27%), linear-gradient(180deg, #fff 0%, #fff 72%, #f8fbfd 100%);
}
.hero-grid {
  min-height: 665px;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: 42px;
}
.hero-copy { position: relative; z-index: 2; padding: 72px 0 54px; }
.hero-copy h1 { max-width: 760px; }
.hero-copy .accent { color: var(--blue-2); }
.hero-copy .lead { max-width: 610px; margin: 25px 0 31px; }
.hero-actions { display: flex; gap: 13px; flex-wrap: wrap; }
.proof-row { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 48px; color: #344154; font-size: 13px; font-weight: 750; }
.proof-item { display: inline-flex; align-items: center; gap: 8px; }
.proof-item svg { width: 18px; height: 18px; stroke: var(--blue-2); }
.hero-art { position: relative; z-index: 1; align-self: end; display: flex; align-items: end; justify-content: end; min-height: 590px; }
.hero-art img { width: 760px; max-width: none; margin-right: -120px; filter: drop-shadow(0 25px 32px rgba(12,23,40,.12)); }

.feature-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 25px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(24,183,239,.38); }
.icon-wrap { width: 48px; height: 48px; border-radius: 50%; background: #eaf8ff; display: grid; place-items: center; color: var(--blue-2); margin-bottom: 21px; }
.icon-wrap svg { width: 24px; height: 24px; stroke: currentColor; }
.card h3 { font-size: 18px; margin-bottom: 13px; }
.card p { color: var(--muted); font-size: 14px; min-height: 105px; }
.card-link { display: inline-flex; align-items: center; gap: 6px; color: var(--blue-2); font-weight: 800; font-size: 13px; margin-top: 18px; }

.platform-strip { overflow: hidden; background: linear-gradient(90deg, #f4fbff 0%, #fff 72%); }
.platform-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 60px; align-items: center; }
.platform-copy h2 { margin-bottom: 20px; }
.platform-copy .lead { margin-bottom: 22px; }
.checklist { display: grid; gap: 12px; margin: 25px 0 31px; }
.check-item { display: flex; align-items: center; gap: 10px; font-weight: 700; color: #354256; }
.check-item svg { width: 18px; height: 18px; stroke: var(--blue-2); flex: 0 0 auto; }
.dashboard-frame { position: relative; }
.dashboard-frame::before { content: ""; position: absolute; inset: 12% 4% -5%; background: rgba(24,183,239,.16); filter: blur(45px); border-radius: 50%; z-index: 0; }
.dashboard-frame img { position: relative; z-index: 1; width: 100%; }

.trust { padding: 46px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-label { color: var(--blue-2); font-size: 12px; font-weight: 850; text-transform: uppercase; letter-spacing: .04em; }
.logo-row { margin-top: 24px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 28px; align-items: center; text-align: center; }
.wordmark { color: #77808c; font-weight: 850; font-size: 20px; letter-spacing: -.03em; filter: grayscale(1); }
.wordmark.small { font-size: 15px; letter-spacing: .08em; }

.page-hero { position: relative; overflow: hidden; padding: 104px 0 82px; background: radial-gradient(circle at 88% 15%, rgba(24,183,239,.15), transparent 25%), linear-gradient(135deg, #f5fbff, #fff 64%); border-bottom: 1px solid var(--line); }
.page-hero::after { content: "ON"; position: absolute; right: -10px; top: 20px; color: rgba(24,183,239,.075); font-size: 260px; line-height: .85; font-weight: 900; letter-spacing: -.12em; pointer-events: none; }
.page-hero-content { position: relative; z-index: 2; max-width: 820px; }
.page-hero h1 { font-size: clamp(46px, 5.5vw, 72px); margin-bottom: 22px; }
.page-hero .lead { max-width: 690px; }
.page-actions { display: flex; gap: 13px; margin-top: 30px; flex-wrap: wrap; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.four-col { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.content-stack { display: grid; gap: 20px; }
.content-stack h2 { margin-bottom: 3px; }
.panel { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.panel h3 { margin-bottom: 12px; }
.panel p { color: var(--muted); }
.panel-blue { background: linear-gradient(145deg, #eef9ff, #fff); border-color: rgba(24,183,239,.24); }
.panel-dark { background: var(--navy); color: white; border-color: var(--navy); }
.panel-dark p { color: #b6c3cf; }
.number { color: var(--blue-2); font-size: 13px; font-weight: 900; letter-spacing: .08em; margin-bottom: 18px; }

.module-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.module-card { position: relative; min-height: 310px; display: flex; flex-direction: column; }
.module-code { color: var(--blue-2); font-size: 12px; font-weight: 900; letter-spacing: .08em; }
.module-card h3 { margin: 18px 0 13px; }
.module-card .status { margin-top: auto; padding-top: 20px; font-size: 12px; font-weight: 800; color: var(--success); }
.status.future { color: var(--warning); }

.architecture { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: stretch; }
.arch-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; background: white; box-shadow: var(--shadow-sm); }
.arch-arrow { display: grid; place-items: center; color: var(--blue-2); font-size: 34px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.tag { padding: 7px 10px; background: var(--soft); border: 1px solid #dceef8; border-radius: 999px; color: #355068; font-size: 12px; font-weight: 700; }

.timeline { position: relative; display: grid; gap: 22px; }
.timeline::before { content: ""; position: absolute; left: 19px; top: 22px; bottom: 22px; width: 2px; background: #dcebf4; }
.timeline-item { display: grid; grid-template-columns: 40px 1fr; gap: 18px; position: relative; }
.timeline-dot { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: white; border: 2px solid var(--blue); color: var(--blue-2); font-weight: 900; z-index: 1; }
.timeline-content { padding: 6px 0 20px; }
.timeline-content h3 { font-size: 20px; margin-bottom: 7px; }
.timeline-content p { color: var(--muted); }

.quote { padding: 36px; border-left: 4px solid var(--blue); background: var(--soft); border-radius: 0 var(--radius) var(--radius) 0; font-size: 24px; line-height: 1.45; font-weight: 700; letter-spacing: -.025em; }

.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.resource-card { overflow: hidden; padding: 0; }
.resource-cover { height: 180px; background: linear-gradient(135deg, var(--navy), #113b59); position: relative; display: grid; place-items: center; color: white; }
.resource-cover::after { content: "ON"; position: absolute; right: 14px; bottom: -16px; font-size: 100px; color: rgba(24,183,239,.22); font-weight: 900; letter-spacing: -.12em; }
.resource-cover span { position: relative; z-index: 1; font-size: 13px; font-weight: 850; letter-spacing: .08em; }
.resource-body { padding: 24px; }
.resource-body h3 { margin-bottom: 10px; }
.resource-body p { color: var(--muted); }
.badge { display: inline-flex; padding: 5px 8px; border-radius: 999px; background: #fff4df; color: #9a5f08; font-size: 11px; font-weight: 800; margin-top: 16px; }

.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: white; padding: 0 20px; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 30px 20px 0; font-weight: 800; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 18px; color: var(--blue-2); font-size: 23px; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); padding: 0 0 20px; }

.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 54px; background: linear-gradient(135deg, var(--navy), #0d3856); color: white; box-shadow: var(--shadow-md); }
.cta-band::after { content: "ON"; position: absolute; right: -12px; bottom: -45px; color: rgba(24,183,239,.18); font-size: 200px; line-height: 1; font-weight: 900; letter-spacing: -.12em; }
.cta-band-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.cta-band h2 { font-size: clamp(32px, 4vw, 50px); margin-bottom: 12px; }
.cta-band p { color: #c0ccd7; max-width: 650px; }

.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 42px; align-items: start; }
.contact-card { background: var(--navy); color: white; border-radius: var(--radius-lg); padding: 36px; }
.contact-card p { color: #b7c4cf; }
.contact-list { display: grid; gap: 18px; margin-top: 28px; }
.contact-item { display: grid; grid-template-columns: 42px 1fr; gap: 13px; align-items: start; }
.contact-icon { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: rgba(24,183,239,.12); color: var(--blue); }
.contact-icon svg { width: 20px; height: 20px; stroke: currentColor; }
.form-card { background: white; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: grid; gap: 8px; }
.form-group.full { grid-column: 1 / -1; }
label { font-size: 13px; font-weight: 800; color: #344154; }
input, textarea, select { width: 100%; border: 1px solid #d5dee7; border-radius: 9px; padding: 13px 14px; outline: none; background: white; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
textarea { min-height: 145px; resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(24,183,239,.1); }
.form-note { color: var(--muted); font-size: 12px; margin-top: 13px; }
.form-status { margin-top: 14px; padding: 11px 13px; border-radius: 8px; background: #edf9f4; color: #116e50; font-size: 13px; font-weight: 700; display: none; }

.login-shell { min-height: calc(100vh - 78px); display: grid; grid-template-columns: 1fr 1fr; }
.login-visual { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--navy), #0e3b59); color: white; padding: 64px; display: flex; flex-direction: column; justify-content: space-between; }
.login-visual::after { content: "ON"; position: absolute; right: -28px; bottom: -30px; font-size: 300px; line-height: .9; color: rgba(24,183,239,.2); font-weight: 900; letter-spacing: -.13em; }
.login-visual > * { position: relative; z-index: 1; }
.login-visual h1 { font-size: clamp(44px, 5vw, 70px); }
.login-visual p { color: #bac8d3; max-width: 520px; margin-top: 22px; font-size: 18px; }
.login-panel { display: grid; place-items: center; padding: 48px 28px; background: #fbfdff; }
.login-card { width: min(100%, 470px); background: white; border: 1px solid var(--line); border-radius: 22px; padding: 38px; box-shadow: var(--shadow-md); }
.login-card h2 { font-size: 34px; margin-bottom: 10px; }
.login-card .muted { margin-bottom: 26px; }
.login-card .form-group { margin-bottom: 16px; }

.legal { padding: 84px 0; }
.legal h1 { font-size: clamp(42px, 5vw, 64px); margin-bottom: 16px; }
.legal h2 { font-size: 25px; margin: 34px 0 12px; }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 22px; }
.legal .notice { padding: 17px; border: 1px solid #f0d6a9; background: #fff8eb; border-radius: 10px; color: #80551a; margin: 22px 0; }

.site-footer { background: var(--navy); color: #dce6ee; padding: 66px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.25fr repeat(3, .78fr) 1.35fr; gap: 34px; }
.footer-logo { width: 170px; margin-bottom: 18px; }
.site-footer h4 { color: white; font-size: 15px; letter-spacing: -.01em; margin-bottom: 16px; }
.site-footer p, .site-footer a { color: #aebbc6; font-size: 13px; }
.site-footer a { display: block; margin: 9px 0; transition: color .2s; }
.site-footer a:hover { color: white; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 34px; height: 34px; border: 1px solid #284057; border-radius: 8px; display: grid; place-items: center; margin: 0; }
.newsletter { display: grid; gap: 9px; margin-top: 15px; }
.newsletter-row { display: flex; }
.newsletter input { border: 1px solid #284057; background: #10263a; color: white; border-radius: 8px 0 0 8px; }
.newsletter button { border: 0; min-width: 110px; border-radius: 0 8px 8px 0; background: var(--blue-2); color: white; font-weight: 850; cursor: pointer; }
.copyright { border-top: 1px solid #183048; margin-top: 45px; padding-top: 21px; display: flex; justify-content: space-between; gap: 20px; color: #8190a0; font-size: 12px; }
.copyright a { display: inline; color: #8f9daa; margin: 0 0 0 18px; }

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

@media (max-width: 1080px) {
  .navbar { grid-template-columns: 190px 1fr auto; }
  .nav-links { gap: 18px; }
  .nav-actions .btn { padding-inline: 15px; }
  .feature-grid, .module-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid > :first-child { grid-column: 1 / -1; max-width: 420px; }
}

@media (max-width: 900px) {
  .navbar { grid-template-columns: 1fr auto auto; }
  .menu-toggle { display: block; order: 2; }
  .nav-actions { order: 3; }
  .nav-links {
    position: fixed;
    inset: 78px 0 auto;
    background: white;
    display: grid;
    justify-content: stretch;
    gap: 0;
    padding: 12px 20px 24px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 45px rgba(12,23,40,.1);
    transform: translateY(-130%);
    opacity: 0;
    pointer-events: none;
    transition: .25s ease;
  }
  body.menu-open .nav-links { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { height: 48px; border-bottom: 1px solid #f1f4f7; }
  .nav-links a::after { display: none; }
  .hero-grid, .platform-grid, .two-col, .contact-grid, .login-shell { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-grid { min-height: auto; padding-top: 18px; }
  .hero-copy { padding-bottom: 10px; }
  .hero-art { min-height: 420px; }
  .hero-art img { width: 780px; margin-right: -80px; }
  .platform-grid { gap: 38px; }
  .three-col, .resource-grid { grid-template-columns: repeat(2, 1fr); }
  .four-col { grid-template-columns: repeat(2, 1fr); }
  .architecture { grid-template-columns: 1fr; }
  .arch-arrow { transform: rotate(90deg); }
  .login-visual { min-height: 420px; padding: 50px 28px; }
  .login-panel { min-height: 620px; }
}

@media (max-width: 680px) {
  .container, .narrow { width: min(calc(100% - 28px), var(--max)); }
  .section { padding: 72px 0; }
  .section-sm { padding: 48px 0; }
  .navbar { height: 70px; grid-template-columns: 1fr auto auto; gap: 8px; }
  .brand img { width: 148px; }
  .nav-links { inset: 70px 0 auto; }
  .nav-actions .btn-outline { display: none; }
  .nav-actions .btn-primary { min-height: 42px; padding-inline: 13px; font-size: 12px; }
  .menu-toggle { width: 42px; height: 42px; }
  h1 { font-size: 43px; }
  h2 { font-size: 35px; }
  .hero-copy { padding-top: 52px; }
  .hero-copy .lead, .lead { font-size: 16px; }
  .hero-actions .btn { flex: 1 1 160px; }
  .proof-row { gap: 14px 20px; margin-top: 32px; }
  .hero-art { min-height: 320px; }
  .hero-art img { width: 600px; margin-right: -90px; }
  .feature-grid, .module-grid, .three-col, .four-col, .resource-grid, .form-grid, .logo-row { grid-template-columns: 1fr; }
  .card p { min-height: auto; }
  .logo-row { grid-template-columns: repeat(2, 1fr); }
  .page-hero { padding: 78px 0 62px; }
  .page-hero::after { font-size: 150px; top: 30px; }
  .page-hero h1 { font-size: 44px; }
  .cta-band { padding: 36px 25px; }
  .cta-band-grid { grid-template-columns: 1fr; }
  .cta-band::after { font-size: 135px; }
  .form-group.full { grid-column: auto; }
  .form-card, .contact-card, .login-card { padding: 27px 22px; }
  .login-visual { min-height: 360px; }
  .login-visual::after { font-size: 190px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > :first-child { grid-column: auto; }
  .copyright { flex-direction: column; }
  .copyright a { margin: 0 15px 0 0; }
  .newsletter-row { flex-direction: column; gap: 8px; }
  .newsletter input, .newsletter button { border-radius: 8px; min-height: 45px; }
}

/* =========================================================
   Omnia Nova visual refinement v2 — approved homepage system
   ========================================================= */

:root {
  --max: 1280px;
}

/* More compact, closer to the approved digital reference */
.site-header { background: rgba(255,255,255,.97); }
.navbar { height: 66px; grid-template-columns: 190px 1fr auto; }
.brand img { width: 154px; }
.nav-links { gap: 30px; }
.nav-links a { height: 66px; font-size: 13px; }
.nav-links a::after { bottom: 10px; }
.nav-actions .btn { min-height: 40px; padding-inline: 18px; font-size: 12px; }

body[data-page="domov"] .hero {
  min-height: 548px;
  background: #fff;
  border-bottom: 1px solid #edf1f5;
}
body[data-page="domov"] .hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 108px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(247,250,252,.92));
  pointer-events: none;
  z-index: 1;
}
body[data-page="domov"] .hero-grid {
  min-height: 548px;
  grid-template-columns: minmax(0, 54%) minmax(0, 46%);
  gap: 0;
  position: relative;
}
body[data-page="domov"] .hero-copy {
  padding: 48px 0 34px;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 3;
}
body[data-page="domov"] .hero-copy .eyebrow {
  margin-bottom: 20px;
  font-size: 11px;
  letter-spacing: .03em;
}
body[data-page="domov"] .hero-copy h1 {
  max-width: 730px;
  font-size: clamp(42px, 3.75vw, 56px);
  line-height: 1.08;
  letter-spacing: -.052em;
}
body[data-page="domov"] .hero-line { display: block; white-space: nowrap; }
body[data-page="domov"] .hero-copy .lead {
  max-width: 545px;
  margin: 25px 0 28px;
  font-size: 15px;
  line-height: 1.72;
}
body[data-page="domov"] .hero-actions { gap: 12px; }
body[data-page="domov"] .hero-actions .btn {
  min-height: 48px;
  padding-inline: 23px;
  font-size: 13px;
}
body[data-page="domov"] .proof-row {
  flex-wrap: nowrap;
  gap: 31px;
  margin-top: 43px;
  font-size: 11px;
  white-space: nowrap;
  position: relative;
  z-index: 4;
}
body[data-page="domov"] .proof-item { gap: 7px; }
body[data-page="domov"] .proof-item svg { width: 16px; height: 16px; }
body[data-page="domov"] .hero-art {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: -118px;
  bottom: 0;
  width: min(69vw, 920px);
  min-height: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.28) 7%, #000 19%, #000 100%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.28) 7%, #000 19%, #000 100%);
}
body[data-page="domov"] .hero-art img {
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0;
  filter: none;
}

body[data-page="domov"] .section { padding: 66px 0; }
body[data-page="domov"] .section-head { margin-bottom: 32px; }
body[data-page="domov"] .section-head .eyebrow { margin-bottom: 8px; font-size: 10px; }
body[data-page="domov"] .section-head h2 {
  font-size: clamp(27px, 2.4vw, 34px);
  letter-spacing: -.042em;
  margin-bottom: 0;
}
body[data-page="domov"] .section-head p { display: none; }
body[data-page="domov"] .feature-grid { gap: 16px; }
body[data-page="domov"] .card {
  min-height: 258px;
  padding: 22px 19px 20px;
  border-radius: 12px;
  box-shadow: 0 14px 35px rgba(12,23,40,.055);
}
body[data-page="domov"] .icon-wrap { width: 43px; height: 43px; margin-bottom: 18px; }
body[data-page="domov"] .icon-wrap svg { width: 22px; height: 22px; }
body[data-page="domov"] .card h3 { font-size: 16px; margin-bottom: 11px; }
body[data-page="domov"] .card p { font-size: 12px; line-height: 1.72; min-height: 84px; }
body[data-page="domov"] .card-link { font-size: 12px; margin-top: 15px; }

body[data-page="domov"] .platform-strip {
  padding: 64px 0 28px;
  background: linear-gradient(90deg, #f3faff 0%, #ffffff 72%);
}
body[data-page="domov"] .platform-grid {
  grid-template-columns: .68fr 1.32fr;
  gap: 35px;
  min-height: 355px;
}
body[data-page="domov"] .platform-copy { padding-bottom: 30px; }
body[data-page="domov"] .platform-copy .eyebrow { font-size: 10px; margin-bottom: 12px; }
body[data-page="domov"] .platform-copy h2 {
  font-size: clamp(29px, 3vw, 40px);
  line-height: 1.12;
  max-width: 430px;
  margin-bottom: 17px;
}
body[data-page="domov"] .platform-copy .lead {
  max-width: 430px;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 17px;
}
body[data-page="domov"] .checklist { gap: 9px; margin: 18px 0 25px; }
body[data-page="domov"] .check-item { font-size: 12px; }
body[data-page="domov"] .check-item svg { width: 16px; height: 16px; }
body[data-page="domov"] .platform-copy .btn { min-height: 45px; font-size: 12px; }
body[data-page="domov"] .dashboard-frame {
  align-self: end;
  margin-right: -55px;
  margin-bottom: -28px;
}
body[data-page="domov"] .dashboard-frame::before { inset: 18% 9% 4%; filter: blur(50px); }
body[data-page="domov"] .dashboard-frame img { width: 108%; max-width: none; }

body[data-page="domov"] .trust {
  padding: 35px 0 40px;
  border-top: 0;
}
body[data-page="domov"] .trust-label { font-size: 10px; }
body[data-page="domov"] .logo-row { margin-top: 20px; gap: 24px; }
body[data-page="domov"] .wordmark { font-size: 18px; color: #7d858e; }
body[data-page="domov"] .wordmark.small { font-size: 13px; }

/* Footer proportions from the approved reference */
.site-footer { padding: 46px 0 20px; }
.footer-grid { grid-template-columns: 1.18fr .75fr .75fr .75fr 1.28fr; gap: 29px; }
.footer-logo { width: 145px; margin-bottom: 13px; }
.site-footer h4 { font-size: 13px; margin-bottom: 13px; }
.site-footer p, .site-footer a { font-size: 11px; line-height: 1.62; }
.site-footer a { margin: 7px 0; }
.socials { margin-top: 15px; }
.socials a { width: 29px; height: 29px; font-size: 10px; }
.newsletter { margin-top: 12px; }
.newsletter-row { min-height: 42px; }
.newsletter input { font-size: 11px; }
.newsletter button { min-width: 108px; font-size: 11px; }
.copyright { margin-top: 33px; padding-top: 17px; font-size: 10px; }

@media (max-width: 1180px) {
  body[data-page="domov"] .hero-line { white-space: normal; }
  body[data-page="domov"] .hero-copy h1 { max-width: 590px; font-size: 48px; }
  body[data-page="domov"] .proof-row { gap: 20px; }
  body[data-page="domov"] .hero-art { right: -155px; width: 73vw; }
}

@media (max-width: 900px) {
  .navbar { height: 70px; }
  .nav-links { inset: 70px 0 auto; }
  body[data-page="domov"] .hero-grid { display: grid; grid-template-columns: 1fr; }
  body[data-page="domov"] .hero-copy { padding: 58px 0 8px; }
  body[data-page="domov"] .hero-copy h1 { font-size: clamp(43px, 7vw, 60px); max-width: 720px; }
  body[data-page="domov"] .hero-art {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    width: calc(100% + 80px);
    margin-left: -20px;
    min-height: 350px;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 100%);
  }
  body[data-page="domov"] .hero-art img { width: 100%; }
  body[data-page="domov"] .proof-row { flex-wrap: wrap; white-space: normal; margin-top: 32px; }
  body[data-page="domov"] .feature-grid { grid-template-columns: repeat(2, 1fr); }
  body[data-page="domov"] .platform-grid { grid-template-columns: 1fr; }
  body[data-page="domov"] .dashboard-frame { margin: 0 -35px -28px 0; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 680px) {
  .brand img { width: 142px; }
  body[data-page="domov"] .hero { min-height: auto; }
  body[data-page="domov"] .hero-copy { padding-top: 42px; }
  body[data-page="domov"] .hero-copy h1 { font-size: 42px; line-height: 1.05; }
  body[data-page="domov"] .hero-copy .lead { font-size: 15px; margin: 22px 0 24px; }
  body[data-page="domov"] .hero-art { min-height: 265px; width: calc(100% + 100px); margin-left: -34px; }
  body[data-page="domov"] .section { padding: 55px 0; }
  body[data-page="domov"] .feature-grid { grid-template-columns: 1fr; }
  body[data-page="domov"] .card { min-height: auto; }
  body[data-page="domov"] .platform-strip { padding-top: 55px; }
  body[data-page="domov"] .platform-copy h2 { font-size: 34px; }
  body[data-page="domov"] .dashboard-frame { margin: 10px -22px -25px; }
  body[data-page="domov"] .logo-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
}

/* v2.1 final polish */
body[data-page="domov"] .dashboard-frame {
  margin-right: -48px;
  margin-bottom: -18px;
  overflow: visible;
}
body[data-page="domov"] .dashboard-frame img {
  width: 106%;
  max-width: none;
  border-radius: 0;
}
.copyright > span:last-child { display: flex; gap: 22px; align-items: center; }
.copyright > span:last-child a { margin: 0; }
@media (max-width: 900px) {
  .copyright > span:last-child { flex-wrap: wrap; }
}

/* =========================================================
   Omnia Nova visual refinement v3 — logo correction + spacing
   ========================================================= */

.brand img { width: 220px; height: auto; }
.footer-logo { width: 220px; height: auto; }

body[data-page="domov"] .hero {
  min-height: 590px;
  background: linear-gradient(90deg, #ffffff 0%, #ffffff 63%, #f7fbfe 100%);
}
body[data-page="domov"] .hero-grid {
  min-height: 590px;
  grid-template-columns: minmax(0, 50%) minmax(0, 50%);
  gap: 46px;
}
body[data-page="domov"] .hero-copy {
  padding: 54px 0 42px;
  padding-right: 42px;
}
body[data-page="domov"] .hero-copy h1 {
  max-width: 660px;
  font-size: clamp(42px, 3.6vw, 58px);
}
body[data-page="domov"] .hero-copy .lead {
  max-width: 500px;
}
body[data-page="domov"] .hero-art {
  position: relative;
  top: auto;
  right: auto;
  bottom: auto;
  width: 100%;
  min-height: 510px;
  align-self: end;
  justify-content: flex-end;
}
body[data-page="domov"] .hero-art img {
  width: min(56vw, 760px);
  max-width: 760px;
  margin-right: -32px;
}

.page-hero::after,
.resource-cover::after,
.login-visual::after,
.cta-band::after {
  content: "";
  background: url('../images/logo-mark.svg') no-repeat center / contain;
}
.page-hero::after {
  position: absolute;
  right: -20px;
  top: 34px;
  width: 220px;
  height: 104px;
  opacity: .08;
  pointer-events: none;
}
.resource-cover::after {
  position: absolute;
  right: 12px;
  bottom: -18px;
  width: 110px;
  height: 52px;
  opacity: .18;
}
.login-visual::after {
  position: absolute;
  right: -20px;
  bottom: -6px;
  width: 260px;
  height: 122px;
  opacity: .18;
}

.cta-band {
  padding: 58px 52px;
  background: linear-gradient(135deg, #071f38 0%, #0e3150 65%, #153a5d 100%);
}
.cta-band::after {
  position: absolute;
  right: -14px;
  bottom: -8px;
  width: 265px;
  height: 124px;
  opacity: .16;
}
.cta-band-grid { gap: 36px; }
.cta-band h2 { max-width: 830px; }
.cta-band .eyebrow { color: #39c7f1; margin-bottom: 18px; }
.cta-band p { max-width: 760px; }

.site-footer { padding-top: 60px; }

@media (max-width: 1080px) {
  body[data-page="domov"] .hero-grid {
    grid-template-columns: minmax(0, 52%) minmax(0, 48%);
    gap: 24px;
  }
  body[data-page="domov"] .hero-copy { padding-right: 20px; }
  body[data-page="domov"] .hero-art img { width: min(52vw, 660px); margin-right: -20px; }
}

@media (max-width: 900px) {
  .brand img { width: 194px; }
  .footer-logo { width: 205px; }
  body[data-page="domov"] .hero-grid { grid-template-columns: 1fr; gap: 0; }
  body[data-page="domov"] .hero-copy { padding-right: 0; }
  body[data-page="domov"] .hero-art { min-height: 380px; margin-top: 12px; }
  body[data-page="domov"] .hero-art img { width: min(92vw, 690px); margin-right: 0; }
}

@media (max-width: 680px) {
  .brand img { width: 170px; }
  .footer-logo { width: 185px; }
  body[data-page="domov"] .hero { min-height: auto; }
  body[data-page="domov"] .hero-copy h1 { font-size: 40px; line-height: 1.09; }
  body[data-page="domov"] .hero-line { white-space: normal; }
  body[data-page="domov"] .hero-art { min-height: 280px; }
  body[data-page="domov"] .hero-art img { width: 100%; max-width: 100%; }
  .page-hero::after { width: 150px; height: 70px; top: 26px; }
  .login-visual::after { width: 180px; height: 84px; right: -16px; bottom: -4px; }
  .cta-band { padding: 38px 24px; }
  .cta-band::after { width: 170px; height: 80px; right: -16px; bottom: -4px; }
}

/* =========================================================
   Omnia Nova visual refinement v4 — exact supplied logo assets
   ========================================================= */
.brand img {
  width: 208px;
  height: auto;
  object-fit: contain;
  object-position: left center;
}
.footer-logo {
  width: 208px;
  height: auto;
  object-fit: contain;
  object-position: left center;
}
.dashboard-frame {
  min-height: 430px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dashboard-frame img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 1;
  visibility: visible;
}
@media (max-width: 900px) {
  .brand img { width: 188px; }
  .footer-logo { width: 198px; }
  .dashboard-frame { min-height: 320px; }
}
@media (max-width: 680px) {
  .brand img { width: 160px; }
  .footer-logo { width: 184px; }
  .dashboard-frame { min-height: 240px; }
}

/* =========================================================
   Omnia Nova v5 — crisp HTML dashboard mockup
   ========================================================= */
.dashboard-frame { min-width: 0; }
.device-stage { position: relative; width: 100%; min-height: 540px; padding: 20px 48px 0 0; }
.desktop-device { position: relative; width: 94%; margin-left: auto; filter: drop-shadow(0 24px 34px rgba(12,23,40,.18)); }
.desktop-bezel { padding: 13px 13px 0; border-radius: 24px 24px 8px 8px; background: linear-gradient(145deg,#111921,#303841 45%,#0c1117); }
.desktop-screen { height: 480px; display: grid; grid-template-columns: 19% 81%; overflow: hidden; border-radius: 13px 13px 2px 2px; background: #f7fafc; font-family: Inter,Arial,sans-serif; }
.app-sidebar { background: linear-gradient(180deg,#071827,#0b2336); color:#a8bac8; padding: 23px 14px; }
.app-mini-logo { color:#2accf1; font-size:24px; line-height:1; font-weight:900; letter-spacing:-.12em; margin-bottom:25px; }
.side-label { font-size:8px; text-transform:uppercase; letter-spacing:.15em; color:#5f7789; margin:0 7px 12px; }
.side-nav { display:grid; gap:6px; }
.side-nav span { padding:9px 8px; border-radius:7px; font-size:9px; font-weight:650; white-space:nowrap; }
.side-nav span.active { color:white; background:#11334d; box-shadow:inset 3px 0 #2accf1; }
.app-main { padding: 20px 21px; min-width:0; background:#f8fafc; }
.app-topbar { display:flex; justify-content:space-between; align-items:center; font-size:12px; margin-bottom:17px; color:#0b1726; }
.app-topbar span { color:#9aa8b5; font-size:8px; }
.metric-row { display:grid; grid-template-columns:1.3fr repeat(3,1fr); gap:10px; }
.metric-card { min-width:0; height:78px; border:1px solid #e8eef3; background:white; border-radius:9px; padding:11px 12px; box-shadow:0 4px 12px rgba(24,42,60,.045); display:flex; flex-direction:column; }
.metric-card>span { color:#7b8996; font-size:8px; }
.metric-card>b { font-size:18px; margin-top:10px; }
.metric-card>small { color:#18bd8d; font-size:7px; font-weight:800; margin-top:auto; }
.goal-wrap { display:flex; align-items:center; gap:9px; margin-top:8px; }
.goal-wrap b { width:40px; height:40px; border-radius:50%; border:5px solid #2accf1; display:grid; place-items:center; font-size:10px; color:#168fb9; }
.goal-wrap small { font-size:7px; color:#687887; line-height:1.4; }
.dashboard-content { display:grid; grid-template-columns:1.45fr .85fr; gap:10px; margin-top:10px; }
.chart-card,.activity-card,.performer-row { background:white; border:1px solid #e8eef3; border-radius:9px; box-shadow:0 4px 12px rgba(24,42,60,.04); }
.card-head { height:34px; display:flex; justify-content:space-between; align-items:center; padding:0 12px; color:#334155; font-size:8px; border-bottom:1px solid #f0f3f6; }
.card-head span { color:#a5b0ba; letter-spacing:.15em; }
.chart-area { height:215px; position:relative; padding:15px 14px 25px 42px; background:repeating-linear-gradient(to bottom,transparent 0,transparent 44px,#edf2f5 45px); }
.chart-area svg { width:100%; height:160px; overflow:visible; }
.chart-area .line { fill:none; stroke:#20afe1; stroke-width:4; stroke-linecap:round; }
.chart-area .area { fill:url(#areaFill); }
.y-labels { position:absolute; left:9px; top:16px; bottom:27px; display:flex; flex-direction:column; justify-content:space-between; color:#9aa7b4; font-size:6px; }
.x-labels { display:flex; justify-content:space-between; color:#a2aeba; font-size:6px; margin-top:4px; }
.activity-list { display:grid; padding:8px 10px; }
.activity-list>div { display:grid; grid-template-columns:24px 1fr auto; gap:7px; align-items:center; min-height:48px; border-bottom:1px solid #f0f3f6; }
.activity-list>div:last-child { border-bottom:0; }
.activity-list i,.performers i { width:23px; height:23px; border-radius:50%; background:#e7f7fd; color:#158fb9; display:grid; place-items:center; font-style:normal; font-size:6px; font-weight:900; }
.activity-list p { margin:0; display:grid; }
.activity-list b { font-size:7px; }
.activity-list small,.activity-list time { color:#97a4af; font-size:6px; }
.performer-row { margin-top:10px; padding:10px 12px; }
.performer-row>strong { display:block; color:#334155; font-size:8px; margin-bottom:8px; }
.performers { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; }
.performers span { border:1px solid #edf1f4; border-radius:7px; padding:6px; display:grid; grid-template-columns:23px 1fr; align-items:center; gap:6px; font-size:6px; color:#667684; }
.performers b { grid-column:2; color:#0b1726; font-size:7px; }
.phone-device { position:absolute; width:178px; height:360px; right:0; bottom:0; padding:10px; border-radius:31px; background:linear-gradient(145deg,#121921,#3b4248 48%,#080c10); box-shadow:0 24px 36px rgba(12,23,40,.25); z-index:4; }
.phone-screen { height:100%; overflow:hidden; border-radius:23px; background:#fff; padding:29px 13px 13px; font-family:Inter,Arial,sans-serif; }
.phone-notch { position:absolute; width:64px; height:18px; left:50%; top:11px; transform:translateX(-50%); border-radius:0 0 12px 12px; background:#080c10; z-index:5; }
.phone-top { display:flex; justify-content:space-between; align-items:center; color:#2accf1; font-size:12px; font-weight:900; }
.phone-top b { letter-spacing:-.12em; }
.phone-screen h4 { margin:13px 0; font-size:13px; }
.phone-goal { border:1px solid #e9eef2; border-radius:10px; padding:11px 8px; display:flex; align-items:center; gap:10px; box-shadow:0 4px 12px rgba(24,42,60,.05); }
.ring { width:52px; height:52px; border-radius:50%; background:conic-gradient(#2accf1 0 78%,#e7eef3 78%); display:grid; place-items:center; position:relative; }
.ring::after { content:""; position:absolute; inset:6px; background:white; border-radius:50%; }
.ring span { position:relative; z-index:1; color:#189bc6; font-size:10px; font-weight:900; }
.phone-goal p { margin:0; font-size:7px; display:grid; gap:4px; }
.phone-goal small { color:#8795a1; font-size:6px; }
.phone-stat { position:relative; display:grid; padding:13px 3px 10px; border-bottom:1px solid #edf1f4; }
.phone-stat span { color:#788895; font-size:7px; }
.phone-stat b { font-size:15px; margin-top:5px; }
.phone-stat small { position:absolute; right:2px; bottom:11px; color:#16b987; font-size:7px; font-weight:900; }

@media(max-width:1080px){
  .device-stage{min-height:470px;padding-right:36px}.desktop-screen{height:415px}.phone-device{width:150px;height:305px}.chart-area{height:175px}.chart-area svg{height:123px}
}
@media(max-width:900px){
  .device-stage{min-height:520px;padding:10px 40px 0 0}.desktop-device{width:96%}.desktop-screen{height:450px}.phone-device{width:165px;height:335px}
}
@media(max-width:680px){
  .device-stage{min-height:365px;padding:0 22px 0 0}.desktop-bezel{padding:7px 7px 0;border-radius:15px 15px 5px 5px}.desktop-screen{height:315px;grid-template-columns:21% 79%}.app-sidebar{padding:13px 6px}.app-mini-logo{font-size:16px;margin-bottom:12px}.side-nav span{font-size:5px;padding:5px 3px}.side-label{font-size:5px}.app-main{padding:10px 8px}.app-topbar{font-size:7px;margin-bottom:8px}.metric-row{gap:4px}.metric-card{height:48px;padding:5px}.metric-card>span{font-size:4px}.metric-card>b{font-size:9px;margin-top:5px}.metric-card>small{font-size:4px}.goal-wrap{gap:3px;margin-top:3px}.goal-wrap b{width:25px;height:25px;border-width:3px;font-size:5px}.goal-wrap small{font-size:4px}.dashboard-content{gap:4px;margin-top:4px}.card-head{height:20px;padding:0 5px;font-size:4px}.chart-area{height:132px;padding:8px 6px 14px 22px}.chart-area svg{height:100px}.y-labels,.x-labels{font-size:3px}.activity-list{padding:3px}.activity-list>div{grid-template-columns:14px 1fr auto;gap:3px;min-height:27px}.activity-list i,.performers i{width:13px;height:13px;font-size:3px}.activity-list b,.activity-list small,.activity-list time{font-size:3px}.performer-row{margin-top:4px;padding:4px}.performer-row>strong{font-size:4px;margin-bottom:3px}.performers{gap:3px}.performers span{grid-template-columns:13px 1fr;gap:3px;padding:3px;font-size:3px}.performers b{font-size:3px}.phone-device{width:102px;height:210px;padding:5px;border-radius:18px}.phone-notch{width:38px;height:10px;top:6px}.phone-screen{border-radius:14px;padding:17px 7px 7px}.phone-top{font-size:6px}.phone-screen h4{margin:6px 0;font-size:7px}.phone-goal{padding:5px 3px;gap:5px}.ring{width:28px;height:28px}.ring::after{inset:3px}.ring span{font-size:5px}.phone-goal p,.phone-goal small{font-size:3px}.phone-stat{padding:7px 1px 5px}.phone-stat span,.phone-stat small{font-size:3px}.phone-stat b{font-size:8px;margin-top:2px}
}

/* =========================================================
   Omnia Nova v6 — mobile-first polish
   Scope: tablet/mobile only. Desktop (>900px) is untouched.
   ========================================================= */
.mobile-nav-actions { display: none; }

@media (max-width: 900px) {
  html, body { overflow-x: hidden; }

  .navbar {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 10px;
  }

  .brand img {
    width: clamp(132px, 39vw, 176px);
  }

  .nav-actions {
    order: 2;
    gap: 0;
  }

  .menu-toggle {
    order: 3;
  }

  .nav-actions .btn-primary {
    display: none;
  }

  .nav-actions .btn-outline {
    display: inline-flex;
    min-height: 40px;
    padding-inline: 14px;
    border-color: #cbd7e1;
    background: #fff;
    font-size: 12px;
  }

  .nav-links {
    max-height: calc(100dvh - 70px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .mobile-nav-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding-top: 16px;
  }

  .nav-links .mobile-nav-actions a {
    min-height: 46px;
    height: auto;
    justify-content: center;
    border: 1px solid #cbd7e1;
    border-radius: 8px;
    font-size: 13px;
  }

  .nav-links .mobile-nav-actions .btn-primary {
    color: #fff;
    border-color: transparent;
  }
}

@media (max-width: 680px) {
  .container,
  .narrow {
    width: min(calc(100% - 30px), var(--max));
  }

  .site-header,
  .navbar {
    height: 68px;
  }

  .navbar {
    gap: 8px;
  }

  .brand img {
    width: clamp(126px, 38vw, 154px);
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
    border-radius: 10px;
  }

  .nav-actions .btn-outline {
    min-height: 40px;
    padding-inline: 12px;
  }

  .nav-links {
    inset: 68px 0 auto;
    padding: 12px 15px 20px;
  }

  /* Homepage hero */
  body[data-page="domov"] .hero {
    min-height: 0;
    background:
      radial-gradient(circle at 50% 82%, rgba(24,183,239,.10), transparent 35%),
      linear-gradient(180deg, #fff 0%, #fff 76%, #f7fbfe 100%);
  }

  body[data-page="domov"] .hero-grid {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 0;
  }

  body[data-page="domov"] .hero-copy {
    align-items: center;
    padding: 44px 0 0;
    text-align: center;
  }

  body[data-page="domov"] .hero-copy .eyebrow {
    max-width: 340px;
    margin: 0 auto 18px;
    font-size: 10px;
    line-height: 1.45;
  }

  body[data-page="domov"] .hero-copy h1 {
    max-width: 390px;
    margin-inline: auto;
    font-size: clamp(36px, 10.4vw, 42px);
    line-height: 1.07;
    letter-spacing: -.05em;
  }

  body[data-page="domov"] .hero-line {
    white-space: normal;
  }

  body[data-page="domov"] .hero-copy .lead {
    max-width: 370px;
    margin: 22px auto 25px;
    font-size: 15px;
    line-height: 1.7;
  }

  body[data-page="domov"] .hero-actions {
    width: 100%;
    max-width: 390px;
    margin-inline: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  body[data-page="domov"] .hero-actions .btn {
    width: 100%;
    min-width: 0;
    min-height: 50px;
    padding-inline: 12px;
    font-size: 12px;
  }

  body[data-page="domov"] .proof-row {
    width: 100%;
    max-width: 370px;
    margin: 30px auto 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 12px;
    justify-items: center;
    white-space: normal;
  }

  body[data-page="domov"] .proof-item {
    justify-content: center;
    text-align: left;
    font-size: 10px;
    line-height: 1.35;
  }

  body[data-page="domov"] .hero-art {
    position: relative;
    width: 100%;
    min-height: 0;
    margin: 34px auto 0;
    align-items: flex-end;
    justify-content: center;
    -webkit-mask-image: none;
    mask-image: none;
  }

  body[data-page="domov"] .hero-art img {
    width: 100%;
    max-width: 520px;
    height: auto;
    margin: 0 auto;
    border-radius: 16px 16px 0 0;
    filter: drop-shadow(0 18px 28px rgba(12,23,40,.10));
  }

  /* Homepage section rhythm */
  body[data-page="domov"] .section {
    padding: 56px 0;
  }

  body[data-page="domov"] .section-head {
    max-width: 370px;
    margin: 0 auto 28px;
    text-align: center;
  }

  body[data-page="domov"] .section-head h2 {
    max-width: 345px;
    margin-inline: auto;
    font-size: clamp(29px, 8.3vw, 34px);
    line-height: 1.08;
  }

  body[data-page="domov"] .feature-grid {
    gap: 14px;
  }

  body[data-page="domov"] .card {
    min-height: 0;
    padding: 25px 21px 23px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  body[data-page="domov"] .icon-wrap {
    margin: 0 auto 17px;
  }

  body[data-page="domov"] .card h3 {
    font-size: 18px;
  }

  body[data-page="domov"] .card p {
    max-width: 310px;
    min-height: 0;
    font-size: 13px;
    line-height: 1.65;
  }

  body[data-page="domov"] .card-link {
    margin-top: 18px;
  }

  /* Platform section */
  body[data-page="domov"] .platform-strip {
    padding: 58px 0 30px;
  }

  body[data-page="domov"] .platform-grid {
    gap: 26px;
  }

  body[data-page="domov"] .platform-copy {
    max-width: 390px;
    margin-inline: auto;
    padding-bottom: 0;
    text-align: center;
  }

  body[data-page="domov"] .platform-copy h2 {
    max-width: 360px;
    margin: 0 auto 17px;
    font-size: clamp(31px, 8.8vw, 36px);
    line-height: 1.08;
  }

  body[data-page="domov"] .platform-copy .lead {
    max-width: 360px;
    margin: 0 auto 20px;
  }

  body[data-page="domov"] .checklist {
    width: fit-content;
    max-width: 100%;
    margin: 22px auto 27px;
    text-align: left;
  }

  body[data-page="domov"] .platform-copy .btn {
    min-width: 210px;
  }

  body[data-page="domov"] .dashboard-frame {
    width: 100%;
    min-height: 0;
    margin: 25px auto -4px;
    overflow: visible;
  }

  body[data-page="domov"] .device-stage {
    width: min(100%, 430px);
    min-height: 350px;
    margin-inline: auto;
    padding: 0 20px 0 0;
  }

  body[data-page="domov"] .desktop-device {
    width: 100%;
    margin-inline: auto;
  }

  /* Trust strip */
  body[data-page="domov"] .trust {
    padding: 38px 0 42px;
    text-align: center;
  }

  body[data-page="domov"] .trust-label {
    max-width: 360px;
    margin-inline: auto;
    line-height: 1.5;
  }

  body[data-page="domov"] .logo-row {
    max-width: 370px;
    margin: 24px auto 0;
    gap: 22px 18px;
  }

  /* CTA */
  body[data-page="domov"] .cta-band {
    padding: 39px 24px;
    text-align: center;
  }

  body[data-page="domov"] .cta-band-grid {
    justify-items: center;
    gap: 26px;
  }

  body[data-page="domov"] .cta-band h2 {
    max-width: 335px;
    margin-inline: auto;
    font-size: clamp(32px, 9vw, 38px);
    line-height: 1.08;
  }

  body[data-page="domov"] .cta-band p {
    max-width: 330px;
    margin-inline: auto;
  }

  body[data-page="domov"] .cta-band .btn {
    width: min(100%, 330px);
  }

  /* Footer */
  .site-footer {
    padding: 52px 0 24px;
    text-align: center;
  }

  .footer-grid {
    gap: 34px;
  }

  .footer-logo {
    width: 184px;
    margin: 0 auto 16px;
  }

  .footer-grid > div:first-child p {
    max-width: 360px;
    margin-inline: auto;
  }

  .socials {
    justify-content: center;
  }

  .newsletter {
    max-width: 390px;
    margin: 15px auto 0;
  }

  .copyright {
    align-items: center;
    text-align: center;
  }

  .copyright > span:last-child {
    justify-content: center;
  }
}

@media (max-width: 360px) {
  .container,
  .narrow {
    width: min(calc(100% - 24px), var(--max));
  }

  .brand img {
    width: 122px;
  }

  .nav-actions .btn-outline {
    min-height: 38px;
    padding-inline: 10px;
    font-size: 11px;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
  }

  body[data-page="domov"] .hero-copy h1 {
    font-size: 35px;
  }

  body[data-page="domov"] .hero-actions {
    grid-template-columns: 1fr;
  }

  body[data-page="domov"] .proof-row {
    grid-template-columns: 1fr;
  }
}
