/* ============================================================
   Loxada Connection Check — Stylesheet
   Brand: Violet #6765A4, Aurora #83C6A9, Gill Sans Nova
   ============================================================ */

:root {
  /* — Type — */
  --font-sans: "Gill Sans Nova","Gill Sans","Gill Sans MT","Seravek",
               "Cabin",Arial,sans-serif;

  /* — Brand colours — */
  --violet:        #6765A4;
  --violet-20:     #6765A433;
  --violet-tint-1: #E1E0EE;
  --violet-tint-2: #F2F1F8;
  --violet-dark:   #4E4C82;

  --aurora:        #83C6A9;
  --aurora-15:     #83C6A926;
  --aurora-dark:   #4F9A7B;

  /* — Neutrals — */
  --ink:        #2A2A2A;
  --ink-soft:   #5B5B5B;
  --ink-muted:  #8A8A8A;
  --grey:       #626161;
  --rule:       #E5E4EC;
  --paper:      #FBFBFC;
  --white:      #FFFFFF;

  /* — Status — */
  --ok:         #4F9A7B;
  --ok-soft:    #EFF8F4;
  --ok-rule:    #C6E1D3;
  --warn:       #C25450;
  --warn-soft:  #FBEEED;
  --warn-rule:  #F1D5D3;

  /* — Shape & shadow — */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 22px;
  --shadow-1: 0 1px 2px rgba(40,40,70,.05), 0 1px 0 rgba(40,40,70,.03);
  --shadow-2: 0 6px 18px -6px rgba(40,40,70,.12), 0 2px 6px -2px rgba(40,40,70,.06);
}

/* — Reset — */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

/* — Page shell — */
.lx-page          { min-height: 100vh; display: flex; flex-direction: column; }
.lx-page__accent  { height: 4px; }
.lx-page__accent--ok   { background: linear-gradient(90deg, var(--aurora) 0%, var(--aurora-dark) 100%); }
.lx-page__accent--warn { background: linear-gradient(90deg, var(--violet) 0%, var(--warn) 100%); }

.lx-page__topnav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 40px;
  max-width: 1280px; margin: 0 auto; width: 100%;
}
.lx-nav { display: flex; gap: 32px; font-size: 14px; color: var(--ink-soft); }
.lx-nav a:hover { color: var(--violet); }
.lx-logo { display: block; }

.lx-page__main {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 56px;
  padding: 20px 40px 8px;
  max-width: 1280px; margin: 0 auto; width: 100%;
  align-items: start;
}

.lx-page__container { padding: 0 40px; max-width: 1280px; margin: 0 auto; width: 100%; }

.lx-page__footer {
  padding: 20px 40px;
  border-top: 1px solid var(--rule);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12.5px; color: var(--ink-muted);
  margin-top: 28px;
  max-width: 1280px; margin-left: auto; margin-right: auto; width: 100%;
}

/* — Hero / status — */
.lx-hero { animation: lx-fadein .5s ease both; }
.lx-status {
  position: relative; width: 104px; height: 104px; margin-bottom: 26px;
}
.lx-status__ring {
  position: absolute; inset: 0; border-radius: 50%;
  animation: lx-pulse-ring 2.6s ease-out infinite;
}
.lx-status__ring--2 { animation-delay: 1.3s; opacity: .12; }
.lx-status--ok   .lx-status__ring { background: var(--aurora); opacity: .16; }
.lx-status--warn .lx-status__ring { background: var(--warn);   opacity: .16; }
.lx-status__disc {
  position: absolute; inset: 0; border-radius: 50%;
  display: grid; place-items: center;
}
.lx-status--ok .lx-status__disc {
  background: var(--ok-soft); border: 1.5px solid var(--aurora); color: var(--ok);
}
.lx-status--warn .lx-status__disc {
  background: var(--warn-soft); border: 1.5px solid var(--warn); color: var(--warn);
}
.lx-status__tick { stroke-dasharray: 30; stroke-dashoffset: 30; animation: lx-draw .6s .15s ease-out forwards; }

.lx-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 11px; border-radius: 999px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.04em;
}
.lx-chip--ok   { background: var(--ok-soft);   color: var(--ok);   border: 1px solid var(--ok-rule); }
.lx-chip--warn { background: var(--warn-soft); color: var(--warn); border: 1px solid var(--warn-rule); }

.lx-dot { position: relative; width: 7px; height: 7px; display: inline-block; }
.lx-dot__pulse {
  position: absolute; inset: 0; border-radius: 50%; opacity: .5;
  animation: lx-pulse-ring 2s ease-out infinite;
}
.lx-dot__core  { position: absolute; inset: 0; border-radius: 50%; }
.lx-dot--ok   .lx-dot__pulse, .lx-dot--ok   .lx-dot__core { background: var(--aurora); }
.lx-dot--warn .lx-dot__pulse, .lx-dot--warn .lx-dot__core { background: var(--warn); }

.lx-hero__title {
  font-size: 44px; line-height: 1.08; letter-spacing: .005em;
  margin: 16px 0 12px; font-weight: 500;
  color: var(--violet-dark);
  max-width: 560px;
  animation: lx-fadein .5s .05s ease both;
}
.lx-hero__body {
  font-size: 16px; line-height: 1.55;
  color: var(--ink-soft);
  max-width: 560px; margin: 0;
  animation: lx-fadein .5s .1s ease both;
}

/* — Side panel — */
.lx-side {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--shadow-2);
  align-self: start;
}
.lx-eyebrow {
  text-transform: uppercase; letter-spacing: .14em;
  font-size: 11.5px; font-weight: 500; color: var(--grey);
}
.lx-eyebrow--violet { color: var(--violet); }
.lx-eyebrow--ok     { color: var(--ok); }
.lx-eyebrow--aurora { color: var(--aurora); }

