:root {
  --bg-deep: #0d0b09;
  --bg-card: #1a1714;
  --bg-card-hover: #1f1b17;
  --bg-warm: #181410;
  --border: rgba(180, 155, 120, 0.1);
  --border-hover: rgba(180, 155, 120, 0.24);
  --text-hero: #f5f0e8;
  --text-primary: #ede7dd;
  --text-body: #b8afa3;
  --text-muted: #6e6560;
  --accent: #c9a96e;
  --accent-soft: rgba(201, 169, 110, 0.12);
  --accent-glow: rgba(201, 169, 110, 0.06);
  --bg-raised: #141210;
  --shadow-md: 0 10px 34px rgba(0, 0, 0, 0.32);
  --shadow-lg: 0 18px 60px rgba(0, 0, 0, 0.38);
  --max-width: 760px;
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-pill: 999px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Outfit", sans-serif;
  background: radial-gradient(circle at top, rgba(201, 169, 110, 0.05), transparent 28%), var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(201, 169, 110, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 169, 110, 0.015) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 70%);
}

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

.page {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px 18px 56px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(13, 11, 9, 0.7);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 12px;
  z-index: 30;
}

.brand-shell {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(201, 169, 110, 0.18);
  background: rgba(201, 169, 110, 0.08);
  overflow: hidden;
  flex: 0 0 40px;
}

.brand-mark--text {
  font-family: "Cormorant Garamond", serif;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.5px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-copy strong {
  font-family: "Cormorant Garamond", serif;
  font-size: 25px;
  line-height: 1;
  color: var(--text-hero);
  letter-spacing: 0.2px;
  font-weight: 500;
}

.nav-cta {
  padding: 11px 18px;
  border-radius: var(--radius-pill);
  background: rgba(201, 169, 110, 0.08);
  border: 1px solid var(--border-hover);
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  white-space: nowrap;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(201, 169, 110, 0.18);
}

.panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(26, 23, 20, 0.98), rgba(16, 13, 11, 0.98));
  box-shadow: var(--shadow-md);
}

.panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 169, 110, 0.16), transparent);
}

.hero {
  padding: clamp(24px, 4vw, 38px);
  margin-bottom: 16px;
}

.hero-label,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 500;
}

.hero-label::before,
.section-label::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--border-hover);
}

.hero-label span,
.section-label span {
  color: var(--accent);
}

.hero-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.hero-avatar {
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(201, 169, 110, 0.18);
  background: rgba(201, 169, 110, 0.08);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.22);
}

.hero-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-avatar-fallback {
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  color: var(--accent);
  display: none;
}

.hero-avatar.is-fallback img {
  display: none;
}

.hero-avatar.is-fallback .hero-avatar-fallback {
  display: block;
}

.hero-person strong {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 34px;
  line-height: 0.95;
  color: var(--text-hero);
  letter-spacing: -0.3px;
  font-weight: 500;
  margin-bottom: 4px;
}

.hero-person span {
  color: var(--text-body);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(42px, 8vw, 64px);
  line-height: 0.95;
  letter-spacing: -0.6px;
  color: var(--text-hero);
  margin-bottom: 14px;
  max-width: 18ch;
  font-weight: 500;
}

.hero h1 em {
  color: var(--accent);
  font-style: italic;
  font-weight: 500;
}

.hero-sub {
  font-size: 16px;
  color: var(--text-body);
  max-width: 54ch;
  margin-bottom: 22px;
}

.hero-sub--compact {
  font-size: 15px;
  max-width: 42ch;
}

.micro-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.proof-pill {
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: rgba(201, 169, 110, 0.04);
  color: var(--text-body);
  font-size: 12px;
}

.section {
  margin-top: 16px;
  padding: 22px;
}

.links-grid {
  display: grid;
  gap: 12px;
}

.link-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 18px 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(30, 26, 22, 0.96), rgba(22, 19, 16, 0.96));
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.015);
  position: relative;
}

.link-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-hover);
  background: linear-gradient(180deg, rgba(34, 30, 25, 0.98), rgba(24, 21, 18, 0.98));
  box-shadow: var(--shadow-lg);
}

.link-card.core-offer {
  border-color: rgba(201, 169, 110, 0.24);
  background:
    radial-gradient(circle at 100% 0%, rgba(201, 169, 110, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(34, 29, 24, 0.98), rgba(22, 19, 16, 0.98));
}

.link-card.core-offer:hover {
  border-color: rgba(201, 169, 110, 0.34);
}

.iap-feature {
  grid-template-columns: 1fr auto;
  padding: 28px 22px;
  align-items: end;
}

.iap-feature .link-copy h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 42px;
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 500;
  margin-bottom: 10px;
  max-width: 18ch;
}

.iap-feature .link-copy p {
  font-size: 15px;
  line-height: 1.6;
  max-width: 44ch;
}

.recommended-badge {
  position: absolute;
  top: 12px;
  right: 14px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(201, 169, 110, 0.22);
  background: rgba(201, 169, 110, 0.08);
  color: var(--accent);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
}

.link-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(201, 169, 110, 0.08);
  border: 1px solid rgba(201, 169, 110, 0.11);
  color: var(--accent);
  font-size: 18px;
  font-weight: 700;
  overflow: hidden;
}

.link-icon svg {
  width: 20px;
  height: 20px;
  display: block;
  fill: currentColor;
}

.link-copy h3 {
  font-size: 16px;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 5px;
  font-weight: 600;
}

.link-copy p {
  color: var(--text-body);
  font-size: 13px;
  line-height: 1.45;
  max-width: 48ch;
}

.link-arrow {
  color: var(--accent);
  font-size: 18px;
  opacity: 0.92;
}

@media (max-width: 680px) {
  .page {
    padding: 16px 14px 42px;
  }

  .nav {
    padding: 14px 14px;
  }

  .brand-copy {
    display: none;
  }

  .nav-cta {
    padding: 10px 14px;
    font-size: 12px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: 38px;
  }

  .section,
  .hero {
    padding: 18px;
  }

  .link-card {
    padding: 15px;
    gap: 12px;
  }

  .link-icon {
    width: 40px;
    height: 40px;
    border-radius: 14px;
  }

  .hero-head {
    gap: 14px;
  }

  .hero-avatar {
    width: 60px;
    height: 60px;
    flex-basis: 60px;
  }

  .hero-person strong {
    font-size: 26px;
  }

  .hero-person span {
    font-size: 11px;
    letter-spacing: 0.06em;
  }

  .recommended-badge {
    top: 10px;
    right: 10px;
    font-size: 9px;
    padding: 4px 8px;
  }

  .iap-feature {
    grid-template-columns: 1fr auto;
    padding: 20px 16px;
  }

  .iap-feature .link-copy h3 {
    font-size: 30px;
    max-width: 100%;
  }
}
