/*
 * Additions to alva.css for alvadigitaldelivery.com only. alva.css is Alva's shared design
 * system (the same file as the other Alva product sites): never edit it here; put a rule that
 * every page needs in this file, and a rule one page needs in that page's <style> block.
 * Use the tokens from alva.css (--ink, --muted, --accent, --line-soft, --radius, …), never hex.
 */

/* The Etsy disclaimer (exact text: app/legal/etsyDisclaimer.ts). Readable, never louder than Alva's name. */
.etsy-disclaimer {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 90ch;
  margin: 0;
}
.footer .etsy-disclaimer {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line-hair);
}

/* The disclaimer near the top of the home page (Commercial Access criteria: "a prominent position"). */
.etsy-disclaimer-box {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 12px 16px;
  font-size: 13.5px;
  color: var(--ink-2);
  max-width: 72ch;
}

/* The "not open yet" note, used wherever a sign-up button would otherwise be. */
.launch-note {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}

/* Skip link: hidden until focused (no inline handlers, no script). */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  position: fixed;
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--surface);
  border-radius: var(--radius);
  z-index: 10000;
  text-decoration: none;
}

/* The footer has four columns here (alva.css lays out six). */
.footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* The cookie banner (consent.js). Accept and Decline look the same on purpose: declining must be as easy. */
.consent-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9000;
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  padding: 16px 20px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 32px -12px rgba(11, 18, 32, 0.35);
}
.consent-text { flex: 1 1 280px; margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.consent-text a { color: var(--ink); }
.consent-actions { display: flex; gap: 10px; }
.consent-button { background: var(--ink); color: var(--surface); border: 1px solid var(--ink); }

/* "Cookie settings" in the footer: a button styled like the footer's links. */
.footer-cookie-settings {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-align: left;
}
.footer-cookie-settings:hover { color: var(--ink); }

/* The nav on phones: the logo, "Digital Delivery" and "Contact us →" must fit in 375px without sideways scroll. */
@media (max-width: 480px) {
  .nav-inner { gap: 10px; }
  .nav-logo { gap: 8px; font-size: 20px; }
  .nav-logo-sub { font-size: 10px; padding-left: 8px; margin-left: 0; }
  .nav .btn-sm { padding: 7px 10px; }
}
@media (max-width: 360px) {
  .nav-logo-sub { display: none; }
}

/* Footer column headings are h2 for a correct heading order, styled like alva.css's footer h4. */
.footer h2.footer-heading {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0 0 16px;
  font-weight: 500;
  line-height: 1.4;
}

/* The page currently shown in the navigation. */
.nav-links a[aria-current="page"] {
  color: var(--ink);
  font-weight: 500;
}
