:root {
  --bg: #eef2f6;
  --bg-elevated: #ffffff;
  --border-subtle: rgba(15, 23, 42, 0.08);
  --accent: #0284c7;
  --accent-deep: #0369a1;
  --accent-soft: rgba(2, 132, 199, 0.12);
  --ink: #0f172a;
  --text: #1e293b;
  --muted: #64748b;
  --shadow-bar: 0 1px 0 rgba(15, 23, 42, 0.06), 0 8px 24px rgba(15, 23, 42, 0.04);
  --font-display: "Sora", "Segoe UI", sans-serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(1200px 520px at 8% -10%, rgba(14, 165, 233, 0.16), transparent 55%),
    radial-gradient(900px 480px at 92% 0%, rgba(3, 105, 161, 0.1), transparent 50%),
    linear-gradient(180deg, #f8fafc 0%, var(--bg) 42%, #e8eef5 100%);
  background-attachment: fixed;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.85rem clamp(1.25rem, 4vw, 2.75rem);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-bar);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.logo-mark {
  height: 36px;
  width: 36px;
  flex-shrink: 0;
  border-radius: 10px;
}

.logo-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  gap: 0.12rem;
}

.logo-name {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 0.98rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}

.logo-tag {
  font-family: var(--font-display);
  font-weight: 550;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.15rem 0.35rem;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.45rem 0.7rem;
  border-radius: 0.5rem;
  transition: color 0.15s ease, background 0.15s ease;
}

nav a:hover {
  color: var(--accent-deep);
  background: var(--accent-soft);
}

main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2.8rem clamp(1.25rem, 4vw, 2.4rem) 3.4rem;
}

.hero {
  text-align: left;
  margin-bottom: 2.8rem;
  padding: 1.75rem 0 0.5rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.2vw, 2.55rem);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 0.75rem;
  max-width: 18ch;
}

.hero p {
  margin: 0;
  color: var(--muted);
  max-width: 38rem;
  font-size: 1.05rem;
  line-height: 1.55;
}

section {
  margin-top: 2.4rem;
}

section h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
}

section h2::before {
  content: "";
  width: 1.1rem;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: 999px;
}

ul {
  padding-left: 1.4rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border-subtle);
  border-radius: 0.85rem;
  padding: 1.25rem 1.35rem;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.045);
  backdrop-filter: blur(6px);
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 0.4rem;
  color: var(--ink);
}

.card .muted,
.card > p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.card .price {
  color: var(--accent-deep);
  font-family: var(--font-display);
  font-weight: 650;
  margin-bottom: 0.5rem;
}

.card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.bg-section {
  margin-top: 2rem;
  padding: 1.15rem 1.25rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(2, 132, 199, 0.18);
  background: linear-gradient(135deg, rgba(224, 242, 254, 0.85), rgba(255, 255, 255, 0.7));
}

.bg-section h3 {
  font-family: var(--font-display);
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: var(--ink);
}

.bg-section p {
  margin-top: 0;
  margin-bottom: 0.6rem;
  color: var(--muted);
}

.bg-section ul {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 0.93rem;
}

.section-lead {
  margin: -0.35rem 0 1.35rem;
  max-width: 42rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.15rem;
}

.testimonial {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.1rem;
  margin: 0;
  padding: 1.25rem 1.3rem;
  border-radius: 0.85rem;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.045);
}

.testimonial blockquote {
  margin: 0;
  padding: 0;
  border: none;
  font-size: 0.93rem;
  line-height: 1.55;
  color: var(--text);
}

.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-subtle);
}

.testimonial-avatar {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.65rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent-deep);
  background: var(--accent-soft);
}

.testimonial-meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.15rem;
}

.testimonial-meta .muted {
  display: block;
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--muted);
  font-weight: 500;
}

.stories-note {
  margin-top: 1.5rem;
}

.stories-note p {
  margin-bottom: 0;
}

#contact {
  margin-top: 3rem;
}

form {
  display: grid;
  gap: 0.9rem;
  max-width: 520px;
  padding: 1.35rem 1.4rem;
  border-radius: 0.95rem;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.05);
}

