/* WatchBridge website. One stylesheet, no framework, system fonts only.
   Colours are the apps' own: navy #0B3D5C and cyan #7FE3FF on near-black. */

:root {
  --bg: #060b0f;
  --surface: #0e171d;
  --surface-2: #142028;
  --line: #1c2a33;
  --line-2: #2b3d49;
  --text: #e8f1f5;
  --muted: #a3b5bf;
  --dim: #7f929c;
  --accent: #7fe3ff;
  --accent-2: #4fb6d6;
  --navy: #0b3d5c;
  --ink: #00222f;
  --ok: #7cd992;
  --warn: #ffc857;
  --heart: #ff6b81;
  --radius: 20px;
  --wrap: 1160px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(1000px 560px at 88% -80px, rgba(11, 61, 92, 0.62), transparent 62%),
    radial-gradient(760px 460px at -6% 40px, rgba(127, 227, 255, 0.07), transparent 60%),
    var(--bg);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #b5efff; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.022em; font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 5.4vw, 4.05rem); letter-spacing: -0.035em; line-height: 1.04; }
h2 { font-size: clamp(1.7rem, 3.3vw, 2.5rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.012em; line-height: 1.3; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
strong { font-weight: 650; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 760px; }
.center { text-align: center; margin-inline: auto; }
.muted { color: var(--muted); }
.accent { color: var(--accent); }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px;
  background: var(--accent); color: var(--ink); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* ------------------------------------------------------------------ header */

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line);
  background: rgba(6, 11, 15, 0.82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); }
.header-row { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text); text-decoration: none;
  font-weight: 700; font-size: 1.14rem; letter-spacing: -0.02em; }
.brand:hover { color: var(--text); }
.brand img { border-radius: 9px; }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: 4px; list-style: none; }
.site-nav a { display: block; padding: 8px 13px; border-radius: 999px; color: var(--muted); text-decoration: none;
  font-size: 0.97rem; font-weight: 500; white-space: nowrap; transition: color 0.15s, background-color 0.15s; }
.site-nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.site-nav a[aria-current="page"] { color: var(--text); background: rgba(127, 227, 255, 0.1); }

/* ----------------------------------------------------------------- buttons */

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding: 0 24px;
  border: 1px solid transparent; border-radius: 999px; font: inherit; font-weight: 620; font-size: 1rem; line-height: 1;
  text-decoration: none; cursor: pointer; transition: background-color 0.15s, border-color 0.15s, color 0.15s, transform 0.15s, box-shadow 0.15s; }
.btn svg { width: 19px; height: 19px; flex: none; }
.btn-primary { background: var(--accent); color: var(--ink); box-shadow: 0 8px 30px -12px rgba(127, 227, 255, 0.65); }
.btn-primary:hover { background: #a6ecff; color: var(--ink); transform: translateY(-1px); }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: rgba(255, 255, 255, 0.02); }
.btn-ghost:hover { border-color: var(--accent-2); color: var(--text); background: rgba(127, 227, 255, 0.06); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 0.95rem; }
.btn-block { width: 100%; }
.btn-disabled, .btn[disabled] { background: var(--surface-2); border-color: var(--line-2); color: var(--dim);
  box-shadow: none; cursor: default; transform: none; }

/* ---------------------------------------------------------------- sections */

.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-alt { background: linear-gradient(180deg, rgba(14, 23, 29, 0.75), rgba(14, 23, 29, 0.35)); border-block: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; }
.section-head p { margin-top: 16px; color: var(--muted); font-size: 1.12rem; }

.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 20px; padding: 6px 14px 6px 12px; border-radius: 999px;
  border: 1px solid rgba(127, 227, 255, 0.22); background: rgba(127, 227, 255, 0.06); color: var(--accent);
  font-size: 0.86rem; font-weight: 600; letter-spacing: 0.01em; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(124, 217, 146, 0.18); }
.kicker { display: block; margin-bottom: 14px; color: var(--accent); font-size: 0.86rem; font-weight: 650;
  letter-spacing: 0.09em; text-transform: uppercase; }
.lead { color: var(--muted); font-size: clamp(1.1rem, 1.6vw, 1.27rem); line-height: 1.6; max-width: 40em; }

