:root {
  --astro-ink: #1d1730;
  --astro-muted: #6f6780;
  --astro-paper: #fffaf4;
  --astro-surface: #ffffff;
  --astro-line: #e5dded;
  --astro-accent: #7d4bc0;
  --astro-accent-dark: #512783;
  --astro-gold: #bd7a2f;
  --astro-success: #1c7c54;
}

.astro-quick-nav {
  position: relative;
  z-index: 2147483000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 100%;
  overflow-x: auto;
  white-space: nowrap;
  padding: 7px max(14px, calc((100% - 1260px) / 2));
  border-top: 1px solid var(--astro-nav-line);
  border-bottom: 1px solid var(--astro-nav-line);
  background: var(--astro-nav-bg);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
  scrollbar-width: thin;
}

.astro-quick-nav.astro-site-matileo {
  --astro-nav-bg: #06070f;
  --astro-nav-text: #f1d790;
  --astro-nav-hover: #6ee4f1;
  --astro-nav-line: rgba(241, 215, 144, .23);
}

.astro-quick-nav.astro-site-ketnesh {
  --astro-nav-bg: #17192e;
  --astro-nav-text: #fff9eb;
  --astro-nav-hover: #e8b95b;
  --astro-nav-line: rgba(232, 185, 91, .3);
}

.astro-quick-nav a {
  color: var(--astro-nav-text);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .015em;
  text-decoration: none;
  padding: 9px 13px;
  border-bottom: 2px solid transparent;
  transition: color .18s ease, border-color .18s ease;
}

.astro-quick-nav a:hover,
.astro-quick-nav a:focus-visible {
  color: var(--astro-nav-hover);
  border-bottom-color: var(--astro-nav-hover);
  outline: none;
}

