/* The Social Handlers — premium Apple-inspired stylesheet.
   Large display type, gradient accents, soft cards, zero frameworks.
   Same class names as before: replacing this one file reskins every page. */

:root {
  --ink: #1d1d1f;
  --ink-soft: #6e6e73;
  --ink-faint: #86868b;
  --accent: #0071e3;
  --accent-dark: #0060c2;
  --grad: linear-gradient(100deg, #0a84ff 0%, #bf5af2 50%, #ff375f 100%);
  --grad-soft: linear-gradient(135deg, #eaf3ff 0%, #f5ecff 55%, #ffeef2 100%);
  --award: #bf5af2;
  --bg: #ffffff;
  --bg-soft: #f5f5f7;
  --line: #e8e8ed;
  --radius: 24px;
  --radius-sm: 16px;
  --shadow: 0 4px 24px rgba(0,0,0,.06);
  --shadow-lift: 0 18px 44px rgba(0,0,0,.13);
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; border-radius: var(--radius-sm); }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 22px; }
.wrap-narrow { max-width: 780px; margin: 0 auto; padding: 0 22px; }

::selection { background: #0a84ff33; }

/* ---------- Header: glassy, Apple-thin ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 56px; gap: 16px;
}
.logo {
  font-size: 1.15rem; font-weight: 700; color: var(--ink);
  letter-spacing: -0.02em; white-space: nowrap;
}
.logo:hover { text-decoration: none; }
.logo::before {
  content: ""; display: inline-block; width: 12px; height: 12px;
  border-radius: 4px; background: var(--grad); margin-right: 9px;
}
.main-nav { display: flex; gap: 26px; overflow-x: auto; scrollbar-width: none; }
.main-nav::-webkit-scrollbar { display: none; }
.main-nav a {
  color: var(--ink-soft); font-size: .84rem; font-weight: 500; white-space: nowrap;
  transition: color .15s;
}
.main-nav a:hover { color: var(--ink); text-decoration: none; }

/* ---------- Hero: big, centered, gradient headline + colored glow ---------- */
.hero {
  padding: 96px 0 72px; text-align: center; position: relative; isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: -40% -20% auto;  height: 130%;
  z-index: -1; pointer-events: none;
  background:
    radial-gradient(600px 320px at 25% 30%, rgba(10,132,255,.14), transparent 70%),
    radial-gradient(560px 300px at 75% 25%, rgba(191,90,242,.13), transparent 70%),
    radial-gradient(520px 300px at 55% 80%, rgba(255,55,95,.09), transparent 70%);
}
.hero h1 {
  font-size: clamp(2.6rem, 6.5vw, 4.4rem);
  line-height: 1.05; letter-spacing: -0.035em; font-weight: 700;
  max-width: 860px; margin: 0 auto;
  background: linear-gradient(100deg, #1d1d1f 20%, #0a84ff 55%, #bf5af2 80%, #ff375f 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero p {
  color: var(--ink-soft); margin: 22px auto 0; max-width: 600px;
  font-size: clamp(1.1rem, 2vw, 1.3rem); font-weight: 400; letter-spacing: -0.01em;
}

/* ---------- Section heads ---------- */
.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin: 72px 0 28px;
}
.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem); letter-spacing: -0.025em; font-weight: 700;
}
.section-head a { font-size: .95rem; font-weight: 500; white-space: nowrap; }
.section-head a:hover { text-decoration: none; opacity: .75; }

