/* Modo — landing page styles
   Palette: dark blue/slate, pure white, light gray, safety-orange accent. */

:root {
  --ink: #0B1A2B;          /* dark blue, near-black */
  --slate: #16283A;
  --slate-2: #22384D;
  --gray: #EEF2F5;         /* light gray */
  --gray-2: #E1E8ED;
  --line: #D3DCE3;
  --white: #FFFFFF;
  --muted: #5A6B7A;
  --accent: #FF5B24;       /* bright CTA accent */
  --accent-hover: #E64A15;
  --focus: #1E73E8;

  --maxw: 1140px;
  --pad: clamp(20px, 5vw, 48px);
  --radius: 10px;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Space Grotesk", var(--font-sans);
  --shadow: 0 1px 2px rgba(11, 26, 43, .08), 0 12px 32px rgba(11, 26, 43, .10);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }   /* keep the success/error panels hidden until toggled */

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -0.01em; margin: 0; }
p { margin: 0; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 600; font-size: 16px; text-decoration: none;
  padding: 13px 22px; border-radius: 8px; border: 2px solid transparent;
  cursor: pointer; transition: transform .06s ease, background .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-accent { --btn-bg: var(--accent); --btn-fg: var(--ink); }
.btn-accent:hover { --btn-bg: var(--accent-hover); --btn-fg: #fff; }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--line); }
.btn-ghost:hover { --btn-bg: var(--gray); }
.btn-sm { padding: 9px 16px; font-size: 15px; }
.btn-lg { padding: 16px 26px; font-size: 17px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }

.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-logo { display: block; height: 30px; width: auto; }
.site-footer .brand-logo { height: 32px; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink); }
.site-nav a:not(.btn):hover { color: var(--accent-hover); }

.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Product showcase film ---------- */
.showcase {
  width: 100%;
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  line-height: 0;
}
.showcase__video {
  display: block;
  width: 100%;
  height: min(74vh, 660px);
  object-fit: contain;    /* show the whole orbit frame; the clip's own white bg fills the sides */
  object-position: center;
  background: var(--white);
}
@media (max-width: 760px) {
  .showcase__video { height: auto; aspect-ratio: 16 / 9; }
}

/* ---------- Hero ---------- */
.hero-intro {
  background: var(--white);
  text-align: center;
  padding-block: clamp(40px, 6vw, 76px) clamp(26px, 3.5vw, 40px);
}
.hero-intro h1 {
  font-size: clamp(24px, 4.4vw, 48px); font-weight: 700;
}
/* Product name on its own line, rotating phrase on the next — two lines total
   on tablet and up (the name only wraps on the narrowest phones). */
.hero-intro__line { display: block; }

.hero-actions {
  background: linear-gradient(180deg, var(--white), var(--gray));
  border-bottom: 1px solid var(--line);
  padding-block: clamp(38px, 5vw, 66px);
}
.hero-actions__grid {
  display: grid; grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(32px, 6vw, 72px); align-items: center;
}
.hero-actions .lede {
  font-size: clamp(15px, 1.6vw, 16.5px); line-height: 1.6; color: #34424E;
  margin: 0; max-width: 46ch;
}
.hero-actions .hero-cta .btn { font-size: 14.5px; padding: 12px 20px; }

.eyebrow {
  font-family: var(--font-display); font-weight: 600; font-size: 13px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--accent-hover);
  margin-bottom: 16px;
}

/* Rotating headline phrase.
   All phrases are stacked in one grid cell so the box is always sized to the
   longest / tallest phrase — swapping the active one never shifts the layout. */
.rotator { display: inline-grid; vertical-align: top; color: var(--accent-hover); }
.rotator__word {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(0.16em);
  transition: opacity .28s ease, transform .28s ease;
}
.rotator__word.is-active { opacity: 1; transform: none; }

