/* RoundWatch public site, from Claude Design's export (design/export/). Follows the device's light or dark setting. */
:root {
  --bg: #212529;
  --surface: #2b3035;
  --chip: #1c2a40;
  --line: #495057;
  --text: #dee2e6;
  --muted: #adb5bd;
  --strong: #f8f9fa;
  --link: #6ea8fe;
  --btn: #0b5ed7;
  --btn-hover: #0a58ca;
  --btn-text: #ffffff;
  --ok-bg: #13392a;
  --ok-text: #75b798;
  --frame: #0b0d0f;
  --frame-edge: #5c636a;
  --route: rgba(110, 168, 254, 0.16);
  --soon-bg: #3d3209;
  --soon-text: #ffda6a;
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #ffffff;
    --surface: #f4f6f8;
    --chip: #e7f0fe;
    --line: #dee2e6;
    --text: #212529;
    --muted: #5c636a;
    --strong: #000000;
    --link: #0a58ca;
    --ok-bg: #d1e7dd;
    --ok-text: #0a3622;
    --frame: #212529;
    --frame-edge: #adb5bd;
    --route: rgba(10, 88, 202, 0.1);
    --soon-bg: #fff3cd;
    --soon-text: #664d03;
    color-scheme: light;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.55;
}

body.home {
  line-height: 1.6;
}

h1, h2, h3, p, ul, ol {
  margin: 0;
}

h1, h2, h3 {
  color: var(--strong);
}

a {
  color: var(--link);
}

a:hover {
  color: var(--strong);
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--link);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding-left: clamp(20px, 4vw, 40px);
  padding-right: clamp(20px, 4vw, 40px);
  box-sizing: border-box;
}

.band {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 clamp(18px, 4vw, 28px);
  border-radius: 10px;
  box-sizing: border-box;
  font-weight: 600;
  text-decoration: none;
}

.btn-large {
  min-height: 56px;
}

.btn-primary,
.btn-primary:hover {
  color: var(--btn-text);
}

.btn-primary {
  background: var(--btn);
}

.btn-primary:hover {
  background: var(--btn-hover);
}

.btn-outline {
  border: 1px solid var(--line);
  color: var(--strong);
  max-width: 100%;
  overflow-wrap: anywhere;
}

.btn-outline:hover {
  background: var(--surface);
}

/* Header and footer */

.site-header {
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  color: var(--strong);
  text-decoration: none;
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.01em;
}

/* The app's own icon (RoundWatch wwwroot/icons), redrawn as favicon.svg: one product, one icon. */
.brand img {
  display: block;
}

.site-footer {
  border-top: 1px solid var(--line);
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 32px;
  padding-top: 20px;
  padding-bottom: 28px;
  font-size: 16px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 24px;
}

.site-footer nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.site-footer p {
  color: var(--muted);
}

/* Home: shared pieces */

.eyebrow {
  color: var(--link);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 8px;
}

