:root {
  --navy: #111111;
  --navy-2: #000000;
  --slate: #3d3d3d;
  --ink: #111111;
  --mist: #fff4c2;
  --surface: #ffffff;
  --line: #111111;
  --line-soft: #111111;
  --orange: #ff5a1f;
  --orange-dark: #e04a10;
  --orange-soft: #ffe0d1;
  --teal: #00c2e0;
  --teal-soft: #c9f4fb;
  --blue: #2350d8;
  --blue-soft: #d6e2ff;
  --green: #0c8a4f;
  --green-soft: #c8f7d9;
  --red: #e0352b;
  --red-soft: #ffd1cc;
  --shadow-sm: 3px 3px 0 #111111;
  --shadow-md: 6px 6px 0 #111111;
  --radius: 0px;
  --max-width: 1200px;
  --header-height: 64px;
}

* { box-sizing: border-box; }
/* Author rules such as `.visitor-menu { display: grid }` and `.chat-panel { display: flex }`
   outrank the user-agent `[hidden] { display: none }`, which left the country/timezone
   dropdown and the live-chat panel permanently open and covering the header navigation. */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid rgba(0, 184, 217, 0.5); outline-offset: 2px; }

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  background: var(--surface);
  border-radius: var(--radius);
  color: var(--navy);
  transform: translateY(-140%);
  transition: transform 160ms ease;
}
.skip-link:focus { transform: translateY(0); }
.container { width: min(calc(100% - 40px), var(--max-width)); margin: 0 auto; }
.section { padding: 72px 0; }
.section-muted { background: var(--mist); }
.section-navy { background: var(--navy); color: #fff; }
.section-navy .section-kicker { color: #ffb18a; }
.section-navy .section-title { color: #fff; }
.section-navy .section-copy { color: #cbd5e1; }
.section-head { max-width: 720px; margin-bottom: 34px; }
.section-head.center { margin-right: auto; margin-left: auto; text-align: center; }
.section-kicker {
  margin: 0 0 10px;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}
.section-title {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.85rem, 4vw, 3rem);
  line-height: 1.12;
  letter-spacing: 0;
}
.section-copy {
  margin: 14px 0 0;
  color: var(--slate);
  font-size: 1.02rem;
  line-height: 1.7;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  line-height: 1;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--orange); color: #fff; box-shadow: 0 7px 18px rgba(254, 88, 3, 0.22); }
.button-primary:hover { background: var(--orange-dark); }
.button-secondary { background: var(--navy); color: #fff; }
.button-secondary:hover { background: #24394b; }
.button-light { background: #fff; border-color: var(--line); color: var(--navy); }
.button-light:hover { border-color: #b9c6d2; }
.button-outline { border-color: rgba(255, 255, 255, 0.35); color: #fff; background: transparent; }
.button-outline:hover { background: rgba(255, 255, 255, 0.1); }
.button-ghost { color: var(--blue); background: transparent; padding-left: 0; padding-right: 0; }
.button-block { width: 100%; }
.icon { width: 20px; height: 20px; flex: 0 0 20px; }
.icon-lg { width: 28px; height: 28px; flex-basis: 28px; }
.icon-sm { width: 17px; height: 17px; flex-basis: 17px; }

.topbar { min-height: 34px; display: flex; align-items: center; background: var(--navy-2); color: #d9e1ea; font-size: 0.82rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 34px; }
.topbar-left, .topbar-right, .topbar-links { display: flex; align-items: center; gap: 16px; }
.topbar a { display: inline-flex; align-items: center; gap: 6px; color: #d9e1ea; }
.topbar a:hover { color: #fff; }
.topbar-divider { width: 1px; height: 15px; background: rgba(255, 255, 255, 0.2); }

.site-header { position: sticky; top: 0; z-index: 100; min-height: var(--header-height); background: #fff; border-bottom: 1px solid var(--line-soft); }
.site-header.scrolled { box-shadow: 0 8px 24px rgba(20, 32, 43, 0.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-height); }
.brand { display: inline-flex; align-items: center; color: var(--navy); text-decoration: none; padding-bottom: 4px; }
.brand-type {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  font-size: 1.52rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
}
.brand-type::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--orange) 0%, var(--orange) 38%, var(--teal) 100%);
}
.brand-w { color: var(--orange); }
.brand-rest { color: var(--navy); }
.brand-tld { margin-left: 1px; color: var(--slate); font-size: 1.14rem; font-weight: 600; letter-spacing: -0.01em; }
.footer .brand-rest { color: #fff; }
.footer .brand-tld { color: #9fb0bf; }
.footer .brand { padding-bottom: 6px; }
.primary-nav { display: flex; align-items: center; gap: 2px; }
.primary-nav a {
  position: relative;
  padding: 20px 11px;
  color: #34475a;
  font-size: 0.88rem;
  font-weight: 600;
}
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--orange); }
.primary-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 0; height: 3px; background: var(--orange); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--navy); }

.hero { position: relative; min-height: 580px; display: flex; align-items: center; overflow: hidden; background: var(--navy-2); color: #fff; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 32, 43, 0.98) 0%, rgba(20, 32, 43, 0.9) 48%, rgba(20, 32, 43, 0.55) 100%);
}
.hero-inner { position: relative; z-index: 1; width: min(calc(100% - 40px), var(--max-width)); margin: 0 auto; padding: 76px 0 84px; }
.hero-content { max-width: 720px; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #dce6f0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
}
.hero h1 { margin: 0; max-width: 780px; font-size: clamp(2.4rem, 6vw, 4.75rem); line-height: 0.98; letter-spacing: 0; }
.hero-copy { margin: 22px 0 0; max-width: 640px; color: #c9d5e1; font-size: clamp(1.02rem, 2vw, 1.22rem); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-search { margin-top: 34px; max-width: 730px; }
.search-shell { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 8px; background: #fff; border: 1px solid rgba(255, 255, 255, 0.65); border-radius: 9px; box-shadow: 0 22px 60px rgba(0, 0, 0, 0.24); }
.search-shell input { min-width: 0; height: 46px; padding: 0 14px; border: 0; outline: 0; background: transparent; color: var(--navy); font-size: 1rem; }
.search-shell input::placeholder { color: #8793a0; }
.hero-hints { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; color: #b7c4d1; font-size: 0.82rem; }
.hero-hints button { border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 999px; padding: 5px 10px; background: transparent; color: #dce6f0; }
.hero-hints button:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }

.trust-strip { border-bottom: 1px solid var(--line-soft); background: #fff; }
.trust-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; padding: 22px 0; list-style: none; }
.trust-item { display: flex; align-items: center; gap: 12px; padding: 0 22px; border-right: 1px solid var(--line-soft); }
.trust-item:first-child { padding-left: 0; }
.trust-item:last-child { border-right: 0; padding-right: 0; }
.trust-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 8px; background: var(--teal-soft); color: var(--blue); }
.trust-item strong { display: block; color: var(--navy); font-size: 0.96rem; line-height: 1.2; }
.trust-item span { display: block; color: var(--slate); font-size: 0.8rem; margin-top: 2px; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card {
  position: relative;
  min-height: 100%;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}
.service-card:hover { border-color: #c4d1dc; box-shadow: var(--shadow-md); transform: translateY(-3px); }
.service-card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.service-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 9px; background: var(--orange-soft); color: var(--orange); }
.service-icon.blue { background: var(--blue-soft); color: var(--blue); }
.service-icon.teal { background: var(--teal-soft); color: #0089a3; }
.service-card h3 { margin: 18px 0 8px; color: var(--navy); font-size: 1.18rem; line-height: 1.25; }
.service-card p { margin: 0; color: var(--slate); font-size: 0.94rem; line-height: 1.65; }
.service-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.tag { display: inline-flex; align-items: center; border-radius: 999px; padding: 5px 9px; background: var(--mist); color: #4e5d6d; font-size: 0.75rem; font-weight: 600; }
.service-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.service-price { color: var(--navy); font-weight: 800; }
.service-price small { display: block; color: var(--slate); font-size: 0.72rem; font-weight: 500; }

.finder { position: relative; overflow: hidden; background: var(--navy); color: #fff; }
.finder::after { content: ""; position: absolute; top: -140px; right: -100px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(0, 184, 217, 0.28), rgba(0, 184, 217, 0)); }
.finder-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 46px; align-items: center; }
.finder-copy h2 { margin: 0; color: #fff; font-size: clamp(1.85rem, 4vw, 3rem); line-height: 1.12; }
.finder-copy p { margin: 15px 0 0; color: #cbd5e1; line-height: 1.7; }
.finder-steps { display: grid; gap: 12px; margin-top: 24px; }
.finder-step { display: flex; gap: 12px; align-items: flex-start; }
.finder-step-index { width: 24px; height: 24px; flex: 0 0 24px; display: grid; place-items: center; border-radius: 50%; background: var(--orange); color: #fff; font-size: 0.76rem; font-weight: 800; }
.finder-step strong { display: block; color: #fff; font-size: 0.92rem; }
.finder-step span { display: block; color: #aebccb; font-size: 0.82rem; margin-top: 3px; }

.wizard { padding: 24px; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 10px; background: rgba(255, 255, 255, 0.06); box-shadow: 0 26px 60px rgba(0, 0, 0, 0.2); }
.wizard-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.wizard-title { margin: 0; font-size: 1.15rem; color: #fff; }
.wizard-count { color: #aebccb; font-size: 0.78rem; }
.wizard-question { margin: 0 0 14px; color: #fff; font-size: 1rem; }
.option-list { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.option-button { width: 100%; min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: var(--radius); background: rgba(255, 255, 255, 0.04); color: #e8eff6; text-align: left; transition: border-color 150ms ease, background 150ms ease; }
.option-button:hover, .option-button.selected { border-color: var(--orange); background: rgba(254, 88, 3, 0.13); }
.option-button .arrow { color: #8fa1b5; }
.wizard-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 20px; }
.wizard-result { display: none; margin-top: 18px; padding: 16px; border: 1px solid rgba(0, 184, 217, 0.35); border-radius: var(--radius); background: rgba(0, 184, 217, 0.08); }
.wizard-result.active { display: block; }
.wizard-result strong { display: block; color: #fff; margin-bottom: 6px; }
.wizard-result p { margin: 0; color: #cbd5e1; font-size: 0.9rem; }

.tools-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tool-card { display: flex; flex-direction: column; min-height: 100%; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.tool-card .icon { color: var(--teal); }
.tool-card h3 { margin: 18px 0 8px; color: var(--navy); font-size: 1.08rem; }
.tool-card p { margin: 0 0 18px; color: var(--slate); font-size: 0.9rem; line-height: 1.6; }
.tool-card .button { margin-top: auto; justify-content: flex-start; }

.showcase-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: center; }
.showcase-copy .check-list { margin-top: 20px; }
.comparison { position: relative; min-height: 410px; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; user-select: none; }
.comparison-layer { position: absolute; inset: 0; background-repeat: no-repeat; background-position: center; background-size: cover; }
.comparison-before { filter: grayscale(0.9) brightness(0.75); }
.comparison-after { width: 50%; border-right: 2px solid #fff; }
.comparison-handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: #fff; transform: translateX(-50%); }
.comparison-handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 42px; height: 42px; border: 2px solid #fff; border-radius: 50%; background: var(--orange); transform: translate(-50%, -50%); box-shadow: 0 0 0 8px rgba(20, 32, 43, 0.16); }
.comparison-label { position: absolute; top: 16px; z-index: 2; padding: 6px 9px; border-radius: 5px; background: rgba(20, 32, 43, 0.76); color: #fff; font-size: 0.75rem; font-weight: 700; }
.comparison-label.before { left: 16px; }
.comparison-label.after { right: 16px; }

.check-list { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; color: #42576a; }
.check-list .check { width: 22px; height: 22px; flex: 0 0 22px; display: grid; place-items: center; border-radius: 50%; background: var(--green-soft); color: var(--green); }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.post-card { display: flex; flex-direction: column; min-height: 100%; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.post-media { aspect-ratio: 16 / 9; background: var(--navy); }
.post-media img { width: 100%; height: 100%; object-fit: cover; }
.post-body { display: flex; flex-direction: column; flex: 1; padding: 22px; }
.post-category { color: var(--orange); font-size: 0.78rem; font-weight: 700; }
.post-body h3 { margin: 10px 0 8px; color: var(--navy); font-size: 1.12rem; line-height: 1.35; }
.post-body p { margin: 0; color: var(--slate); font-size: 0.9rem; line-height: 1.62; }
.post-meta { display: flex; align-items: center; gap: 8px; margin-top: 18px; color: #7a8794; font-size: 0.78rem; }

.cta-band { position: relative; overflow: hidden; padding: 64px 0; background: var(--orange); color: #fff; }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); }
.cta-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta-inner h2 { margin: 0; color: #fff; font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.15; }
.cta-inner p { margin: 10px 0 0; color: #ffe7d9; }

.footer { padding: 58px 0 26px; background: var(--navy-2); color: #d8e1ea; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 36px; }
.footer-brand p { margin: 16px 0 0; max-width: 340px; color: #9fb0bf; font-size: 0.9rem; line-height: 1.65; }
.footer h3 { margin: 0 0 15px; color: #fff; font-size: 0.9rem; }
.footer-links { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.footer-links a { color: #9fb0bf; font-size: 0.88rem; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 46px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.1); color: #8393a2; font-size: 0.78rem; }
.footer-bottom-links { display: flex; gap: 18px; }
.footer-bottom-links a { color: #8393a2; }

.page-hero { padding: 56px 0; background: var(--navy); color: #fff; }
.page-hero h1 { margin: 0; color: #fff; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.1; }
.page-hero p { margin: 14px 0 0; max-width: 700px; color: #cbd5e1; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; color: #9fb0bf; font-size: 0.8rem; }
.breadcrumb a { color: #ffb18a; }

.tool-panel { min-height: 280px; }
.tool-form { display: grid; gap: 13px; }
.field { display: grid; gap: 7px; }
.field label { color: var(--navy); font-size: 0.85rem; font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); outline: 0; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0, 184, 217, 0.12); }
.field-hint { color: var(--slate); font-size: 0.78rem; }
.result-box { margin-top: 18px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--mist); color: var(--ink); font-size: 0.88rem; white-space: pre-wrap; word-break: break-word; }
.result-box:empty { display: none; }
.result-box.error { border-color: #f1c3c3; background: var(--red-soft); color: #8a3030; }

.status-line { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.status-name { display: flex; align-items: center; gap: 12px; color: var(--navy); font-weight: 700; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px var(--green-soft); }
.status-dot.degraded { background: #d69b35; box-shadow: 0 0 0 5px #fbf1d8; }
.status-dot.down { background: var(--red); box-shadow: 0 0 0 5px var(--red-soft); }
.status-note { color: var(--slate); font-size: 0.84rem; }

.portal-layout { display: grid; grid-template-columns: 260px 1fr; gap: 22px; align-items: start; }
.portal-sidebar, .portal-content { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.portal-sidebar { padding: 18px; }
.portal-user { display: flex; align-items: center; gap: 11px; padding-bottom: 16px; border-bottom: 1px solid var(--line-soft); }
.portal-user div { display: grid; gap: 2px; min-width: 0; }
.portal-user strong { color: var(--navy); }
.portal-user span { color: var(--slate); font-size: 0.8rem; overflow-wrap: anywhere; }
.portal-avatar { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; }
.portal-nav { display: grid; gap: 3px; margin: 14px 0 0; }
.portal-nav a { display: flex; align-items: center; gap: 9px; padding: 10px 11px; border-radius: 6px; color: #42576a; font-size: 0.88rem; }
.portal-nav a:hover, .portal-nav a.active { background: var(--mist); color: var(--navy); }
.portal-content { min-height: 460px; padding: 22px; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th, .data-table td { padding: 13px 10px; border-bottom: 1px solid var(--line-soft); text-align: left; font-size: 0.87rem; vertical-align: top; }
.data-table th { color: var(--slate); font-size: 0.76rem; font-weight: 700; }
.badge { display: inline-flex; align-items: center; border-radius: 999px; padding: 5px 9px; background: var(--green-soft); color: var(--green); font-size: 0.74rem; font-weight: 700; }
.badge.warning { background: #fbf1d8; color: #9a6a16; }
.badge.muted { background: var(--mist); color: var(--slate); }

.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 24px; align-items: start; }
.checkout-card { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.checkout-card-header { padding: 20px 22px; border-bottom: 1px solid var(--line-soft); }
.checkout-card-header h2 { margin: 0; color: var(--navy); font-size: 1.05rem; }
.checkout-card-body { padding: 22px; }
.cart-list { display: grid; gap: 12px; }
.cart-item { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px; border: 1px solid var(--line-soft); border-radius: var(--radius); background: var(--mist); }
.cart-item-info strong { display: block; color: var(--navy); }
.cart-item-info span { color: var(--slate); font-size: 0.8rem; }
.cart-total { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; color: var(--navy); font-weight: 800; }

.contact-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 24px; align-items: start; }
.contact-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.contact-card h2 { margin: 0 0 18px; color: var(--navy); font-size: 1.05rem; }
.contact-detail { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.contact-detail:last-child { border-bottom: 0; }
.contact-detail .icon { color: var(--orange); }
.contact-detail strong { display: block; color: var(--navy); font-size: 0.88rem; }
.contact-detail span { color: var(--slate); font-size: 0.86rem; }
.contact-detail a { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }
.contact-detail a:hover { color: var(--blue); }

.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 17px 18px; border: 0; background: transparent; color: var(--navy); font-weight: 700; text-align: left; }
.faq-answer { display: none; padding: 0 18px 17px; color: var(--slate); font-size: 0.92rem; line-height: 1.65; }
.faq-item.open .faq-answer { display: block; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pricing-card { display: flex; flex-direction: column; min-height: 100%; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.pricing-card.featured { border-color: var(--orange); box-shadow: 0 16px 36px rgba(254, 88, 3, 0.12); }
.pricing-card h3 { margin: 0; color: var(--navy); }
.pricing-price { margin: 18px 0 4px; color: var(--navy); font-size: 2rem; font-weight: 800; }
.pricing-price small { font-size: 0.9rem; color: var(--slate); font-weight: 500; }
.pricing-card p { color: var(--slate); font-size: 0.9rem; }
.pricing-list { display: grid; gap: 9px; margin: 18px 0 22px; padding: 0; list-style: none; }
.pricing-list li { display: flex; align-items: center; gap: 9px; color: #42576a; font-size: 0.87rem; }
.pricing-list .check { color: var(--green); }
.pricing-card .button { margin-top: auto; }

.article-hero { padding: 50px 0; background: var(--navy); color: #fff; }
.article-hero h1 { margin: 0; max-width: 900px; color: #fff; font-size: clamp(2rem, 5vw, 3.8rem); line-height: 1.1; }
.article-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; color: #b8c6d3; font-size: 0.85rem; }
.article-body { max-width: 780px; margin: 0 auto; padding: 48px 0; color: #33475a; font-size: 1.03rem; line-height: 1.8; }
.article-body h2 { margin: 36px 0 12px; color: var(--navy); font-size: 1.55rem; line-height: 1.25; }
.article-body pre { overflow-x: auto; padding: 18px; border-radius: var(--radius); background: var(--navy-2); color: #dce8f2; font-family: "JetBrains Mono", "Cascadia Code", monospace; font-size: 0.86rem; line-height: 1.6; }
.article-body code { font-family: "JetBrains Mono", "Cascadia Code", monospace; }

.empty-state { padding: 40px 22px; border: 1px dashed var(--line); border-radius: var(--radius); background: var(--mist); color: var(--slate); text-align: center; }
.toast { position: fixed; right: 18px; bottom: 18px; z-index: 1000; max-width: 360px; padding: 13px 16px; border-radius: var(--radius); background: var(--navy); color: #fff; box-shadow: var(--shadow-md); transform: translateY(20px); opacity: 0; pointer-events: none; transition: opacity 180ms ease, transform 180ms ease; }
.toast.show { transform: translateY(0); opacity: 1; }
.spinner { width: 18px; height: 18px; border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: #fff; border-radius: 50%; animation: spin 0.75s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat-card { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.stat-label { display: block; color: var(--slate); font-size: 0.76rem; font-weight: 700; text-transform: uppercase; }
.stat-value { display: block; margin-top: 8px; color: var(--navy); font-size: 1.65rem; font-weight: 800; line-height: 1.1; }
.stat-note { display: block; margin-top: 6px; color: #7a8794; font-size: 0.78rem; }
.admin-actions { display: flex; justify-content: flex-end; gap: 10px; margin: 18px 0 22px; }
.admin-narrow { max-width: 460px; }
.table-scroll { overflow-x: auto; }
.admin-status { min-height: 38px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink); font-size: 0.84rem; }
.admin-muted { color: var(--slate); font-size: 0.78rem; }
.data-table code { font-family: "JetBrains Mono", "Cascadia Code", monospace; font-size: 0.78rem; color: var(--slate); }

/* ---------- visitor country + timezone ---------- */
.visitor { position: relative; }
.visitor-toggle { display: inline-flex; align-items: center; gap: 7px; min-height: 26px; padding: 3px 9px; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 999px; background: transparent; color: #d9e1ea; font-size: 0.8rem; }
.visitor-toggle:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.visitor-flag { font-size: 0.95rem; line-height: 1; }
.visitor-clock { padding-left: 7px; border-left: 1px solid rgba(255, 255, 255, 0.18); color: #fff; font-variant-numeric: tabular-nums; }
.visitor-menu { position: absolute; right: 0; top: calc(100% + 9px); z-index: 300; width: 272px; padding: 14px; display: grid; gap: 11px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); box-shadow: var(--shadow-md); }
.visitor-menu .field label { color: var(--navy); font-size: 0.78rem; font-weight: 700; }
.visitor-menu select { width: 100%; min-height: 40px; padding: 6px 9px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink); }
.visitor-note { margin: 0; color: var(--slate); font-size: 0.74rem; line-height: 1.5; }

/* ---------- live chat widget ---------- */
.chat { position: fixed; right: 18px; bottom: 18px; z-index: 1200; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.chat-launcher { display: inline-flex; align-items: center; gap: 9px; min-height: 50px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--navy); color: #fff; font-weight: 700; box-shadow: var(--shadow-md); }
.chat-launcher:hover { background: #24394b; }
.chat-launcher-text { font-size: 0.9rem; }
.chat-dot { width: 9px; height: 9px; border-radius: 50%; background: #9aa7b4; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.16); }
.chat-dot.online { background: #35d07f; }
.chat-panel { width: min(368px, calc(100vw - 32px)); max-height: min(560px, 74vh); display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--shadow-md); overflow: hidden; }
.chat-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 14px 16px; background: var(--navy); color: #fff; }
.chat-head strong { display: block; font-size: 0.95rem; }
.chat-status { display: block; margin-top: 3px; color: #b9c7d6; font-size: 0.76rem; }
.chat-close { border: 0; background: transparent; color: #cdd8e3; }
.chat-close:hover { color: #fff; }
.chat-body { padding: 16px; overflow-y: auto; }
.chat-intro { margin: 0 0 14px; color: var(--slate); font-size: 0.85rem; line-height: 1.55; }
.chat-form { display: grid; gap: 11px; }
.chat-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.chat-error { margin: 0; color: #8a3030; font-size: 0.8rem; }
.chat-empty { margin: 0; color: var(--slate); font-size: 0.85rem; }
.chat-log { display: grid; gap: 9px; max-height: 300px; overflow-y: auto; margin-bottom: 12px; }
.chat-bubble { max-width: 85%; padding: 9px 12px; border-radius: 12px; font-size: 0.86rem; line-height: 1.5; }
.chat-bubble.visitor { justify-self: end; background: var(--orange); color: #fff; border-bottom-right-radius: 4px; }
.chat-bubble.staff { justify-self: start; background: var(--mist); color: var(--ink); border-bottom-left-radius: 4px; }
.chat-composer { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.chat-composer input { min-height: 42px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; }

/* ---------- admin live chat ---------- */
.admin-chat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.day-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.day-toggle { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.8rem; }
.admin-subhead { margin: 26px 0 12px; color: var(--navy); font-size: 1rem; }
.admin-chat-settings { display: grid; gap: 10px; }
.chat-settings { margin: 0 0 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.chat-settings summary { padding: 12px 14px; color: var(--navy); font-size: 0.9rem; font-weight: 700; cursor: pointer; }
.chat-settings .admin-chat-settings { padding: 0 14px 14px; }
.chat-settings textarea { width: 100%; padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: 0.86rem; resize: vertical; }

/* The inbox: a conversation list on the left, conversation tabs on the right. */
.chat-inbox { display: grid; gap: 12px; }
.chat-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.chat-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.chat-filter { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 11px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--slate); font-size: 0.8rem; font-weight: 600; cursor: pointer; }
.chat-filter span { min-width: 18px; padding: 1px 5px; border-radius: 999px; background: var(--mist); color: var(--navy); font-size: 0.72rem; text-align: center; }
.chat-filter:hover { border-color: #b9c6d2; }
.chat-filter.active { border-color: var(--navy); background: var(--navy); color: #fff; }
.chat-filter.active span { background: rgba(255, 255, 255, 0.18); color: #fff; }
.chat-search { flex: 1 1 200px; min-width: 170px; }
.chat-search input { width: 100%; min-height: 36px; padding: 7px 11px; border: 1px solid var(--line); border-radius: 8px; }
.chat-ping { white-space: nowrap; }

.chat-inbox-grid { display: grid; grid-template-columns: minmax(230px, 290px) minmax(0, 1fr); gap: 12px; align-items: stretch; }
.achat-list { display: grid; align-content: start; gap: 2px; max-height: 640px; overflow-y: auto; padding: 4px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--mist); }
.achat-list-empty { padding: 16px 12px; color: var(--slate); font-size: 0.82rem; line-height: 1.55; }
.achat-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 9px; align-items: start; padding: 10px 9px; border: 1px solid transparent; border-radius: 9px; background: transparent; text-align: left; cursor: pointer; }
.achat-row:hover { background: #fff; border-color: var(--line); }
.achat-row.active { background: #fff; border-color: #cfdae4; box-shadow: 0 1px 2px rgba(20, 32, 43, 0.08); }
.achat-avatar { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #dfe8f0; color: var(--navy); font-size: 0.72rem; font-weight: 800; }
.achat-avatar.online { box-shadow: 0 0 0 2px #35d07f; }
.achat-row-main { display: grid; gap: 3px; min-width: 0; }
.achat-row-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.achat-row-top strong { overflow: hidden; color: var(--navy); font-size: 0.86rem; text-overflow: ellipsis; white-space: nowrap; }
.achat-row-top time { color: #7c8b99; font-size: 0.68rem; white-space: nowrap; }
.achat-snippet { overflow: hidden; color: var(--slate); font-size: 0.78rem; text-overflow: ellipsis; white-space: nowrap; }
.achat-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: #7c8b99; font-size: 0.68rem; }
.achat-meta .badge { padding: 2px 6px; font-size: 0.62rem; }
.achat-online { color: #12864a; font-weight: 700; }
.achat-page { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.achat-unread { min-width: 20px; padding: 2px 6px; border-radius: 999px; background: var(--orange); color: #fff; font-size: 0.7rem; font-weight: 800; text-align: center; }

.achat-main { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.achat-tabs { display: flex; gap: 4px; overflow-x: auto; padding: 6px 6px 0; border-bottom: 1px solid var(--line); background: var(--mist); }
.achat-tabs-empty { padding: 8px 8px 10px; color: var(--slate); font-size: 0.78rem; }
.achat-tab { display: inline-flex; flex: none; align-items: stretch; max-width: 190px; border: 1px solid transparent; border-bottom: 0; border-radius: 8px 8px 0 0; background: #e8eef4; }
.achat-tab.active { border-color: var(--line); background: #fff; }
.achat-tab-label { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 4px 0 10px; border: 0; background: transparent; color: var(--slate); font-size: 0.78rem; font-weight: 600; cursor: pointer; }
.achat-tab.active .achat-tab-label { color: var(--navy); }
.achat-tab-dot { flex: none; width: 6px; height: 6px; border-radius: 50%; background: #b3c0cc; }
.achat-tab-dot.online { background: #35d07f; }
.achat-tab-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.achat-tab-badge { min-width: 17px; padding: 1px 5px; border-radius: 999px; background: var(--orange); color: #fff; font-size: 0.64rem; font-weight: 800; text-align: center; }
.achat-tab-close { width: 26px; border: 0; background: transparent; color: #8b99a6; font-size: 1rem; line-height: 1; cursor: pointer; }
.achat-tab-close:hover { color: #8a3030; }

.achat-panel { display: flex; flex-direction: column; min-height: 440px; }
.achat-empty { display: grid; place-content: center; gap: 6px; min-height: 440px; padding: 24px; color: var(--slate); font-size: 0.86rem; text-align: center; }
.achat-empty strong { color: var(--navy); }
.achat-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line-soft); background: #fbfcfd; }
.achat-who strong { display: block; color: var(--navy); font-size: 0.95rem; }
.achat-sub { margin-top: 3px; color: var(--slate); font-size: 0.74rem; line-height: 1.5; }
.achat-sub a { color: var(--blue); }
.achat-sub code { padding: 1px 5px; border-radius: 4px; background: var(--mist); font-size: 0.72rem; }
.achat-presence { color: #7c8b99; }
.achat-presence.online { color: #12864a; font-weight: 700; }
.achat-actions { display: flex; align-items: center; gap: 8px; }
.achat-actions .button { padding: 6px 10px; font-size: 0.76rem; }
.achat-thread { display: flex; flex: 1 1 auto; flex-direction: column; gap: 8px; min-height: 200px; max-height: 420px; overflow-y: auto; padding: 14px; background: #fff; }
.achat-day { display: flex; align-items: center; gap: 10px; margin: 4px 0; color: #8b99a6; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.achat-day::before, .achat-day::after { content: ''; flex: 1; height: 1px; background: var(--line-soft); }
.achat-msg { display: grid; gap: 3px; max-width: 78%; }
.achat-msg.visitor { align-self: flex-start; }
.achat-msg.staff { align-self: flex-end; justify-items: end; }
.achat-bubble { padding: 8px 12px; border-radius: 12px; font-size: 0.86rem; line-height: 1.5; overflow-wrap: anywhere; white-space: pre-wrap; }
.achat-msg.visitor .achat-bubble { border-bottom-left-radius: 4px; background: var(--mist); color: var(--ink); }
.achat-msg.staff .achat-bubble { border-bottom-right-radius: 4px; background: var(--navy); color: #fff; }
.achat-msg time { color: #8b99a6; font-size: 0.66rem; }
.achat-composer { display: grid; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--line-soft); background: #fbfcfd; }
.achat-canned-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.achat-canned-row select { max-width: 280px; min-height: 32px; padding: 4px 8px; border: 1px solid var(--line); border-radius: 7px; font-size: 0.78rem; }
.achat-composer textarea { width: 100%; min-height: 70px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: 0.88rem; resize: vertical; }
.achat-composer-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.achat-notes { border-top: 1px solid var(--line-soft); background: #fff; }
.achat-notes summary { padding: 10px 14px; color: var(--slate); font-size: 0.78rem; font-weight: 700; cursor: pointer; }
.achat-note-count { display: inline-block; min-width: 18px; margin-left: 4px; padding: 1px 5px; border-radius: 999px; background: var(--mist); color: var(--navy); font-size: 0.68rem; text-align: center; }
.achat-note-list { display: grid; gap: 6px; padding: 0 14px 10px; }
.achat-notes-empty { margin: 0; padding: 0 0 6px; color: #8b99a6; font-size: 0.76rem; }
.achat-note { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 8px 10px; border: 1px dashed #e3c98a; border-radius: 8px; background: #fffaf0; color: #6b5320; font-size: 0.8rem; line-height: 1.5; }
.achat-note time { color: #9b8556; font-size: 0.68rem; }
.achat-notes form { display: grid; gap: 8px; padding: 0 14px 14px; }
.achat-notes textarea { width: 100%; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: 0.82rem; resize: vertical; }
.achat-notes form button { justify-self: start; }
.chat-shortcuts { margin: 2px 0 0; }
.chat-shortcuts kbd, .achat-canned-row kbd { padding: 1px 5px; border: 1px solid var(--line); border-radius: 4px; background: #fff; font-family: inherit; font-size: 0.72rem; }
.check-inline { display: inline-flex; align-items: center; gap: 6px; color: var(--slate); font-size: 0.82rem; }
/* The dashboard watches for new chats on its own, so the state has to be visible. */
.speed-email-note { display: flex; align-items: center; gap: 8px; }
.speed-email-sent { color: var(--green); font-weight: 600; }
.chat-live { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; color: var(--slate); font-size: 0.8rem; }
.chat-live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line); flex: none; }
.chat-live-dot.on { background: #12a150; box-shadow: 0 0 0 3px rgba(18, 161, 80, 0.15); }
@media (max-width: 640px) {
  .chat-live { margin-left: 0; width: 100%; }
  .chat-toolbar .button { flex: 1 1 auto; }
  .achat-tab { max-width: 150px; }
  .achat-msg { max-width: 90%; }
}

/* ---------- checkout, payments and client portal ---------- */
.pay-methods { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.pay-method { display: grid; gap: 4px; padding: 13px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-align: left; cursor: pointer; }
.pay-method strong { color: var(--navy); font-size: 0.92rem; }
.pay-method span { color: var(--slate); font-size: 0.76rem; }
.pay-method:hover { border-color: #b9c6d2; }
.pay-method.active { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(254, 88, 3, 0.1); }
.cart-item-price { margin-left: auto; color: var(--navy); font-weight: 700; white-space: nowrap; }
.steps-list { margin: 0 0 18px; padding-left: 20px; color: #33475a; font-size: 0.9rem; line-height: 1.75; }
.steps-list li { margin-bottom: 6px; }
.result-box.ok { border-color: #bfe3cf; background: var(--green-soft); color: var(--green); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.upi-qr { display: grid; place-items: center; margin: 0 0 16px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.upi-qr svg { width: 100%; max-width: 240px; height: auto; }
.upi-id { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 16px; padding: 12px 14px; border: 1px dashed var(--line); border-radius: var(--radius); background: var(--mist); }
.upi-id span { color: var(--slate); font-size: 0.74rem; font-weight: 700; text-transform: uppercase; }
.upi-id strong { color: var(--navy); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.upi-id .button { margin-left: auto; }
.portal-refund { margin-top: 8px; }
.portal-refund summary { color: var(--blue); font-size: 0.8rem; font-weight: 700; cursor: pointer; }
.portal-refund form { margin-top: 10px; padding: 12px; border: 1px solid var(--line-soft); border-radius: var(--radius); background: var(--mist); }
.portal-refund textarea { width: 100%; padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; resize: vertical; }
.admin-order-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.admin-order-actions .button { padding: 6px 10px; font-size: 0.78rem; }
.admin-refund summary { list-style: none; }
.admin-refund summary::-webkit-details-marker { display: none; }
/* ---------- the chat inbox on its own page ---------- */
/* The inbox takes the width of the window rather than the usual 1200px column: a list,
   tabs and a transcript side by side is exactly why it got a page of its own. */
.chat-page .container { width: min(calc(100% - 40px), 1680px); }
.chat-page-actions { flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 10px; }
.chat-page-actions .chat-live { margin-left: 0; margin-right: auto; }
/* Only where the list and the transcript sit side by side. Below 980px the grid stacks
   and the shared responsive heights (250px list, 360px thread) are the right ones. */
@media (min-width: 981px) {
  .chat-page .chat-inbox-grid { min-height: 62vh; }
  .chat-page .achat-list { max-height: 72vh; }
  .chat-page .achat-thread { max-height: 56vh; }
  .chat-page .achat-panel { min-height: 62vh; }
  .chat-page .achat-empty { min-height: 62vh; }
}

/* A conversation row is a link on the dashboard (it opens the inbox in a new tab) and
   a button inside the inbox, so the anchor needs the button's colour and no underline. */
a.achat-row { color: inherit; text-decoration: none; }
.achat-list-compact { max-height: 290px; }
.achat-list-compact .achat-row { background: #fff; border-color: var(--line-soft); }

/* Sign in with an emailed PIN: a recovery path, deliberately folded away. */
.admin-pin { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.admin-pin summary { font-weight: 700; }
.admin-pin p { margin: 10px 0; line-height: 1.55; }
.admin-pin-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.admin-pin-links .button { flex: 1 1 auto; }

.admin-link { display: inline-block; padding: 6px 0; color: var(--blue); font-size: 0.78rem; font-weight: 700; cursor: pointer; }
.admin-refund form { display: grid; gap: 8px; margin-top: 8px; padding: 12px; min-width: 240px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.admin-refund input { width: 100%; min-height: 38px; padding: 7px 9px; border: 1px solid var(--line); border-radius: 6px; }
.admin-refund button { justify-self: start; }
.price-input { width: 110px; min-height: 38px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; }
.badge.error { background: var(--red-soft); color: #8a3030; }

@media (max-width: 980px) {
  .primary-nav, .header-actions .button { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .primary-nav.open { position: absolute; top: var(--header-height); left: 0; right: 0; display: grid; padding: 10px 20px 16px; border-bottom: 1px solid var(--line); background: #fff; box-shadow: 0 14px 26px rgba(20, 32, 43, 0.1); }
  .primary-nav.open a { padding: 12px 6px; }
  .trust-list { grid-template-columns: repeat(2, 1fr); gap: 18px 0; }
  .trust-item { border-right: 0; padding: 0; }
  .service-grid, .tools-grid, .blog-grid, .pricing-grid, .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-chat-grid, .pay-methods { grid-template-columns: repeat(2, 1fr); }
  .chat-inbox-grid { grid-template-columns: 1fr; }
  .achat-list { max-height: 250px; }
  .achat-thread { max-height: 360px; }
  .finder-inner, .showcase-grid, .checkout-layout, .contact-layout, .portal-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 28px), var(--max-width)); }
  .section { padding: 52px 0; }
  .topbar-inner { justify-content: center; }
  .topbar-left, .topbar-right, .topbar-divider { display: none; }
  .hero { min-height: 0; }
  .hero-inner { padding: 62px 0 68px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .search-shell { grid-template-columns: 1fr; }
  .search-shell .button { width: 100%; }
  .trust-list, .service-grid, .tools-grid, .blog-grid, .pricing-grid, .footer-grid, .stat-grid, .admin-chat-grid { grid-template-columns: 1fr; }
  .admin-actions { flex-direction: column; }
  .admin-actions .button { width: 100%; }
  .visitor-menu { right: auto; left: 0; width: min(272px, calc(100vw - 40px)); }
  .chat { right: 14px; bottom: 14px; }
  .chat-launcher-text { display: none; }
  .chat-launcher { min-width: 52px; justify-content: center; padding: 0 14px; }
  .brand-type { font-size: 1.32rem; }
  .comparison { min-height: 280px; }
  .cta-inner, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .data-table { display: block; overflow-x: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

/* ------------------- Website speed test (/speed-test) ------------------- */
.speed-shell { display: grid; gap: 24px; }
.speed-test-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 22px; }
.speed-form { display: grid; gap: 14px; grid-template-columns: 1fr auto; align-items: end; }
.speed-status-row { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; font-size: 13px; color: var(--slate); margin-top: 14px; }
.speed-tier { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--mist); color: var(--ink); font-weight: 700; font-size: 12px; letter-spacing: .03em; text-transform: uppercase; }
.speed-tier.pro { background: var(--orange-soft); color: var(--orange-dark); }
.quota-meter { flex: 1 1 200px; min-width: 140px; height: 8px; border-radius: 999px; background: var(--line-soft); overflow: hidden; }
.quota-meter b { display: block; height: 100%; background: var(--teal); }
.quota-meter.low b { background: var(--orange); }

.speed-report { display: grid; gap: 20px; }
.report-head { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: baseline; justify-content: space-between; }
.report-head h2 { margin: 0; font-size: 20px; word-break: break-all; }
.report-meta { font-size: 13px; color: var(--slate); }
.speed-summary { display: grid; grid-template-columns: 190px 1fr; gap: 22px; align-items: center; }
.grade-dial { width: 168px; height: 168px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto; background: conic-gradient(var(--green) calc(var(--pct) * 1%), var(--line-soft) 0); }
.grade-dial.c { background: conic-gradient(var(--orange) calc(var(--pct) * 1%), var(--line-soft) 0); }
.grade-dial.d { background: conic-gradient(var(--orange-dark) calc(var(--pct) * 1%), var(--line-soft) 0); }
.grade-dial.e, .grade-dial.f { background: conic-gradient(var(--red) calc(var(--pct) * 1%), var(--line-soft) 0); }
.grade-inner { width: 130px; height: 130px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; text-align: center; }
.grade-letter { font-size: 46px; font-weight: 800; line-height: 1; color: var(--green); }
.grade-dial.c .grade-letter { color: var(--orange); }
.grade-dial.d .grade-letter { color: var(--orange-dark); }
.grade-dial.e .grade-letter, .grade-dial.f .grade-letter { color: var(--red); }
.grade-caption { font-size: 12px; color: var(--slate); text-transform: uppercase; letter-spacing: .05em; }
.score-row { display: grid; gap: 6px; margin-bottom: 14px; }
.score-head { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; color: var(--slate); }
.score-head strong { color: var(--ink); font-size: 16px; }
.score-bar { height: 10px; border-radius: 999px; background: var(--line-soft); overflow: hidden; }
.score-bar b { display: block; height: 100%; background: var(--blue); }
.score-bar.good b { background: var(--green); }
.score-bar.warn b { background: var(--orange); }
.score-bar.bad b { background: var(--red); }

.metric-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.metric { border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 12px 14px; background: var(--surface); }
.metric span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--slate); }
.metric strong { display: block; font-size: 21px; margin-top: 4px; }
.metric small { color: var(--slate); font-size: 12px; }

.audit-list { display: grid; gap: 10px; }
.audit { border: 1px solid var(--line-soft); border-left: 4px solid var(--line); border-radius: var(--radius); padding: 12px 14px; background: var(--surface); }
.audit.pass { border-left-color: var(--green); }
.audit.partial { border-left-color: var(--orange); }
.audit.fail { border-left-color: var(--red); }
.audit.info { border-left-color: var(--teal); }
.audit-head { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; justify-content: space-between; }
.audit-head h4 { margin: 0; font-size: 15px; }
.audit-detail { margin: 8px 0 0; font-size: 14px; }
.audit-fix { margin: 8px 0 0; font-size: 14px; color: var(--slate); }
.audit-resources { margin: 8px 0 0; padding-left: 18px; font-size: 13px; color: var(--slate); word-break: break-all; }
.chip { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; padding: 3px 8px; border-radius: 999px; font-weight: 700; white-space: nowrap; }
.chip.high { background: var(--red-soft); color: var(--red); }
.chip.medium { background: var(--orange-soft); color: var(--orange-dark); }
.chip.low { background: var(--blue-soft); color: var(--blue); }
.chip.status-pass { background: var(--green-soft); color: var(--green); }
.chip.status-partial { background: var(--orange-soft); color: var(--orange-dark); }
.chip.status-fail { background: var(--red-soft); color: var(--red); }
.chip.status-info { background: var(--teal-soft); color: var(--teal); }

.table-wrap { overflow-x: auto; }
.waterfall { width: 100%; border-collapse: collapse; font-size: 13px; }
.waterfall th, .waterfall td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.waterfall th { color: var(--slate); font-weight: 600; text-transform: uppercase; font-size: 11px; letter-spacing: .04em; }
.waterfall td.url { word-break: break-all; max-width: 420px; }
.family-list { display: grid; gap: 8px; }
.family { display: grid; grid-template-columns: 110px 1fr 96px; gap: 10px; align-items: center; font-size: 13px; }
.family .bar { height: 10px; border-radius: 999px; background: var(--teal-soft); }
.family .bar b { display: block; height: 100%; background: var(--teal); border-radius: 999px; }

.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.plan-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: var(--surface); display: flex; flex-direction: column; gap: 10px; }
.plan-card.featured { border-color: var(--orange); box-shadow: var(--shadow-md); }
.plan-price { font-size: 30px; font-weight: 800; }
.plan-price small { font-size: 13px; font-weight: 500; color: var(--slate); }
.plan-list { margin: 0; padding-left: 18px; color: var(--slate); font-size: 14px; display: grid; gap: 6px; }
.speed-lock { background: var(--mist); border: 1px dashed var(--line); border-radius: var(--radius); padding: 16px; font-size: 14px; color: var(--slate); }
.speed-notes { font-size: 13px; color: var(--slate); display: grid; gap: 6px; margin: 0; padding-left: 18px; }
.history-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.history-table th, .history-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line-soft); }
.trend-note { font-size: 14px; background: var(--teal-soft); border-radius: var(--radius); padding: 10px 14px; }
.key-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: end; }
@media (max-width: 720px) {
  .speed-form, .key-row { grid-template-columns: 1fr; }
  .speed-summary { grid-template-columns: 1fr; }
}
.tool-card-featured { border-color: var(--orange); box-shadow: var(--shadow-md); }
.tool-card-featured > span { color: var(--orange); }

/* ------------------- Speed test: screenshot, browser vitals, compare, monitors ------------------- */
.shot-block { display: grid; gap: 14px; }
.shot-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.shot { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--mist); overflow: hidden; }
.shot img { width: 100%; height: auto; background: #fff; border-bottom: 1px solid var(--line); display: block; }
.shot figcaption { padding: 10px 12px; font-size: 12px; color: var(--slate); }
.shot figcaption strong { color: var(--ink); }
.shot-note { margin-top: 12px; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; background: var(--surface); }
.shot-note summary { cursor: pointer; font-weight: 600; font-size: 13px; }
.metric.good strong, .metric.warn strong, .metric.bad strong { display: block; }
.metric.good { border-left: 3px solid var(--green); }
.metric.warn { border-left: 3px solid var(--orange); }
.metric.bad { border-left: 3px solid var(--red); }
.metric.good strong { color: var(--green); }
.metric.warn strong { color: var(--orange-dark); }
.metric.bad strong { color: var(--red); }
.mode-switch { display: inline-flex; gap: 4px; padding: 4px; background: var(--mist); border-radius: 999px; margin-bottom: 16px; }
.mode-tab { border: 0; background: transparent; padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: 13px; color: var(--slate); }
.mode-tab.active { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.compare-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.compare-side { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; background: var(--surface); display: grid; gap: 10px; }
.compare-head { display: flex; gap: 12px; align-items: center; }
.compare-host { font-size: 15px; }
.compare-shot { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 6px; }
.grade-dial.small { width: 66px; height: 66px; flex: 0 0 auto; }
.grade-dial.small .grade-letter { font-size: 22px; }
.compare-table td.winner, .compare-table tr.win-a td:nth-child(2), .compare-table tr.win-b td:nth-child(3) { font-weight: 700; color: var(--green); }
.compare-table tr.win-a td:nth-child(3), .compare-table tr.win-b td:nth-child(2) { color: var(--slate); }
.spark { display: inline-flex; align-items: flex-end; gap: 2px; height: 26px; }
.spark b { display: inline-block; width: 6px; background: var(--teal); border-radius: 2px 2px 0 0; }
.monitor-form { grid-template-columns: 1.4fr 0.8fr auto; }
.monitor-actions { display: flex; gap: 6px; flex-wrap: wrap; }
@media (max-width: 720px) { .monitor-form { grid-template-columns: 1fr; } }

/* ------------------------------ coupons & promo ---------------------------- */

.promo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.promo-card {
  display: flex; flex-direction: column; gap: 12px; padding: 24px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface) 0%, var(--mist) 100%);
  box-shadow: var(--shadow-sm);
}
.promo-card h2 { margin: 0; font-size: 1.28rem; color: var(--navy); }
.promo-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.promo-offer { display: inline-flex; padding: 6px 12px; border-radius: 999px; background: var(--orange); color: #fff; font-weight: 800; font-size: 1.02rem; letter-spacing: 0.01em; }
.promo-ends { color: var(--slate); font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.promo-note { margin: 0; color: var(--slate); font-size: 0.94rem; }
.promo-code { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 1px dashed var(--navy); border-radius: var(--radius); background: #fff; }
.promo-code code { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 1.12rem; font-weight: 700; letter-spacing: 0.08em; color: var(--navy); }
.promo-terms { margin: 0; padding-left: 18px; color: var(--slate); font-size: 0.86rem; display: grid; gap: 4px; }
.promo-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 8px; }
.promo-step { padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.promo-step span { display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; font-size: 0.85rem; }
.promo-step h3 { margin: 10px 0 6px; font-size: 1rem; color: var(--navy); }
.promo-step p { margin: 0; color: var(--slate); font-size: 0.9rem; }

.coupon-row { display: flex; gap: 8px; align-items: stretch; }
.coupon-row input { flex: 1 1 auto; }
.coupon-form .coupon-toggles { display: flex; flex-wrap: wrap; gap: 16px; margin: 14px 0; }
.coupon-items { margin: 8px 0 4px; }
.coupon-items summary { cursor: pointer; color: var(--blue); font-size: 0.9rem; font-weight: 600; }
.coupon-item-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px; padding: 12px 0; }
.coupon-flyer { margin-top: 8px; }
.coupon-flyer summary { cursor: pointer; color: var(--blue); font-size: 0.85rem; font-weight: 600; }
.coupon-flyer img { display: block; width: 100%; max-width: 380px; height: auto; margin: 10px 0; border: 1px solid var(--line); border-radius: var(--radius); }
.cart-totals { margin-top: 18px; display: grid; gap: 6px; }
.cart-line { display: flex; justify-content: space-between; color: var(--slate); font-size: 0.92rem; }
.cart-line.discount { color: var(--green); font-weight: 600; }
.cart-totals .cart-total { margin-top: 4px; padding-top: 10px; border-top: 1px solid var(--line); }

.presence-list { display: flex; flex-wrap: wrap; gap: 8px; }
.presence-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 999px; background: var(--mist); color: var(--navy); font-size: 0.82rem; font-weight: 600; }
.presence-chip i { color: var(--green); }
.user-upgrade-form, .user-save-form { display: grid; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.user-save-form .field, .user-upgrade-form .field { margin: 0; }

@media (max-width: 720px) {
  .promo-code { flex-direction: column; align-items: flex-start; }
  .coupon-row { flex-direction: column; }
}

/* ------------------------------ Neobrutalism theme ------------------------------ */
/* Thick black borders, hard offset shadows, flat bright colour, square corners.
   Tokens above do most of the work; these rules cover the places that hard-code values. */
body { background: #fffdf5; }
h1, h2, h3, h4 { font-weight: 900; letter-spacing: -0.01em; }
button, input, select, textarea { border-radius: 0; }
input, select, textarea {
  border: 2px solid #111111;
  background: #ffffff;
  color: #111111;
  box-shadow: 3px 3px 0 #111111;
}
input:focus, select:focus, textarea:focus { outline: none; box-shadow: 4px 4px 0 var(--blue); }
:focus-visible { outline: 3px solid #111111; outline-offset: 3px; }

.button {
  border: 2px solid #111111;
  border-radius: 0;
  box-shadow: 4px 4px 0 #111111;
  font-weight: 800;
  transition: transform 80ms ease, box-shadow 80ms ease, background 120ms ease;
}
.button:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 #111111; }
.button:active { transform: translate(4px, 4px); box-shadow: 0 0 0 #111111; }
.button-primary { background: var(--orange); color: #111111; }
.button-primary:hover { background: var(--orange); }
.button-secondary { background: var(--blue); color: #ffffff; }
.button-secondary:hover { background: #1a3fb3; }
.button-light { background: #ffffff; color: #111111; border-color: #111111; }
.button-light:hover { background: var(--mist); border-color: #111111; }
.button-outline { border-color: #ffffff; color: #ffffff; box-shadow: 4px 4px 0 #ffffff; }
.button-outline:hover { background: rgba(255, 255, 255, 0.12); box-shadow: 2px 2px 0 #ffffff; }
.button-ghost { border-color: transparent; box-shadow: none; padding-left: 0; padding-right: 0; }
.button-ghost:hover { transform: none; box-shadow: none; text-decoration: underline; }

/* Cards, panels and boxes: a 2px black frame and a hard shadow. */
.plan-card, .promo-card, .promo-step, .speed-test-card, .metric, .compare-side, .audit,
.shot, .pay-method, .promo-code, .upi-qr, .upi-id, .admin-refund form, .portal-refund form,
.speed-lock, .presence-chip, .tool-card, .service-card, .blog-card, .price-card {
  border: 2px solid #111111;
  box-shadow: var(--shadow-sm);
}
.plan-card.featured, .tool-card-featured, .promo-card, .plan-card { box-shadow: var(--shadow-md); }
.pay-method.active { border-color: #111111; box-shadow: 4px 4px 0 var(--orange); }
.pay-method:hover { border-color: #111111; }
.chip, .badge, .promo-offer, .achat-note-count, .speed-tier, .presence-chip {
  border: 2px solid #111111;
  border-radius: 0;
  font-weight: 800;
}
.promo-offer { box-shadow: 3px 3px 0 #111111; }
.promo-step span { border-radius: 0; border: 2px solid #111111; background: var(--orange); color: #111111; }

/* Dark block: keep the hard shadow visible against black. */
.section-navy { background: #111111; }
.section-navy .section-kicker { color: var(--mist); }

/* Header, top bar and footer get a solid black rule. */
.site-header, .topbar, .footer { border-bottom: 2px solid #111111; }
.footer { border-top: 2px solid #111111; border-bottom: 0; }
.primary-nav a { font-weight: 800; }
.primary-nav a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 4px; }

/* Tables, chat bubbles and the mobile menu. */
.data-table, .history-table, .waterfall { border: 2px solid #111111; }
.data-table th, .history-table th, .waterfall th { border-bottom: 2px solid #111111; }
.achat-bubble, .chat-panel { border: 2px solid #111111; border-radius: 0; }
.primary-nav.open { border-bottom: 2px solid #111111; box-shadow: 0 6px 0 #111111; }
.chat-launcher { border: 2px solid #111111; box-shadow: 4px 4px 0 #111111; }
.chat-launcher-text, .chat-launcher { border-radius: 0; }
.quota-meter, .score-bar, .family .bar, .spark b { border: 2px solid #111111; border-radius: 0; }
.grade-dial { border: 2px solid #111111; }
.grade-inner { border: 2px solid #111111; }

/* Hero: bright block with dark text instead of the dark photo panel. */
.hero { background: var(--mist); color: #111111; border-bottom: 2px solid #111111; }
.hero-media { display: none; }
.hero-copy, .hero-hints, .hero h1, .hero-eyebrow { color: #111111; }
.hero .button-outline { color: #111111; border-color: #111111; box-shadow: 4px 4px 0 #111111; background: #ffffff; }
.hero .button-outline:hover { background: var(--mist); }
.hero-eyebrow { border: 2px solid #111111; background: #ffffff; }
.hero-hints button { border: 2px solid #111111; border-radius: 0; color: #111111; background: #ffffff; }
.hero-hints button:hover { background: var(--orange); color: #111111; }

/* --------------------------- report sharing -------------------------- */

/* The share row on a speed-test report. One chip per network, plus Copy link:
   small enough to sit under the grade, wide enough to hit on a phone. */
.share-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 10px; }
.share-chip {
    display: inline-flex; align-items: center; gap: 6px;
    border: 1px solid var(--line-soft); background: var(--surface); color: var(--ink);
    border-radius: 999px; padding: 6px 13px; font: inherit; font-size: 13px; line-height: 1.4;
    text-decoration: none; cursor: pointer;
}
.share-chip:hover { border-color: var(--ink); background: var(--mist); }
