/*
  styles.css — Landing page and chat widget styles.
  Rebuilt from the approved design (docs/design/Main.dc.html, Mobile.dc.html,
  Palette.dc.html). Mobile-first: base rules match the mobile mockup;
  the @media (min-width: 1024px) block matches the desktop mockup.
  Built in: Phase 1 (Fri Soft demo site), Step 2 — static page with mocked chat.
*/

/* ---------- Palette & tokens (from docs/design/Palette.dc.html) ---------- */
:root {
  --blue: #14529B;
  --navy: #0B2A57;
  --green: #8CAB2C;
  --green-dark: #5F7B14;
  --ground: #F6F8FB;
  --blue-tint: #EEF3FA;
  --green-tint: #F1F6E1;
  --ink: #14213A;

  --white: #FFFFFF;
  --border: #DCE4F0;
  --border-soft: #E1E8F2;
  --muted: #4F5B6E;
  --muted-2: #5A6679;
  --muted-3: #3E4A5C;
  --placeholder-border: #AFC0D8;
  --device-dark: #123F78;
  --device-blue: #D5E2F2;
  --hill-green: #B7CE72;
  --sky-top: #E3EDF9;
  --sky-bottom: #F4F8E8;
  --chat-bg: #FBFCFE;

  --font-display: 'Roboto Serif', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;

  --container-max: 1200px;
  --radius-lg: 24px;
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
a:hover { color: var(--navy); }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-stretch: 75%;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.005em;
}
p { margin: 0; }
ul { margin: 0; padding: 0; }

/* Visible focus state everywhere */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
  border-radius: 4px;
}

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

.skip-link {
  position: absolute;
  left: 8px;
  top: -48px;
  background: var(--navy);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  z-index: 1000;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 8px; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-dark);
}

.badge {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 8px;
  background: var(--green-tint);
  color: var(--green-dark);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 999px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 24px;
  border-radius: 999px;
  min-height: 44px;
  border: none;
}
.btn-accent { background: var(--green); color: var(--navy); }
.btn-outline {
  background: var(--white);
  color: var(--blue);
  border: 2px solid var(--blue);
  padding: 12px 22px;
}

/* ---------- Header ---------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border-soft);
}
.header-inner {
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.logo { height: 44px; width: auto; }
.main-nav {
  display: none; /* shown at desktop breakpoint, matches Mobile.dc.html (no nav links) */
}
.main-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  color: var(--blue);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--white);
}
.hero-bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}
.hero-inner {
  position: relative;
  padding: 28px 16px 64px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.hero-copy { display: flex; flex-direction: column; gap: 18px; }
.hero-copy h1 {
  font-size: 46px;
  line-height: 1.04;
  letter-spacing: -0.01em;
}
.hero-copy h1 .accent-text { color: var(--blue); }
.hero-copy .lead { font-size: 16px; color: var(--muted); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-facts {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  list-style: none;
}

/* Hero chat frame (hills illustration behind the widget) */
.hero-chat-frame {
  position: relative;
  margin-top: 14px;
}
.hero-chat-hills {
  position: absolute;
  top: -16px;
  right: -16px;
  bottom: -16px;
  left: 28px;
  border-radius: 28px 0 0 28px;
  overflow: hidden;
}
.hero-chat-hills svg { display: block; width: 100%; height: 100%; }

.hero-chat-badge {
  position: absolute;
  right: -6px;
  bottom: -34px;
  z-index: 2;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(11, 42, 87, 0.24);
  padding: 10px 16px 10px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-chat-badge .icon-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.hero-chat-badge strong { font-weight: 700; font-size: 13px; color: var(--navy); display: block; }
.hero-chat-badge span.sub { font-size: 12px; color: var(--muted); }

.hero-reply-badge {
  position: absolute;
  top: -12px;
  right: -14px;
  z-index: 2;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(11, 42, 87, 0.2);
  padding: 10px 16px 10px 12px;
  display: none; /* desktop-only badge, matches Main.dc.html */
  align-items: center;
  gap: 10px;
}
.hero-reply-badge .icon-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--green-tint);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-reply-badge span { font-weight: 700; font-size: 14px; color: var(--navy); }

/* ---------- Chat widget (shared: hero + floating) ---------- */
.chat-widget {
  position: relative;
  margin-right: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(11, 42, 87, 0.2);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.chat-widget-header {
  background: var(--navy);
  color: var(--white);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.chat-widget-header .icon-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.chat-widget-header-text { display: flex; flex-direction: column; }
.chat-widget-header-text .name { font-weight: 700; font-size: 15px; }
.chat-widget-header-text .status {
  font-size: 12px;
  opacity: 0.85;
  display: flex;
  align-items: center;
  gap: 6px;
}
.chat-widget-header-text .status .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  display: inline-block;
}
.chat-widget-close {
  margin-left: auto;
  background: transparent;
  border: none;
  color: var(--white);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: none; /* only shown on the floating panel */
  align-items: center;
  justify-content: center;
}
.chat-widget--floating .chat-widget-close { display: flex; }

.chat-messages {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--chat-bg);
  max-height: 360px;
  overflow-y: auto;
}
.chat-bubble {
  max-width: 94%;
  padding: 11px 14px;
  font-size: 14px;
  border-radius: 4px 16px 16px 16px;
  background: var(--blue-tint);
  align-self: flex-start;
}
.chat-bubble.from-user {
  background: var(--blue);
  color: var(--white);
  border-radius: 16px 16px 4px 16px;
  align-self: flex-end;
  max-width: 80%;
}
.chat-bubble.typing { display: flex; gap: 4px; align-items: center; padding: 14px 16px; }
.chat-bubble.typing .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted);
  opacity: 0.6;
  animation: fs-typing 1.2s infinite ease-in-out;
}
.chat-bubble.typing .dot:nth-child(2) { animation-delay: 0.15s; }
.chat-bubble.typing .dot:nth-child(3) { animation-delay: 0.3s; }
@keyframes fs-typing {
  0%, 80%, 100% { opacity: 0.3; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-3px); }
}