/* ---------- Cards: soft, lifting, colorful kickers ---------- */
.card-grid {
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.card {
  display: block; color: var(--ink);
  background: var(--bg-soft); border-radius: var(--radius);
  padding: 14px 14px 24px; box-shadow: 0 0 0 rgba(0,0,0,0);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, background .35s;
}
.card:hover {
  text-decoration: none; transform: translateY(-6px) scale(1.005);
  box-shadow: var(--shadow-lift); background: #fff;
}
.card img { aspect-ratio: 16/9; object-fit: cover; width: 100%; background: var(--grad-soft); border-radius: 14px; }
.card .kicker {
  font-size: .74rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .09em; margin: 16px 4px 6px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent; display: inline-block;
}
.card h3 {
  font-size: 1.28rem; line-height: 1.25; letter-spacing: -0.02em;
  font-weight: 650; padding: 0 4px;
}
.card p { color: var(--ink-soft); font-size: .93rem; margin: 8px 4px 0; }
.card .meta { color: var(--ink-faint); font-size: .8rem; margin: 12px 4px 0; }

/* ---------- Article ---------- */
.article-header { padding: 64px 0 8px; }
.breadcrumbs { font-size: .84rem; color: var(--ink-faint); margin-bottom: 22px; }
.breadcrumbs a { color: var(--ink-faint); }
.breadcrumbs a:hover { color: var(--accent); }
.article-header h1 {
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  line-height: 1.08; letter-spacing: -0.03em; font-weight: 700;
}
.standfirst {
  font-size: clamp(1.15rem, 2vw, 1.35rem); color: var(--ink-soft);
  margin-top: 18px; letter-spacing: -0.01em; line-height: 1.5;
}
.byline {
  display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center;
  margin-top: 24px; font-size: .88rem; color: var(--ink-faint);
}
.byline strong { color: var(--ink); font-weight: 600; }
.disclosure-note {
  background: var(--grad-soft); border-radius: var(--radius-sm);
  font-size: .85rem; color: var(--ink-soft);
  padding: 13px 18px; margin: 26px 0;
}
.hero-image { margin: 12px 0 40px; }
.hero-image img { border-radius: var(--radius); box-shadow: var(--shadow); }
.hero-image figcaption { font-size: .8rem; color: var(--ink-faint); margin-top: 10px; }

.article-body h2 {
  font-size: clamp(1.5rem, 3vw, 1.9rem); margin: 56px 0 16px;
  letter-spacing: -0.025em; font-weight: 700; scroll-margin-top: 76px;
}
.article-body h3 {
  font-size: 1.22rem; margin: 36px 0 10px; font-weight: 650;
  letter-spacing: -0.015em; scroll-margin-top: 76px;
}
.article-body p { margin: 17px 0; }
.article-body ul, .article-body ol { margin: 17px 0 17px 26px; }
.article-body li { margin: 7px 0; }
.article-body blockquote {
  border: 0; background: var(--bg-soft); border-radius: var(--radius-sm);
  padding: 18px 24px; margin: 24px 0;
  color: var(--ink-soft); font-size: 1.1rem; letter-spacing: -0.01em;
}
.article-body table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  margin: 28px 0; font-size: .93rem;
  border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow);
}
.article-body th, .article-body td {
  text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line);
  background: #fff;
}
.article-body th {
  background: var(--bg-soft); font-weight: 600; font-size: .8rem;
  text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft);
}
.article-body tr:last-child td { border-bottom: 0; }

/* ---------- Table of contents ---------- */
.toc {
  background: var(--bg-soft); border-radius: var(--radius);
  padding: 24px 28px; margin: 32px 0;
}
.toc strong {
  display: block; margin-bottom: 10px; font-size: .8rem;
  text-transform: uppercase; letter-spacing: .08em; color: var(--ink-faint);
}
.toc ol { margin-left: 20px; font-size: .95rem; }
.toc li { margin: 5px 0; }
.toc a { color: var(--ink); font-weight: 500; }
.toc a:hover { color: var(--accent); text-decoration: none; }

