/* ══ COFFEE TIME — SHARED STYLES ══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:       #0f0d0a;
  --surface:  #171310;
  --surface2: #1f1a14;
  --border:   rgba(200,146,74,0.12);
  --border2:  rgba(200,146,74,0.22);
  --accent:   #c8924a;
  --accent2:  #e8d5b0;
  --accent3:  #9a7abf;
  --warn:     #c87a4a;
  --danger:   #c84a4a;
  --text:     #e8d5b0;
  --muted:    rgba(232,213,176,0.45);
  --muted2:   rgba(232,213,176,0.22);
  --serif:    'Georgia','Times New Roman',serif;
  --mono:     'Courier New',Courier,monospace;
  --radius:   12px;
  --gap:      8px;
  --ad-bg:    #0d0b08;
  --ad-border: rgba(200,146,74,0.08);
  --ad-label: rgba(232,213,176,0.18);
}

html { font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--serif);
  min-height: 100vh;
  padding: 1.5rem 1rem 0;
  max-width: 640px;
  margin: 0 auto;
  -webkit-text-size-adjust: 100%;
}

/* ── HEADER ──────────────────────────────────────────────────────────────── */
.site-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 2.5rem; padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.brand {
  font-family: var(--serif); font-size: 1.1rem; font-weight: 400;
  font-style: italic; color: var(--text); text-decoration: none;
  letter-spacing: -0.01em;
}
.brand span { color: var(--accent); }
.back-link {
  font-size: 11px; color: var(--muted); text-decoration: none;
  display: flex; align-items: center; gap: 5px;
  transition: color .15s; -webkit-tap-highlight-color: transparent;
  letter-spacing: 0.05em;
}
.back-link:hover { color: var(--text); }

/* ── EYEBROW / TITLE ─────────────────────────────────────────────────────── */
.eyebrow {
  font-size: 10px; letter-spacing: .25em; color: var(--accent);
  text-transform: uppercase; margin-bottom: .75rem;
  display: flex; align-items: center; gap: 6px;
}
.live-dot {
  display: inline-block; width: 6px; height: 6px;
  background: var(--accent); border-radius: 50%; flex-shrink: 0;
  animation: pulse 2.5s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.35} }

.page-eyebrow { font-size: 10px; letter-spacing: .22em; color: var(--accent); text-transform: uppercase; margin-bottom: .75rem; }
.page-title { font-family: var(--serif); font-size: clamp(1.75rem,8vw,2.8rem); font-weight: 400; font-style: italic; line-height: 1.15; margin-bottom: .6rem; }
.page-title span { color: var(--accent); }
.page-meta { font-size: 11px; color: var(--muted); margin-bottom: 2rem; letter-spacing: 0.05em; }

/* ── CONTENT BLOCKS (legal pages) ────────────────────────────────────────── */
.content-block { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; margin-bottom: 1rem; }
.block-title { font-family: var(--serif); font-size: clamp(1rem,4vw,1.1rem); font-weight: 400; font-style: italic; color: var(--text); margin-bottom: .75rem; line-height: 1.3; }
.block-body { font-size: clamp(11px,2.8vw,12px); color: var(--muted); line-height: 1.8; }
.block-body p { margin-bottom: .75rem; }
.block-body p:last-child { margin-bottom: 0; }
.block-body a { color: rgba(200,146,74,.7); text-decoration: none; }
.block-body a:hover { color: var(--accent); }
.block-body strong { color: var(--text); font-weight: 500; }
.block-body ul { padding-left: 1.2rem; margin: .5rem 0; }
.block-body ul li { margin-bottom: .4rem; line-height: 1.65; }

.highlight-box {
  background: rgba(200,146,74,.04); border: 1px solid rgba(200,146,74,.15);
  border-left: 3px solid var(--accent);
  border-radius: 10px; padding: 1rem 1.1rem; margin: 0 0 1rem;
  font-size: clamp(11px,2.8vw,12px); color: var(--muted); line-height: 1.7;
}
.highlight-box strong { color: var(--accent); font-weight: 500; }

