/* == SILVER SITE BASE THEME == */

:root {
  --bg: #0b0f14;
  --panel: #0f1622;
  --panel-2: #111b2a;
  --text: #e8eef7;
  --muted: #a9b7c9;
  --border: rgba(255, 255, 255, 0.10);

  --silver: #cfd7e6;
  --silver-2: #9aa8bd;

  --accent: #8bd3ff;
  --accent-2: #b7a8ff;
  --success: #67e8a5;

  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --radius: 14px;
  --radius-sm: 10px;

  --max: 980px;
  --pad: clamp(18px, 3.5vw, 36px);
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background:
    radial-gradient(900px 500px at 20% -10%, rgba(139, 211, 255, 0.18), transparent 55%),
    radial-gradient(800px 500px at 85% 10%, rgba(183, 168, 255, 0.12), transparent 60%),
    radial-gradient(900px 700px at 50% 120%, rgba(207, 215, 230, 0.07), transparent 60%),
    var(--bg);
  line-height: 1.55;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

img { max-width: 100%; height: auto; display: block; }

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

a:hover { text-decoration: underline; text-underline-offset: 4px; }

.container {
  width: min(var(--max), calc(100% - 2*var(--pad)));
  margin: 0 auto;
}

/* == HEADER / NAV == */

header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: linear-gradient(to bottom, rgba(11, 15, 20, 0.85), rgba(11, 15, 20, 0.55));
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px var(--pad);
}

.dot {
	width: 10px;
	height: 10px;
	background: var(--silver);
	border-radius: 50%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
	text-decoration: none;
  font-weight: 700;
	letter-spacing: 0.3px;
	color: var(--text);

}

.brand:hover {
	color: #ffffff;
}

.brand .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--silver), var(--accent));
  box-shadow: 0 0 0 3px rgba(139, 211, 255, 0.14);
}

.navlinks {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.navlinks a {
  color: var(--muted);
	text-decoration: none;
	font-size: 0.95rem;
	padding: 4px 0;
  border-bottom: 2px solid transparent; 
}

.navlinks a:hover {
  color: var(--text);
	border-bottom-color: var(--border);
}

.navlinks a[aria-current="page"] {
	color: var(--silver);
	border-bottom-color: var(--border);
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 10;
	backdrop-filter: blur(10px);
	background: linear-gradient(
		to bottom,
		rgba(11, 15, 20, 0.85),
		rgba(11, 15, 20, 0.55)
	);
	border-bottom: 1px solid var(--border);
}

.site-header .nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 0;
}

.site-header .brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: var(--text);
	font-weight: 700;
	letter-spacing: 0.3px;
	white-space: nowrap;
}

.site-header .dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--silver);
	box-shadow: 0 0 0 3px rgba(139, 211, 255, 0.14);
}

.site-header .navlinks {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
	justify-content: flex-end;
	margin-left: auto;
}

.site-header .navlinks a {
	color: var(--muted);
	text-decoration: none;
	font-size: 0.95rem;
	padding: 4px 0;
	border-bottom: 2px solid transparent;
}

.site-header .navlinks a:hover {
	color: var(--text);
	border-bottom-color: var(--border);
}

.site-header .navlinks a[aria-current="page"] {
	color: var(--silver);
	border-bottom-color: var(--border);
}

.site-nav {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}

.site-nav a {
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 999px;
}

.site-nav a:hover { background: rgba(0,0,0,0.06); }

.nav-wrap {
	display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  flex-wrap: wrap;
}

/* MOBILE: WRAP CLEANLY, NO WHITE BOXES */
@media (max-width: 720px) {
	.site-header .nav {	
		flex-direction: column;
		align-items: flex-start;
		gap: 10px
	}

	.site-header .navlinks {
		width: 100%;
		justify-content: flex-start;
		gap: 10px;
	}
}

/* == HERO == */

.hero {
  padding: clamp(34px, 5vw, 70px) 0 18px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(16px, 3vw, 28px);
  align-items: start;
}

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
}

h1 {
  margin: 0 0 10px;
  font-size: clamp(30px, 4.2vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.lede {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 18px);
  max-width: 62ch;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--silver);
  font-size: 13px;
  letter-spacing: 0.2px;
}

.kicker strong {
  color: var(--text);
  font-weight: 600;
}

/* == BUTTONS == */

.btnrow { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  transition: transform 120ms ease, background 120ms ease, border-color 120ms ease;
}

.btn:hover {
  text-decoration: none;
  border-color: rgba(139, 211, 255, 0.35);
  background: rgba(139, 211, 255, 0.08);
  transform: translateY(-1px);
}

