:root {
  color-scheme: light;
  --navy: #102c52;
  --navy-deep: #091e38;
  --gold: #d5ac36;
  --copper: #b86f4c;
  --teal: #3b777f;
  --cream: #f7f5ef;
  --paper: #fffdf8;
  --ink: #172c3d;
  --muted: #5a6974;
  --line: #d9dfe0;
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; padding: .8rem 1rem; background: #fff; }
.skip-link:focus { left: 1rem; top: 1rem; }
.affiliate-container { width: min(100% - 3rem, 1180px); margin-inline: auto; }
.affiliate-header { background: var(--navy); color: #fff; border-bottom: 1px solid rgba(255,255,255,.16); }
.header-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.affiliate-brand { display: inline-flex; align-items: center; gap: .9rem; text-decoration: none; font-weight: 780; }
.affiliate-brand img { width: auto; height: 58px; object-fit: contain; }
.affiliate-header nav { display: flex; align-items: center; gap: 1.5rem; }
.affiliate-header nav a { color: #dbe4ea; text-decoration: none; font-size: .82rem; font-weight: 650; }
.affiliate-header nav a:hover { color: var(--gold); }
.hero { overflow: hidden; background: var(--navy); color: #fff; }
.hero-grid { min-height: 620px; display: grid; grid-template-columns: 55% 45%; align-items: center; gap: 3rem; }
.hero-copy { padding-block: clamp(4.5rem, 8vw, 7.5rem); }
.eyebrow { margin: 0 0 1.25rem; color: var(--gold); font-size: .72rem; font-weight: 800; letter-spacing: .16em; }
.hero h1 { max-width: 780px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.4rem, 6vw, 6.2rem); font-weight: 400; line-height: 1; letter-spacing: -.055em; }
.hero h1 em { color: var(--gold); font-weight: 400; }
.hero-lede { max-width: 58ch; margin: 1.6rem 0 0; color: #d1dce3; font-size: 1.05rem; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: .8rem 1.1rem; border: 1px solid var(--gold); background: var(--gold); color: var(--navy-deep); text-decoration: none; font-size: .82rem; font-weight: 800; cursor: pointer; }
.button:hover { background: #e3bf52; }
.button.secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.button.secondary:hover { border-color: #fff; }
.hero-art { position: relative; min-height: 500px; display: grid; place-items: center; }
.hero-art img { width: min(100%, 620px); height: auto; aspect-ratio: 4 / 3; object-fit: contain; filter: drop-shadow(0 28px 28px rgba(0,0,0,.35)); }
.hero-art::before { content: ""; position: absolute; width: 380px; height: 380px; border: 1px solid rgba(213,172,54,.28); border-radius: 50%; }
.status-strip { background: var(--gold); color: var(--navy-deep); }
.status-inner { min-height: 62px; display: flex; align-items: center; justify-content: center; gap: 1.2rem; text-align: center; font-size: .72rem; font-weight: 850; letter-spacing: .12em; }
.status-inner .dot { color: #fff; }
.section { padding-block: clamp(4.5rem, 8vw, 7.5rem); }
.section-heading { max-width: 760px; margin-bottom: 3rem; }
.section-heading h2, .split-copy h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.5rem, 4.5vw, 4.7rem); line-height: 1.08; letter-spacing: -.045em; font-weight: 400; }
.section-heading > p:last-child, .split-copy > p { color: var(--muted); }
.kicker { margin: 0 0 1rem; color: var(--teal); font-size: .72rem; font-weight: 850; letter-spacing: .15em; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.step { min-height: 245px; padding: 1.6rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.step > span { color: var(--copper); font-size: .72rem; font-weight: 850; }
.step h3 { margin: 3rem 0 .7rem; font-family: Georgia, "Times New Roman", serif; font-size: 1.5rem; font-weight: 400; }
.step p { margin: 0; color: var(--muted); font-size: .9rem; }
.dark-section { background: var(--navy); color: #fff; }
.dark-section .kicker { color: var(--gold); }
.dark-section .section-heading > p:last-child { color: #c8d4dc; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.product-card { padding: 1.7rem; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.04); }
.product-card .label { color: var(--gold); font-size: .7rem; font-weight: 850; letter-spacing: .12em; }
.product-card h3 { margin: 2.2rem 0 .8rem; font-family: Georgia, "Times New Roman", serif; font-size: 1.65rem; font-weight: 400; line-height: 1.16; }
.product-card p { color: #cbd6dd; font-size: .9rem; }
.product-card ul { margin: 1rem 0 0; padding-left: 1.1rem; color: #e7edef; font-size: .86rem; }
.product-card a { display: inline-block; margin-top: 1.3rem; color: var(--gold); font-size: .82rem; font-weight: 750; }
.asset-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.asset-card { display: flex; flex-direction: column; min-height: 100%; border: 1px solid var(--line); background: var(--paper); }
.asset-preview { min-height: 205px; display: grid; place-items: center; padding: 1rem; background: #e7ecef; border-bottom: 1px solid var(--line); }
.asset-preview img { max-width: 100%; max-height: 210px; width: auto; height: auto; object-fit: contain; box-shadow: 0 12px 24px rgba(16,44,82,.12); }
.product-mockup-preview { aspect-ratio: 4 / 3; }
.product-mockup-preview .core-bundle-image { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.asset-body { flex: 1; display: flex; flex-direction: column; padding: 1.4rem; }
.asset-type { color: var(--teal); font-size: .68rem; font-weight: 850; letter-spacing: .12em; }
.asset-body h3 { margin: .65rem 0 .45rem; font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; font-weight: 400; }
.asset-body p { margin: 0; color: var(--muted); font-size: .87rem; }
.asset-links { display: flex; flex-wrap: wrap; gap: .8rem 1rem; margin-top: auto; padding-top: 1.3rem; }
.asset-links a { color: var(--navy); font-size: .8rem; font-weight: 800; }
.copy-library { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.copy-card { padding: 1.6rem; border: 1px solid var(--line); background: #fff; }
.copy-card h3 { margin: 0 0 .7rem; font-family: Georgia, "Times New Roman", serif; font-size: 1.45rem; font-weight: 400; }
.copy-card pre { min-height: 150px; margin: 0; padding: 1rem; overflow: auto; white-space: pre-wrap; border: 1px solid #e3e7e8; background: #f5f6f4; color: #304554; font: .85rem/1.55 "Segoe UI", Arial, sans-serif; }
.copy-button { margin-top: 1rem; border: 0; background: none; color: var(--teal); padding: 0; font-size: .8rem; font-weight: 850; cursor: pointer; }
.copy-button:hover { color: var(--navy); }
.link-builder-section { background: #fff; }
.link-builder-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3.5rem; align-items: start; }
.link-builder-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding: 1.7rem; background: var(--cream); border: 0; box-shadow: 0 12px 34px rgba(16,44,82,.1); }
.link-builder-form label { display: block; color: var(--navy); font-size: .78rem; font-weight: 800; }
.link-builder-form input { width: 100%; margin-top: .4rem; padding: .8rem; border: 1px solid var(--line); color: var(--navy); background: #fff; }
.link-builder-form .full { grid-column: 1 / -1; }
.link-builder-form > .button { align-self: end; min-height: 46px; }
.link-result { display: flex; min-width: 0; }
.link-result input { min-width: 0; margin: 0; }
.link-result .button { min-width: 82px; }
@media (max-width: 760px) { .link-builder-grid, .link-builder-form { grid-template-columns: 1fr; } .link-builder-form .full { grid-column: auto; } }
.split { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.rules { border-top: 1px solid var(--line); }
.rule { display: grid; grid-template-columns: 5rem 1fr; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.rule strong { color: var(--teal); font-size: .72rem; letter-spacing: .1em; }
.rule p { margin: 0; color: var(--muted); }
.downloads { background: #ece7dc; }
.download-list { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid #cfc8bb; }
.download-list a { display: flex; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid #cfc8bb; text-decoration: none; font-weight: 720; }
.download-list a:nth-child(odd) { margin-right: 2rem; }
.download-list a:hover { color: var(--teal); }
.download-list span { color: var(--copper); }
.affiliate-footer { padding: 2.5rem 0; background: var(--navy-deep); color: #cbd7de; font-size: .82rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 2rem; }
.footer-inner p { margin: .3rem 0; }
.notice { margin-top: 2rem; color: var(--muted); font-size: .78rem; }
@media (max-width: 900px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero-grid { padding-bottom: 3rem; }
  .hero-art { min-height: 370px; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid, .asset-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 650px) {
  .affiliate-container { width: min(100% - 2rem, 1180px); }
  .affiliate-header nav { display: none; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.4rem); }
  .hero-art { min-height: 285px; }
  .status-inner { align-items: flex-start; gap: .55rem; font-size: .6rem; }
  .steps-grid, .product-grid, .asset-grid, .copy-library, .download-list { grid-template-columns: 1fr; }
  .download-list a:nth-child(odd) { margin-right: 0; }
  .footer-inner { flex-direction: column; }
}