.contact-cta {
  background: var(--surface2); border: 1px solid var(--border2);
  border-radius: var(--radius); padding: 1.25rem; margin: 1.5rem 0; text-align: center;
}
.contact-cta .cta-title { font-family: var(--serif); font-style: italic; font-size: clamp(1rem,4vw,1.1rem); font-weight: 400; color: var(--text); margin-bottom: .4rem; }
.contact-cta .cta-desc { font-size: 12px; color: var(--muted); margin-bottom: .9rem; line-height: 1.6; }
.contact-cta a {
  display: inline-block; background: var(--accent); color: #0f0d0a;
  border-radius: 8px; padding: 10px 20px; font-family: var(--serif);
  font-style: italic; font-size: 13px; font-weight: 400; text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

/* ── AD UNITS ────────────────────────────────────────────────────────────── */
.ad-unit { width: 100%; display: flex; flex-direction: column; align-items: center; margin: 0 0 1.25rem; }
.ad-label { font-size: 9px; letter-spacing: .14em; color: var(--ad-label); text-transform: uppercase; margin-bottom: 4px; align-self: flex-start; font-family: var(--mono); }
.ad-placeholder {
  width: 100%; background: var(--ad-bg); border: 1px dashed var(--ad-border);
  border-radius: 6px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 5px;
  color: rgba(232,213,176,.1); font-size: 10px; letter-spacing: .08em;
  text-transform: uppercase; position: relative; overflow: hidden; font-family: var(--mono);
}
.ad-placeholder::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(-45deg,transparent,transparent 10px,rgba(200,146,74,.015) 10px,rgba(200,146,74,.015) 11px);
}
.ad-size-label  { font-size: 11px; color: rgba(232,213,176,.18); font-family: var(--mono); position: relative; z-index: 1; }
.ad-type-label  { font-size: 9px; color: rgba(232,213,176,.09); letter-spacing: .1em; position: relative; z-index: 1; }
.ad-icon        { font-size: 16px; opacity: .2; position: relative; z-index: 1; }
.ad-leaderboard .ad-placeholder { height: 90px; }
@media(max-width:480px) { .ad-leaderboard .ad-placeholder { height: 50px; } }
.ad-rectangle .ad-placeholder { height: 280px; max-width: 336px; align-self: center; }
@media(max-width:360px) { .ad-rectangle .ad-placeholder { height: 250px; } }
.ad-infeed .ad-placeholder { height: 80px; border-style: dashed; border-radius: var(--radius); background: var(--surface); }
.ad-anchor {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 640px;
  background: rgba(15,13,10,.96); border-top: 1px solid var(--border);
  padding: 6px 1rem; z-index: 100; display: none;
}
@media(max-width:640px) { .ad-anchor { display: block; } body { padding-bottom: 70px; } }
.ad-anchor .ad-placeholder { height: 50px; border-radius: 4px; margin: 0; }
.ad-anchor-close {
  position: absolute; top: 4px; right: 14px; font-size: 14px;
  color: var(--ad-label); cursor: pointer; background: none; border: none;
  font-family: var(--mono); padding: 2px 4px; -webkit-tap-highlight-color: transparent;
}

