/* Marketing site styles. */
:root {
  --bg: #ffffff;
  --bg-alt: #f2f5f9;
  --surface: #ffffff;
  --fg: #0e1a2e;
  --fg-2: #2c3a50;
  --muted: #5a6880;
  --line: #e1e7ef;
  --line-2: #c8d2df;
  --accent: #0a5bd8;
  --accent-ink: #ffffff;
  --accent-soft: #e6f0ff;
  --good: #12784a;
  --warn: #9a5b00;
  --bad: #c02a1f;
  --panel: #0a1a33;
  --panel-2: #10264a;
  --panel-fg: #dce6f5;
  --panel-muted: #8ea3c2;
  --panel-line: rgba(255, 255, 255, 0.09);
  --signal: #12b4ee;
  --font: "IBM Plex Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --r: 12px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a111d;
    --bg-alt: #0e1726;
    --surface: #111b2b;
    --fg: #e8eef7;
    --fg-2: #c3cedd;
    --muted: #8d9cb3;
    --line: #1f2c40;
    --line-2: #2e3e56;
    --accent: #4da3ff;
    --accent-ink: #04111f;
    --accent-soft: #12294a;
    --good: #4cc38a;
    --warn: #e3a53b;
    --bad: #f07167;
    --panel: #060c17;
    --panel-2: #0d1830;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0a111d;
  --bg-alt: #0e1726;
  --surface: #111b2b;
  --fg: #e8eef7;
  --fg-2: #c3cedd;
  --muted: #8d9cb3;
  --line: #1f2c40;
  --line-2: #2e3e56;
  --accent: #4da3ff;
  --accent-ink: #04111f;
  --accent-soft: #12294a;
  --good: #4cc38a;
  --warn: #e3a53b;
  --bad: #f07167;
  --panel: #060c17;
  --panel-2: #0d1830;
  color-scheme: dark;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation: none !important;
    transition: none !important;
  }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
}
a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
  font-weight: 600;
}
h1 {
  font-size: clamp(34px, 4.6vw, 54px);
  letter-spacing: -0.03em;
}
h2 {
  font-size: clamp(26px, 3vw, 36px);
  margin-bottom: 12px;
}
h3 {
  font-size: 18px;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
p {
  margin: 0;
}
.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding-inline: 20px;
}
.row {
  display: flex;
  align-items: center;
  gap: 20px;
}
.lead {
  font-size: 18px;
  color: var(--fg-2);
  line-height: 1.6;
  max-width: 60ch;
}
.lead.narrow {
  max-width: 62ch;
  margin-bottom: 32px;
}
:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
  border-radius: 4px;
}

/* logo lockup */
.lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
}
.lockup:hover {
  text-decoration: none;
}
.lockup img {
  width: 38px;
  height: 38px;
}
.wordmark {
  display: inline-block;
  height: 17px;
  aspect-ratio: 902 / 177;
  background: currentColor;
  -webkit-mask: url("../brand/viyro-wordmark.svg") center / contain no-repeat;
  mask: url("../brand/viyro-wordmark.svg") center / contain no-repeat;
}
.lockup.sm img {
  width: 26px;
  height: 26px;
}
.lockup.sm .wordmark {
  height: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 9px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--fg);
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  transition:
    background 0.12s,
    border-color 0.12s,
    box-shadow 0.12s;
}
.btn:hover {
  text-decoration: none;
  border-color: var(--accent);
}
.btn.signal {
  background: var(--signal);
  border-color: var(--signal);
  color: #04111f;
  box-shadow: 0 0 0 0 rgba(18, 180, 238, 0);
}
.btn.signal:hover {
  box-shadow: 0 0 0 4px rgba(18, 180, 238, 0.25);
}
.btn.on-dark {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}
.btn.on-dark:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
}
.btn.lg {
  padding: 13px 22px;
  font-size: 16px;
}