.trust-badges {
  list-style: none; margin: 0; padding: 0;
  display: grid; border-top: 1px solid var(--line);
}
.trust-badges li {
  display: flex; align-items: center; gap: 12px;
  padding: clamp(13px, 1.5vw, 17px) 0;
  border-bottom: 1px solid var(--line);
  font-weight: 600; font-size: clamp(14px, 1.4vw, 15.5px); line-height: 1.35;
}
.trust-badges .ico { width: 20px; height: 20px; }
.ico { width: 20px; height: 20px; flex: none; fill: var(--accent-hover); }

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section-alt { background: var(--gray); border-block: 1px solid var(--line); }
.section-dark { background: var(--ink); color: #fff; }
.section [id], .section, section[id] { scroll-margin-top: 84px; }

.section-head { max-width: 52rem; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; }
.section-intro { margin-top: 16px; color: #3b4855; font-size: 17px; }
.section-dark .eyebrow { color: var(--accent); }
.section-alt .section-intro { color: #3b4855; }

/* ---------- How it works ---------- */
.how-rows { display: grid; gap: 28px; }

.component-row {
  display: grid;
  grid-template-columns: minmax(0, 44%) minmax(0, 1fr);
  min-height: 360px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.component-row--reverse { grid-template-columns: minmax(0, 1fr) minmax(0, 44%); }
.component-row--reverse .component-row__media { order: 2; }

/* Media cell stretches to the full row height (driven by the text column);
   the image is absolutely positioned so it always fills the cell with no gap. */
.component-row__media {
  position: relative;
  background: var(--gray);
  border-right: 1px solid var(--line);
}
.component-row--reverse .component-row__media { border-right: 0; border-left: 1px solid var(--line); }
.component-row__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.component-row__tag {
  position: absolute; left: 18px; bottom: 18px;
  background: rgba(11, 26, 43, .82); color: #fff;
  font-family: var(--font-display); font-weight: 600;
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  padding: 7px 13px; border-radius: 999px; backdrop-filter: blur(4px);
}

.component-row__body { padding: clamp(28px, 3.6vw, 48px); align-self: center; }
.component-num {
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  letter-spacing: .14em; color: var(--accent-hover);
  display: flex; align-items: center; gap: 12px;
}
.component-num::after { content: ""; height: 2px; width: 34px; background: var(--accent); border-radius: 2px; }
.component-row__body h3 { font-size: clamp(20px, 2.3vw, 26px); font-weight: 700; margin: 14px 0 12px; }
.component-lede { color: #3b4855; font-size: 16px; }
.feature-list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 11px; }
.feature-list li { position: relative; padding-left: 26px; font-size: 15.5px; color: var(--ink); }
.feature-list li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 10px; height: 10px; border-radius: 3px; background: var(--accent);
}

/* Install steps — set apart in their own dark panel */
.how-steps {
  margin-top: clamp(32px, 4.5vw, 52px);
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(26px, 3.6vw, 44px);
}
.how-steps__label {
  font-family: var(--font-display); font-weight: 600; font-size: 13px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 22px;
}
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { display: flex; gap: 14px; align-items: flex-start; }
.step-num {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent); color: var(--ink);
  font-family: var(--font-display); font-weight: 700;
  display: grid; place-items: center; font-size: 15px;
}
.step p { font-size: 15px; color: #C6D2DC; }
.step strong { color: #fff; display: block; margin-bottom: 3px; }

/* ---------- Trade band ---------- */
.trade-band .chip-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.trade-band .chip-list li {
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 18px; font-weight: 600; font-size: 15px; box-shadow: 0 1px 2px rgba(11,26,43,.04);
}
.trade-band .table-foot a { font-size: 16px; }

/* ---------- Value grid ---------- */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card {
  background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--accent);
  border-radius: var(--radius); padding: 30px 26px; box-shadow: 0 1px 2px rgba(11,26,43,.05);
}
.section .value-card { background: var(--white); }
.value-tag {
  font-family: var(--font-display); font-weight: 600; font-size: 13px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.value-stat { font-family: var(--font-display); font-weight: 700; font-size: clamp(21px, 2.4vw, 26px); margin: 10px 0 12px; line-height: 1.15; }
.value-body { color: #3b4855; font-size: 16px; }

/* ---------- Comparison table ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--white); }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare th, .compare td { text-align: left; padding: 18px 22px; vertical-align: top; font-size: 16px; }
.compare thead th {
  background: var(--ink); color: #fff; font-family: var(--font-display);
  font-weight: 600; font-size: 14px; letter-spacing: .04em;
}
.compare thead th.col-modo { background: var(--accent); color: var(--ink); }
.compare tbody th[scope="row"] { font-family: var(--font-display); font-weight: 600; color: var(--ink); width: 30%; }
.compare tbody tr + tr th, .compare tbody tr + tr td { border-top: 1px solid var(--line); }
.compare td { color: #45525e; }
.compare td.col-modo { background: #FFF3EE; color: var(--ink); font-weight: 600; border-left: 2px solid var(--accent); }

.table-foot { margin-top: 18px; color: var(--muted); font-size: 15px; }
.table-foot a, .table-foot a:visited { color: var(--accent-hover); font-weight: 600; }

/* ---------- Lead form ---------- */
.form-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.form-intro .lede { color: #C6D2DC; margin-top: 16px; font-size: 17px; }
.kit-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.kit-list li { display: flex; align-items: center; gap: 10px; font-weight: 500; color: #E7EDF2; }
.kit-list .ico { fill: var(--accent); }

.lead-form {
  background: var(--white); color: var(--ink);
  border-radius: 14px; padding: clamp(24px, 3vw, 36px);
  box-shadow: var(--shadow); display: grid; gap: 18px;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 14px; }
.field .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 8px;
  background: var(--white); width: 100%;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--focus); outline: none; box-shadow: 0 0 0 3px rgba(30,115,232,.18); }

.check { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; font-weight: 500; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); flex: none; }

.form-fineprint { font-size: 13px; color: var(--muted); margin-top: -4px; }

.form-error {
  color: #B42318; background: #FEF3F2; border: 1px solid #FDA29B;
  border-radius: 8px; padding: 12px 14px; font-size: 14px; font-weight: 500;
}

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-success {
  display: flex; gap: 12px; align-items: flex-start;
  background: #EAF7EE; border: 1px solid #B7E0C4; color: #14532D;
  border-radius: 10px; padding: 16px 18px;
}
.form-success .ico { fill: #1B7F3B; margin-top: 2px; }
.form-success strong { display: block; }
.form-success span { font-size: 15px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--slate); color: #C6D2DC; padding-block: 44px; }
.site-footer .brand { color: #fff; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 28px 40px; align-items: end; }
.footer-brand p { margin-top: 10px; font-size: 14px; max-width: 42ch; }
.footer-legal { font-size: 13px; color: #93A6B3; text-align: right; }
.footer-legal p { margin: 0; }
.footer-company { color: #C6D2DC; font-weight: 600; margin-bottom: 4px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .component-row,
  .component-row--reverse { grid-template-columns: 1fr; }
  .component-row--reverse .component-row__media { order: 0; }
  .component-row__media {
    min-height: 0; aspect-ratio: 4 / 3;
    border-right: 0; border-bottom: 1px solid var(--line);
  }
  .component-row--reverse .component-row__media { border-left: 0; border-bottom: 1px solid var(--line); }
}

@media (max-width: 900px) {
  .hero-actions__grid { grid-template-columns: 1fr; gap: 26px; }
  .hero-actions .lede { max-width: 62ch; }
  .form-layout { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 6px;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: 14px var(--pad) 20px; box-shadow: var(--shadow);
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 10px 4px; border-bottom: 1px solid var(--gray-2); }
  .site-nav .btn { margin-top: 8px; }
  .nav-toggle { display: block; }
  .header-inner { position: relative; }

  .value-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }

  /* comparison table -> stacked cards */
  .table-wrap { overflow: visible; border: 0; box-shadow: none; background: transparent; }
  .compare { min-width: 0; }
  .compare thead { position: absolute; left: -9999px; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare tbody tr {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow); margin-bottom: 16px; padding: 6px 4px; overflow: hidden;
  }
  .compare tbody tr + tr th, .compare tbody tr + tr td { border-top: 0; }
  .compare tbody th[scope="row"] {
    width: 100%; background: var(--ink); color: #fff; margin: -6px -4px 0;
    padding: 12px 18px; font-size: 15px;
  }
  .compare td { color: var(--ink); padding: 12px 18px; }
  .compare td::before {
    content: attr(data-label); display: block;
    font-family: var(--font-display); font-weight: 600; font-size: 12px;
    letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px;
  }
  .compare td.col-modo { background: #FFF3EE; border-left: 0; border-top: 1px solid var(--accent); }

  .footer-inner { grid-template-columns: 1fr; }
  .footer-legal { text-align: left; }
  .field-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  /* Small phones: stack the hero buttons full-width and let long labels wrap,
     so nothing forces horizontal scroll. */
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; white-space: normal; }
  /* Trade-band chips read better as a full-width list than pills at this size. */
  .trade-band .chip-list { display: grid; gap: 8px; }
  .trade-band .chip-list li { border-radius: 10px; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .rotator__word { transition: none; }
}
