:root {
  --ink: #1c281f;
  --muted: #667166;
  --forest: #1f4934;
  --forest-deep: #143326;
  --sage: #98aa8e;
  --ivory: #f8f4eb;
  --paper: rgba(255, 253, 247, 0.92);
  --berry: #8d3143;
  --gold: #b8985c;
  --line: rgba(31, 73, 52, 0.14);
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
  background: var(--ivory);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 3%, rgba(152, 170, 142, 0.42), transparent 28rem),
    radial-gradient(circle at 91% 93%, rgba(31, 73, 52, 0.18), transparent 31rem),
    linear-gradient(145deg, #f8f4eb 0%, #efe9de 50%, #f7f3ea 100%);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a,
button { -webkit-tap-highlight-color: transparent; }

.site-shell {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  overflow: hidden;
  padding: 42px 18px 54px;
}

.site-shell::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: radial-gradient(rgba(31, 73, 52, 0.105) 0.7px, transparent 0.7px);
  background-size: 18px 18px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

.ambient {
  position: fixed;
  z-index: -1;
  border-radius: 52% 48% 65% 35%;
  filter: blur(1px);
  opacity: 0.88;
}

.ambient-one {
  top: -120px;
  right: -105px;
  width: 295px;
  height: 330px;
  background: linear-gradient(145deg, rgba(31, 73, 52, 0.34), rgba(152, 170, 142, 0.08));
  transform: rotate(18deg);
}

.ambient-two {
  bottom: -150px;
  left: -105px;
  width: 320px;
  height: 340px;
  background: linear-gradient(145deg, rgba(152, 170, 142, 0.32), rgba(31, 73, 52, 0.05));
  transform: rotate(-21deg);
}

.bio-card {
  position: relative;
  width: min(100%, 548px);
  margin: 0 auto;
  padding: 34px 30px 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 34px;
  background: var(--paper);
  box-shadow:
    0 34px 90px rgba(37, 50, 39, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
}

.bio-card::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: 124px;
  height: 4px;
  border-radius: 0 0 99px 99px;
  background: linear-gradient(90deg, var(--sage), var(--forest), var(--sage));
  content: "";
  transform: translateX(-50%);
}

.profile { text-align: center; }

.portrait-frame {
  position: relative;
  width: 132px;
  height: 132px;
  margin: 0 auto 23px;
}

.portrait-halo {
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(184, 152, 92, 0.52);
  border-radius: 50%;
}

.portrait {
  position: relative;
  z-index: 1;
  width: 132px;
  height: 132px;
  border: 5px solid #fffdf8;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 24%;
  box-shadow: 0 16px 35px rgba(20, 51, 38, 0.25);
}

.portrait-sprig {
  position: absolute;
  right: -5px;
  bottom: 4px;
  z-index: 2;
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border: 3px solid #fffdf8;
  border-radius: 50%;
  color: #fffaf0;
  background: var(--forest);
  box-shadow: 0 8px 17px rgba(20, 51, 38, 0.22);
  font-size: 14px;
}

.kicker,
.promo-eyebrow,
.field-label,
.primary-link small,
.link-list small {
  margin: 0;
  color: var(--forest);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.handle {
  display: inline-block;
  margin-top: 10px;
  color: var(--forest);
  font-size: 15px;
  font-weight: 750;
  text-decoration: none;
}

.handle:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.intro {
  max-width: 410px;
  margin: 17px auto 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}

.conversion-panel {
  margin-top: 25px;
  padding: 18px;
  border: 1px solid rgba(31, 73, 52, 0.16);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(232, 238, 228, 0.82), rgba(246, 241, 232, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

.conversion-panel.promo-live {
  background: linear-gradient(135deg, #f5ebda, #ecd9d8);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.promo-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.conversion-panel .promo-eyebrow { color: var(--berry); }

.promo-headline {
  margin: 4px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.promo-detail {
  margin: 0;
  color: #756869;
  font-size: 12px;
  line-height: 1.45;
}

.promo-badge {
  display: grid;
  flex: 0 0 auto;
  width: 62px;
  height: 62px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  color: white;
  background: linear-gradient(145deg, #a84e60, var(--berry));
  box-shadow: 0 10px 22px rgba(102, 37, 50, 0.2);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 800;
}

.code-card {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 15px;
  padding: 15px 16px 15px 18px;
  border: 1px dashed rgba(31, 73, 52, 0.28);
  border-radius: 18px;
  color: var(--ink);
  background: rgba(255, 253, 247, 0.82);
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.code-card:hover {
  border-color: rgba(31, 73, 52, 0.52);
  background: #fffdf8;
  transform: translateY(-1px);
}

.code-details { display: block; }

.code-card strong {
  display: block;
  margin-top: 4px;
  color: var(--forest-deep);
  font-size: 21px;
  letter-spacing: 0.09em;
}

.copy-action {
  flex: 0 0 auto;
  padding: 10px 13px;
  border: 1px solid rgba(31, 73, 52, 0.1);
  border-radius: 12px;
  color: var(--forest-deep);
  background: #dce7d8;
  font-size: 12px;
  font-weight: 800;
}

.link-list {
  display: grid;
  gap: 11px;
  margin-top: 12px;
}

.link-list a {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 14px;
  border-radius: 14px;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
  text-decoration: none;
}

.link-list a > span:first-child {
  display: grid;
  gap: 4px;
}

.link-list a > span:last-child { font-size: 17px; }
.link-list a:hover { transform: translateY(-2px); }

.primary-link {
  position: relative;
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 12px;
  padding: 15px 18px;
  overflow: hidden;
  border-radius: 18px;
  color: white;
  background: linear-gradient(135deg, var(--forest-deep), var(--forest) 68%, #476b53);
  box-shadow: 0 15px 31px rgba(20, 51, 38, 0.24);
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.primary-link > span:first-child {
  display: grid;
  gap: 4px;
}

.primary-link > span:last-child { font-size: 22px; }

.primary-link:hover {
  box-shadow: 0 18px 35px rgba(20, 51, 38, 0.3);
  transform: translateY(-2px);
}

.primary-link::after {
  position: absolute;
  top: -28px;
  right: 50px;
  width: 90px;
  height: 90px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
  content: "";
}

.primary-link small { color: #c8d9c4; }

.affiliate-note {
  margin: 12px 3px 0;
  color: #6b756c;
  font-size: 10.5px;
  line-height: 1.45;
  text-align: center;
}

.secondary-link {
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.68);
  font-size: 12.5px;
  font-weight: 750;
}

.secondary-link:hover {
  border-color: rgba(31, 73, 52, 0.34);
  box-shadow: 0 9px 23px rgba(37, 50, 39, 0.08);
}

.notice {
  display: grid;
  gap: 9px;
  margin-top: 21px;
  padding: 16px 17px;
  border-left: 3px solid var(--sage);
  border-radius: 5px 14px 14px 5px;
  color: #687168;
  background: rgba(239, 241, 234, 0.78);
  font-size: 10.5px;
  line-height: 1.55;
}

.notice p { margin: 0; }
.notice strong { color: #3c4f41; }

footer {
  margin-top: 19px;
  color: #7b857b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  font-style: italic;
  text-align: center;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(31, 73, 52, 0.34);
  outline-offset: 3px;
}

@media (max-width: 560px) {
  .site-shell { padding: 20px 12px 32px; }

  .bio-card {
    padding: 29px 18px 24px;
    border-radius: 27px;
  }

  .portrait-frame,
  .portrait {
    width: 122px;
    height: 122px;
  }

  .conversion-panel { padding: 15px; }
  .promo-headline { font-size: 19px; }

  .promo-badge {
    width: 56px;
    height: 56px;
    font-size: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