/* header (navy, part of the hero) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--panel) 92%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--panel-line);
  color: #fff;
}
.site-header .row {
  height: 70px;
}
.site-nav {
  display: flex;
  gap: 24px;
  margin-left: 28px;
}
.site-nav a {
  color: var(--panel-muted);
  font-weight: 500;
  font-size: 15px;
}
.site-nav a:hover {
  color: #fff;
  text-decoration: none;
}
.site-actions {
  margin-left: auto;
  display: flex;
  gap: 10px;
}
.menu-btn {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 9px;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.menu-btn span {
  width: 18px;
  height: 2px;
  background: #fff;
  display: block;
}
.mobile-menu[hidden] {
  display: none;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 20px 18px;
  border-top: 1px solid var(--panel-line);
}
.mobile-menu a {
  padding: 10px 4px;
  font-weight: 500;
  color: var(--panel-fg);
}
.mobile-menu .btn {
  margin-top: 6px;
}
@media (max-width: 900px) {
  .site-nav,
  .site-actions {
    display: none;
  }
  .menu-btn {
    display: flex;
  }
}

/* hero */
.hero {
  background: var(--panel);
  color: var(--panel-fg);
  padding: 72px 0 84px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  right: -180px;
  top: -160px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  border: 1px solid rgba(60, 203, 255, 0.14);
  box-shadow:
    0 0 0 70px rgba(60, 203, 255, 0.03),
    0 0 0 140px rgba(60, 203, 255, 0.02);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
  position: relative;
}
.hero h1 {
  color: #fff;
  max-width: 16ch;
}
.hero .lead {
  color: var(--panel-muted);
  margin: 22px 0 30px;
}
.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.fineprint {
  margin-top: 18px;
  font-size: 14px;
  color: var(--panel-muted);
  max-width: 52ch;
}
@media (max-width: 900px) {
  .hero {
    padding: 44px 0 52px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* fault journey panel */
.panel {
  background: #0f2242;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  color: var(--panel-fg);
  font-size: 14px;
  position: relative;
}
.panel::after {
  content: "Example";
  position: absolute;
  top: -10px;
  right: 16px;
  font: 500 11.5px var(--mono);
  color: var(--panel-muted);
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 1px 9px;
}
.panel-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.panel-top b {
  color: #fff;
  font-size: 15.5px;
}
.panel-top small {
  display: block;
  color: var(--panel-muted);
  font-size: 12.5px;
}
.panel-top em {
  margin-left: auto;
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  color: #ffb4ae;
  background: rgba(240, 113, 103, 0.16);
  border-radius: 999px;
  padding: 2px 10px;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-top: 6px;
  flex: none;
}
.dot.s3 {
  background: #f07167;
  box-shadow:
    0 0 0 4px rgba(240, 113, 103, 0.18),
    0 0 12px #f07167;
}
.journey {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 0;
}
.journey li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  position: relative;
  padding-bottom: 16px;
}
.journey li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 22px;
  bottom: 0;
  width: 2px;
  background: #4cc38a;
}
.journey li i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #4cc38a;
  display: grid;
  place-items: center;
}
.journey li i::after {
  content: "";
  width: 9px;
  height: 5px;
  border: solid #04111f;
  border-width: 0 0 2px 2px;
  transform: rotate(-45deg) translate(1px, -1px);
}
.journey li.now i {
  background: var(--signal);
  box-shadow:
    0 0 0 4px rgba(18, 180, 238, 0.22),
    0 0 14px var(--signal);
}
.journey b {
  color: #fff;
}
.journey small {
  display: block;
  color: var(--panel-muted);
  font-size: 13px;
}
.panel-flag {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  background: rgba(227, 165, 59, 0.12);
  border: 1px solid rgba(227, 165, 59, 0.3);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13.5px;
}
.panel-flag span {
  color: #f1cb86;
}
.panel-flag b {
  color: #fff;
}
.panel-flag a {
  margin-left: auto;
  color: var(--signal);
  font-weight: 600;
}
.panel-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 14px;
}
.panel-stats div {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 10px 12px;
}
.panel-stats b {
  display: block;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.panel-stats small {
  color: var(--panel-muted);
  font-size: 12px;
  line-height: 1.35;
  display: block;
}
@media (max-width: 520px) {
  .panel-stats {
    grid-template-columns: 1fr;
  }
  .panel-flag a {
    margin-left: 0;
  }
}

/* sections */
.section {
  padding: 84px 0;
}
.section.alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 600px) {
  .section {
    padding: 56px 0;
  }
}
.problems {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.problems article {
  border-top: 3px solid var(--accent);
  padding-top: 18px;
}
.problems p {
  color: var(--fg-2);
  font-size: 15.5px;
}
.problems .was {
  color: var(--muted);
  font-size: 14.5px;
  margin-bottom: 10px;
}
@media (max-width: 900px) {
  .problems {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.features article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px 22px 24px;
}
.features article p {
  color: var(--fg-2);
  font-size: 15px;
}
@media (max-width: 900px) {
  .features {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .features {
    grid-template-columns: 1fr;
  }
}
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
}
@media (max-width: 900px) {
  .two-col {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
.steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}
.steps-list li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  position: relative;
  padding-bottom: 26px;
}
.steps-list li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 40px;
  bottom: 4px;
  width: 2px;
  background: var(--line-2);
}
.steps-list span {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--panel);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 600;
  font-family: var(--mono);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.steps-list h3 {
  margin: 6px 0 4px;
}
.steps-list p {
  color: var(--fg-2);
  font-size: 15px;
}
.checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.checks li {
  position: relative;
  padding-left: 32px;
  color: var(--fg-2);
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-soft);
}
.checks li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 7px;
  width: 6px;
  height: 10px;
  border: solid var(--accent);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.faq {
  max-width: 780px;
  margin-top: 18px;
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 17px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  color: var(--muted);
  font-weight: 400;
  font-size: 20px;
  line-height: 1;
}
.faq details[open] summary::after {
  content: "–";
}
.faq p {
  margin-top: 10px;
  color: var(--fg-2);
  max-width: 66ch;
}

.cta-band {
  background: var(--panel);
  color: var(--panel-fg);
  padding: 64px 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.cta-band h2 {
  color: #fff;
  margin-bottom: 6px;
}
.cta-band p {
  color: var(--panel-muted);
}

.site-footer {
  background: var(--panel);
  color: var(--panel-muted);
  padding: 22px 0 28px;
  font-size: 14px;
  border-top: 1px solid var(--panel-line);
}
.site-footer .row {
  flex-wrap: wrap;
}
.site-footer .lockup {
  color: #fff;
}
.foot-links {
  display: flex;
  gap: 18px;
  margin-left: auto;
  flex-wrap: wrap;
  align-items: center;
}
.foot-links a {
  color: var(--panel-fg);
}
.theme-btn {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--panel-fg);
  border-radius: 999px;
  padding: 4px 12px;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.theme-btn:hover {
  border-color: rgba(255, 255, 255, 0.45);
}
@media (max-width: 600px) {
  .foot-links {
    margin-left: 0;
  }
}
