@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Fraunces:opsz,wght@9..144,600;9..144,700&display=swap");

:root {
  --ink: #f7f0df;
  --muted: #bfb2ac;
  --paper: #1a0e1b;
  --paper-deep: #100914;
  --orange: #ff8b2b;
  --purple: #9b55d3;
  --line: rgba(247, 240, 223, 0.17);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: radial-gradient(circle at 80% 12%, #3a173d 0, transparent 27%), radial-gradient(circle at 17% 87%, #381518 0, transparent 28%), var(--paper-deep);
  font-family: "DM Mono", monospace;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.page-shell { max-width: 1180px; margin: 0 auto; padding: 22px 34px 0; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; letter-spacing: -0.07em; }
.brand img { border-radius: 50%; border: 1px solid rgba(255, 185, 82, .7); }
.socials { display: flex; align-items: center; gap: 19px; font-size: 11px; text-transform: uppercase; letter-spacing: .09em; }
.socials a { color: var(--muted); transition: color .2s ease; }
.socials a:hover, .socials a:focus-visible { color: var(--orange); }

.hero { min-height: 620px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 36px; padding: 42px 4.5% 62px; }
.eyebrow, .section-label { margin: 0; color: var(--orange); font-size: 11px; letter-spacing: .15em; }
h1 { max-width: 530px; margin: 14px 0 19px; font-family: Fraunces, Georgia, serif; font-size: clamp(52px, 6.4vw, 89px); line-height: .94; letter-spacing: -.07em; }
h1 em { color: #c37aee; font-style: italic; font-weight: 600; }
.intro { max-width: 365px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 29px; }
.button, .copy-button { display: inline-flex; align-items: center; justify-content: center; min-height: 45px; padding: 0 17px; border-radius: 99px; font-size: 11px; letter-spacing: .04em; cursor: pointer; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover, .button:focus-visible, .copy-button:hover, .copy-button:focus-visible { transform: translateY(-2px); }
.button-primary { background: var(--orange); color: #29100a; font-weight: 500; }
.button-quiet { border: 1px solid var(--line); color: var(--ink); }

.portrait-wrap { position: relative; width: min(100%, 470px); justify-self: center; isolation: isolate; }
.portrait { position: relative; z-index: 1; display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 47% 47% 42% 42% / 39% 39% 55% 55%; box-shadow: 0 35px 75px rgba(0, 0, 0, .42); }
.halo { position: absolute; z-index: 0; inset: 8% 0 -6%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 149, 48, .28), rgba(137, 64, 170, .16) 45%, transparent 68%); filter: blur(6px); }
.spark { position: absolute; z-index: 2; color: #ffd773; font-size: 32px; text-shadow: 0 0 18px #ff7c22; }
.spark-one { top: 18%; left: -3%; }.spark-two { right: 2%; bottom: 18%; font-size: 20px; }

.details { max-width: 808px; margin: 0 auto; padding: 0 0 72px; }
.section-label { margin-bottom: 14px; color: #b998cb; }
.contract-card { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 22px 22px 25px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255, 255, 255, .035); }
.contract-label { display: block; margin-bottom: 8px; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .09em; }
code { color: var(--ink); font-size: 15px; }
.copy-button { min-width: 80px; border: 1px solid rgba(255, 139, 43, .5); background: transparent; color: var(--orange); }
.copy-button.is-copied { color: #1c0b13; border-color: #ffd877; background: #ffd877; }
footer { display: flex; justify-content: space-between; max-width: 1180px; margin: 0 auto; padding: 20px 34px 28px; border-top: 1px solid var(--line); color: #8b7a83; font-size: 10px; letter-spacing: .04em; }

@media (max-width: 760px) {
  .page-shell { padding: 18px 20px 0; }.topbar { align-items: flex-start; }.socials { gap: 12px; padding-top: 12px; font-size: 10px; }
  .hero { grid-template-columns: 1fr; min-height: auto; gap: 28px; padding: 66px 0 64px; }.hero-copy { text-align: center; }.intro { margin-inline: auto; }.hero-actions { justify-content: center; }.portrait-wrap { width: min(100%, 390px); grid-row: 1; }
  h1 { margin-inline: auto; }.details { padding-bottom: 54px; }.contract-card { padding: 17px; }.contract-card code { font-size: 13px; }
  footer { padding: 18px 20px 25px; }
}
@media (max-width: 420px) { .brand span { display: none; }.socials { gap: 10px; }.button { width: 100%; }.hero-actions { display: grid; }.contract-card { align-items: flex-start; }.copy-button { min-height: 39px; padding: 0 12px; } }