.chat-quick-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chat-quick-btn {
  border: 1.5px solid var(--blue);
  background: var(--white);
  color: var(--blue);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 14px;
  border-radius: 999px;
  min-height: 44px;
}
.chat-quick-btn:hover { background: var(--blue-tint); }

.chat-input-row {
  padding: 12px 14px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
}
.chat-input {
  flex: 1;
  min-width: 0;
  border: 1.5px solid #CBD6E6;
  border-radius: 999px;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--white);
  min-height: 44px;
  box-sizing: border-box;
}
.chat-icon-btn {
  width: 46px;
  height: 46px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--blue);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.chat-icon-btn[aria-pressed="true"] { background: var(--blue-tint); }
.chat-send-btn {
  width: 46px;
  height: 46px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.chat-icon-btn[hidden] { display: none; }

.chat-note {
  padding: 0 16px 14px;
  font-size: 12px;
  color: var(--muted-2);
  background: var(--white);
}

/* Floating launcher + panel */
.chat-launcher {
  position: fixed;
  right: 20px;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  min-height: 48px;
  padding: 0 18px 0 10px;
  border-radius: 999px;
  border: none;
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(11, 42, 87, 0.32);
  z-index: 40;
  visibility: hidden;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  overflow: hidden;
}
.chat-launcher.is-visible {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

/* Open state: collapse to a plain circle with only the close icon. Width,
   padding and justify-content change instantly (not animated — only
   opacity/transform are transitioned, per spec); the label is removed from
   layout via display:none *and* zero width/overflow as a second guard so it
   can never render or occupy space while the circle is this small. */
.chat-launcher.is-open {
  width: 52px;
  height: 52px;
  min-height: 52px;
  padding: 0;
  justify-content: center;
}

.chat-launcher-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--green);
  flex: none;
}
.chat-launcher-icon-glyph {
  display: flex;
  align-items: center;
  justify-content: center;
}
.chat-launcher-icon-glyph svg { display: block; }
.chat-launcher-status-dot {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  border: 2px solid var(--navy);
}
.chat-launcher.is-open .chat-launcher-status-dot { display: none; }

.chat-launcher-label {
  display: inline-block;
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
}
.chat-launcher-label--short { display: none; }
@media (max-width: 359px) {
  .chat-launcher-label--full { display: none; }
  .chat-launcher-label--short { display: inline-block; }
}
/* Belt-and-braces: in the open state the label is both display:none AND
   collapsed to zero width with hidden overflow, so a stale cascade or a
   mid-transition frame can never show or reserve space for the text. */
