/* Vibra View — motion magnification site */

:root {
  --page: #F6F6F6;
  --surface: #FFFFFF;
  --ink: #0F172A;
  --muted: #64748b;
  --header: #1e293b;
  --header-ink: #f8fafc;
  --accent: #0E9AA7;
  --accent-ink: #ffffff;
  --grad-a: #16B3C4;
  --grad-b: #1D74D8;
  --amber: #F59A16;
  --amber-lite: #FFC24B;
  --line: #e2e8f0;
  --focus: #0E9AA7;
  --radius: 10px;
  --max: 60rem;
  --nav-h: 4rem;
  --font: "Segoe UI", Calibri, "Calibri Light", Candara, system-ui, -apple-system, sans-serif;
  --mono: "Cascadia Mono", "Segoe UI Mono", ui-monospace, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--page);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent);
  text-underline-offset: 0.18em;
}

a:hover {
  color: #0a7d88;
}

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

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  z-index: 100;
  padding: 0.5rem 0.75rem;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  text-decoration: none;
}

.skip:focus {
  top: 0.75rem;
}

.wrap {
  width: min(100% - 1.75rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--header);
  border-bottom: 1px solid #0f172a;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--nav-h);
}

.brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--header-ink);
  line-height: 1.15;
}

.brand-logo {
  width: 2.25rem;
  height: 2.25rem;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 6px;
  background: #fff;
}

.brand .name {
  font-weight: 700;
  letter-spacing: 0.01em;
  font-size: 1.05rem;
  color: var(--header-ink);
}

.brand .tag {
  font-size: 0.7rem;
  color: #94a3b8;
  font-weight: 500;
}

.nav {
  display: none;
  align-items: center;
  gap: 1.15rem;
}

.nav a {
  color: #e2e8f0;
  text-decoration: none;
  font-size: 0.95rem;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: #7dd3de;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid #334155;
  background: #334155;
  color: var(--header-ink);
  border-radius: 8px;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: currentColor;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -5px;
}

.nav-toggle span::after {
  top: 5px;
}

#nav-menu:target,
.nav.is-open {
  display: flex;
}

#nav-menu:target {
  display: flex;
  flex-direction: column;
  position: absolute;
  left: 0;
  right: 0;
  top: var(--nav-h);
  background: var(--header);
  border-bottom: 1px solid #334155;
  padding: 1rem 0.875rem 1.25rem;
  gap: 0.85rem;
}

.nav-close {
  position: absolute;
  right: 0.75rem;
  top: 0.5rem;
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 0.95rem;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  font-weight: 650;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 0.92rem;
}

.btn:hover {
  color: var(--accent-ink);
  filter: brightness(1.06);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  color: var(--ink);
  border-color: var(--accent);
}

.header-cta {
  display: none;
}

.nav .btn {
  color: var(--accent-ink);
}

.hero {
  padding: 2.5rem 0 2rem;
  background: var(--page);
  border-bottom: 1px solid var(--line);
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 650;
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(1.75rem, 4vw, 2.65rem);
  line-height: 1.15;
  font-weight: 700;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h2 {
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  margin: 0 0 0.75rem;
  letter-spacing: -0.015em;
}

h3 {
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
}

.lede {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 42rem;
  margin: 0 0 1.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
}
@media (min-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr 1.05fr;
    gap: 2rem;
  }
}
.hero-splash {
  margin: 0;
  background: var(--page);
  border: 0;
  box-shadow: none;
}
.hero-splash img,
.hero-splash video,
.splash-video {
  display: block;
  width: 100%;
  max-height: 320px;
  height: auto;
  object-fit: contain;
  background: var(--page);
  border: 0;
  box-shadow: none;
}
.product-splash {
  margin-top: 1.25rem;
  max-width: 44rem;
}

.phone-shot {
  margin: 0.85rem 0 0;
  background: #0b1220;
  border: 1px solid #1e293b;
  border-radius: var(--radius);
  overflow: hidden;
}
.phone-shot img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 420px;
  height: auto;
  object-fit: contain;
  margin-inline: auto;
  background: #0b1220;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.fine {
  font-size: 0.9rem;
  color: var(--muted);
}

main {
  min-height: 60vh;
}

section {
  padding: 2.25rem 0;
  border-bottom: 1px solid var(--line);
}

section:last-of-type {
  border-bottom: 0;
}

.grid-2 {
  display: grid;
  gap: 1rem;
}