.checks {
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.checks svg {
  flex: none;
  margin-top: 2px;
}

.checks circle {
  fill: var(--ok-bg);
}

.checks path {
  fill: none;
  stroke: var(--ok-text);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* The faint patrol routes behind the hero and the closing section. */
.routes {
  position: relative;
  overflow: hidden;
}

.routes-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  stroke: var(--route);
}

.routes-stops {
  fill: var(--route);
  stroke: none;
}

.routes > .wrap {
  position: relative;
}

.shots {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
  display: flex;
  justify-content: center;
}

.phone {
  box-sizing: border-box;
  width: 416px;
  max-width: 100%;
  padding: 12px;
  border-radius: 52px;
  background: var(--frame);
  border: 1px solid var(--frame-edge);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}

.phone-screen {
  border-radius: 40px;
  overflow: hidden;
  background: var(--bg);
}

.phone-screen img {
  display: block;
  width: 100%;
  height: auto;
}

.section {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-top: clamp(56px, 8vw, 104px);
  padding-bottom: clamp(56px, 8vw, 104px);
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 680px;
}

.section-head h2,
.faq-head h2,
.cta h2 {
  font-size: clamp(30px, 3.8vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.015em;
}

/* Home: hero */

.hero-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 56px 64px;
  padding-top: clamp(40px, 7vw, 96px);
  padding-bottom: clamp(48px, 7vw, 96px);
}

.hero-text {
  flex: 1 1 460px;
  min-width: 0;
  max-width: 620px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero h1 {
  font-size: clamp(40px, 5.4vw, 66px);
  line-height: 1.04;
  letter-spacing: -0.025em;
}

.lead {
  font-size: clamp(20px, 2.2vw, 23px);
  line-height: 1.5;
}

/* Home: for patrollers and coordinators */

.audiences {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.audience {
  flex: 1 1 340px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(24px, 3.5vw, 40px);
  border-radius: 20px;
  background: var(--bg);
  border: 1px solid var(--line);
}

.audience h3 {
  font-size: clamp(24px, 2.6vw, 30px);
  line-height: 1.2;
}

/* Home: how it works, each part beside its screenshot, the middle one mirrored */

.how {
  gap: clamp(64px, 9vw, 120px);
  padding-top: clamp(56px, 8vw, 112px);
  padding-bottom: clamp(56px, 8vw, 112px);
}

.part {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px 80px;
}

.part-flip {
  flex-direction: row-reverse;
}

.part-text {
  flex: 1 1 340px;
  min-width: 0;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.part h3 {
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

/* A part not in production yet, under the one badge the page allows, "Coming soon" (owner, 2026-12-02). */
.soon {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
  padding: 20px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.soon h4 {
  margin: 0;
  color: var(--strong);
  font-size: 20px;
  line-height: 1.3;
}

.badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  background: var(--soon-bg);
  color: var(--soon-text);
  font-size: 16px;
  font-weight: 600;
}

/* Home: the details */

.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 20px;
}

.detail {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 24px;
  border-radius: 16px;
  background: var(--bg);
  border: 1px solid var(--line);
}

.detail h3 {
  font-size: 21px;
  line-height: 1.3;
}

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

.chip {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--chip);
  color: var(--link);
  display: flex;
  align-items: center;
  justify-content: center;
}

.chip svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Home: a shift, start to finish */

.steps {
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  gap: 16px;
}

.step {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 20px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.step-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--btn);
  color: var(--btn-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 19px;
}

.step-mark-done {
  box-sizing: border-box;
  border: 2px solid var(--ok-text);
  background: var(--ok-bg);
  color: var(--ok-text);
}

.step-mark svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.step h3 {
  font-size: 20px;
  line-height: 1.3;
}

.step p {
  color: var(--muted);
  font-size: 17px;
}

/* Home: questions. The rule above them parts them from the steps, which share their background. */

.faq-band {
  border-top: 1px solid var(--line);
}

.faq {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 32px 80px;
}

.faq-head {
  flex: 1 1 280px;
  min-width: 0;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-list {
  flex: 999 1 480px;
  min-width: 0;
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
  padding: 8px 0;
  cursor: pointer;
  list-style: none;
  color: var(--strong);
  font-size: 20px;
  font-weight: 600;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

/* A chevron that turns when the answer opens, so a visitor can see each question opens. */
.faq-list summary::after {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  margin: 0 6px 6px auto;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.faq-list details[open] summary::after {
  margin-bottom: -6px;
  transform: rotate(-135deg);
}

.faq-list details p {
  padding: 0 0 24px;
  max-width: 680px;
}

/* Home: closing call to action */

.cta {
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  padding-top: clamp(56px, 8vw, 104px);
  padding-bottom: clamp(56px, 8vw, 104px);
}

.cta p {
  max-width: 560px;
}

.cta .actions {
  justify-content: center;
}

.cta .btn-outline:hover {
  background: var(--bg);
}

/* Privacy policy and terms of use: the reading layout */

.doc {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) clamp(20px, 4vw, 40px) clamp(56px, 8vw, 96px);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.doc-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.back {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-size: 17px;
}

.doc h1 {
  font-size: clamp(36px, 5vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.doc-lead {
  color: var(--strong);
  font-size: 20px;
  line-height: 1.5;
}

.doc section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.doc h2 {
  font-size: clamp(23px, 2.6vw, 26px);
  line-height: 1.25;
}

/* With the section's 14px gap: 28px above a subheading, 14px below, so it sits with the text it introduces. */
.doc h3 {
  margin-top: 14px;
  font-size: 19px;
}

.doc li + li {
  margin-top: 8px;
}
