@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: #281d17;
  --paper: #f9f2e4;
  --lavender: #625f86;
  --orange: #f69f37;
  --red: #d7412d;
  --line: 3px solid var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Mono", ui-monospace, monospace;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }

.site-header {
  min-height: 86px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: "Fraunces", Georgia, serif; font-size: 1.35rem; font-weight: 700; }
.brand img { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--ink); object-fit: cover; }
nav, .site-footer div { display: flex; align-items: center; gap: 22px; }
nav a, .site-footer a { font-size: .76rem; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; }
nav a:hover, .site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }

.hero { display: grid; grid-template-columns: 1fr .9fr; align-items: center; gap: 30px; min-height: 580px; padding-block: 44px 66px; }
.eyebrow { margin: 0 0 14px; color: var(--red); font-size: .78rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
h1 { margin: 0; font-family: "Fraunces", Georgia, serif; font-size: clamp(3.2rem, 7vw, 6.4rem); font-weight: 700; letter-spacing: -.08em; line-height: .91; }
h1 em { color: var(--red); font-style: normal; }
.intro { max-width: 430px; margin: 28px 0; font-size: clamp(.95rem, 1.5vw, 1.08rem); line-height: 1.65; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button, .copy-button { display: inline-flex; align-items: center; justify-content: center; gap: 11px; border: var(--line); border-radius: 999px; padding: 14px 20px; font-size: .78rem; font-weight: 500; letter-spacing: .03em; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover, .copy-button:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.button-dark { background: var(--ink); color: var(--paper); }
.button-light { background: transparent; }

.hero-art { position: relative; justify-self: end; width: min(100%, 500px); aspect-ratio: 1; border-radius: 48% 52% 48% 52%; background: var(--lavender); border: var(--line); transform: rotate(2deg); overflow: visible; }
.hero-art img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; transform: rotate(-2deg) scale(1.03); }
.spark { position: absolute; z-index: 2; color: #ffd05c; font-family: Georgia, serif; font-size: 3rem; text-shadow: 2px 2px 0 var(--ink); }
.spark-one { top: 5%; left: -6%; }
.spark-two { right: -4%; bottom: 9%; font-size: 2rem; }

.contract { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 25px 28px; background: #f2c875; border: var(--line); border-radius: 17px; box-shadow: 6px 6px 0 var(--ink); }
.contract .eyebrow { margin: 0 0 8px; color: var(--ink); }
.contract-value { margin: 0; overflow-wrap: anywhere; font-size: clamp(1rem, 2vw, 1.25rem); font-weight: 500; }
.copy-button { cursor: pointer; flex: 0 0 auto; background: var(--paper); color: var(--ink); }
.copy-button.is-copied { background: #cfe7b4; }

.note { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 74px; font-family: "Fraunces", Georgia, serif; font-size: clamp(1.7rem, 3.3vw, 3.1rem); font-weight: 600; letter-spacing: -.05em; line-height: 1.05; }
.note p { max-width: 760px; margin: 0; }
.note span { font-family: sans-serif; font-size: 2.3rem; }
.site-footer { display: flex; justify-content: space-between; gap: 18px; padding-block: 24px 32px; border-top: 2px solid var(--ink); color: #564c42; font-size: .7rem; }

:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }

@media (max-width: 720px) {
  .shell { width: min(100% - 32px, 1160px); }
  .site-header { min-height: 74px; }
  nav { gap: 13px; }
  nav a { font-size: .66rem; }
  .hero { grid-template-columns: 1fr; padding-block: 42px 52px; min-height: auto; }
  .hero-art { justify-self: center; width: min(88vw, 470px); grid-row: 1; }
  .hero-copy { grid-row: 2; text-align: center; }
  .intro { margin-inline: auto; }
  .actions { justify-content: center; }
  .contract { align-items: flex-start; flex-direction: column; padding: 22px; }
  .copy-button { width: 100%; }
  .note { padding-block: 58px; }
  .site-footer { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 390px) {
  .brand { font-size: 1.12rem; }
  .brand img { width: 34px; height: 34px; }
  nav { gap: 10px; }
  .button { width: 100%; }
}
