/* /worksheet page: builds on style.css tokens and components. Homepage does not load this file. */

.mast .brand { text-decoration: none; }

.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;
}

/* Hero: copy + CTA first on mobile so the download is above the fold */
.ws-hero {
  display: grid; grid-template-columns: 1fr 440px; gap: 56px; align-items: center;
  padding-top: 12px;
}
@media (max-width: 820px) {
  .ws-hero { grid-template-columns: 1fr; gap: 36px; padding-top: 0; }
}
.ws-hero h1 {
  font-weight: 700; font-size: clamp(2.2rem, 4.4vw, 3.3rem);
  line-height: 1.1; margin: 0 0 18px;
}
.ws-lede { font-size: 1.1rem; line-height: 1.6; color: var(--ink-soft); max-width: 42ch; margin: 0 0 28px; }

.btn-primary.ws-download {
  font-size: 1.08rem; padding: 18px 32px; gap: 12px;
  box-shadow: 0 14px 28px -14px rgba(1, 157, 154, 0.7);
}
.ws-download svg { width: 20px; height: 20px; }
.btn-primary:focus-visible, .btn-secondary:focus-visible, .ws-sheet:focus-visible, .brand:focus-visible {
  outline: 2px solid var(--teal); outline-offset: 3px;
}
@media (max-width: 520px) {
  .btn-primary.ws-download { display: flex; justify-content: center; width: 100%; }
}
.ws-micro { margin: 14px 0 0; font-size: 0.92rem; font-weight: 600; color: var(--blue); }
.ws-video { margin: 18px 0 0; font-size: 0.98rem; line-height: 1.55; color: var(--ink-soft); max-width: 44ch; }

/* Worksheet preview on a sheet of paper */
.ws-sheet {
  display: block; justify-self: center; width: 100%; max-width: 440px;
  background: var(--surface); padding: 10px; border-radius: 6px;
  box-shadow: 0 1px 0 var(--rule), 0 30px 60px -24px rgba(2, 29, 82, 0.35);
  transition: transform 0.15s ease;
}
.ws-sheet:hover { transform: translateY(-3px); }
.ws-sheet img { display: block; width: 100%; height: auto; border-radius: 2px; }
@media (max-width: 820px) { .ws-sheet { max-width: min(88vw, 420px); } }

/* Email signup states (reuses .newsletter / .signup-form from style.css) */
.signup-form.ws-signup { max-width: 520px; }
.ws-signup input[type="email"] { font-size: 16px; } /* 16px stops iOS zooming on focus */
.ws-signup input[aria-invalid="true"] { border-color: #c2412d; }
.ws-signup button[disabled] { opacity: 0.7; cursor: progress; }
.ws-hp { position: absolute; left: -5000px; }
.ws-status { margin: 14px auto 0; min-height: 1.4em; font-weight: 600; font-size: 0.95rem; max-width: 46ch; }
.ws-status:empty { display: none; }
.ws-status.is-success { color: var(--teal); }
.ws-status.is-error { color: #c2412d; }
.newsletter .ws-consent { font-size: 0.8rem; line-height: 1.5; margin: 8px auto 0; max-width: 52ch; }
.ws-consent a { color: var(--blue); }
.ws-signup.is-done { display: none; }
@media (max-width: 520px) {
  .newsletter { padding: 32px 20px; }
  .ws-signup .btn-primary { width: 100%; justify-content: center; }
}

/* App promo */
.ws-app-cta { margin-top: 24px; }
.ws-trial { margin: 12px 0 0 !important; font-size: 0.88rem !important; }

/* Footer brand link */
.ws-foot-brand { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.ws-foot-brand img { width: 24px; height: 24px; border-radius: 6px; display: block; }
.ws-foot-brand span { font-family: 'Schibsted Grotesk', sans-serif; font-weight: 700; }
