/* MC Works: shared styles for index, privacy, terms. Plain CSS, no build step. */
@import url("https://fonts.googleapis.com/css2?family=Figtree:wght@400;500;700&display=swap");

:root {
  --navy: #152338;
  --blue: #1f5fbf;
  --blue-deep: #184c9a;
  --slate: #51627a;
  --mist: #eef4fc;
  --line: #d9e3f1;
  --white: #ffffff;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 40px;
  --space-5: 64px;
  --space-6: 96px;

  --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-family: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 8px;
}

.wrap {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 var(--space-3);
}

/* Header */
.site-header {
  position: relative;
  z-index: 2;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--navy);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.brand img { height: 44px; width: auto; display: block; }
.header-phone {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 var(--space-2);
  color: var(--navy);
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  border-radius: 999px;
  transition: background-color 160ms ease;
}
.header-phone:hover { background: var(--mist); }
.header-phone:active { background: var(--line); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: var(--space-5) 0 var(--space-6);
  isolation: isolate;
}
.hero::before {
  /* faint dot grid, fades out toward the edges */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: radial-gradient(rgba(21, 35, 56, 0.16) 1px, transparent 1.2px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 35%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 35%, #000 20%, transparent 75%);
}
.hero::after {
  /* soft blue glow, the one allowed wash (reference look) */
  content: "";
  position: absolute;
  left: 50%;
  bottom: -30%;
  width: 140%;
  height: 80%;
  z-index: -1;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at 50% 100%, rgba(31, 95, 191, 0.16), transparent 65%);
}

.pill {
  display: inline-block;
  margin: 0 0 var(--space-3);
  padding: 6px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--blue-deep);
  background: rgba(238, 244, 252, 0.9);
  border: 1px solid var(--line);
  border-radius: 999px;
}

h1 {
  max-width: 14ch;
  margin: 0 auto var(--space-3);
  font-size: clamp(2.5rem, 9.5vw, 4.75rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
h1 .hl { color: var(--blue); }

.subline {
  max-width: 34em;
  margin: 0 auto var(--space-4);
  color: var(--slate);
  font-size: clamp(1.0625rem, 3.6vw, 1.25rem);
  text-wrap: balance;
}

.actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  max-width: 420px;
  margin: 0 auto;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  font: inherit;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 12px;
  transition: transform 220ms var(--ease-spring), box-shadow 220ms ease, background-color 160ms ease;
}
.btn-solid {
  color: var(--white);
  background: var(--blue);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.18) inset,
    0 1px 2px rgba(21, 53, 110, 0.28),
    0 8px 20px -6px rgba(31, 95, 191, 0.45);
}
.btn-solid:hover {
  background: var(--blue-deep);
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.18) inset,
    0 2px 4px rgba(21, 53, 110, 0.3),
    0 14px 28px -8px rgba(31, 95, 191, 0.5);
}
.btn-solid:active { transform: translateY(0); }
/* Sections */
.section { padding: var(--space-5) 0; }
.band-mist { background: var(--mist); }
.band-navy { background: var(--navy); color: var(--white); }
.band-navy :focus-visible { outline-color: var(--white); }
.center { text-align: center; }

h2.section-title {
  margin: 0 0 var(--space-4);
  font-size: clamp(1.75rem, 5.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-align: center;
  text-wrap: balance;
}
h3 {
  margin: 0 0 var(--space-1);
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.icon {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 var(--space-2);
  color: var(--slate);
  font-size: 16px;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 160ms ease;
}
.text-link:hover { color: var(--blue); }
.text-link:active { color: var(--blue-deep); }
.band-navy .text-link { color: rgba(255, 255, 255, 0.82); }
.band-navy .text-link:hover { color: var(--white); }

/* Cards */
.cards {
  display: grid;
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}
.card {
  padding: var(--space-3);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow:
    0 1px 2px rgba(21, 35, 56, 0.05),
    0 12px 24px -12px rgba(31, 95, 191, 0.18);
}
.card .icon { color: var(--blue); margin-bottom: var(--space-2); }
.card p { margin: 0; color: var(--slate); font-size: 16px; }

/* Phone mockup */
.example-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}
.example-caption {
  max-width: 18em;
  margin: 0;
  font-size: clamp(1.5rem, 5.5vw, 2.125rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  text-align: center;
  text-wrap: balance;
  order: 2;
}
.example-phone { order: 1; text-align: center; }
.example-tag {
  display: inline-block;
  margin-bottom: var(--space-2);
  padding: 4px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
}
.phone {
  width: 300px;
  max-width: 100%;
  margin: 0 auto;
  padding: 10px;
  background: #0b1524;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 42px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.55), 0 8px 18px -8px rgba(0, 0, 0, 0.4);
}
.screen {
  overflow: hidden;
  background: var(--white);
  color: var(--navy);
  border-radius: 32px;
  text-align: left;
}
.thread-head {
  padding: 14px var(--space-2);
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.thread {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: var(--space-2) 14px var(--space-3);
}
.thread p { margin: 0; }
.missed {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--slate);
  font-size: 13px;
}
.missed svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.bubble {
  max-width: 82%;
  padding: 9px 14px;
  font-size: 15px;
  line-height: 1.4;
  border-radius: 18px;
}
.bubble.them { align-self: flex-start; background: #e6edf6; border-bottom-left-radius: 6px; }
.bubble.you { align-self: flex-end; color: var(--white); background: var(--blue); border-bottom-right-radius: 6px; }

/* Steps */
.steps {
  display: grid;
  gap: var(--space-4);
  max-width: 1000px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.steps li { display: grid; grid-template-columns: 48px 1fr; column-gap: var(--space-2); }
.steps .step-num { grid-row: span 2; }
.steps p { margin: 0; color: var(--slate); font-size: 16px; }
.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--blue);
  font-weight: 700;
  font-size: 19px;
  border: 2px solid var(--blue);
  border-radius: 50%;
}

/* Works with */
.tools {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3) var(--space-2);
  max-width: 720px;
  margin: 0 auto var(--space-4);
  padding: 0;
  list-style: none;
  font-weight: 500;
}
.tool-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-1);
  color: var(--blue);
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: 0 8px 16px -10px rgba(31, 95, 191, 0.3);
}
.tools-note { margin: 0; color: var(--slate); }

