:root {
  color-scheme: dark;
  --ink: #11131b;
  --ink-soft: #3d4353;
  --blue: #dce9ff;
  --blue-deep: #91b5ea;
  --silver: #f8f9fb;
  --line: rgba(17, 19, 27, .13);
  --pink: #f2c4ca;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--blue);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .35;
  background-image: radial-gradient(rgba(17,19,27,.12) .7px, transparent .7px);
  background-size: 5px 5px;
  mix-blend-mode: multiply;
}

.page-shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 11px; color: inherit; font-size: 18px; font-weight: 800; text-decoration: none; letter-spacing: -.06em; }
.brand img { width: 37px; height: 37px; object-fit: cover; border-radius: 50%; border: 2px solid var(--ink); }
.nav-links, .actions { display: flex; align-items: center; gap: 8px; }
.nav-link { color: var(--ink); font-size: 13px; font-weight: 750; text-decoration: none; padding: 8px 9px; }
.nav-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.hero { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; min-height: 650px; gap: 48px; padding: 56px 0 70px; }
.eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .16em; margin: 0 0 16px; }
h1 { margin: 0; font-size: clamp(67px, 10vw, 140px); line-height: .78; letter-spacing: -.095em; font-weight: 900; }
h1 span { display: block; margin: 20px 0 0 7px; color: var(--ink-soft); font-size: clamp(16px, 2vw, 25px); letter-spacing: -.045em; line-height: 1; }
.intro { max-width: 350px; margin: 30px 0; color: var(--ink-soft); font-size: 18px; line-height: 1.4; letter-spacing: -.025em; }
.button { display: inline-flex; justify-content: center; min-width: 80px; padding: 13px 16px; border: 1.5px solid var(--ink); color: var(--ink); background: transparent; border-radius: 999px; font-weight: 760; font-size: 14px; text-decoration: none; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); background: var(--ink); color: var(--blue); }
.button-pump { background: var(--ink); color: var(--blue); }
.button-pump:hover { background: var(--pink); color: var(--ink); }

.portrait-wrap { position: relative; width: min(100%, 560px); justify-self: end; aspect-ratio: 1; display: grid; place-items: center; }
.portrait { position: relative; z-index: 2; width: 82%; height: 82%; object-fit: cover; border-radius: 50%; border: 8px solid var(--silver); box-shadow: 16px 18px 0 var(--ink); }
.orbit { position: absolute; z-index: 1; border: 1px solid rgba(17,19,27,.28); border-radius: 50%; }
.orbit-one { inset: 3%; transform: rotate(-22deg) scaleY(.45); }
.orbit-two { inset: 8%; transform: rotate(55deg) scaleY(.55); border-style: dashed; }
.portrait-caption { position: absolute; z-index: 3; right: 0; bottom: 1%; margin: 0; padding: 9px 12px; transform: rotate(-6deg); background: var(--pink); box-shadow: 4px 4px 0 var(--ink); font-family: ui-monospace, monospace; font-size: 13px; font-weight: 800; }

.details { display: grid; grid-template-columns: 190px 1fr; align-items: center; gap: 24px; padding: 23px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.detail-label { font-size: 11px; font-weight: 850; letter-spacing: .13em; }
.contract-row { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
code { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; color: var(--ink-soft); }
.copy-button { flex: 0 0 auto; cursor: pointer; border: 1.5px solid var(--ink); border-radius: 4px; padding: 9px 15px; color: var(--ink); background: transparent; font: inherit; font-size: 13px; font-weight: 750; }
.copy-button:hover, .copy-button:focus-visible { background: var(--ink); color: var(--blue); }

footer { display: flex; justify-content: space-between; gap: 16px; padding: 25px 0 34px; color: var(--ink-soft); font-size: 12px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

@media (max-width: 700px) {
  .page-shell { width: min(100% - 32px, 520px); }
  .nav { padding: 16px 0; }
  .nav-link { padding: 7px 5px; }
  .hero { grid-template-columns: 1fr; min-height: auto; gap: 18px; padding: 64px 0 60px; }
  .hero-copy { order: 2; }
  .portrait-wrap { width: min(100%, 420px); justify-self: center; }
  h1 { font-size: clamp(64px, 22vw, 100px); }
  .intro { margin: 24px 0; }
  .details { grid-template-columns: 1fr; gap: 12px; }
  footer { padding-bottom: 25px; }
}

@media (max-width: 390px) { .nav-links { gap: 3px; } .actions { gap: 6px; } .button { min-width: 0; padding-inline: 14px; } }
