/* === SUN ON TAP — Core Styles === */
/* Aesthetic: Editorial confidence. Warm amber energy. Slightly sardonic authority. */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,600;9..144,700&family=Outfit:wght@400;500;600;700&display=swap');

:root {
  --bg: #fdfbf7;
  --surface: #ffffff;
  --text: #1c1917;
  --text-mid: #57534e;
  --text-light: #78716c;
  --amber: #f59e0b;
  --amber-dark: #d97706;
  --amber-bg: #fffbeb;
  --amber-border: #fde68a;
  --green: #059669;
  --green-light: #d1fae5;
  --red: #dc2626;
  --dark: #1c1917;
  --dark-surface: #292524;
  --border: #e7e5e4;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Outfit', -apple-system, sans-serif;
  --max-w: 1120px;
  --radius: 6px;
  --shadow: 0 1px 3px rgba(0,0,0,.05), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); background: var(--bg); line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--amber-dark); text-decoration: none; transition: color .2s; }
a:hover { color: var(--amber); }
.w { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* === HEADER === */
.hdr { background: var(--dark); position: sticky; top: 0; z-index: 100; }
.hdr .w { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.hdr-logo { display: flex; align-items: center; gap: 10px; color: #fff; font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; }
.hdr-logo img { height: 32px; width: auto; }
.hdr-nav { display: flex; align-items: center; gap: 24px; list-style: none; font-size: .88rem; font-weight: 500; }
.hdr-nav a { color: rgba(255,255,255,.7); }
.hdr-nav a:hover { color: var(--amber); }
.hdr-cta { background: var(--amber); color: var(--dark) !important; padding: 8px 18px; border-radius: var(--radius); font-weight: 600; font-size: .82rem; transition: background .2s, transform .15s; }
.hdr-cta:hover { background: var(--amber-dark); color: #fff !important; transform: translateY(-1px); }
.nav-toggle { display: none; background: none; border: none; font-size: 1.4rem; cursor: pointer; color: #fff; }
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .hdr-nav { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--dark); padding: 16px 24px; gap: 12px; border-top: 1px solid rgba(255,255,255,.1); }
  .hdr-nav.open { display: flex; }
}

/* === HERO === */
.hero { padding: 72px 0 56px; text-align: center; background: linear-gradient(180deg, var(--dark) 0%, #292524 100%); color: #fff; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(ellipse at 50% 0%, rgba(245,158,11,.08) 0%, transparent 70%); pointer-events: none; }
.hero-badge { display: inline-block; background: rgba(245,158,11,.15); color: var(--amber); border: 1px solid rgba(245,158,11,.3); font-size: .78rem; font-weight: 600; padding: 4px 14px; border-radius: 20px; margin-bottom: 20px; letter-spacing: .04em; }
.hero h1 { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3rem); line-height: 1.15; margin-bottom: 20px; max-width: 760px; margin-left: auto; margin-right: auto; position: relative; }
.hero h1 em { font-style: normal; color: var(--amber); }
.hero-sub { font-size: 1.1rem; color: rgba(255,255,255,.65); max-width: 580px; margin: 0 auto 32px; line-height: 1.6; }
.hero-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--amber); color: var(--dark); padding: 14px 32px; border-radius: var(--radius); font-size: 1rem; font-weight: 600; transition: all .2s; box-shadow: 0 4px 16px rgba(245,158,11,.3); }
.hero-btn:hover { background: #fbbf24; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(245,158,11,.4); color: var(--dark); }

/* === PAGE HERO (inner pages) === */
.page-hero { padding: 48px 0 32px; background: var(--dark); color: #fff; }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(1.6rem, 4vw, 2.4rem); line-height: 1.2; max-width: 700px; }
.page-hero h1 em { font-style: normal; color: var(--amber); }
.page-hero .meta { font-size: .85rem; color: rgba(255,255,255,.5); margin-top: 12px; }
.page-hero .meta a { color: var(--amber); }
.breadcrumb { font-size: .8rem; color: rgba(255,255,255,.4); margin-bottom: 16px; }
.breadcrumb a { color: rgba(255,255,255,.4); }
.breadcrumb a:hover { color: var(--amber); }

/* === SECTIONS === */
section { padding: 56px 0; }
.alt-bg { background: var(--surface); }
.section-label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--amber-dark); margin-bottom: 8px; }
.section-title { font-family: var(--font-display); font-size: clamp(1.5rem, 3.5vw, 2.1rem); line-height: 1.2; margin-bottom: 16px; }

/* === ARTICLE GRID === */
.article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; margin: 32px 0; }
.article-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .15s; }
.article-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.article-card-img { height: 180px; background: var(--amber-bg); background-size: cover; background-position: center; }
.article-card-body { padding: 20px; }
.article-card-cat { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--amber-dark); margin-bottom: 6px; }
.article-card-body h3 { font-family: var(--font-display); font-size: 1.1rem; line-height: 1.3; margin-bottom: 8px; }
.article-card-body h3 a { color: var(--text); }
.article-card-body h3 a:hover { color: var(--amber-dark); }
.article-card-body p { font-size: .88rem; color: var(--text-mid); margin: 0; line-height: 1.5; }
.article-card-date { font-size: .78rem; color: var(--text-light); margin-top: 10px; }

/* === PRODUCT GRID === */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin: 32px 0; }
.product-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; transition: box-shadow .2s, transform .15s; }
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.product-card h3 { font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 6px; }
.product-card h3 a { color: var(--text); }
.product-card h3 a:hover { color: var(--amber-dark); }
.product-card .price { font-weight: 700; color: var(--green); font-size: .95rem; margin-bottom: 8px; }
.product-card p { font-size: .85rem; color: var(--text-mid); margin: 0; line-height: 1.5; }
.product-card .tag { display: inline-block; font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; padding: 2px 8px; border-radius: 3px; background: var(--amber-bg); color: var(--amber-dark); border: 1px solid var(--amber-border); margin-bottom: 10px; }