/* -------------------------------------------------------------------- hero */

.hero { padding: 72px 0 24px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 40px; align-items: center; }
.hero h1 { margin-bottom: 24px; font-size: clamp(2.35rem, 4.9vw, 3.7rem); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 30px; list-style: none; color: var(--muted); font-size: 0.96rem; }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; color: var(--ok); flex: none; }
.hero-art img { width: 100%; margin-inline: auto; }
.art-note { margin-top: 6px; color: var(--dim); font-size: 0.8rem; text-align: center; }

.page-hero { padding: 76px 0 28px; }
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); max-width: 17em; margin-bottom: 20px; }

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; list-style: none; color: var(--dim); font-size: 0.9rem; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-2); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); }

/* ------------------------------------------------------------------- cards */

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card { position: relative; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(20, 32, 40, 0.9), rgba(12, 19, 24, 0.9)); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 1rem; }
a.card { display: block; color: inherit; text-decoration: none; transition: border-color 0.18s, transform 0.18s; }
a.card:hover { border-color: rgba(127, 227, 255, 0.45); transform: translateY(-3px); }
.card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; color: var(--accent); font-size: 0.95rem; font-weight: 600; }
.card .more svg { width: 16px; height: 16px; }

.tile { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 20px; border-radius: 13px;
  background: var(--navy); color: var(--accent); }
.tile svg { width: 24px; height: 24px; }
.tile-heart { background: #3a1722; color: var(--heart); }
.tile-ok { background: #12351f; color: var(--ok); }

/* ------------------------------------------------------------------ splits */

.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; align-items: center; }
.split + .split { margin-top: 96px; }
.split-flip .split-art { order: 2; }
.split-top { align-items: start; }
.split-art img { width: 100%; border-radius: 28px; }
.split h2 { margin-bottom: 18px; }
.split p { color: var(--muted); }

.ticks { display: grid; gap: 12px; margin-top: 22px; list-style: none; }
.ticks li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; color: var(--text); }
.ticks svg { width: 22px; height: 22px; margin-top: 3px; color: var(--ok); }
.ticks.crosses svg { color: var(--dim); }
.ticks .muted { color: var(--muted); }

.note { margin-top: 24px; padding: 16px 18px; border: 1px solid var(--line-2); border-left: 3px solid var(--accent-2);
  border-radius: 12px; background: rgba(127, 227, 255, 0.04); color: var(--muted); font-size: 0.97rem; }
.note strong { color: var(--text); }

/* ------------------------------------------------------------------- steps */

.steps { display: grid; gap: 20px; list-style: none; counter-reset: step; }
.steps.cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps > li { position: relative; padding: 28px 28px 28px 84px; border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(20, 32, 40, 0.9), rgba(12, 19, 24, 0.9)); counter-increment: step; }
.steps > li::before { content: counter(step); position: absolute; left: 26px; top: 26px; display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--ink); font-weight: 750; font-size: 1.05rem; }
.steps h3 { margin-bottom: 8px; }
.steps p, .steps li li { color: var(--muted); font-size: 1rem; }
.steps ol { margin: 12px 0 0 1.1em; display: grid; gap: 6px; }
.steps ol + p { margin-top: 14px; }
.steps.cols > li { padding: 84px 26px 26px; }

/* ------------------------------------------------------------ link diagram */

.link-diagram { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr) minmax(0, 0.8fr); gap: 18px; align-items: stretch; }
.device { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 26px 22px; border: 1px solid var(--line-2);
  border-radius: var(--radius); background: var(--surface); text-align: center; }
.device svg { width: 44px; height: 44px; margin-inline: auto; color: var(--accent); }
.device strong { font-size: 1.12rem; }
.device div { display: grid; gap: 4px; }
.device span { color: var(--muted); font-size: 0.92rem; }
.lanes { display: grid; gap: 12px; padding: 16px; border: 1px dashed rgba(127, 227, 255, 0.35); border-radius: var(--radius); }
.lanes-title { color: var(--accent); font-size: 0.84rem; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; text-align: center; }
.lane { display: grid; grid-template-columns: 28px 1fr 28px; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 14px;
  background: var(--surface-2); border: 1px solid var(--line); }