.chat-launcher.is-open .chat-launcher-label {
  display: none;
  width: 0;
  max-width: 0;
  overflow: hidden;
  visibility: hidden;
}

.chat-launcher-unread-dot {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--green);
  border: 2px solid var(--white);
}
.chat-launcher-unread-dot[hidden] { display: none; }

/* Attention pulse: expanding ring, runs a fixed number of times then stops */
.chat-launcher-ring {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}
.chat-launcher.is-pulsing .chat-launcher-ring {
  animation: fs-launcher-pulse 1.6s ease-out 3;
}
@keyframes fs-launcher-pulse {
  0% { box-shadow: 0 0 0 0 rgba(140, 171, 44, 0.55); }
  100% { box-shadow: 0 0 0 20px rgba(140, 171, 44, 0); }
}

/* Teaser bubble above the launcher */
.chat-launcher-teaser {
  position: fixed;
  right: 20px;
  bottom: calc(80px + env(safe-area-inset-bottom, 0px));
  max-width: min(280px, calc(100vw - 40px));
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px 16px 4px 16px;
  box-shadow: 0 14px 34px rgba(11, 42, 87, 0.22);
  padding: 14px 32px 14px 14px;
  font-size: 14px;
  color: var(--ink);
  z-index: 39;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}
.chat-launcher-teaser.is-visible { opacity: 1; transform: translateY(0); }
.chat-launcher-teaser[hidden] { display: none; }
.chat-launcher-teaser-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
  font-weight: 700;
  font-size: 13px;
  color: var(--navy);
}
.chat-launcher-teaser-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  flex: none;
}
.chat-launcher-teaser p { margin: 0; }
.chat-launcher-teaser-tail {
  position: absolute;
  right: 22px;
  bottom: -8px;
  width: 16px;
  height: 16px;
  background: var(--white);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transform: rotate(45deg);
  border-radius: 0 0 4px 0;
}
.chat-launcher-teaser-close {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 24px;
  height: 24px;
  min-width: 0;
  min-height: 0;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 16px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.chat-launcher-teaser-close:hover { background: var(--ground); }

.chat-widget--floating {
  position: fixed;
  right: 20px;
  /* Launcher is 20px from the bottom and 52px tall when open (the circle) —
     92px leaves a clear ~20px gap above it at every width, comfortably
     above the 12px minimum. */
  bottom: calc(92px + env(safe-area-inset-bottom, 0px));
  width: min(360px, calc(100vw - 32px));
  max-height: min(70vh, 540px);
  margin-right: 0;
  z-index: 50;
}
.chat-widget--floating[hidden] { display: none; }
.chat-widget--floating .chat-messages { max-height: 320px; }

/* Mobile: nearly full width with even 12px side margins, instead of the
   fixed-width card used on larger screens. */
@media (max-width: 599px) {
  .chat-widget--floating {
    left: 12px;
    right: 12px;
    width: auto;
  }
}

/* ---------- How it helps ---------- */
.section { padding: 44px 16px 8px; }
.section .eyebrow { margin-bottom: 8px; }
.section h2 { font-size: 36px; line-height: 1.08; margin-bottom: 22px; }
.feature-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.feature-card .feature-icon { display: none; } /* desktop only, matches Mobile.dc.html */
.feature-card h3 { font-size: 24px; margin-bottom: 0; }
.feature-card p { color: var(--muted); font-size: 15px; }

/* ---------- Our service ---------- */
.service-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.service-card {
  border-radius: 20px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service-card.is-primary { background: var(--navy); color: var(--white); }
.service-card.is-secondary { background: var(--white); border: 1px solid var(--border); }
.service-tag {
  align-self: flex-start;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
}
.service-card.is-primary .service-tag { background: var(--green); color: var(--navy); }
.service-card.is-secondary .service-tag { background: var(--blue-tint); color: var(--blue); }
.service-card h3 { font-size: 30px; line-height: 1.1; }
.service-card.is-primary h3 { color: var(--white); }
.service-card.is-secondary h3 { color: var(--navy); }
.service-card.is-primary p { opacity: 0.9; font-size: 15px; }
.service-card.is-secondary p { color: var(--muted); font-size: 15px; }
.service-card ul {
  margin-top: 6px;
  padding-left: 20px;
  font-size: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: disc;
}
.service-card.is-secondary ul { color: var(--muted); }
.code-sample {
  background: var(--navy);
  border-radius: 14px;
  padding: 16px;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 12px;
  line-height: 1.8;
  color: var(--device-blue);
}
.code-sample .tag { color: var(--green); }
.code-sample .note { opacity: 0.6; }

.plan-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 0;
}
.plan-card { border-radius: 18px; padding: 20px; }
.plan-card.is-monthly { background: var(--green-tint); }
.plan-card.is-addons { background: var(--blue-tint); }
.plan-card h3 { font-size: 22px; margin-bottom: 6px; }
.plan-card p { font-size: 14px; color: var(--muted-3); }

/* ---------- Who it is for ---------- */
.who-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.who-card {
  flex: 1 1 150px;
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.who-card-visual {
  height: 96px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.who-card-visual.tint-a { background: linear-gradient(135deg, var(--blue-tint), var(--green-tint)); }
.who-card-visual.tint-b { background: linear-gradient(135deg, var(--green-tint), var(--blue-tint)); }
.who-card-visual svg.wave { position: absolute; left: 0; bottom: 0; width: 100%; height: 40px; }
.who-card-icon {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 8px 20px rgba(11, 42, 87, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
}
.who-card-body { padding: 12px 14px 16px; }
.who-card h3 {
  font-size: 20px;
  line-height: 1.15;
}
.who-card p { display: none; } /* desktop-only description, matches Mobile.dc.html */

/* ---------- How it works ---------- */
.steps-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.step { display: flex; flex-direction: column; gap: 10px; }
.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-display);
  font-stretch: 75%;
  font-weight: 700;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step:last-child .step-number { background: var(--green); color: var(--navy); }
.step h3 { font-size: 24px; }
.step p { font-size: 15px; color: var(--muted); }

/* ---------- Pricing ---------- */
.pricing-grid { display: flex; flex-direction: column; gap: 14px; }
.price-card {
  background: var(--white);
  border: 2px dashed var(--placeholder-border);
  border-radius: 20px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.price-card h3 { font-size: 22px; }
.price-value {
  font-family: var(--font-display);
  font-stretch: 75%;
  font-size: 34px;
  font-weight: 700;
  color: var(--blue);
}
.price-card p { font-size: 15px; color: var(--muted); }
.pricing-note { margin-top: 14px; font-size: 13px; color: var(--muted-2); }

/* ---------- Contact ---------- */
.contact-panel {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  border-radius: 22px;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: var(--white);
}
.contact-panel-bg { position: absolute; right: 0; bottom: 0; width: 100%; height: 36%; }
.contact-panel h2 { position: relative; color: var(--white); font-size: 36px; line-height: 1.08; }
.contact-panel .lead { position: relative; font-size: 15px; opacity: 0.9; }
.contact-panel .btn { position: relative; align-self: flex-start; text-align: center; }
.contact-details {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
  margin: 6px 0 0;
}
.contact-details .label { opacity: 0.7; }
.contact-details .value { font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--white);
  border-top: 1px solid var(--border-soft);
  padding: 22px 16px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: var(--muted-2);
  text-align: center;
}

/* Toggle desktop/mobile-specific inline SVG illustrations */
.only-desktop { display: none; }
.only-mobile { display: block; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .chat-bubble.typing .dot { animation: none; opacity: 0.6; }
  .chat-bubble, .chat-widget--floating, .skip-link { transition: none !important; }
  .chat-bubble.is-entering { animation: none !important; opacity: 1 !important; }
  .chat-launcher, .chat-launcher-teaser { transition: none !important; transform: none !important; }
  .chat-launcher.is-pulsing .chat-launcher-ring { animation: none !important; }
}
@media (prefers-reduced-motion: no-preference) {
  .chat-bubble.is-entering {
    animation: fs-fade-in 0.35s ease-out;
  }
  @keyframes fs-fade-in {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

/* =========================================================
   Desktop layout — 1024px and up (matches Main.dc.html)
   ========================================================= */
@media (min-width: 1024px) {
  .container { padding: 0 40px; }

  .main-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 28px;
  }
  .header-inner { padding: 12px 40px; flex-wrap: wrap; }
  .nav-cta { font-size: 15px; padding: 12px 22px; }

  .hero-inner {
    padding: 72px 40px 112px;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 56px;
  }
  .hero-copy { flex: 1 1 480px; min-width: 0; gap: 24px; }
  .hero-copy h1 { font-size: 68px; line-height: 1.03; max-width: 620px; }
  .hero-copy .lead { font-size: 19px; max-width: 540px; }
  .hero-facts { flex-direction: row; flex-wrap: wrap; gap: 10px 24px; margin-top: 0; }

  .hero-chat-frame { flex: 1 1 440px; min-width: 0; max-width: 560px; margin-top: 0; }
  .hero-chat-hills { top: -24px; right: -32px; bottom: -24px; left: 56px; border-radius: 36px; }
  .chat-widget { margin-right: 48px; border-radius: 24px; }
  .chat-widget-header { padding: 18px 22px; }
  .chat-widget-header .icon-circle { width: 42px; height: 42px; }
  .chat-widget-header-text .name { font-size: 16px; }
  .chat-widget-header-text .status { font-size: 13px; }
  .chat-messages { padding: 22px; }
  .chat-input-row { padding: 14px 18px; }
  .chat-note { padding: 0 22px 16px; }
  .hero-chat-badge { top: -12px; right: -14px; bottom: auto; border-radius: 999px; }
  .hero-reply-badge { display: flex; }

  .only-desktop { display: block; }
  .only-mobile { display: none; }

  .section { padding: 72px 40px 24px; }
  .section h2 { font-size: 46px; line-height: 1.1; margin-bottom: 36px; }

  .feature-grid { flex-direction: row; flex-wrap: wrap; gap: 24px; }
  .feature-card { flex: 1 1 300px; min-width: 0; border-radius: 20px; padding: 28px; gap: 12px; }
  .feature-card .feature-icon {
    display: flex;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    align-items: center;
    justify-content: center;
    background: var(--blue-tint);
  }
  .feature-card:nth-child(2) .feature-icon,
  .feature-card:nth-child(3) .feature-icon { background: var(--green-tint); }
  .feature-card:nth-child(3) .feature-icon { background: var(--blue-tint); }
  .feature-card h3 { font-size: 26px; }
  .feature-card p { font-size: 16px; }

  .service-grid { flex-direction: row; flex-wrap: wrap; gap: 24px; }
  .service-card { flex: 1 1 440px; min-width: 0; border-radius: 24px; padding: 36px; }
  .service-card h3 { font-size: 36px; }
  .plan-grid { flex-direction: row; flex-wrap: wrap; gap: 24px; margin-top: 24px; }
  .plan-card { flex: 1 1 440px; min-width: 0; border-radius: 20px; padding: 28px; }
  .plan-card h3 { font-size: 24px; }
  .code-sample { padding: 22px; font-size: 14px; }

  .who-card-visual { height: 150px; }
  .who-card-visual svg.wave { height: 64px; }
  .who-card-icon { width: 88px; height: 88px; }
  .who-card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 6px; }
  .who-card h3 { font-size: 28px; }
  .who-card p { display: block; font-size: 15px; color: var(--muted); }

  .steps-grid { flex-direction: row; flex-wrap: wrap; gap: 24px; }
  .step { flex: 1 1 240px; min-width: 0; }

  .pricing-grid { flex-direction: row; flex-wrap: wrap; gap: 24px; }
  .price-card { flex: 1 1 440px; min-width: 0; border-radius: 24px; padding: 36px; }
  .price-card h3 { font-size: 26px; }
  .price-value { font-size: 44px; }
  .pricing-note { margin-top: 18px; font-size: 14px; }

  .contact-panel { border-radius: 28px; padding: 56px; flex-direction: row; flex-wrap: wrap; gap: 40px; }
  .contact-panel-bg { width: 60%; height: 70%; }
  .contact-copy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
  .contact-panel h2 { font-size: 46px; line-height: 1.08; }
  .contact-panel .lead { font-size: 17px; }
  .contact-details { flex: 1 1 320px; min-width: 0; font-size: 16px; margin: 0; }

  .footer-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 28px 40px;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 14px;
  }
  .site-footer { padding: 0; }

  #header-book-call { display: none; }
}