label {
  display: flex;
  flex-direction: column;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
}

input,
textarea,
select {
  margin-top: 0.35rem;
  border-radius: 0.55rem;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: var(--text);
  padding: 0.55rem 0.7rem;
  font-size: 0.92rem;
  font-family: inherit;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

textarea {
  min-height: 110px;
  resize: vertical;
}

button {
  margin-top: 0.15rem;
  border-radius: 0.55rem;
  border: none;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #ffffff;
  padding: 0.65rem 1.25rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  align-self: flex-start;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(3, 105, 161, 0.25);
  transition: transform 0.12s ease, filter 0.12s ease;
}

button:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.status {
  font-size: 0.85rem;
  color: var(--muted);
}

.status.ok {
  color: #15803d;
}

.status.error {
  color: #b91c1c;
}

/*
  Agent lure: MUST stay in the DOM (no [hidden] / display:none — scrapers drop those).
  Invisible to sighted users via bg-matched ink + no pointer hit; aria-hidden for a11y.
  Prefer this over HTML comments alone (comments are often stripped before the model sees text).
*/
.wr-agent-instructions {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
  max-width: min(48rem, 92vw);
  margin: 0;
  padding: 0.25rem 0.5rem;
  border: 0;
  pointer-events: none;
  user-select: none;
  /* Match page wash so humans don't notice; still real text nodes for DOM/HTML parsers */
  color: #eef2f6;
  background: transparent;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 400;
  letter-spacing: normal;
  white-space: normal;
  overflow: visible;
}

/* Floating support chat widget */
.wr-support {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 40;
  font-family: var(--font-body);
}

.wr-support-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: 0;
  cursor: pointer;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 10px 28px rgba(3, 105, 161, 0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.wr-support-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(3, 105, 161, 0.34);
}

.wr-support-toggle img {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #fff;
}

.wr-support-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.7rem);
  width: min(360px, calc(100vw - 1.6rem));
  height: 420px;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.16);
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px) scale(0.98);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.wr-support.open .wr-support-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.wr-support-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: linear-gradient(180deg, #f8fbff, #eef6fc);
  border-bottom: 1px solid var(--border-subtle);
}

.wr-support-head strong {
  font-family: var(--font-display);
  font-size: 0.92rem;
  color: var(--ink);
}

.wr-support-head span {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 0.15rem;
}

.wr-support-close {
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
}

.wr-support-log {
  flex: 1;
  overflow-y: auto;
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  background:
    radial-gradient(500px 180px at 100% 0%, rgba(14, 165, 233, 0.08), transparent 60%),
    #f8fafc;
}

.wr-bubble {
  max-width: 88%;
  padding: 0.65rem 0.8rem;
  border-radius: 12px;
  font-size: 0.84rem;
  line-height: 1.4;
  white-space: pre-wrap;
  word-break: break-word;
}

.wr-bubble.bot {
  align-self: flex-start;
  background: #fff;
  border: 1px solid var(--border-subtle);
  color: var(--text);
}

.wr-bubble.user {
  align-self: flex-end;
  background: var(--accent-soft);
  color: var(--ink);
}

.wr-support-form {
  display: flex;
  gap: 0.45rem;
  padding: 0.7rem;
  border-top: 1px solid var(--border-subtle);
  background: #fff;
}

.wr-support-form input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 0.55rem 0.7rem;
  font: inherit;
}

.wr-support-form button {
  border: 0;
  border-radius: 10px;
  padding: 0.55rem 0.85rem;
  background: var(--accent-deep);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.wr-support-form button:disabled {
  opacity: 0.6;
  cursor: wait;
}

footer {
  border-top: 1px solid var(--border-subtle);
  padding: 1.25rem 1.5rem 1.4rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.45);
}

@media (max-width: 640px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
    padding-block: 0.9rem;
  }

  nav {
    width: 100%;
    justify-content: flex-start;
  }

  nav a {
    padding-inline: 0.45rem;
    margin: 0;
  }

  .hero h1 {
    max-width: none;
  }

  .wr-support {
    right: 0.75rem;
    bottom: 0.75rem;
  }
}