.grid-3 {
  display: grid;
  gap: 1rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.card.tile {
  background: linear-gradient(135deg, var(--grad-a), var(--grad-b));
  color: #fff;
  border: 0;
}

.card.tile h3,
.card.tile p,
.card.tile li {
  color: #fff;
}

.card.tile-amber {
  background: linear-gradient(135deg, var(--amber), var(--amber-lite));
  color: #0f172a;
  border: 0;
}

.pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: #e6f5f6;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.card.tile .pill {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.card ol,
.card ul,
section ul,
section ol {
  margin: 0.4rem 0 0;
  padding-left: 1.2rem;
}

.card li + li,
section li + li {
  margin-top: 0.35rem;
}

.muted {
  color: var(--muted);
}

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.steps li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem 1.15rem 3.4rem;
  position: relative;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 1.15rem;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--grad-a), var(--grad-b));
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  display: grid;
  place-items: center;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

th,
td {
  text-align: left;
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.note {
  border-left: 3px solid var(--accent);
  padding: 0.15rem 0 0.15rem 0.9rem;
  color: var(--muted);
}

.cta-band {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.4rem 1.3rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.cta-band h2 {
  margin-top: 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.75rem 0 2.25rem;
  color: var(--muted);
  font-size: 0.9rem;
  background: var(--surface);
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent);
}

.social-yt {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.yt-icon {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}

.legal {
  margin-top: 0.9rem;
}

.not-found {
  padding: 4rem 0 5rem;
  text-align: left;
}

.page-hero {
  padding: 2.25rem 0 1.5rem;
}

@media (min-width: 800px) {
  .nav-toggle,
  .nav-close {
    display: none;
  }

  .nav,
  #nav-menu {
    display: flex !important;
    position: static;
    flex-direction: row;
    background: none;
    border: 0;
    padding: 0;
    gap: 1.2rem;
  }

  .header-cta {
    display: none;
  }

  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }

  .grid-3 {
    grid-template-columns: 1fr 1fr 1fr;
  }

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

  .hero {
    padding: 3.5rem 0 2.75rem;
  }

  section {
    padding: 2.75rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.screenshot-slot {
  margin-top: 0.85rem;
  min-height: 7.5rem;
  border: 1px dashed color-mix(in srgb, #fff 45%, transparent);
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.85;
  background: rgba(0, 0, 0, 0.12);
}
.card:not(.tile) .screenshot-slot {
  border-color: var(--line);
  background: var(--page);
  color: var(--muted);
}

.platform-line {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.os-icon {
  width: 1.35rem;
  height: 1.35rem;
  object-fit: contain;
  flex-shrink: 0;
  background: #fff;
  border-radius: 4px;
  padding: 0.12rem;
  box-sizing: content-box;
}

.photo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.photo-card {
  margin: 0;
}

.photo-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  display: block;
  background: #fff;
}

.photo-card figcaption {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.4rem;
  line-height: 1.35;
}

.plot-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.plot-card {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.65rem 0.65rem 0.85rem;
}

.plot-card img {
  width: 100%;
  display: block;
  border-radius: 6px;
}

.plot-card figcaption {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.5rem;
  padding: 0 0.25rem;
}

@media (min-width: 800px) {
  .photo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1100px) {
  .plot-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.app-shot {
  margin: 1.25rem 0 0;
  background: #0b1220;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.app-shot img {
  display: block;
  width: 100%;
  max-height: 360px;
  height: auto;
  object-fit: contain;
  background: #0b1220;
}
.app-shot figcaption {
  padding: 0.65rem 0.85rem 0.85rem;
  font-size: 0.9rem;
  color: var(--muted);
  background: var(--surface);
}

button.btn {
  font-family: inherit;
  cursor: pointer;
  appearance: none;
}

.contact-form {
  margin-top: 0.85rem;
  max-width: 28rem;
}

.contact-form label {
  display: block;
  font-weight: 650;
  font-size: 0.88rem;
  margin: 0.85rem 0 0.3rem;
}

.contact-form .opt {
  font-weight: 500;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

.contact-form textarea {
  min-height: 8rem;
  resize: vertical;
}

.contact-form .btn {
  margin-top: 1.1rem;
  width: 100%;
}

.form-window {
  min-height: 100vh;
  background: var(--header);
  color: var(--ink);
}

.form-brand-bar {
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
}

.form-shell {
  display: flex;
  justify-content: center;
  padding: 0.5rem 1rem 1.75rem;
}

.form-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.25rem 1.2rem 1.4rem;
  width: min(100%, 28rem);
  box-shadow: 0 10px 30px color-mix(in srgb, #000 28%, transparent);
}

.form-card h1 {
  font-size: 1.45rem;
  margin-bottom: 0.55rem;
}

.form-card .fine {
  margin: 0 0 0.25rem;
}

.form-window .contact-form {
  max-width: none;
}

/* form stack lock */

.contact-form { display: block !important; max-width: 28rem; }
.contact-form .field, .contact-form label, .contact-form input, .contact-form textarea, .contact-form button { display: block !important; width: 100%; }
.contact-form .field { margin: 0 0 14px; }
.contact-form input, .contact-form textarea { box-sizing: border-box; }
