/* Tailwatch website. Colors come from the app icon: deep navy, teal radar rings, warm trail
   accents. Light and dark follow the visitor's system setting. No JavaScript, no web fonts. */
:root {
  --bg: #ffffff; --bg-soft: #f3f6fb; --card: #ffffff; --line: #dbe2ee;
  --text: #0e1830; --muted: #4a5873; --navy: #122a5c; --midnight: #050a1c;
  --teal: #0b7f77; --teal-bright: #2ed3c6; --accent: #b25e00;
  --button-bg: #122a5c; --button-text: #ffffff;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #070d1f; --bg-soft: #0c1530; --card: #101b3a; --line: #24345e;
    --text: #eef2fb; --muted: #a9b6d3; --teal: #2ed3c6; --accent: #fad600;
    --button-bg: #2ed3c6; --button-text: #05101f;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}
.wrap { max-width: 1060px; margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 740px; }
a { color: var(--teal); text-underline-offset: 3px; }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--teal-bright); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 0; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.lead { font-size: 1.2rem; color: var(--muted); }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--card); padding: 8px 12px; z-index: 10; }

.site-header { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 5; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 58px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; color: var(--text); text-decoration: none; }
.brand img { border-radius: 7px; }
nav a { margin-left: 20px; color: var(--muted); text-decoration: none; font-weight: 500; }
nav a:hover, nav a[aria-current] { color: var(--text); }

.button {
  display: inline-block; background: var(--button-bg); color: var(--button-text); text-decoration: none;
  font-weight: 650; padding: 11px 20px; border-radius: 11px;
}
.button.large { font-size: 1.1rem; padding: 14px 26px; }
.button:hover { filter: brightness(1.12); }

section { padding: 64px 0; }
section.soft { background: var(--bg-soft); }
.hero { padding: 64px 0 40px; text-align: center; }
.hero .lead { max-width: 640px; margin: 0 auto 1.4em; }
.hero .fine { font-size: 0.9rem; color: var(--muted); margin-top: 12px; }
.hero-art { margin: 40px auto 0; max-width: 980px; }
.hero-art img { width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(5, 10, 28, 0.25); display: block; }
figcaption { font-size: 0.85rem; color: var(--muted); margin-top: 10px; }
figure { margin: 0; }

.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin-top: 28px; }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.card p:last-child { margin-bottom: 0; }
.card .icon { width: 38px; height: 38px; color: var(--teal); margin-bottom: 12px; display: block; }
.steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin: 28px 0 0; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.steps li::before { counter-increment: step; content: counter(step); display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; margin-bottom: 10px; }
.price { text-align: center; }
.price .amount { font-size: 3rem; font-weight: 750; letter-spacing: -0.02em; }
details { border-bottom: 1px solid var(--line); padding: 14px 0; }
summary { cursor: pointer; font-weight: 650; font-size: 1.05rem; }
details p { margin: 10px 0 0; color: var(--muted); }

.doc { padding: 48px 0 72px; }
.doc h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.doc h2 { margin-top: 1.8em; font-size: 1.45rem; }
.doc h3 { margin-top: 1.5em; }
.doc li { margin-bottom: 0.4em; }
.doc table { border-collapse: collapse; width: 100%; margin: 1em 0; font-size: 0.95rem; }
.doc th, .doc td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.note { background: var(--bg-soft); border-left: 4px solid var(--teal); padding: 14px 16px; border-radius: 0 10px 10px 0; margin: 1.2em 0; }
.crumbs { font-size: 0.9rem; color: var(--muted); margin-bottom: 14px; }
.cta-band { text-align: center; }
kbd { font: inherit; font-size: 0.9em; border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px; background: var(--bg-soft); }

.site-footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 0.92rem; }
.site-footer nav a { margin: 0 20px 0 0; }
.site-footer p { margin-top: 14px; }
@media (max-width: 560px) {
  section { padding: 44px 0; }
  nav a { margin-left: 14px; }
  .site-header nav a:first-child { display: none; }
}
