:root {
  --ink: #10213d; --muted: #5d6b81; --blue: #096fdb; --cyan: #22b9f4;
  --navy: #07172f; --line: #dce5f0; --surface: #f3f8fd; --white: #fff;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink); background: var(--white); font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; line-height: 1.6; }
a { color: var(--blue); }
img { display: block; max-width: 100%; }
.skip-link { position: absolute; left: -999px; top: 8px; }
.skip-link:focus { left: 8px; z-index: 10; background: white; padding: .6rem 1rem; }
.site-header { border-bottom: 1px solid var(--line); background: rgba(255,255,255,.96); }
.nav, .section, .legal, .form-wrap { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; font-size: 1.08rem; font-weight: 750; }
.brand img { width: 38px; height: 38px; border-radius: 10px; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: .95rem; }
.nav-links a:hover, .nav-links a:focus { color: var(--blue); }
.hero { overflow: hidden; background: radial-gradient(circle at 82% 30%, #d9f5ff 0, #f5fbff 30%, white 62%); }
.hero-grid { min-height: 650px; display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 70px; padding-block: 70px; }
.eyebrow { margin: 0 0 12px; color: var(--blue); font-weight: 750; letter-spacing: .1em; text-transform: uppercase; font-size: .78rem; }
h1, h2 { letter-spacing: -.035em; line-height: 1.1; }
h1 { margin: 0; font-size: clamp(3rem, 6vw, 5.4rem); max-width: 760px; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); margin: 0 0 16px; }
.lede { color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 650px; margin: 24px 0 32px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; border: 0; border-radius: 12px; padding: 0 22px; background: var(--blue); color: white; text-decoration: none; font: inherit; font-weight: 700; cursor: pointer; }
.button:hover { background: #075cb7; }
.button.secondary { background: white; color: var(--ink); border: 1px solid var(--line); }
.button[disabled] { cursor: not-allowed; background: #cbd5e1; color: #536174; }
.app-art { width: min(100%, 410px); justify-self: center; border-radius: 25%; box-shadow: 0 30px 70px rgba(7,34,77,.2); }
.section { padding-block: 100px; }
.section-head { max-width: 680px; margin-bottom: 42px; }
.section-head p, .feature p, .legal p, .legal li, .form-note { color: var(--muted); }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: white; }
.feature-icon { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 12px; color: var(--blue); background: #e8f5ff; font-size: 1.3rem; font-weight: 800; }
.feature h3 { margin: 20px 0 8px; font-size: 1.14rem; }
.feature p { margin: 0; }
.ruuvi { background: var(--surface); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.sensor-stack { display: grid; gap: 12px; }
.sensor-row { display: flex; align-items: center; justify-content: space-between; border-radius: 14px; padding: 18px 20px; background: white; box-shadow: 0 8px 25px rgba(24,61,100,.08); }
.sensor-row span { color: var(--muted); }
.sensor-row strong { color: var(--blue); font-size: 1.15rem; }
.cta { padding: 50px; border-radius: 24px; color: white; background: linear-gradient(130deg, #092a58, #096fdb); display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta h2 { margin-bottom: 8px; }.cta p { margin: 0; color: #d9eaff; }
.cta .button { background: white; color: var(--navy); flex: 0 0 auto; }
.site-footer { padding: 28px 0; border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-block: 0; color: var(--muted); font-size: .9rem; }
.footer-links { display: flex; gap: 20px; }
.footer-meta { display: grid; justify-items: end; gap: 4px; }
.version { color: var(--muted); font-size: .8rem; }
.legal, .form-wrap { max-width: 760px; padding-block: 70px 100px; }
.legal h1, .form-wrap h1 { font-size: clamp(2.5rem, 6vw, 4.2rem); }
.legal h2 { font-size: 1.5rem; margin-top: 42px; }
.updated { color: var(--muted); }
form { margin-top: 32px; }
.field { margin-bottom: 22px; }
label { display: block; font-weight: 700; margin-bottom: 7px; }
input, textarea { width: 100%; border: 1px solid #bac8d9; border-radius: 10px; padding: 12px 14px; font: inherit; color: var(--ink); background: white; }
textarea { min-height: 190px; resize: vertical; }
input:focus, textarea:focus { outline: 3px solid rgba(9,111,219,.2); border-color: var(--blue); }
.field-meta { display: flex; justify-content: space-between; color: var(--muted); font-size: .86rem; margin-top: 5px; }
.status { display: none; padding: 13px 16px; border-radius: 10px; margin-bottom: 20px; }
.status.show { display: block; }.status.success { background: #e5f8ed; color: #17643a; }.status.error { background: #fff0f0; color: #9d2525; }
@media (max-width: 760px) {
  .nav { min-height: 68px; }.nav-links a:not(.feedback-link) { display: none; }
  .hero-grid, .split { grid-template-columns: 1fr; }.hero-grid { padding-block: 55px 70px; gap: 45px; }
  .app-art { width: min(75vw, 330px); }.features { grid-template-columns: 1fr; }
  .section { padding-block: 70px; }.cta { padding: 32px; align-items: flex-start; flex-direction: column; }
  .footer-meta { justify-items: start; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
