/* SMARTER PLAYBOOKS — ONE-PAGE LAUNCH WEBSITE
   Matches reference/approved-mockup.png. Treat that image as the visual source of truth.
   Source assets are independent files; editable type and form are HTML.
   Typography: Jost Light / Gelasio / Jost spaced uppercase.
*/
:root {
  /* Official Smarter Playbooks design-system palette */
  --paper: #F4F2EE;
  --light-copper: #D4AE93;
  --ceiling-cream: #EFE6DE;
  --dusty-rose: #C9A9B5;
  --wine: #82163F;
  --plum: #541A28;
  --ink-teal: #062D32;
  --field-edge: #718687;

  /* Page background is the design system's paper. */
  --hero-background: var(--paper);
  --font-display: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --font-reading: 'Gelasio', Georgia, serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--hero-background); color: var(--ink-teal); }
button, input { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Desktop 1448x1086 composition from approved mockup. */
.landing {
  position: relative;
  width: 100%;
  min-height: max(760px, 75vw);
  background: var(--hero-background);
  overflow: hidden;
  isolation: isolate;
}
.collage {
  position: absolute;
  z-index: -1;
  inset: 0 auto auto 50%;
  transform: translateX(-50%);
  display: block;
  width: 100%;
  max-width: none; /* Always stretch artwork to BOTH browser edges; never cap at 1620px. */
  height: auto;
  pointer-events: none;
  user-select: none;
}
.brand-header {
  position: absolute;
  top: 3.6%;
  left: 3.45%;
  right: 3.45%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.wordmark { display: block; width: clamp(260px, 27.9%, 377px); height: auto; }
/* Navigation link per the design system: ink teal label style; the wine marker stroke appears on hover. */
.header-link {
  font: 500 13px / 16px var(--font-display);
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ink-teal);
  text-decoration: none;
  padding: 10px 0;
  background: no-repeat left bottom / 0 9px;
}
.header-link:hover { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath fill='%2382163F' d='M3 9.6C40 8.2 90 7.2 196 6.4c1.6-.1 1.8 1.4.4 1.6C120 9.4 60 11.6 4.4 13.6 1.2 13.7.4 9.9 3 9.6Z'/%3E%3Cpath fill='%2382163F' d='M28 7.4C70 5.6 130 4.6 188 4.9c1.2 0 1.2 1.1 0 1.2C130 6.6 72 7.8 29 9.2c-1.6.1-2.2-1.7-1-1.8Z'/%3E%3C/svg%3E"); background-size: 108% 9px; }
.header-link:focus-visible { outline: 2px solid var(--ink-teal); outline-offset: 3px; }
.hero {
  position: relative;
  margin: 0 auto;
  padding: 176px 24px 185px; /* header (~88px) + space-22 (88px) above the opening headline */
  width: 100%;
  max-width: 1250px;
  text-align: center;
}
h1 {
  margin: 0;
  font: 300 56px / 62px var(--font-display); /* display-xl */
  letter-spacing: -0.01em;
  color: var(--ink-teal);
}
.headline-line { display: block; white-space: nowrap; }
.headline-period { color: var(--light-copper); } /* headline periods are light copper, as in the playbooks */
.lead {
  margin: 20px auto 0;
  max-width: 600px; /* width-text */
  font: 400 20px / 31px var(--font-reading); /* lead */
  color: var(--ink-teal);
}
.signup { margin: 32px auto 0; width: min(635px, 100%); }
.signup-fields { display: flex; gap: 13px; width: 100%; }
.signup-fields input {
  display: block;
  width: 0;
  flex: 1 1 0;
  min-width: 0;
  height: 54px;
  padding: 12px 16px;
  background: var(--paper);
  border: 1px solid var(--field-edge);
  border-radius: 10px 9px 11px 8px;
  color: var(--ink-teal);
  font: 400 18px / 28px var(--font-reading); /* field: Gelasio, as in the design system */
}
.signup-fields input::placeholder { color: var(--ink-teal); opacity: .55; }
.signup-fields input:focus { outline: none; border-color: var(--wine); box-shadow: 0 0 0 1px var(--wine); }
.signup-fields button {
  flex: 0 0 auto;
  height: 54px;
  padding: 0 32px;
  border: none;
  border-radius: 12px 11px 13px 10px;
  background: var(--plum);
  color: var(--ceiling-cream);
  font: 500 13px / 16px var(--font-display); /* label */
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: filter .15s ease;
}
.signup-fields button:hover { filter: brightness(1.08); }
.signup-fields button:focus-visible { outline: 2px solid var(--ink-teal); outline-offset: 3px; }
.signup-caption {
  margin: 23px auto 0;
  font: 500 13px / 16px var(--font-display); /* label */
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--plum); /* labels are plum */
}
.form-message { margin: 12px auto 0; font: 400 15px / 22px var(--font-reading); color: var(--ink-teal); } /* field hint */
.form-message[data-state="error"] { color: var(--wine); }
.form-message:empty { display: none; }

/* Keep headline and form usable as the design scales. */
/* The full-bleed artwork must not be contained by a site builder max-width wrapper.
   In Claude, keep .landing itself full viewport width. */
@media (max-width: 1090px) {
  .landing { min-height: 800px; }
  .hero { padding-top: 150px; }
}
@media (max-width: 700px) {
  /* Fill one phone screen (svh = height with browser bars showing) so the artwork sits just above the toolbar. */
  .landing { min-height: 100svh; padding-bottom: max(200px, calc(100svh - 480px)); }
  .brand-header { top: 26px; left: 20px; right: 20px; }
  .wordmark { width: min(58%, 285px); }
  .hero { padding: 100px 22px 0; } /* header (~52px) + 48px, the phone gap above the opening headline */
  h1 { font-size: 34px; line-height: 40px; } /* display-xl on phones */
  .headline-line { white-space: normal; }
  .lead { margin-top: 16px; }
  .signup { margin-top: 28px; width: min(430px, 100%); }
  .signup-fields { flex-direction: column; gap: 12px; }
  .signup-fields input, .signup-fields button { width: 100%; height: 54px; flex: 0 0 auto; }
  .signup-caption { margin-top: 20px; }
  /* Enlarged and centered: both circles, the laptop and the wine handwriting stay in view.
     The outer dot grids are trimmed; a phone-specific artwork file would bring them back. */
  .collage { width: 155%; max-width: none; top: auto; bottom: 0; left: 50%; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