/* ---------- Pick boxes: premium product tiles ---------- */
.pick {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 30px; margin: 34px 0;
  display: grid; grid-template-columns: 210px 1fr; gap: 28px; align-items: center;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s;
}
.pick:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.pick.top-pick {
  border: 2px solid transparent;
  background: linear-gradient(#fff,#fff) padding-box, var(--grad) border-box;
}
.pick img {
  aspect-ratio: 1/1; object-fit: cover; width: 100%;
  background: var(--grad-soft); border-radius: var(--radius-sm);
}
.pick .award {
  display: inline-block; font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em; color: #fff;
  background: var(--grad); padding: 5px 13px; border-radius: 999px;
  margin-bottom: 12px;
}
.pick h3 { font-size: 1.45rem; margin: 0 0 6px; letter-spacing: -0.02em; font-weight: 700; }
.pick .pick-price { font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.pick .pick-price span { color: var(--ink-faint); font-weight: 400; font-size: .82rem; }
.pick p { color: var(--ink-soft); font-size: .96rem; margin: 0 0 18px; }
.btn-buy {
  display: inline-block; background: var(--accent); color: #fff;
  font-weight: 500; font-size: .95rem; padding: 12px 26px;
  border-radius: 999px; letter-spacing: -0.01em;
  transition: background .2s, transform .2s;
}
.btn-buy:hover { background: var(--accent-dark); text-decoration: none; transform: scale(1.03); }

/* ---------- FAQ ---------- */
.faq { margin-top: 56px; }
.faq h2 { font-size: clamp(1.5rem,3vw,1.9rem); letter-spacing: -0.025em; margin-bottom: 18px; }
.faq details {
  background: var(--bg-soft); border-radius: var(--radius-sm);
  padding: 16px 22px; margin: 10px 0; transition: background .2s;
}
.faq details[open] { background: var(--grad-soft); }
.faq summary {
  font-weight: 600; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; color: var(--accent); font-size: 1.5rem; font-weight: 300;
  transition: transform .25s; line-height: 1;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-soft); margin-top: 10px; }

/* ---------- Video embed ---------- */
.video-embed {
  position: relative; aspect-ratio: 16/9; margin: 32px 0;
  border-radius: var(--radius); overflow: hidden;
  background: var(--bg-soft); box-shadow: var(--shadow);
}
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Author box ---------- */
.author-box {
  background: var(--bg-soft); border-radius: var(--radius);
  margin-top: 64px; padding: 28px;
  display: flex; gap: 20px; align-items: center;
}
.author-box .avatar {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--grad); color: #fff; flex: none;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.3rem;
}
.author-box h4 { font-size: 1.05rem; letter-spacing: -0.01em; }
.author-box p { color: var(--ink-soft); font-size: .92rem; margin-top: 4px; }

/* ---------- Category header ---------- */
.category-header { padding: 72px 0 12px; text-align: center; }
.category-header .breadcrumbs { justify-content: center; }
.category-header h1 {
  font-size: clamp(2.1rem, 5vw, 3.2rem); letter-spacing: -0.03em; font-weight: 700;
  background: linear-gradient(100deg, #1d1d1f 30%, #0a84ff 70%, #bf5af2 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  display: inline-block;
}
.category-header p { color: var(--ink-soft); margin: 14px auto 0; max-width: 640px; font-size: 1.15rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-soft); margin-top: 96px;
  padding: 48px 0 56px; font-size: .88rem; color: var(--ink-soft);
}
.site-footer .cols {
  display: flex; flex-wrap: wrap; gap: 24px 56px; justify-content: space-between;
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer a { color: var(--ink-soft); }
.site-footer a:hover { color: var(--ink); }
.site-footer .fine { margin-top: 26px; font-size: .78rem; color: var(--ink-faint); max-width: 720px; }

/* ---------- Responsive ---------- */
@media (max-width: 680px) {
  .pick { grid-template-columns: 1fr; }
  .pick img { max-width: 260px; }
  .hero { padding: 64px 0 48px; }
  .site-header .wrap { height: auto; padding: 10px 22px; flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .pick, .btn-buy, .faq summary::after { transition: none; }
}
