/* ───────────────────────────────────────────────────────────────────
   HotKup Support: standalone help center.
   Brand-matched to the product: Sora type, Google-Material palette,
   and the signature blue→orange "liquid flow". Structure echoes
   fonts.google.com (sticky bar, prominent search, filter row, card grid).
   ─────────────────────────────────────────────────────────────────── */

@font-face {
  font-family: 'Sora';
  src: url('assets/sora-variable.woff2') format('woff2');
  font-weight: 100 800;
  font-display: swap;
}

:root {
  --blue:        #1a73e8;
  --blue-deep:   #1558b3;
  --blue-light:  #e8f0fe;
  --orange:      #f57c00;
  --orange-light:#fff3e0;
  --green:       #1e8e3e;
  --coral:       #e2628e;   /* the cup's accent */

  --bg:          #f6f8fc;
  --surface:     #ffffff;
  --surface-2:   #f1f3f4;
  --border:      #e3e6eb;
  --border-strong:#dadce0;

  --text:        #202124;
  --text-2:      #3c4043;
  --text-3:      #5f6368;
  --text-4:      #80868b;

  --flow: linear-gradient(100deg, #1a73e8 0%, #4d8ff0 28%, #8e7bdd 52%, #f08a4b 78%, #f57c00 100%);
  --radius:   14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(60,64,67,.10), 0 1px 3px rgba(60,64,67,.06);
  --shadow-md: 0 6px 18px rgba(60,64,67,.12), 0 2px 6px rgba(60,64,67,.08);
  --shadow-lg: 0 18px 50px rgba(26,71,128,.16), 0 6px 16px rgba(60,64,67,.10);
  --maxw: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 130px; }

body {
  margin: 0;
  font-family: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

svg { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

a { color: inherit; text-decoration: none; }

/* ─── Top app bar ──────────────────────────────────────────────── */
.topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 1.5rem;
  height: 68px; padding: 0 clamp(1rem, 4vw, 2.25rem);
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}

.brand { display: flex; align-items: center; gap: .65rem; flex-shrink: 0; }
.brand-mark { height: 26px; width: auto; display: block; }
.brand-tag {
  font-size: .82rem; font-weight: 600; letter-spacing: .01em;
  color: var(--text-3);
  padding: .18rem .5rem; border-radius: 7px;
  background: var(--surface-2);
  position: relative; top: 1px;
}

.topnav { display: flex; gap: .35rem; margin-left: .5rem; }
.topnav a {
  font-size: .92rem; font-weight: 500; color: var(--text-2);
  padding: .5rem .8rem; border-radius: 9px;
  transition: background .15s, color .15s;
}
.topnav a:hover { background: var(--surface-2); color: var(--text); }

.topbar-right { margin-left: auto; display: flex; align-items: center; gap: .9rem; }

.mini-search {
  display: flex; align-items: center; gap: .5rem;
  height: 40px; padding: 0 .9rem;
  background: var(--surface-2); border: 1px solid transparent;
  border-radius: 999px; color: var(--text-3);
  width: 0; opacity: 0; overflow: hidden;
  transition: width .35s cubic-bezier(.4,0,.2,1), opacity .25s, border-color .15s, background .15s;
}
.topbar.scrolled .mini-search { width: 210px; opacity: 1; }
.mini-search:focus-within { background: var(--surface); border-color: var(--blue); }
.mini-search svg { width: 17px; height: 17px; flex-shrink: 0; }
.mini-search input {
  border: 0; background: none; outline: none; width: 100%;
  font: inherit; font-size: .9rem; color: var(--text);
}

.btn-app {
  display: inline-flex; align-items: center; gap: .45rem;
  height: 42px; padding: 0 1.1rem;
  font-size: .92rem; font-weight: 600; color: #fff;
  background: var(--blue); border-radius: 999px;
  box-shadow: 0 2px 8px rgba(26,115,232,.35);
  transition: transform .15s, box-shadow .2s, background .15s;
  white-space: nowrap;
}
.btn-app:hover { background: var(--blue-deep); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(26,115,232,.42); }
.btn-app svg { width: 15px; height: 15px; transition: transform .2s; }
.btn-app:hover svg { transform: translateX(3px); }

/* ─── Hero ─────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(3.5rem, 9vw, 6.5rem) 1.25rem clamp(3rem, 7vw, 5rem);
  text-align: center;
  background:
    radial-gradient(120% 90% at 50% -10%, #eef4ff 0%, rgba(246,248,252,0) 60%),
    var(--bg);
}
/* Soft liquid-flow aurora behind the hero */
.hero-glow {
  position: absolute; inset: -30% -10% auto -10%; height: 520px;
  background:
    radial-gradient(40% 60% at 22% 30%, rgba(26,115,232,.22), transparent 70%),
    radial-gradient(38% 55% at 78% 26%, rgba(245,124,0,.20), transparent 70%),
    radial-gradient(34% 50% at 52% 8%, rgba(142,123,221,.18), transparent 70%);
  filter: blur(8px);
  animation: drift 18s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes drift {
  0%   { transform: translate3d(-2%, 0, 0) scale(1); }
  100% { transform: translate3d(3%, 2%, 0) scale(1.08); }
}

.hero-inner { position: relative; max-width: 760px; margin: 0 auto; }

.hero-eyebrow {
  margin: 0 0 1rem; font-size: .8rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--blue);
}
.hero-title {
  margin: 0; font-size: clamp(2.4rem, 6vw, 3.9rem); font-weight: 700;
  letter-spacing: -.03em; line-height: 1.02; color: var(--text);
}
.hero-sub {
  margin: 1.1rem auto 0; max-width: 540px;
  font-size: clamp(1rem, 2.2vw, 1.16rem); line-height: 1.55; color: var(--text-3);
}

/* Hero search with animated flow ring (mirrors the in-app search) */
.hero-search { position: relative; max-width: 600px; margin: 2.2rem auto 0; }
.flow-ring {
  position: absolute; inset: -2px; border-radius: 999px;
  background: var(--flow); background-size: 240% 240%;
  opacity: 0; filter: blur(7px);
  transition: opacity .3s;
  animation: flowmove 6s linear infinite;
  pointer-events: none;
}
.hero-search:focus-within .flow-ring { opacity: .9; }
@keyframes flowmove {
  0% { background-position: 0% 50%; }
  100% { background-position: 240% 50%; }
}
.hero-search-pill {
  position: relative;
  display: flex; align-items: center; gap: .75rem;
  height: 64px; padding: 0 1.25rem;
  background: var(--surface);
  border: 1.5px solid var(--border-strong);
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  transition: border-color .2s, box-shadow .2s;
}
.hero-search:focus-within .hero-search-pill { border-color: transparent; box-shadow: var(--shadow-lg); }
.hero-search-ico { width: 22px; height: 22px; color: var(--text-3); flex-shrink: 0; }
.hero-search:focus-within .hero-search-ico { color: var(--blue); }
.hero-search input {
  flex: 1; border: 0; background: none; outline: none;
  font: inherit; font-size: 1.05rem; color: var(--text);
}
.hero-search input::placeholder { color: var(--text-4); }
.hero-search-clear {
  display: grid; place-items: center; width: 30px; height: 30px;
  border: 0; border-radius: 50%; background: var(--surface-2);
  color: var(--text-3); cursor: pointer; flex-shrink: 0;
  transition: background .15s, color .15s;
}
.hero-search-clear:hover { background: #e6e9ee; color: var(--text); }
.hero-search-clear svg { width: 13px; height: 13px; stroke-width: 2; }

.hero-suggest {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: .55rem; margin-top: 1.4rem;
  font-size: .9rem; color: var(--text-4);
}
.suggest-chip {
  font: inherit; font-size: .88rem; font-weight: 500; color: var(--text-2);
  padding: .42rem .85rem; cursor: pointer;
  background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: 999px; box-shadow: var(--shadow-sm);
  transition: transform .15s, border-color .15s, color .15s, box-shadow .2s;
}
.suggest-chip:hover { transform: translateY(-1px); border-color: var(--blue); color: var(--blue); box-shadow: var(--shadow-md); }

/* ─── Sticky category filter row ───────────────────────────────── */
.filterbar {
  position: sticky; top: 68px; z-index: 40;
  background: rgba(246,248,252,.86);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.filterbar-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; gap: 1rem;
  padding: .8rem clamp(1rem, 4vw, 2rem);
}
.chips {
  display: flex; gap: .5rem; overflow-x: auto; flex: 1;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex-shrink: 0; font: inherit; font-size: .88rem; font-weight: 500;
  color: var(--text-2); white-space: nowrap; cursor: pointer;
  padding: .5rem .95rem; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border-strong);
  transition: background .15s, color .15s, border-color .15s;
}
.chip:hover { background: var(--blue-light); border-color: #c6dafc; color: var(--blue-deep); }
.chip.is-active { background: var(--text); color: #fff; border-color: var(--text); }
.result-count { font-size: .85rem; color: var(--text-3); white-space: nowrap; flex-shrink: 0; }

/* ─── Card grid ────────────────────────────────────────────────── */
main { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2rem); }

.cards { padding: clamp(2rem, 5vw, 3.25rem) 0 1rem; }
.card-grid {
  display: grid; gap: 1.1rem;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.card {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 1.5rem 1.5rem 1.35rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  position: relative; overflow: hidden;
  transition: transform .2s cubic-bezier(.4,0,.2,1), box-shadow .25s, border-color .2s;
  /* staggered entrance */
  opacity: 0; transform: translateY(14px);
  animation: rise .55s cubic-bezier(.2,.7,.2,1) forwards;
}
.card::before {
  content: ''; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: var(--c, var(--blue)); transform: scaleX(0); transform-origin: left;
  transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }

.card-icon {
  --c: var(--blue);
  display: grid; place-items: center; width: 46px; height: 46px;
  border-radius: 13px; margin-bottom: 1.05rem;
  color: var(--c); background: color-mix(in srgb, var(--c) 12%, #fff);
}
.card-icon svg { width: 22px; height: 22px; }
.card[style*="--c"] { } /* card-level accent comes from inner icon var */
.card-title { margin: 0 0 .45rem; font-size: 1.14rem; font-weight: 600; letter-spacing: -.01em; }
.card-desc { margin: 0; font-size: .92rem; line-height: 1.5; color: var(--text-3); flex: 1; }
.card-meta {
  margin-top: 1.1rem; font-size: .8rem; font-weight: 600; letter-spacing: .02em;
  color: var(--text-4); display: inline-flex; align-items: center; gap: .4rem;
}
.card-meta::after {
  content: '→'; font-weight: 400; color: var(--blue);
  opacity: 0; transform: translateX(-4px); transition: opacity .2s, transform .2s;
}
.card:hover .card-meta::after { opacity: 1; transform: translateX(0); }

.no-results {
  text-align: center; color: var(--text-3); font-size: 1rem;
  padding: 3rem 1rem;
}
.no-results a { color: var(--blue); font-weight: 600; }

/* ─── Popular articles ─────────────────────────────────────────── */
.popular { padding: clamp(2.5rem, 5vw, 3.5rem) 0; }
.section-head { margin-bottom: 1.4rem; }
.section-head h2 { margin: 0; font-size: 1.6rem; font-weight: 700; letter-spacing: -.02em; }
.section-head p { margin: .35rem 0 0; color: var(--text-3); font-size: .98rem; }

.article-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
  gap: .35rem 2rem;
  border-top: 1px solid var(--border);
}
.article-list a {
  display: flex; align-items: center; gap: .85rem;
  padding: 1rem .25rem; font-size: 1rem; font-weight: 500; color: var(--text-2);
  border-bottom: 1px solid var(--border);
  transition: color .15s, padding .2s;
}
.article-list a:hover { color: var(--blue-deep); padding-left: .6rem; }
.article-cat {
  flex-shrink: 0; font-size: .72rem; font-weight: 700; letter-spacing: .03em;
  text-transform: uppercase; color: var(--c);
  background: color-mix(in srgb, var(--c) 12%, #fff);
  padding: .25rem .5rem; border-radius: 6px; width: 96px; text-align: center;
}
.article-list a svg { width: 17px; height: 17px; margin-left: auto; color: var(--text-4); transition: transform .2s, color .15s; }
.article-list a:hover svg { transform: translateX(4px); color: var(--blue); }

/* ─── Contact band ─────────────────────────────────────────────── */
.contact { position: relative; margin: 1.5rem 0 4rem; }
.contact-inner {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #0e2a52 0%, #14213d 100%);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 5vw, 3.5rem) clamp(1.5rem, 5vw, 3.25rem);
  color: #fff;
}
.contact-flow {
  position: absolute; inset: -40% -10% auto -10%; height: 360px;
  background:
    radial-gradient(40% 70% at 18% 20%, rgba(26,115,232,.55), transparent 65%),
    radial-gradient(38% 65% at 82% 12%, rgba(245,124,0,.42), transparent 65%),
    radial-gradient(34% 55% at 50% 0%, rgba(226,98,142,.40), transparent 65%);
  filter: blur(10px); animation: drift 16s ease-in-out infinite alternate; pointer-events: none;
}
.contact-head { position: relative; max-width: 520px; }
.contact-head h2 { margin: 0; font-size: clamp(1.7rem, 4vw, 2.3rem); font-weight: 700; letter-spacing: -.02em; }
.contact-head p { margin: .6rem 0 0; color: rgba(255,255,255,.72); font-size: 1.04rem; }

.contact-grid {
  position: relative; margin-top: 2rem;
  display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.contact-card {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 1.4rem 1.4rem 1.3rem;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  transition: transform .2s, background .2s, border-color .2s;
}
.contact-card:hover { transform: translateY(-3px); background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.22); }
.contact-badge {
  position: absolute; top: 1.1rem; right: 1.1rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .04em;
  color: #0b3d1f; background: #25d366;
  padding: .22rem .5rem; border-radius: 999px;
  box-shadow: 0 2px 8px rgba(37,211,102,.4);
}
.contact-icon {
  --c: var(--blue);
  display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: 12px; margin-bottom: 1rem;
  color: #fff; background: color-mix(in srgb, var(--c) 60%, transparent);
}
.contact-icon svg { width: 21px; height: 21px; }
.contact-card h3 { margin: 0 0 .4rem; font-size: 1.1rem; font-weight: 600; }
.contact-card p { margin: 0; font-size: .9rem; line-height: 1.5; color: rgba(255,255,255,.68); flex: 1; }
.contact-link { margin-top: 1rem; font-size: .9rem; font-weight: 600; color: #8fc0ff; }
.contact-card:hover .contact-link { color: #fff; }

/* ─── Footer ───────────────────────────────────────────────────── */
.footer { background: var(--surface); border-top: 1px solid var(--border); }
.footer-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 2.5rem; justify-content: space-between;
  padding: clamp(2.5rem, 5vw, 3.5rem) clamp(1rem, 4vw, 2rem) 2rem;
}
.footer-brand { max-width: 300px; }
.footer-mark { height: 24px; width: auto; margin-bottom: .9rem; }
.footer-brand p { margin: 0; color: var(--text-3); font-size: .92rem; line-height: 1.55; }
.footer-cols { display: flex; gap: clamp(2rem, 6vw, 4rem); flex-wrap: wrap; }
.footer-cols h4 { margin: 0 0 .85rem; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-4); }
.footer-cols a { display: block; font-size: .92rem; color: var(--text-2); padding: .3rem 0; transition: color .15s; }
.footer-cols a:hover { color: var(--blue); }
.footer-base {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
  padding: 1.25rem clamp(1rem, 4vw, 2rem); border-top: 1px solid var(--border);
  font-size: .85rem; color: var(--text-4);
}
.footer-cup { display: inline-flex; align-items: center; gap: .5rem; }
.footer-cup img { width: 18px; height: 18px; object-fit: contain; }

/* ─── Responsive ───────────────────────────────────────────────── */
@media (max-width: 860px) {
  .topnav { display: none; }
  .topbar.scrolled .mini-search { width: 150px; }
  .article-list { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .mini-search { display: none; }
  .brand-tag { display: none; }
  .btn-app span, .btn-app { font-size: .86rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto; }
  .card { opacity: 1; transform: none; }
}

/* ─── Article reader + listing (article.html / articles.html) ──── */
.doc { max-width: 760px; margin: 0 auto; padding: clamp(2rem, 5vw, 3.5rem) clamp(1rem, 4vw, 2rem) 4rem; }

.breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem;
  font-size: .88rem; color: var(--text-3); margin-bottom: 1.5rem;
}
.breadcrumb a { color: var(--text-3); transition: color .15s; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb .sep { color: var(--text-4); }

.doc-cat {
  display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: var(--c, var(--blue));
  background: color-mix(in srgb, var(--c, var(--blue)) 12%, #fff);
  padding: .3rem .6rem; border-radius: 7px; margin-bottom: 1.1rem;
}
.doc-title { margin: 0; font-size: clamp(1.9rem, 5vw, 2.6rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.doc-meta { margin: .9rem 0 0; font-size: .9rem; color: var(--text-4); }

.doc-body { margin-top: 2.25rem; font-size: 1.06rem; line-height: 1.7; color: var(--text-2); }
.doc-body h2 { margin: 2.2rem 0 .8rem; font-size: 1.3rem; font-weight: 600; letter-spacing: -.01em; color: var(--text); }
.doc-body p { margin: 0 0 1.1rem; }
.doc-body ol, .doc-body ul { margin: 0 0 1.2rem; padding-left: 1.4rem; }
.doc-body li { margin: 0 0 .55rem; padding-left: .2rem; }
.doc-body li::marker { color: var(--text-4); font-weight: 600; }
.doc-body a { color: var(--blue); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; text-decoration-color: #bcd3f8; }
.doc-body a:hover { text-decoration-color: var(--blue); }
.doc-body strong { color: var(--text); font-weight: 600; }
.doc-body .tip {
  margin: 1.5rem 0; padding: 1rem 1.15rem;
  background: var(--blue-light); border-left: 3px solid var(--blue);
  border-radius: 10px; font-size: .98rem; color: var(--text-2);
}
.doc-body .tip strong { color: var(--blue-deep); }

.doc-foot {
  margin-top: 3rem; padding-top: 1.75rem; border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
}
.doc-foot-q { font-size: .95rem; color: var(--text-3); }
.doc-foot-q a { color: var(--blue); font-weight: 600; }
.back-link {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .92rem; font-weight: 600; color: var(--blue);
}
.back-link svg { width: 16px; height: 16px; transition: transform .2s; }
.back-link:hover svg { transform: translateX(-3px); }

/* "Back to help center" link at the top of inner pages — styled like the
   hero eyebrow: uppercase, letter-spaced, blue, with a leading arrow. */
.topback {
  margin-bottom: 1.5rem;
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue);
}
.topback svg { width: 15px; height: 15px; }
.topback:hover { color: var(--blue-deep); }

/* "More in this category" + listing rows */
.related { margin-top: 2rem; }
.related h3 { margin: 0 0 .75rem; font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-4); }

.doc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.doc-list li { border-bottom: 1px solid var(--border); }
.doc-list a {
  display: flex; align-items: flex-start; gap: 1rem; padding: 1.15rem .25rem;
  transition: padding .2s;
}
.doc-list a:hover { padding-left: .6rem; }
.doc-list-text { flex: 1; }
.doc-list-title { display: block; font-size: 1.04rem; font-weight: 600; color: var(--text); }
.doc-list-sum { display: block; margin-top: .2rem; font-size: .92rem; color: var(--text-3); line-height: 1.5; }
.doc-list-arrow { width: 18px; height: 18px; color: var(--text-4); margin-top: .25rem; flex-shrink: 0; transition: transform .2s, color .15s; }
.doc-list a:hover .doc-list-arrow { transform: translateX(4px); color: var(--blue); }
.doc-list .doc-list-min { font-size: .8rem; color: var(--text-4); white-space: nowrap; margin-top: .3rem; flex-shrink: 0; }

.list-head { margin-bottom: 1.75rem; }
.list-head .doc-cat { margin-bottom: 1rem; }
.list-head h1 { margin: 0; font-size: clamp(1.9rem, 5vw, 2.6rem); font-weight: 700; letter-spacing: -.02em; }
.list-head p { margin: .6rem 0 0; color: var(--text-3); font-size: 1.02rem; }
.list-section + .list-section { margin-top: 2.5rem; }
.list-section > h2 {
  margin: 0 0 .5rem; font-size: 1.15rem; font-weight: 600;
  display: inline-flex; align-items: center; gap: .55rem;
}
.list-section > h2::before { content: ''; width: 10px; height: 10px; border-radius: 3px; background: var(--c, var(--blue)); }

/* ─── Status page (status.html) ───────────────────────────────── */
:root { --ok: #1e8e3e; --ok-soft: #e6f4ea; --ok-bar: #34a853; }

.status-banner {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 1.15rem;
  padding: 1.6rem 1.75rem;
  background: linear-gradient(120deg, #1e8e3e 0%, #34a853 100%);
  color: #fff; border-radius: var(--radius-lg);
  box-shadow: 0 14px 40px rgba(30,142,62,.28);
}
.status-banner-ico {
  display: grid; place-items: center; width: 52px; height: 52px; flex-shrink: 0;
  background: rgba(255,255,255,.18); border-radius: 50%;
}
.status-banner-ico svg { width: 28px; height: 28px; stroke: #fff; stroke-width: 2.4; }
.status-banner h1 { margin: 0; font-size: clamp(1.4rem, 3.5vw, 1.9rem); font-weight: 700; letter-spacing: -.01em; }
.status-banner p { margin: .25rem 0 0; font-size: .95rem; color: rgba(255,255,255,.85); }
.status-pulse {
  margin-left: auto; align-self: flex-start;
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .82rem; font-weight: 600; color: #fff;
}
.status-pulse .dot {
  width: 9px; height: 9px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 0 rgba(255,255,255,.7); animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,255,255,.6); }
  70%  { box-shadow: 0 0 0 9px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

.status-metrics {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem; margin: 1.5rem 0 2.25rem;
}
.metric {
  padding: 1.15rem 1.25rem; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.metric-val { font-size: 1.7rem; font-weight: 700; letter-spacing: -.02em; color: var(--text); }
.metric-label { margin-top: .2rem; font-size: .85rem; color: var(--text-3); }

.status-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden;
}
.status-card-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 1.4rem; border-bottom: 1px solid var(--border);
}
.status-card-head h2 { margin: 0; font-size: 1.05rem; font-weight: 600; }
.status-legend { display: flex; align-items: center; gap: .45rem; font-size: .8rem; color: var(--text-4); }
.status-legend .swatch { width: 11px; height: 11px; border-radius: 3px; background: var(--ok-bar); }

.status-row { padding: 1.1rem 1.4rem; border-bottom: 1px solid var(--border); }
.status-row:last-child { border-bottom: none; }
.status-row-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.status-name { font-size: 1rem; font-weight: 600; color: var(--text); }
.status-pill {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .82rem; font-weight: 600; color: var(--ok);
  background: var(--ok-soft); padding: .3rem .65rem; border-radius: 999px; white-space: nowrap;
}
.status-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok-bar); }

.uptime { margin-top: .85rem; }
.uptime-track { display: flex; gap: 2px; height: 30px; }
.uptime-bar { flex: 1; min-width: 2px; border-radius: 2px; background: var(--ok-bar); opacity: .9; transition: transform .1s; }
.uptime-bar:hover { transform: scaleY(1.12); opacity: 1; }
.uptime-foot {
  display: flex; justify-content: space-between; margin-top: .5rem;
  font-size: .76rem; color: var(--text-4);
}

.incidents {
  margin-top: 2rem; padding: 2.5rem 1.5rem; text-align: center;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
}
.incidents .check {
  display: grid; place-items: center; width: 44px; height: 44px; margin: 0 auto .9rem;
  background: var(--ok-soft); border-radius: 50%;
}
.incidents .check svg { width: 22px; height: 22px; stroke: var(--ok); stroke-width: 2.4; }
.incidents h3 { margin: 0 0 .35rem; font-size: 1.1rem; font-weight: 600; }
.incidents p { margin: 0; color: var(--text-3); font-size: .95rem; }
.status-section-label {
  margin: 2.5rem 0 1rem; font-size: .82rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: var(--text-4);
}