.lx-checks { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-direction: column; gap: 16px; }
.lx-checks li { display: flex; gap: 14px; }
.lx-check__num {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--violet-tint-2); color: var(--violet);
  display: grid; place-items: center;
  font-size: 13px; font-weight: 500;
}
.lx-check__title { font-size: 14.5px; font-weight: 500; color: var(--ink); line-height: 1.35; }
.lx-check__sub   { font-size: 13px; color: var(--ink-muted); margin-top: 3px; line-height: 1.45; }

.lx-callout {
  margin-top: 20px; padding: 14px;
  border-radius: 10px;
  font-size: 13px; line-height: 1.5;
}
.lx-callout--violet { background: var(--violet-tint-2); color: var(--violet-dark); }
.lx-callout--ok     { background: var(--aurora-15); border: 1px solid var(--ok-rule); color: var(--violet-dark); padding: 16px; border-radius: 12px; }

.lx-shortcuts { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-direction: column; gap: 10px; }
.lx-shortcut {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px;
  border: 1px solid var(--rule);
  border-radius: 10px;
  font-size: 14px; color: var(--ink);
  text-align: left;
  transition: background .15s, border-color .15s;
}
.lx-shortcut:hover { background: var(--violet-tint-2); border-color: var(--violet-20); }
.lx-shortcut__t   { display: block; font-weight: 500; }
.lx-shortcut__sub { display: block; font-size: 12.5px; color: var(--ink-muted); margin-top: 2px; }

/* — Buttons — */
.lx-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 12px 20px;
  border-radius: 10px; border: 1px solid transparent;
  font: inherit; font-weight: 500; font-size: 15px;
  cursor: pointer; text-decoration: none;
  background: var(--violet); color: var(--white);
  transition: transform .12s, box-shadow .15s, background .15s, color .15s, border-color .15s;
}
.lx-btn:hover { background: var(--violet-dark); transform: translateY(-1px); box-shadow: var(--shadow-2); }
.lx-btn--full  { width: 100%; margin-top: 16px; }
.lx-btn--aurora { background: var(--aurora); color: var(--violet-dark); }
.lx-btn--aurora:hover { background: var(--aurora-dark); color: var(--white); }
.lx-btn--ghost  { background: transparent; color: var(--violet); border-color: var(--violet-20); }
.lx-btn--ghost:hover { background: var(--violet-tint-2); }
.lx-btn--ghost-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.4); }
.lx-btn--ghost-light:hover { background: rgba(255,255,255,.08); }

/* — Promo band — */
.lx-promo {
  margin-top: 32px;
  background: var(--violet); color: var(--white);
  border-radius: var(--r-xl);
  padding: 36px 40px;
  display: grid; grid-template-columns: 1fr auto;
  gap: 32px; align-items: center;
  position: relative; overflow: hidden;
}
.lx-promo__bg-1, .lx-promo__bg-2 {
  position: absolute; border-radius: 50%; background: var(--aurora);
  pointer-events: none;
}
.lx-promo__bg-1 { right: -90px; top: -90px; width: 240px; height: 240px; opacity: .18; }
.lx-promo__bg-2 { right: 70px; bottom: -50px; width: 140px; height: 140px; opacity: .10; }
.lx-promo__copy { position: relative; }
.lx-promo__title { font-size: 28px; font-weight: 500; letter-spacing: .005em; margin: 10px 0 6px; line-height: 1.15; max-width: 540px; }
.lx-promo__body  { margin: 0; font-size: 15px; color: rgba(255,255,255,.85); max-width: 520px; line-height: 1.55; }
.lx-promo__cta   { position: relative; display: flex; gap: 10px; }

/* — Meta info row (kept for future use, currently unused) — */
.lx-meta { display: flex; gap: 36px; flex-wrap: wrap; margin-top: 28px; animation: lx-fadein .5s .2s ease both; }
.lx-meta__label { text-transform: uppercase; letter-spacing: .14em; font-size: 10.5px; font-weight: 500; color: var(--grey); }
.lx-meta__value { margin-top: 4px; color: var(--violet-dark); font-size: 15px; font-weight: 500; letter-spacing: .02em; }

/* — Footer status indicator — */
.lx-status-indicator {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
}
.lx-status-indicator--ok   { color: var(--ok); }
.lx-status-indicator--warn { color: var(--warn); }

/* — Animations — */
@keyframes lx-pulse-ring {
  0%   { transform: scale(1);   opacity: .55; }
  80%  { transform: scale(2.2); opacity: 0; }
  100% { transform: scale(2.2); opacity: 0; }
}
@keyframes lx-fadein {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: none; }
}
@keyframes lx-draw { to { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .lx-status__tick { stroke-dashoffset: 0; }
}

/* — Responsive — */
@media (max-width: 820px) {
  .lx-page__main      { grid-template-columns: 1fr; }
  .lx-hero__title     { font-size: 32px; }
  .lx-promo           { grid-template-columns: 1fr; }
  .lx-promo__cta      { justify-content: flex-start; }
}
@media (max-width: 540px) {
  .lx-page__topnav    { padding: 16px 20px; }
  .lx-page__main      { padding: 16px 20px 24px; gap: 32px; }
  .lx-page__container { padding: 0 20px; }
  .lx-page__footer    { padding: 14px 20px; }
  .lx-hero__title     { font-size: 26px; }
  .lx-promo           { padding: 28px 24px; }
  .lx-promo__title    { font-size: 22px; }
  .lx-nav             { display: none; }
}