/* ── SHARE MODULE ────────────────────────────────────────────────────────── */
.share-block { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; margin-bottom: 1.25rem; }
.share-block-eyebrow { font-size: 10px; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; margin-bottom: .75rem; font-family: var(--mono); }
.share-preview {
  background: var(--bg); border: 1px solid var(--border2); border-radius: 9px;
  padding: .9rem 1rem; margin-bottom: .9rem;
  font-size: clamp(11px,2.8vw,12px); color: var(--muted); line-height: 1.7; font-family: var(--mono);
}
.share-preview .preview-line-accent { color: var(--text); font-weight: 500; }
.share-preview .preview-url { color: rgba(200,146,74,.45); font-size: clamp(10px,2.5vw,11px); margin-top: 4px; display: block; }
.share-btn {
  width: 100%; background: var(--accent); color: #0f0d0a; border: none;
  border-radius: var(--radius); padding: 14px; font-family: var(--serif);
  font-style: italic; font-size: clamp(13px,4vw,15px); font-weight: 400;
  cursor: pointer; letter-spacing: .02em; transition: opacity .15s, transform .1s;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.share-btn:active { transform: scale(.98); opacity: .9; }
.share-platforms { display: flex; gap: 8px; margin-top: 8px; }
.share-platform-btn {
  flex: 1; background: var(--bg); border: 1px solid var(--border2);
  border-radius: 8px; padding: 9px 6px; font-family: var(--mono);
  font-size: clamp(9px,2.2vw,10px); color: var(--muted); cursor: pointer;
  text-align: center; transition: border-color .15s, color .15s;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.share-platform-btn .sp-icon { font-size: clamp(14px,4vw,16px); }
.share-platform-btn:hover, .share-platform-btn:active { border-color: rgba(200,146,74,.4); color: var(--text); }

/* ── EXPAND BLOCK ────────────────────────────────────────────────────────── */
.expand-block { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 1.25rem; overflow: hidden; }
.expand-trigger {
  width: 100%; background: none; border: none; padding: 1rem 1.25rem;
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; font-family: var(--mono); font-size: clamp(10px,2.8vw,12px);
  color: var(--muted); letter-spacing: .08em; text-transform: uppercase;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation; text-align: left; gap: 8px;
}
.expand-trigger:active { color: var(--text); }
.expand-trigger .arrow { font-size: 14px; transition: transform .25s; flex-shrink: 0; }
.expand-trigger.open .arrow { transform: rotate(180deg); }
.expand-body { max-height: 0; overflow: hidden; transition: max-height .38s cubic-bezier(.4,0,.2,1); }
.expand-body.open { max-height: 2000px; }
.expand-inner { padding: 0 1.25rem 1.25rem; border-top: 1px solid var(--border); }
.method-step { display: flex; gap: 10px; margin-bottom: .9rem; padding-bottom: .9rem; border-bottom: 1px solid var(--border); }
.method-step:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.step-num { font-family: var(--serif); font-size: clamp(1.2rem,5vw,1.6rem); font-style: italic; color: rgba(200,146,74,.2); flex-shrink: 0; width: 28px; line-height: 1.1; }
.step-title { font-size: clamp(11px,3vw,12px); font-weight: 500; color: var(--text); margin-bottom: 4px; }
.step-desc { font-size: clamp(10px,2.5vw,11px); color: var(--muted); line-height: 1.7; font-family: var(--mono); }
.step-desc a { color: rgba(200,146,74,.6); text-decoration: none; }
.formula-box {
  background: var(--bg); border: 1px solid var(--border2); border-radius: 8px;
  padding: .7rem .9rem; margin: .6rem 0; font-size: clamp(9px,2.2vw,11px);
  color: var(--accent); line-height: 1.9; overflow-x: auto;
  -webkit-overflow-scrolling: touch; white-space: pre; font-family: var(--mono);
}
.formula-label { font-size: clamp(8px,2vw,10px); color: var(--muted); margin-bottom: 4px; letter-spacing: .08em; text-transform: uppercase; font-family: var(--mono); }

/* ── NEWSLETTER ──────────────────────────────────────────────────────────── */
.newsletter-block {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.5rem 1.25rem; margin-bottom: 1.25rem; position: relative; overflow: hidden;
}
.newsletter-block::after {
  content: ''; position: absolute; bottom: -30px; right: -30px; width: 120px; height: 120px;
  background: radial-gradient(circle,rgba(200,146,74,.05) 0%,transparent 70%); pointer-events: none;
}
.nl-eyebrow { font-size: 10px; letter-spacing: .16em; color: var(--accent); text-transform: uppercase; margin-bottom: .5rem; font-family: var(--mono); }
.nl-title { font-family: var(--serif); font-size: clamp(1.1rem,4.5vw,1.3rem); font-style: italic; color: var(--text); line-height: 1.2; margin-bottom: .4rem; }
.nl-desc { font-size: clamp(11px,2.8vw,12px); color: var(--muted); line-height: 1.6; margin-bottom: 1.1rem; font-family: var(--mono); }
.nl-perks { display: flex; flex-direction: column; gap: 5px; margin-bottom: 1.1rem; }
.nl-perk { display: flex; align-items: center; gap: 8px; font-size: clamp(10px,2.5vw,11px); color: var(--muted); font-family: var(--mono); }
.nl-perk::before { content: ''; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.nl-form { display: flex; gap: 8px; flex-wrap: wrap; }
.nl-input {
  flex: 1; min-width: 180px; background: var(--bg); border: 1px solid var(--border2);
  border-radius: 9px; padding: 12px 14px; font-family: var(--mono);
  font-size: clamp(11px,3vw,13px); color: var(--text); outline: none;
  transition: border-color .15s; -webkit-appearance: none;
}
.nl-input::placeholder { color: rgba(232,213,176,.25); }
.nl-input:focus { border-color: rgba(200,146,74,.4); }
.nl-btn {
  background: var(--accent); color: #0f0d0a; border: none; border-radius: 9px;
  padding: 12px 18px; font-family: var(--serif); font-style: italic;
  font-size: clamp(12px,3.5vw,13px); cursor: pointer; white-space: nowrap;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation; flex-shrink: 0;
}
.nl-success { display: none; align-items: center; gap: 10px; padding: 12px 14px; background: rgba(74,158,107,.06); border: 1px solid rgba(74,158,107,.2); border-radius: 9px; font-size: clamp(11px,3vw,12px); color: #5abf8a; font-family: var(--mono); }
.nl-success.show { display: flex; }
.nl-privacy { font-size: clamp(9px,2vw,10px); color: rgba(232,213,176,.2); margin-top: .75rem; line-height: 1.5; font-family: var(--mono); }
.nl-privacy a { color: rgba(200,146,74,.35); text-decoration: none; }

/* ── GDPR CONSENT CHECKBOX ───────────────────────────────────────────────── */
.nl-consent {
  display: flex; align-items: flex-start; gap: 10px; margin-top: 12px;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.nl-consent input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  width: 16px; height: 16px; min-width: 16px; border-radius: 4px;
  border: 1px solid #3a2e1e; background: var(--bg);
  cursor: pointer; margin-top: 2px; position: relative;
  transition: border-color .15s, background .15s; flex-shrink: 0;
}
.nl-consent input[type="checkbox"]:checked {
  background: var(--accent); border-color: var(--accent);
}
.nl-consent input[type="checkbox"]:checked::after {
  content: ''; position: absolute; left: 4px; top: 1px;
  width: 5px; height: 9px; border: 2px solid #0f0d0a;
  border-top: none; border-left: none; transform: rotate(45deg);
}
.nl-consent input[type="checkbox"].error { border-color: rgba(200,74,74,.6); }
.nl-consent-text {
  font-family: var(--mono); font-size: 11px;
  color: rgba(232,213,176,.38); line-height: 1.65;
}
.nl-consent-text a { color: rgba(200,146,74,.5); text-decoration: none; }
.nl-consent-text a:hover { color: var(--accent); }
.nl-consent-error {
  display: none; font-family: var(--mono); font-size: 11px;
  color: #c84a4a; margin-top: 5px; padding-left: 26px;
}
.nl-consent-error.show { display: block; }

/* ── FOOTER ──────────────────────────────────────────────────────────────── */
.site-footer { margin-top: 2rem; padding: 1.5rem 0 2rem; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 1.5rem; }
@media(max-width:400px) { .footer-grid { grid-template-columns: 1fr; gap: 1rem; } }
.footer-brand .brand-name { font-family: var(--serif); font-style: italic; font-size: 1rem; color: var(--text); margin-bottom: .3rem; }
.footer-brand .brand-tagline { font-size: 10px; color: var(--muted); line-height: 1.6; max-width: 200px; font-family: var(--mono); }
.footer-links-col .col-title { font-size: 9px; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; margin-bottom: .6rem; font-family: var(--mono); }
.footer-links-col a { display: block; font-size: 11px; color: rgba(232,213,176,.35); text-decoration: none; margin-bottom: .35rem; font-family: var(--mono); transition: color .15s; }
.footer-links-col a:hover { color: var(--accent); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem; padding-top: 1.2rem; border-top: 1px solid var(--border); }
.copyright { font-size: clamp(9px,2.2vw,10px); color: rgba(232,213,176,.22); line-height: 1.6; font-family: var(--mono); }
.copyright strong { color: rgba(232,213,176,.38); font-weight: 500; }
.footer-legal { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-legal a { font-size: clamp(9px,2.2vw,10px); color: rgba(232,213,176,.18); text-decoration: none; font-family: var(--mono); transition: color .15s; }
.footer-legal a:hover { color: rgba(232,213,176,.5); }
.footer-legal a.active { color: var(--accent); }

/* ── DISCLAIMER BLOCK ────────────────────────────────────────────────────── */
.disclaimer { font-size: clamp(9px,2.2vw,10px); color: rgba(232,213,176,.2); line-height: 1.75; padding: 1.25rem 0 0; font-family: var(--mono); }
.disclaimer a { color: rgba(200,146,74,.35); text-decoration: none; }

@media(max-width:320px) { body { padding: 1rem .75rem 0; } }
