/* ==========================================================================
   The Life Story Guy — brand stylesheet
   Palette pulled from logo: warm gold gradient + deep slate
   ========================================================================== */

:root {
  --bg: #14161a;
  --bg-soft: #1b1e23;
  --card: #1e2126;
  --card-border: #2c2f35;
  --ivory: #f2ede3;
  --ivory-dim: #c9c4b8;
  --muted: #8d8c88;
  --gold-light: #dcbd8a;
  --gold: #c9a267;
  --gold-dark: #8b6534;
  --slate: #4a5964;
  --focus: #e3c793;
  --radius: 14px;
  --max-w: 620px;
}

@media (prefers-color-scheme: light) {
  :root { color-scheme: dark; }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 900px 500px at 50% -10%, rgba(201,162,103,0.10), transparent 60%),
    radial-gradient(ellipse 700px 500px at 90% 100%, rgba(139,101,52,0.08), transparent 60%);
  color: var(--ivory);
  font-family: "Jost", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--gold-dark); color: var(--ivory); }

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

a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

h1, h2, h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin: 0 0 0.5em;
  color: var(--ivory);
}

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 56px 22px 80px;
}

/* ---------- Diamond motif (from the icon spark) ---------- */
.diamond {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: linear-gradient(160deg, var(--gold-light), var(--gold-dark));
  transform: rotate(45deg);
  flex: none;
}

.rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 20px 0 30px;
  color: var(--muted);
}
.rule::before,
.rule::after {
  content: "";
  height: 1px;
  width: 46px;
  background: linear-gradient(90deg, transparent, var(--gold-dark));
}
.rule::after { background: linear-gradient(90deg, var(--gold-dark), transparent); }

/* ---------- Header / brand block (index page) ---------- */
.brand {
  text-align: center;
}

.brand-icon {
  width: 58px;
  height: 58px;
  margin-bottom: 14px;
}

.brand-eyebrow {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 15px;
  letter-spacing: 0.35em;
  color: var(--gold-light);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.brand-name {
  font-size: 40px;
  line-height: 1.1;
  margin-bottom: 8px;
}

.brand-tagline {
  font-family: "Jost", sans-serif;
  font-style: italic;
  font-size: 14.5px;
  color: var(--ivory-dim);
  letter-spacing: 0.02em;
  margin-bottom: 0;
}

/* ---------- Profile ---------- */
.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 34px 0 8px;
}

.profile-photo {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 5px rgba(201,162,103,0.08);
  margin-bottom: 16px;
}

.profile-note {
  max-width: 480px;
  color: var(--ivory-dim);
  font-size: 15.5px;
}

.profile-note strong { color: var(--ivory); font-weight: 500; }

/* ---------- Link buttons ---------- */
.links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.btn:hover, .btn:focus-visible {
  border-color: var(--gold);
  background: #21252b;
  transform: translateY(-2px);
}

.btn .diamond { margin-top: 2px; }

.btn-text { flex: 1; min-width: 0; }

.btn-title {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: 19px;
  color: var(--ivory);
}

.btn-sub {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 1px;
}

.btn-price {
  flex: none;
  font-family: "Cormorant Garamond", Georgia, serif;
  color: var(--gold-light);
  font-size: 18px;
  font-weight: 600;
}

.btn-arrow {
  flex: none;
  color: var(--gold);
  font-size: 18px;
  transition: transform 180ms ease;
}
.btn:hover .btn-arrow { transform: translateX(3px); }

.btn.primary {
  background: linear-gradient(160deg, rgba(201,162,103,0.16), rgba(139,101,52,0.10));
  border-color: var(--gold-dark);
}
.btn.primary:hover { border-color: var(--gold-light); }

/* ---------- Footer ---------- */
.site-footer {
  text-align: center;
  margin-top: 56px;
  color: var(--muted);
  font-size: 13px;
}
.site-footer a { color: var(--gold-light); }
.site-footer a:hover { text-decoration: underline; }

/* ---------- Internal pages ---------- */
.page-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
}

.page-header img { width: 34px; height: 34px; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-light);
  font-size: 14px;
  letter-spacing: 0.03em;
  margin-bottom: 30px;
}
.back-link:hover { color: var(--ivory); }

.page-title {
  font-size: 34px;
  margin-bottom: 6px;
}

.page-kicker {
  display: block;
  font-family: "Jost", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 12px;
  color: var(--gold);
  margin-bottom: 10px;
}

.page-price {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 26px;
  color: var(--gold-light);
  margin: 14px 0 26px;
}

.lede {
  font-size: 17px;
  color: var(--ivory-dim);
  margin-bottom: 30px;
}

.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 26px 24px;
  margin-bottom: 22px;
}

.card h3 {
  font-size: 20px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--ivory-dim);
  font-size: 15px;
}

.feature-list .diamond { margin-top: 7px; }

.pkg-name {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 23px;
  color: var(--ivory);
}

.pkg-price {
  color: var(--gold-light);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: 18px;
}

.pkg-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.cta-block {
  text-align: center;
  margin-top: 40px;
}

.cta-note {
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 14px;
}

@media (max-width: 420px) {
  .brand-name { font-size: 32px; }
  .page-title { font-size: 28px; }
  .btn { padding: 15px 16px; }
}