/* FAQ */
.faq { max-width: 720px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 60px;
  padding: var(--space-1) 40px var(--space-1) 0;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -8px;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(45deg);
  transition: transform 220ms var(--ease-spring);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq summary:hover { color: var(--blue); }
.faq details p { margin: 0 0 var(--space-3); max-width: 60ch; color: var(--slate); }

/* Closing band */
.closing .section-title { max-width: 16em; margin: 0 auto var(--space-3); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: var(--space-4) 0;
  color: var(--slate);
  font-size: 15px;
}
.site-footer .wrap {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-3); }
.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--navy);
}
.site-footer a:hover { color: var(--blue); }
.site-footer p { margin: 0; }
.footer-info { display: flex; flex-direction: column; gap: 2px; }

/* Legal pages */
.legal { padding: var(--space-4) 0 var(--space-5); }
.legal .wrap { max-width: 720px; }
.legal h1 {
  max-width: none;
  margin: 0 0 var(--space-1);
  font-size: clamp(2rem, 7vw, 2.75rem);
  text-align: left;
}
.legal h2 {
  margin: var(--space-4) 0 var(--space-1);
  font-size: 1.375rem;
  letter-spacing: -0.02em;
  text-align: left;
}
.legal p, .legal li { color: var(--navy); max-width: 65ch; }
.legal ul { padding-left: 1.25em; }
.legal li + li { margin-top: 6px; }
.legal .meta { color: var(--slate); margin: 0 0 var(--space-3); }
.legal address { font-style: normal; }

/* Motion: hover/active transforms only; none unprompted */
@media (prefers-reduced-motion: reduce) {
  .btn, .header-phone { transition: none; }
}

/* Desktop */
@media (min-width: 720px) {
  .hero { padding: 96px 0 128px; }
  .actions { align-items: center; max-width: none; }
  .section { padding: 96px 0; }
  .cards { grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }
  .example-grid { flex-direction: row; justify-content: center; gap: 96px; }
  .example-caption { order: 1; text-align: left; max-width: 12em; font-size: 2.5rem; }
  .example-phone { order: 2; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
  .steps li { display: block; }
  .steps .step-num { margin-bottom: var(--space-2); }
  .tools { grid-template-columns: repeat(4, 1fr); }
  .site-footer .wrap { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* Keep phone numbers on one line */
a[href^="tel:"], a[href^="sms:"] { white-space: nowrap; }

@media (min-width: 1040px) {
  .cards { grid-template-columns: repeat(4, 1fr); }
}

/* Not just phones */
.more {
  display: grid;
  gap: var(--space-4);
  max-width: 960px;
  margin: 0 auto var(--space-4);
  padding: 0;
  list-style: none;
}
.more .icon { color: var(--blue); margin-bottom: var(--space-1); }
.more p { margin: 0; color: var(--slate); font-size: 16px; }
.more-note { margin: 0; text-align: center; font-weight: 700; letter-spacing: -0.01em; }
@media (min-width: 720px) {
  .more { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1040px) {
  .more { grid-template-columns: repeat(3, 1fr); }
}

/* Button label by input type: touch keeps the booking label, desktop shows the number */
.label-desk { display: none; }
@media (hover: hover) and (pointer: fine) {
  .label-touch { display: none; }
  .label-desk { display: inline; }
  .actions .text-link { display: none; }
}
