/* Styles for the PR packages page (pr-packages.html): the aword.com tokens, header, footer, buttons and order form. */
:root {
  --bg: #eae4de; --bg-soft: #f3efea; --card: #fbf9f6; --ink: #141210; --muted: #5f5750; --line: #d6cdc4;
  --accent: #8b4a22; --accent-soft: #d6a57f; --radius: 18px; --wrap: 1160px;
  --serif: "DM Serif Display", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 18px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(34px, 4.4vw, 52px); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px; border-radius: 999px;
  font: 600 15px/1 var(--sans); text-decoration: none; border: 1.5px solid var(--ink); background: none; color: var(--ink);
  cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-dark:hover { background: var(--accent); border-color: var(--accent); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.btn svg { width: 16px; height: 16px; }

.header { position: sticky; top: 0; z-index: 50; background: rgba(234, 228, 222, .88);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; }
.brand img { height: 30px; width: auto; }
.brand span { font-size: 13px; color: var(--muted); padding-left: 16px; border-left: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 500; white-space: nowrap; }
@media (max-width: 1100px) and (min-width: 821px) { .brand span { display: none; } .nav { gap: 26px; } }
.nav a:not(.btn):hover, .nav a[aria-current] { color: var(--accent); }
.nav .btn { padding: 11px 20px; }
.menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.menu-btn svg { width: 26px; height: 26px; }

/* Publisher logos */
.pub-logo { display: flex; align-items: center; justify-content: center; }
.pub-logo img { height: var(--h); width: auto; max-width: 100%; object-fit: contain; }
.wordmark { font: 700 calc(var(--h) * 1) / 1 "Roboto Slab", Georgia, serif; color: #111; letter-spacing: -.01em; white-space: nowrap; }
.pub-domain { font-size: 13px; color: var(--muted); }

/* Order form */
.form { display: grid; gap: 18px; }
.form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 16px; }
.form legend { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; padding: 0; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.form label small { font-weight: 400; color: var(--muted); }
.form input, .form select, .form textarea { width: 100%; font: 400 16px/1.4 var(--sans); color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; transition: border-color .15s, box-shadow .15s; }
.form textarea { resize: vertical; min-height: 92px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(139, 74, 34, .15); }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .captcha { min-height: 65px; }
.form .btn { justify-self: start; }
.form .btn:disabled { opacity: .6; cursor: default; }
.form .error { margin: 0; color: #a3261b; font-size: 14.5px; }
.form .note { margin: 0; font-size: 13px; color: var(--muted); }
.sent { padding: 8px 0; }
.sent h3 { font-size: 30px; margin-bottom: 10px; }
.sent p { margin: 0; color: var(--muted); }

.footer { padding: 40px 0 48px; border-top: 1px solid var(--line); }
.footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.footer img { height: 24px; width: auto; }
.footer .links { display: flex; gap: 24px; }
.footer .links a { text-decoration: none; }
.footer .links a:hover { color: var(--ink); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } }

@media (max-width: 820px) {
  .brand span { display: none; }
  .menu-btn { display: block; }
  .nav { position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 24px 24px; display: none; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 18px; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 16px; }
  body { font-size: 16px; }
  .form .row { grid-template-columns: 1fr; }
  .footer .wrap { flex-direction: column; align-items: start; }
}