.lane svg { width: 24px; height: 24px; color: var(--accent); }
.lane .flip { transform: scaleX(-1); }
.lane .off { visibility: hidden; }
.lane b { display: block; font-weight: 620; font-size: 1rem; }
.lane small { display: block; color: var(--muted); font-size: 0.9rem; line-height: 1.45; }

/* ------------------------------------------------------------------- specs */

.spec { display: grid; grid-template-columns: minmax(150px, 0.42fr) 1fr; margin: 0; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: var(--surface); }
.spec dt, .spec dd { margin: 0; padding: 16px 22px; border-top: 1px solid var(--line); }
.spec dt:first-of-type, .spec dd:first-of-type { border-top: 0; }
.spec dt { color: var(--muted); font-size: 0.96rem; background: rgba(255, 255, 255, 0.015); }
.spec dd { font-weight: 520; }
.spec dd small { display: block; margin-top: 2px; color: var(--muted); font-weight: 400; font-size: 0.92rem; }

.badge { display: inline-flex; align-items: center; padding: 4px 11px; border-radius: 999px; border: 1px solid var(--line-2);
  color: var(--muted); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.01em; white-space: nowrap; }
.badge-accent { border-color: rgba(127, 227, 255, 0.3); color: var(--accent); background: rgba(127, 227, 255, 0.06); }
.badge-ok { border-color: rgba(124, 217, 146, 0.35); color: var(--ok); background: rgba(124, 217, 146, 0.07); }
.badge-warn { border-color: rgba(255, 200, 87, 0.35); color: var(--warn); background: rgba(255, 200, 87, 0.06); }

/* ------------------------------------------------------------------- price */

.price-grid { max-width: 880px; margin-inline: auto; }
.price { text-align: center; padding: 34px 28px; }
.price h3 { color: var(--muted); font-weight: 600; }
.card .price-tag { margin: 6px 0 12px; color: var(--text); font-size: clamp(2.4rem, 5vw, 3.2rem); font-weight: 750; letter-spacing: -0.035em; line-height: 1.1; }
.card .price-tag small { color: var(--muted); font-size: 1.05rem; font-weight: 500; letter-spacing: 0; }
.card.price p:last-child { max-width: 30em; margin-inline: auto; }

/* ---------------------------------------------------------------- download */

.dl { display: grid; grid-template-columns: 184px 1fr; gap: 28px; align-items: start; padding: 28px; }
.dl-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 8px; }
.dl-head h2, .dl-head h3 { font-size: 1.4rem; margin: 0; }
.qr { padding: 12px; border-radius: 18px; background: #ffffff; }
.qr img { width: 160px; height: 160px; image-rendering: pixelated; }
.qr-caption { margin-top: 10px; color: var(--dim); font-size: 0.84rem; text-align: center; }
.dl ul { display: grid; gap: 6px; margin: 14px 0 20px; list-style: none; color: var(--muted); font-size: 0.98rem; }
.dl li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; }
.dl li svg { width: 18px; height: 18px; margin-top: 4px; color: var(--accent-2); }

.cta { display: grid; gap: 22px; justify-items: center; padding: 56px 28px; border: 1px solid rgba(127, 227, 255, 0.22); border-radius: 28px;
  background: radial-gradient(620px 260px at 50% 0%, rgba(11, 61, 92, 0.85), rgba(14, 23, 29, 0.9) 72%); text-align: center; }
.cta p { max-width: 36em; color: var(--muted); font-size: 1.1rem; }
.cta .actions { margin-top: 4px; justify-content: center; }

/* --------------------------------------------------------------------- faq */

.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); transition: border-color 0.15s; }
.faq details[open] { border-color: var(--line-2); }
.faq summary { display: grid; grid-template-columns: 1fr 24px; gap: 16px; align-items: center; padding: 20px 22px; cursor: pointer;
  list-style: none; font-weight: 620; font-size: 1.08rem; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 12px; height: 12px; margin-inline: auto; border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent); transform: translateY(-3px) rotate(45deg); transition: transform 0.2s; }