.btn.primary {
  border-color: rgba(149, 211, 255, 0.35);
  background: linear-gradient(135deg, rgba(139, 211, 255, 0.20), rgba(183, 168, 255, 0.16));
}

.btn.primary:hover {
  background: linear-gradient(135deg, rgba(139, 211, 255, 0.28), rgba(183, 168, 255, 0.22));
}

/* == CARDS / SECTIONS == */

.section { padding: 18px 0 40px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

@media (max-width: 980px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .grid { grid-template-columns: 1fr; }
}

.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 16px 14px;
  box-shadow: var(--shadow);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.card h3 {
  margin: 0 0 6px;
  font-size: 18px;
  letter-spacing: -0.2px;
}

.card p {
  margin: 0 0 10px;
  color: var(--muted);
}

.card a.more {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.card a.more:hover { text-decoration: underline; text-underline-offset: 4px; }

/* == SPOT PRICE PANEL (FUTURE PROOF) == */

.pricebox {
  background: linear-gradient(180deg, rgba(207, 215, 230, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(207, 215, 230, 0.18);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}

.pricebox .label {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 8px;
}

.pricebox .price {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.8px;
}

.pricebox .sub {
  margin-top: 6px;
  color: var(--silver-2);
  font-size: 13px;
}

/* == FOOTER == */

footer {
  border-top: 1px solid var(--border);
  padding: 22px 0 40px;
  color: var(--muted);
  font-size: 14px;
}

/* == ARTICLE LAYOUT + TYPO == */

.article {
  width: min(78ch, calc(100% - 2*var(--pad)));
  margin: 0 auto;
  padding: clamp(22px, 4vw, 44px) 0;
  scroll-margin-top: 90px; /* HELPS WHEN JUMPING TO HEADINGS WITH STICKY NAV */
  background: rgba(15, 22, 34, 0.65);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.article header {
  position: static;   /* PREVENTS STICKY HEADER STYLING FROM THE AFFECTED ARTICLE HEADER BLOCKS */
  backdrop-filter: none;
  background: none;
  border: none;
}

.article .meta {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.article h1 {
  margin: 0 0 10px;
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.article h2 {
  margin: 1.6em 0 0.55em;
  padding-top: 0.9em;
  border-top: 1px solid var(--border);
  line-height: 1.2;
  letter-spacing: -0.2px;
}

.article h3 {
  margin: 1.2em 0 0.45em;
  line-height: 1.25;
}

.article p {
  margin: 0.95em 0;
  color: var(--text);
}

.article .lede {
  max-width: none;  /* ALLOW FULL READABLE WIDTH INSIDE ARTICLE CONTAINER */
}

/* LINKS INSIDE ARTICLES: KEEP YOUR GLOBAL STYLE, BUT MAKE THEM POP */
.article a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.article a:hover {
  text-decoration-thickness: 2px;
}

/* LISTS */
.article ul,
.article ol {
  margin: 0.9em 0 1.1em 1.2em;
}

.article li {
  margin: 0.35em 0;
  color: var(--text);
}

/* CALLOUT BOX (FOR "QUICK ANSWER" / "KEY TAKEAWAY") */
.callout {
  margin: 1.2em 0;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(139, 211, 255, 0.22);
  background: linear-gradient(180deg, rgba(139, 211, 255, 0.10), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow);
}

.callout strong {
  display: block;
  margin-bottom: 6px;
  color: var(--silver);
}

/* BLOCKQUOTES */

.article blockquote {
  margin: 1.2em 0;
  padding: 0.2em 1em;
  border-left: 3px solid rgba(139, 211, 255, 0.35);
  color: var(--muted);
}

/* DIVIDER */

.article hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 1.6em 0;
}

/* OPTIONAL "CARD SECTION" INSIDE ARTICLES (GREAT FOR AFFILIATE SECTIONS LATER) */

.article .infocard {
  margin: 1.2em 0;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

/* TABLES (FOR COMPARISON LATER) */
.article table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2em 0;
  font-size: 0.98em;
}

.article th,
.article td {
  border: 1px solid var(--border);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.article th {
  background: rgba(255, 255, 255, 0.04);
}

/* CODE BLOCKS (IF YOU ADD TOOLS/SCRIPTS LATER) */
.article pre,
.article code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.article code {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.12em 0.38em;
}

.article pre {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 0.95rem;
}

.compare-table th,
.compare-table td {
  padding: 12px 14px;
  text-align: left;
  border: 1px solid var(--border);
  vertical-align: top;
}

.compare-table thead th {
  background: rgba(255, 255, 255, 0.04);
  font-weight: 600;
}

.compare-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

.compare-table td:first-child {
  font-weight: 600;
  white-space: nowrap;
}

.table-wrap {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
