/* SHARED STYLESHEET — every /my/blog/<slug>/ post links here. Edit once, */
/* applies to all posts. Brand tokens kept in sync with /assets/style.css */

/* Fonts reused from the shared root copy — do not duplicate the .woff2 files per post */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 500 900;
  font-display: swap;
  src: url('/assets/fonts/archivo-latin-variable.woff2') format('woff2');
}
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/assets/fonts/lora-latin-variable.woff2') format('woff2');
}
@font-face {
  font-family: 'Lora';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/lora-latin-italic-400.woff2') format('woff2');
}

:root {
  --ink: #0b2430;
  --paper: #ffffff;
  --teal-deep: #04222c;
  --teal: #04303d;
  --teal-light: #0d5a6e;
  --accent: #16b3a3;
  --red: #cd2e28;
  --gold: #f2b705;
  --line: rgba(255, 255, 255, 0.14);
}

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

html { scroll-behavior: smooth; }

body {
  min-height: 100svh;
  font-family: 'Lora', serif;
  color: #ffffff;
  background:
    radial-gradient(1100px 700px at 50% -10%, var(--teal-light) 0%, transparent 60%),
    linear-gradient(180deg, var(--teal-deep) 0%, var(--teal) 55%, var(--teal-deep) 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.7;
}

a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: #ffd45c; }

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 96px;
}

/* HOME LINK */
.back-link {
  display: inline-block;
  margin-bottom: 32px;
  font-family: 'Archivo', sans-serif;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* ARTICLE HEADER */
.article-header { margin-bottom: 32px; }

.eyebrow {
  display: block;
  font-family: 'Archivo', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

h1 {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.2;
  margin-bottom: 16px;
}

.article-meta {
  font-family: 'Archivo', sans-serif;
  font-size: 0.85rem;
  opacity: 0.7;
}

/* HERO IMAGE */
.article-hero {
  width: 100%;
  border-radius: 12px;
  margin: 32px 0;
  display: block;
}

/* ARTICLE BODY */
.article-body h2 {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  margin: 40px 0 16px;
}

.article-body h3 {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  margin: 32px 0 12px;
}

.article-body p { margin-bottom: 20px; }

.article-body ul,
.article-body ol {
  margin: 0 0 20px 1.2em;
}
.article-body li { margin-bottom: 8px; }

.article-body img {
  width: 100%;
  border-radius: 8px;
  margin: 8px 0 20px;
}

.article-body blockquote {
  border-left: 3px solid var(--gold);
  padding-left: 16px;
  margin: 24px 0;
  font-style: italic;
  opacity: 0.9;
}

/* CTA BLOCK — link out to a salespage */
.cta-block {
  margin-top: 48px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  text-align: center;
}

.cta-block p {
  font-family: 'Archivo', sans-serif;
  margin-bottom: 16px;
}

.cta-button {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  text-decoration: none;
}
.cta-button:hover { background: #ffd45c; }