.faq details[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.faq .answer { padding: 0 22px 22px; color: var(--muted); }
.faq .answer p { margin-bottom: 0.8em; }
.faq-group { margin: 44px 0 16px; font-size: 1.35rem; }
.faq-group:first-child { margin-top: 0; }

/* ------------------------------------------------------------------- prose */

.prose { max-width: 760px; }
.prose h2 { margin: 52px 0 16px; font-size: clamp(1.4rem, 2.4vw, 1.75rem); }
.prose h3 { margin: 30px 0 10px; }
.prose p, .prose li { color: var(--muted); }
.prose ul { margin: 0 0 1em 1.2em; display: grid; gap: 8px; }
.prose strong { color: var(--text); }

/* -------------------------------------------------------------------- form */

.contact-grid h2 { margin-bottom: 14px; font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 48px; align-items: start; }
.form { display: grid; gap: 18px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.field { display: grid; gap: 7px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field label { font-weight: 600; font-size: 0.96rem; }
.field .hint { color: var(--dim); font-size: 0.86rem; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 15px; border: 1px solid var(--line-2); border-radius: 12px;
  background: #0a1217; color: var(--text); font: inherit; font-size: 1rem; line-height: 1.4; transition: border-color 0.15s, box-shadow 0.15s; }
.field textarea { min-height: 170px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, #a3b5bf 50%), linear-gradient(135deg, #a3b5bf 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
.field input::placeholder, .field textarea::placeholder { color: #61727c; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(127, 227, 255, 0.18); }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; padding: 14px 16px; border-radius: 12px; font-size: 0.98rem; }
.form-status.is-ok { display: block; border: 1px solid rgba(124, 217, 146, 0.4); background: rgba(124, 217, 146, 0.08); color: #b9efc6; }
.form-status.is-error { display: block; border: 1px solid rgba(255, 107, 129, 0.45); background: rgba(255, 107, 129, 0.08); color: #ffc2cc; }
.form-foot { color: var(--dim); font-size: 0.88rem; }

/* ------------------------------------------------------------------ footer */

.site-footer { margin-top: 40px; padding: 64px 0 40px; border-top: 1px solid var(--line); background: rgba(8, 13, 17, 0.8); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; }
.footer-grid h2 { margin-bottom: 14px; color: var(--text); font-size: 0.86rem; font-weight: 650; letter-spacing: 0.09em; text-transform: uppercase; }
.footer-grid ul { display: grid; gap: 9px; list-style: none; }
.footer-grid a { color: var(--muted); text-decoration: none; font-size: 0.97rem; }
.footer-grid a:hover { color: var(--text); }
.footer-about p { margin-top: 16px; max-width: 30em; color: var(--muted); font-size: 0.97rem; }
.legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--dim); font-size: 0.84rem; line-height: 1.6; }
.legal p { margin-bottom: 0.7em; }

/* -------------------------------------------------------------- responsive */

@media (max-width: 1020px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps.cols { grid-template-columns: 1fr; }
  .steps.cols > li { padding: 28px 28px 28px 84px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 880px) {
  .header-row { flex-wrap: wrap; gap: 0 16px; min-height: 0; padding-top: 12px; }
  .site-nav { order: 3; margin: 8px -20px 0; width: calc(100% + 40px); overflow-x: auto; scrollbar-width: none;
    border-top: 1px solid var(--line); }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav ul { padding: 8px 14px; width: max-content; }
  .header-cta { margin-left: auto; }
  .hero { padding-top: 48px; }
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-art img { max-width: 520px; }
  .br-lg { display: none; }
  .split-flip .split-art { order: 0; }
  .split + .split { margin-top: 72px; }
  .section { padding: 72px 0; }
  .link-diagram { grid-template-columns: 1fr; }
  .device { flex-direction: row; justify-content: flex-start; text-align: left; padding: 18px 20px; }
  .device svg { margin: 0; flex: none; }
  html { scroll-padding-top: 130px; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .grid-3, .grid-2, .grid-4, .field-row { grid-template-columns: 1fr; }
  .dl { grid-template-columns: 1fr; justify-items: start; }
  .spec { grid-template-columns: 1fr; }
  .spec dd { border-top: 0; padding-top: 0; }
  .card, .form { padding: 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta { padding: 40px 20px; }
  .actions .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
  .site-header, .site-footer, .actions, .cta { display: none; }
  body { background: #fff; color: #000; }
}