.astro-page {
  min-height: 100vh;
  color: var(--astro-ink);
  background:
    radial-gradient(circle at 8% 5%, rgba(163, 116, 225, .23), transparent 26rem),
    radial-gradient(circle at 94% 26%, rgba(241, 180, 112, .18), transparent 30rem),
    var(--astro-paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.astro-page *, .astro-modal * { box-sizing: border-box; }
.astro-wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.astro-site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 0 18px; }
.astro-brand { color: var(--astro-ink); font-family: Georgia, "Times New Roman", serif; font-size: clamp(24px, 4vw, 36px); font-weight: 700; letter-spacing: .12em; text-decoration: none; }
.astro-brand small { display: block; margin-top: 3px; color: var(--astro-muted); font-family: inherit; font-size: 10px; font-weight: 600; letter-spacing: .22em; }
.astro-back { color: var(--astro-accent-dark); font-size: 14px; font-weight: 700; text-decoration: none; }
.astro-back:hover { text-decoration: underline; }

.astro-hero { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 36px; align-items: end; padding: 38px 0 32px; border-bottom: 1px solid var(--astro-line); }
.astro-kicker { margin: 0 0 12px; color: var(--astro-accent); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.astro-hero h1, .astro-tool-card h1 { max-width: 760px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(36px, 6vw, 64px); font-weight: 400; line-height: 1.02; letter-spacing: -.04em; }
.astro-hero p { max-width: 690px; margin: 18px 0 0; color: var(--astro-muted); font-size: 17px; line-height: 1.65; }
.astro-stat { padding: 22px; border: 1px solid var(--astro-line); border-radius: 18px; background: rgba(255,255,255,.76); }
.astro-stat b { display: block; color: var(--astro-accent-dark); font-family: Georgia, serif; font-size: 31px; font-weight: 400; }
.astro-stat span { display: block; margin-top: 6px; color: var(--astro-muted); font-size: 13px; line-height: 1.45; }

.astro-filters { display: flex; gap: 10px; overflow-x: auto; padding: 26px 0 12px; }
.astro-filter { border: 1px solid var(--astro-line); border-radius: 999px; padding: 9px 14px; color: var(--astro-muted); background: #fff; font: inherit; font-size: 14px; cursor: pointer; }
.astro-filter:hover, .astro-filter[aria-pressed="true"] { border-color: var(--astro-accent); color: #fff; background: var(--astro-accent); }
.astro-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding: 20px 0 54px; }
.astro-card { display: flex; flex-direction: column; min-height: 350px; padding: 22px; border: 1px solid var(--astro-line); border-radius: 20px; background: rgba(255,255,255,.9); box-shadow: 0 12px 30px rgba(61,37,86,.05); }
.astro-card-head { display: flex; gap: 14px; align-items: center; }
.astro-avatar { display: grid; flex: 0 0 58px; width: 58px; height: 58px; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(135deg, #7d4bc0, #e6a45f); font-family: Georgia, serif; font-size: 22px; }
.astro-card h2 { margin: 0; font-family: Georgia, serif; font-size: 22px; font-weight: 400; }
.astro-presence { display: flex; align-items: center; gap: 6px; margin-top: 5px; color: var(--astro-success); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.astro-presence::before { width: 8px; height: 8px; border-radius: 50%; background: currentColor; content: ""; }
.astro-card dl { display: grid; gap: 12px; margin: 24px 0; }
.astro-card dl div { display: grid; gap: 3px; }
.astro-card dt { color: var(--astro-muted); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.astro-card dd { margin: 0; color: #392e49; font-size: 14px; line-height: 1.45; }
.astro-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.astro-rate { color: var(--astro-accent-dark); font-size: 16px; font-weight: 800; }
.astro-rate small { color: var(--astro-muted); font-size: 11px; font-weight: 500; }
.astro-button { appearance: none; border: 0; border-radius: 10px; padding: 11px 15px; color: #fff; background: var(--astro-accent-dark); font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; transition: transform .18s ease, background .18s ease; }
.astro-button:hover { background: #32134f; transform: translateY(-1px); }
.astro-button:focus-visible, .astro-filter:focus-visible { outline: 3px solid rgba(125,75,192,.28); outline-offset: 2px; }

.astro-tool-page { display: grid; min-height: 100vh; place-items: center; padding: 42px 16px; background: radial-gradient(circle at 12% 6%, rgba(145,106,221,.24), transparent 25rem), #fbf7f1; }
.astro-tool-card { width: min(740px, 100%); padding: clamp(30px, 7vw, 68px); border: 1px solid var(--astro-line); border-radius: 26px; text-align: center; background: rgba(255,255,255,.9); box-shadow: 0 20px 55px rgba(65,40,85,.1); }
.astro-tool-icon { width: 76px; height: 76px; display: grid; place-items: center; margin: 0 auto 24px; border-radius: 50%; color: var(--astro-accent-dark); background: #f1e7fc; font-family: Georgia, serif; font-size: 38px; }
.astro-tool-card h1 { max-width: none; font-size: clamp(32px, 5vw, 50px); }
.astro-tool-card p { max-width: 510px; margin: 20px auto; color: var(--astro-muted); font-size: 16px; line-height: 1.7; }
.astro-tool-note { padding: 14px 16px; margin: 28px 0; border-radius: 12px; color: #5f4d6f; background: #f8f2fc; font-size: 13px; line-height: 1.5; }

.astro-modal[hidden] { display: none; }
.astro-modal { position: fixed; inset: 0; z-index: 2147483647; display: grid; place-items: center; padding: 18px; background: rgba(22,14,31,.62); }
.astro-modal-panel { width: min(560px, 100%); max-height: min(760px, calc(100vh - 36px)); overflow-y: auto; padding: 28px; border-radius: 20px; background: #fff; box-shadow: 0 24px 80px rgba(0,0,0,.32); }
.astro-modal-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.astro-modal h2 { margin: 0; font-family: Georgia, serif; font-size: 30px; font-weight: 400; }
.astro-close { width: 34px; height: 34px; border: 0; border-radius: 50%; color: var(--astro-muted); background: #f3eff6; font-size: 21px; cursor: pointer; }
.astro-modal p { color: var(--astro-muted); font-size: 14px; line-height: 1.55; }
.astro-form { display: grid; gap: 14px; margin-top: 22px; }
.astro-form label { display: grid; gap: 6px; color: #493b59; font-size: 12px; font-weight: 800; }
.astro-form input, .astro-form select, .astro-form textarea { width: 100%; padding: 11px 12px; border: 1px solid #dcd2e6; border-radius: 9px; color: var(--astro-ink); background: #fff; font: inherit; font-size: 14px; }
.astro-form textarea { min-height: 94px; resize: vertical; }
.astro-form input:focus, .astro-form select:focus, .astro-form textarea:focus { border-color: var(--astro-accent); outline: 3px solid rgba(125,75,192,.13); }
.astro-disclaimer { margin: 2px 0 0; color: #887c93; font-size: 11px; line-height: 1.5; }
.astro-success { margin-top: 16px; padding: 14px; border-radius: 10px; color: #17613f; background: #eaf8f0; font-size: 14px; line-height: 1.45; }

@media (max-width: 880px) { .astro-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } .astro-hero { grid-template-columns: 1fr; } .astro-stat { max-width: 360px; } }
@media (max-width: 600px) { .astro-quick-nav { padding: 8px 10px; } .astro-quick-nav a { font-size: 13px; padding: 8px 11px; } .astro-quick-nav .astro-chat-link { margin-left: 0; } .astro-wrap { width: min(100% - 24px, 1180px); } .astro-site-header { padding-top: 18px; } .astro-grid { grid-template-columns: 1fr; padding-top: 14px; } .astro-card { min-height: 320px; } }
