/* The home page: Poolside Dark (dark cyan with orange as the accent), soft and flat like the editor theme! Loaded after poolside-site.css, so it wins over the bright Poolside look on this page only. */
:root {
  --hd-bg: #05303a; --hd-bg2: #052b34; --hd-card: #083c49; --hd-raise: #0b4757; --hd-line: rgba(111, 231, 255, .2); --hd-line2: #0f6a7d;
  --hd-ink: #d6f4fa; --hd-head: #eefcff; --hd-mute: #9fcdd8; --hd-dim: #6fa9b8; --hd-cy: #6fe7ff; --hd-or: #ff9b3d; --hd-or2: #ffb066; --hd-ordark: #2b1400;
}

/* ---- the page ---- */
html, body { background: var(--hd-bg) !important; color: var(--hd-ink) !important; }
html::before, html::after { display: none !important; }
::selection { background: rgba(255, 155, 61, .4); color: #fff; }
a { color: var(--hd-cy); }
a:hover { color: var(--hd-or2); }

/* the top bar: a flat strip with a thin orange line under it */
.top-navbar { background: var(--hd-bg2) !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; border-bottom: 1px solid var(--hd-line2) !important; box-shadow: none !important; }
.top-navbar::after { height: 3px !important; bottom: -3px !important; background: var(--hd-or) !important; box-shadow: none !important; }
.brand-logo, .brand-logo span, .brand-logo div span { color: var(--hd-head) !important; text-shadow: none !important; }
.nav-links a { color: #bfe7f0 !important; border: 1px solid transparent !important; border-radius: 999px; background: transparent !important; text-shadow: none !important; }
.nav-links a:hover { background: rgba(111, 231, 255, .12) !important; border-color: var(--hd-line2) !important; color: #fff !important; }
.nav-links a.active { background: rgba(255, 155, 61, .16) !important; border-color: rgba(255, 155, 61, .5) !important; color: var(--hd-or2) !important; }

/* ---- the hero ---- */
.hero-title { background: none !important; -webkit-text-fill-color: var(--hd-head) !important; color: var(--hd-head) !important; text-shadow: none !important; }
.hero-subtitle { color: var(--hd-mute) !important; }

/* the app grid: flat soft cards, orange when you point at one */
.app-card-btn { background: var(--hd-card) !important; border: 1px solid var(--hd-line) !important; border-radius: 18px !important; box-shadow: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; color: var(--hd-ink) !important; }
.app-card-btn:hover { background: var(--hd-raise) !important; border-color: var(--hd-or) !important; box-shadow: none !important; transform: translateY(-2px); }
.app-name { color: var(--hd-head) !important; }
.app-desc { color: var(--hd-mute) !important; }

/* the tip of the day */
.rt-card { background: var(--hd-card) !important; border: 1px solid var(--hd-line) !important; box-shadow: none !important; backdrop-filter: none !important; color: var(--hd-ink) !important; }
.rt-title { color: var(--hd-or2) !important; }
.rt-count { color: var(--hd-dim) !important; }
.rt-btn { background: rgba(111, 231, 255, .1) !important; border: 1px solid var(--hd-line2) !important; color: var(--hd-cy) !important; }
.rt-btn:hover { background: var(--hd-or) !important; border-color: var(--hd-or) !important; color: var(--hd-ordark) !important; }

/* the footer */
.site-footer { background: var(--hd-bg2) !important; border-top: 1px solid var(--hd-line2) !important; box-shadow: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; color: var(--hd-mute) !important; }
.site-footer::before { height: 3px !important; top: -3px !important; background: var(--hd-or) !important; }
.site-footer a { color: var(--hd-cy) !important; text-shadow: none !important; }
.site-footer a:hover { color: var(--hd-or2) !important; }
.footer-rss-link:hover img { filter: none; }

/* ---- the extra sections: why, comparison, trust, FAQ ---- */
.home-extra { width: 100%; box-sizing: border-box; padding: 20px clamp(16px, 5vw, 64px) 64px; display: flex; flex-direction: column; gap: 76px; align-items: center; color: var(--hd-ink); }
.hx-sec { width: 100%; max-width: 1180px; }
.hx-sec h2 { margin: 0 0 10px; font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -.01em; text-align: center; color: var(--hd-head) !important; text-shadow: none; }
.hx-lead { margin: 0 auto 30px; max-width: 780px; text-align: center; color: var(--hd-mute); font-size: 1.05rem; line-height: 1.65; }
.hx-eyebrow { display: block; text-align: center; margin-bottom: 8px; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--hd-or); }

/* buttons: soft and flat, orange for the main one */
.hx-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hx-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 14px; font-weight: 800; font-size: .98rem; text-decoration: none; color: #bdf3ff !important; border: 1px solid var(--hd-line2); background: rgba(111, 231, 255, .1); transition: background .15s, border-color .15s, transform .15s; }
.hx-btn:hover { background: rgba(111, 231, 255, .2); border-color: var(--hd-cy); color: #fff !important; transform: translateY(-1px); }
.hx-btn.primary { color: var(--hd-ordark) !important; background: var(--hd-or); border-color: var(--hd-or); }
.hx-btn.primary:hover { background: var(--hd-or2); border-color: var(--hd-or2); color: var(--hd-ordark) !important; }

/* the numbers strip */
.hx-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.hx-stat { text-align: center; padding: 18px 10px; border-radius: 18px; border: 1px solid var(--hd-line); background: var(--hd-card); }
.hx-stat b { display: block; font-size: 2rem; line-height: 1.1; color: var(--hd-or); }
.hx-stat span { font-size: .88rem; color: var(--hd-mute); }

/* cards */
.hx-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 18px; }
.hx-card { padding: 22px 22px 20px; border-radius: 20px; border: 1px solid var(--hd-line); background: var(--hd-card); }
.hx-card h3 { margin: 0 0 8px; font-size: 1.12rem; color: var(--hd-head); display: flex; align-items: center; gap: 10px; }
.hx-card p { margin: 0; color: #a9d6e0; line-height: 1.6; font-size: .96rem; }
.hx-card a { color: var(--hd-cy); font-weight: 700; }
.hx-card a:hover { color: var(--hd-or2); }
.hx-ico { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; font-size: 1.1rem; color: var(--hd-cy); background: rgba(111, 231, 255, .14); }
.hx-card.green .hx-ico { color: #6ee7b7; background: rgba(110, 231, 183, .14); }
.hx-card.orange .hx-ico { color: var(--hd-or2); background: rgba(255, 155, 61, .16); }
.hx-card.purple .hx-ico { color: #c4b5fd; background: rgba(196, 181, 253, .16); }
.hx-card.pink .hx-ico { color: #f9a8d4; background: rgba(249, 168, 212, .16); }

/* the comparison table */
.hx-table-wrap { overflow-x: auto; border-radius: 20px; border: 1px solid var(--hd-line); background: var(--hd-bg2); }
.hx-table { width: 100%; min-width: 860px; border-collapse: collapse; font-size: .95rem; }
.hx-table th, .hx-table td { padding: 13px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(111, 231, 255, .12); line-height: 1.45; }
.hx-table thead th { background: var(--hd-raise); color: var(--hd-cy); font-size: .82rem; letter-spacing: .05em; text-transform: uppercase; }
.hx-table thead th.us { background: var(--hd-or); color: var(--hd-ordark); }
.hx-table tbody th { color: var(--hd-head); font-weight: 800; width: 23%; background: var(--hd-bg2); }
.hx-table td { color: #a9d6e0; }
.hx-table td.us { background: rgba(255, 155, 61, .08); color: var(--hd-head); font-weight: 700; box-shadow: inset 1px 0 rgba(255, 155, 61, .35), inset -1px 0 rgba(255, 155, 61, .35); }
.hx-table tr:last-child th, .hx-table tr:last-child td { border-bottom: 0; }
.yes { color: #6ee7b7; font-weight: 800; }
.no { color: #fca5a5; font-weight: 800; }
.some { color: #fcd34d; font-weight: 800; }
.hx-note { margin: 16px auto 0; max-width: 840px; text-align: center; color: var(--hd-dim); font-size: .86rem; line-height: 1.55; }
.hx-note a { color: var(--hd-cy); font-weight: 700; }

/* pick this or that */
.hx-pick { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 18px; margin-top: 28px; }
.hx-pick .hx-card h3 { font-size: 1.05rem; }
.hx-pick ul { margin: 10px 0 0; padding-left: 1.2em; color: #a9d6e0; line-height: 1.6; font-size: .95rem; }
.hx-pick li { margin: 5px 0; }
.hx-pick li b { color: var(--hd-head); }

/* FAQ */
.hx-faq { display: grid; gap: 10px; max-width: 880px; margin: 0 auto; }
.hx-faq details { border-radius: 16px; border: 1px solid var(--hd-line); background: var(--hd-card); overflow: hidden; }
.hx-faq details[open] { border-color: rgba(255, 155, 61, .45); }
.hx-faq summary { cursor: pointer; padding: 15px 18px; font-weight: 800; color: var(--hd-head); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.hx-faq summary::-webkit-details-marker { display: none; }
.hx-faq summary::after { content: '+'; color: var(--hd-or); font-weight: 800; font-size: 1.3rem; line-height: 1; }
.hx-faq details[open] summary::after { content: '\2212'; }
.hx-faq details p { margin: 0; padding: 0 18px 16px; color: #a9d6e0; line-height: 1.65; }
.hx-faq a { color: var(--hd-cy); font-weight: 700; }

/* the closing banner */
.hx-final { text-align: center; padding: 38px 22px; border-radius: 26px; border: 1px solid rgba(255, 155, 61, .4); background: var(--hd-card); }
.hx-final h2 { margin-bottom: 8px; }
.hx-final p { margin: 0 auto 20px; max-width: 640px; color: #a9d6e0; line-height: 1.65; }
.hx-final .hx-cta { justify-content: center; margin-top: 0; }

.hx-skip { scroll-margin-top: 84px; }
/* on a phone the table scrolls sideways: the row labels stay in view and a hint says so */
.hx-table thead th:first-child, .hx-table tbody th { position: sticky; left: 0; z-index: 2; }
.hx-table tbody th { box-shadow: 1px 0 rgba(111, 231, 255, .12); }
.hx-swipe { display: none; margin: 0 0 10px; text-align: center; font-size: .85rem; font-weight: 700; color: var(--hd-or); }
@media (max-width: 900px) { .hx-swipe { display: block; } .hx-table tbody th { width: auto; min-width: 150px; } }
@media (max-width: 640px) { .home-extra { gap: 54px; } .hx-btn { width: 100%; justify-content: center; } }

/* group headings inside the comparison table (The basics, Formatting styles) */
.hx-table tr.hx-group th { position: static; background: var(--hd-raise); color: var(--hd-or2); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; padding: 10px 16px; border-bottom: 1px solid rgba(255, 155, 61, .35); box-shadow: none; width: auto; }
.hx-table td code { font: .88em 'JetBrains Mono', ui-monospace, Menlo, monospace; padding: .1em .4em; border-radius: 6px; background: rgba(111, 231, 255, .12); color: var(--hd-cy); }
.hx-table td code { background: rgba(111, 231, 255, .14) !important; color: var(--hd-cy) !important; box-shadow: none !important; }

/* ---- soft buttons, and real cyan as a second accent ---- */
:root { --hd-cyan: #00e5ff; --hd-cyan-soft: rgba(0, 229, 255, .14); --hd-cyan-line: rgba(0, 229, 255, .5); --hd-orsoft: rgba(255, 155, 61, .18); --hd-orline: rgba(255, 155, 61, .55); }
/* the main button is a soft orange tint, not a solid fill */
.hx-btn.primary { color: var(--hd-or2) !important; background: var(--hd-orsoft); border-color: var(--hd-orline); }
.hx-btn.primary:hover { background: rgba(255, 155, 61, .3); border-color: var(--hd-or); color: #ffc388 !important; }
/* the other buttons are soft cyan */
.hx-btn { color: #7df0ff !important; background: var(--hd-cyan-soft); border-color: var(--hd-cyan-line); }
.hx-btn:hover { background: rgba(0, 229, 255, .24); border-color: var(--hd-cyan); color: #c9fbff !important; }
/* the table's own column is a soft orange tint too */
.hx-table thead th.us { background: rgba(255, 155, 61, .22); color: var(--hd-or2); box-shadow: inset 0 -3px 0 var(--hd-or); }
.hx-table thead th { color: var(--hd-cyan); }
.rt-btn:hover { background: var(--hd-orsoft) !important; border-color: var(--hd-or) !important; color: var(--hd-or2) !important; }
.rt-btn { border-color: var(--hd-cyan-line) !important; color: #7df0ff !important; background: var(--hd-cyan-soft) !important; }

/* cyan here and there, orange the rest of the time */
.hx-stat:nth-child(even) b { color: var(--hd-cyan); }
#compare .hx-eyebrow, #trust .hx-eyebrow { color: var(--hd-cyan); }
.hx-card:hover { border-color: var(--hd-cyan-line); }
.hx-card:nth-child(even):hover { border-color: var(--hd-orline); }
.app-card-btn:nth-child(even):hover { border-color: var(--hd-cyan) !important; }
.nav-links a:hover { border-color: var(--hd-cyan-line) !important; background: var(--hd-cyan-soft) !important; color: #c9fbff !important; }
.hx-faq summary:hover { color: var(--hd-cyan); }
.hx-faq details:nth-child(even)[open] { border-color: var(--hd-cyan-line); }
.hx-faq details:nth-child(even) summary::after { color: var(--hd-cyan); }
.hx-card a, .hx-faq a, .hx-note a { color: var(--hd-cyan); }
.hx-card a:hover, .hx-faq a:hover, .hx-note a:hover { color: var(--hd-or2); }
.hx-table td code { color: var(--hd-cyan) !important; }
.hx-final { border-color: var(--hd-cyan-line); }
.hx-table tr.hx-group th { background: rgba(255, 155, 61, .1) !important; border-top: 1px solid rgba(255, 155, 61, .35); }

/* ---- the card badges: a Vadivam icon in a lighter color than the badge's own base color ---- */
.hx-ico { width: 40px; height: 40px; border-radius: 13px; color: #b8f4ff; background: #0e6b80; border: 1px solid rgba(255, 255, 255, .14); }
.hx-svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hx-card.green .hx-ico { color: #b8f7dc; background: #0f6a4d; }
.hx-card.orange .hx-ico { color: #ffd6ad; background: #8a4710; }
.hx-card.purple .hx-ico { color: #e6dcff; background: #55369a; }
.hx-card.pink .hx-ico { color: #ffd3ea; background: #85305c; }
.rt-title { display: inline-flex; align-items: center; gap: 8px; }
.rt-ico { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 9px; color: #ffe3c2; background: #8a4710; border: 1px solid rgba(255, 255, 255, .14); }
.rt-ico svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