/* === CONTENT LAYOUT === */
.content-wrap { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: start; }
.content-main { min-width: 0; }
.content-side { position: sticky; top: 80px; }
@media (max-width: 900px) {
  .content-wrap { grid-template-columns: 1fr; }
  .content-side { position: static; }
}

/* === ARTICLE BODY === */
.article-body h2 { font-family: var(--font-display); font-size: 1.5rem; margin: 36px 0 14px; line-height: 1.25; }
.article-body h3 { font-family: var(--font-display); font-size: 1.15rem; margin: 28px 0 10px; }
.article-body p { margin-bottom: 16px; }
.article-body ul, .article-body ol { margin: 0 0 16px 20px; }
.article-body li { margin-bottom: 6px; }
.article-body img { border-radius: var(--radius); margin: 24px 0; box-shadow: var(--shadow); }
.article-body a { text-decoration: underline; text-decoration-color: rgba(217,119,6,.3); text-underline-offset: 2px; }
.article-body a:hover { text-decoration-color: var(--amber); }
.article-body blockquote { border-left: 3px solid var(--amber); padding: 12px 20px; margin: 24px 0; background: var(--amber-bg); border-radius: 0 var(--radius) var(--radius) 0; font-style: italic; color: var(--text-mid); }

/* === SIDEBAR === */
.side-cta { background: var(--dark); color: #fff; border-radius: var(--radius); padding: 28px; text-align: center; margin-bottom: 24px; }
.side-cta h4 { font-family: var(--font-display); color: var(--amber); margin-bottom: 8px; font-size: 1.1rem; }
.side-cta p { color: rgba(255,255,255,.65); font-size: .85rem; margin-bottom: 16px; }
.side-cta a { display: block; background: var(--amber); color: var(--dark); padding: 10px 20px; border-radius: var(--radius); font-weight: 600; font-size: .9rem; transition: all .2s; }
.side-cta a:hover { background: #fbbf24; }
.side-links { border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.side-links h4 { font-family: var(--font-display); font-size: .95rem; margin-bottom: 12px; color: var(--text); }
.side-links a { display: block; font-size: .85rem; color: var(--text-mid); padding: 4px 0; }
.side-links a:hover { color: var(--amber-dark); }

/* === CTA BANNER === */
.cta-banner { background: var(--dark); color: #fff; padding: 48px 0; text-align: center; }
.cta-banner h2 { font-family: var(--font-display); color: #fff; font-size: 1.7rem; margin-bottom: 10px; }
.cta-banner p { color: rgba(255,255,255,.6); margin-bottom: 24px; }

/* === TABLE === */
.tbl-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); margin: 24px 0; }
table { width: 100%; border-collapse: collapse; font-size: .88rem; }
table th { background: var(--dark); color: #fff; padding: 10px 16px; text-align: left; font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
table td { padding: 10px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
table tr:last-child td { border-bottom: none; }
table tr:hover td { background: var(--amber-bg); }

/* === PROS/CONS === */
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 24px 0; }
@media (max-width: 600px) { .pros-cons { grid-template-columns: 1fr; } }
.pros, .cons { padding: 20px; border-radius: var(--radius); }
.pros { background: var(--green-light); border: 1px solid #a7f3d0; }
.cons { background: #fef2f2; border: 1px solid #fecaca; }
.pros h4, .cons h4 { font-family: var(--font-display); font-size: .95rem; margin-bottom: 10px; }
.pros h4 { color: #065f46; }
.cons h4 { color: #991b1b; }
.pros li, .cons li { font-size: .85rem; margin-bottom: 4px; }

/* === VERDICT === */
.verdict { background: var(--amber-bg); border: 1px solid var(--amber-border); border-radius: var(--radius); padding: 24px; margin: 28px 0; }
.verdict h3 { font-family: var(--font-display); color: var(--amber-dark); margin-bottom: 8px; }
.verdict p { margin: 0; font-size: .92rem; }

/* === BUY BUTTON === */
.buy-btn { display: inline-flex; align-items: center; gap: 6px; background: var(--green); color: #fff; padding: 12px 28px; border-radius: var(--radius); font-weight: 600; font-size: .95rem; transition: all .2s; margin: 16px 0; }
.buy-btn:hover { background: #047857; color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }

/* === TAGS === */
.tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0; }
.tag { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; padding: 3px 10px; border-radius: 3px; background: var(--amber-bg); color: var(--amber-dark); border: 1px solid var(--amber-border); }

/* === RELATED === */
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin: 24px 0; }

/* === FOOTER === */
.ftr { background: var(--dark); color: rgba(255,255,255,.5); padding: 48px 0 28px; font-size: .82rem; }
.ftr-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 28px; }
@media (max-width: 700px) { .ftr-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 450px) { .ftr-grid { grid-template-columns: 1fr; } }
.ftr h4 { color: var(--amber); font-family: var(--font-display); font-size: .9rem; margin-bottom: 10px; }
.ftr a { color: rgba(255,255,255,.5); display: block; padding: 2px 0; }
.ftr a:hover { color: var(--amber); }
.ftr-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 20px; text-align: center; font-size: .75rem; }

/* === UTILS === */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.text-center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* === ANIMATIONS === */
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.rise { animation: rise .4s ease both; }
.rise-1 { animation-delay: .05s; }
.rise-2 { animation-delay: .1s; }
.rise-3 { animation-delay: .15s; }
.rise-4 { animation-delay: .2s; }

@media print { .hdr, .ftr, .side-cta, .cta-banner, .nav-toggle { display: none; } }
