@font-face { font-family: Quicksand; src: url('assets/fonts/quicksand-400.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: Quicksand; src: url('assets/fonts/quicksand-500.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: Quicksand; src: url('assets/fonts/quicksand-700.ttf') format('truetype'); font-weight: 700; font-display: swap; }

:root { --ink: #242424; --surface: #f3f3f3; --purple: #5551ff; }
* { box-sizing: border-box; }
html { font-size: 16px; }
body { margin: 0; color: var(--ink); background: #fff; font-family: Quicksand, system-ui, sans-serif; }
a { color: inherit; }
.hero { display: grid; grid-template-columns: 1fr 1fr; height: 100vh; min-height: 650px; background: var(--surface); overflow: hidden; }
.hero__portrait { min-height: 650px; background: url('assets/mattia-hero.jpeg') center center / cover no-repeat; }
.hero__content { display: flex; align-items: center; padding: 60px; }
.hero__copy { max-width: 510px; }
h1 { margin: 0 0 18px; font-size: clamp(2rem, 3vw, 2.1rem); font-weight: 400; letter-spacing: -.04em; line-height: 1.12; }
h1 strong { font-weight: 700; }
.hero p { margin: 0 0 23px; font-size: 1.25rem; line-height: 1.05; }
.signup { display: grid; grid-template-columns: 3fr 1.45fr; gap: 10px; margin: 24px 0 0; }
.signup input, .signup button { min-height: 48px; border-radius: 4px; font: 700 .875rem Quicksand, sans-serif; text-transform: uppercase; }
.signup input { min-width: 0; padding: 0 16px; border: 1px solid #777; background: #fff; color: var(--ink); }
.signup button { border: 0; background: var(--purple); color: #fff; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.signup button:hover { background: #413de9; transform: translateY(-1px); }
.signup input:focus-visible, .signup button:focus-visible, .link-card:focus-visible { outline: 3px solid #242424; outline-offset: 3px; }
.legal, .form-message { font-size: .75rem !important; line-height: 1.3 !important; }
.legal { margin-top: 22px !important; margin-bottom: 0 !important; }
.legal a { color: #b55c33; }
.form-message { min-height: 1em; margin: 7px 0 -7px !important; color: #1f6e42; font-weight: 700; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.links { display: grid; width: min(100% - 48px, 390px); margin: 0 auto; gap: 8px; padding: 42px 0 58px; }
.link-card { display: flex; align-items: center; justify-content: space-between; min-height: 68px; padding: 11px 15px; border: 1px solid #d6d6d6; border-radius: 5px; background: #fff; text-decoration: none; transition: border-color .15s ease, background .15s ease; }
.link-card span { display: grid; gap: 2px; }
.link-card strong { font-size: .94rem; letter-spacing: -.015em; }
.link-card small { color: #5f5f5f; font-size: .7rem; line-height: 1.2; }
.link-card b { font-size: 1.1rem; font-weight: 400; transition: transform .15s ease; }
.link-card--spotify { border-color: #a7d9b7; background: #ccefd6; color: var(--ink); }
.link-card--spotify small { color: #5f5f5f; }
.link-card--spotify:hover { background: #b9e6c6; border-color: #83bd97; }
.link-card--youtube { border-color: #e3b6b0; background: #f7d9d5; color: var(--ink); }
.link-card--youtube small { color: #5f5f5f; }
.link-card--youtube:hover { background: #f0c7c2; border-color: #d79b94; }
.link-card--neutral:hover { background: #f6f6f6; border-color: #8a8a8a; }
.link-card:hover b { transform: translateX(7px); }

@media (max-width: 767px) {
  .hero { grid-template-columns: 1fr; height: auto; min-height: 0; }
  .hero__portrait { min-height: min(100vw, 610px); background-position: center top; }
  .hero__content { padding: 56px 30px 34px; }
  h1 { font-size: 1.75rem; }
  .hero p { font-size: 1rem; line-height: 1.25; margin-bottom: 20px; }
  .signup { grid-template-columns: 1fr; }
  .links { width: min(100% - 40px, 390px); padding: 31px 0 42px; gap: 8px; }
  .link-card { min-height: 64px; padding: 10px 14px; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; } }
