@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #f7f4ee;
  --bg-tint: #f1ece2;
  --panel: #fffdfa;
  --ink: #201d18;
  --muted: #6f6a5f;
  --accent: #d9622b;
  --accent-dark: #b34d1e;
  --accent-tint: #fbe4d6;
  --accent-ink: #fffdfa;
  --border: #e6e0d2;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow: 0 10px 30px -12px rgba(70, 40, 10, 0.16);
  --shadow-sm: 0 4px 14px -6px rgba(70, 40, 10, 0.14);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-wrap: balance;
  margin: 0;
}

a { transition: color 0.15s ease; }

button, input, select { font-family: inherit; }

:focus-visible {
  outline: 2px solid var(--accent-dark);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 200;
}
.skip-link:focus { left: 0; }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark { display: flex; }
.brand-mark img { display: block; }

.brand-name {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 18px;
  padding: 6px 10px;
  cursor: pointer;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--accent-dark);
}

@media (max-width: 640px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    width: 100%;
    order: 3;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 8px 0; }
  .header-inner { flex-wrap: wrap; }
}

/* Hero */
.hero { padding: 64px 0 20px; }

.hero-inner {
  max-width: 700px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent-dark);
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}

.hero h1 {
  font-size: clamp(34px, 5vw, 50px);
  line-height: 1.08;
  margin-bottom: 18px;
}

.hero-sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 46em;
  margin: 0 0 26px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.trust-row li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.trust-row svg {
  width: 16px;
  height: 16px;
  color: var(--accent-dark);
  flex-shrink: 0;
}

/* Home sections wrapper (toggled with the tool grid) */
#home-sections { padding-bottom: 12px; }

.section-heading {
  font-size: 26px;
  margin-bottom: 8px;
}

.section-sub {
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 46em;
}

main.wrap { padding: 0 24px 70px; }

.tool-grid-section { padding: 28px 0 56px; }

.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.tool-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  font-family: inherit;
}

.tool-card:hover {
  transform: translateY(-3px);
  border-color: transparent;
  box-shadow: var(--shadow);
}

.tool-card:active { transform: translateY(-1px) scale(0.99); }

.tool-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-tint);
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tool-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
}

.tool-title { font-weight: 700; font-size: 16px; margin-top: 4px; }
.tool-desc { color: var(--muted); font-size: 13.5px; line-height: 1.45; }

.hidden { display: none; }

/* How it works */
.how-it-works { padding: 8px 0 60px; border-top: 1px solid var(--border); padding-top: 56px; }

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.steps li { position: relative; padding-left: 4px; }

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 14px;
}

.steps h3 { font-size: 17px; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 14.5px; margin: 0; }

@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 24px; }
}

/* FAQ */
.faq { padding: 8px 0 64px; border-top: 1px solid var(--border); padding-top: 56px; }

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 40px;
  margin-top: 8px;
}

.faq-item h3 { font-size: 16px; margin-bottom: 6px; }
.faq-item p { color: var(--muted); font-size: 14.5px; margin: 0; }

@media (max-width: 760px) {
  .faq-list { grid-template-columns: 1fr; }
}

/* Workspace (tool detail) */
.workspace { padding: 40px 0 60px; max-width: 640px; margin: 0 auto; }

.back-btn {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  margin-bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.back-btn:hover { color: var(--ink); }

#workspace-title { font-size: 26px; margin: 0 0 6px; }
.workspace-desc { color: var(--muted); margin: 0 0 26px; font-size: 15px; }

.dropzone {
  background: var(--panel);
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 24px;
  text-align: center;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.dropzone.dragover {
  border-color: var(--accent);
  background: var(--accent-tint);
}

.dropzone-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0 auto 14px;
  color: var(--muted);
}
.dropzone-icon svg { width: 100%; height: 100%; stroke: currentColor; }

.dropzone p { margin: 0 0 16px; color: var(--muted); font-size: 14.5px; }

.file-label {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
}
.file-label:hover { background: var(--accent-dark); }
.file-label:active { transform: scale(0.97); }

.file-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  text-align: left;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.file-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--bg-tint);
  border-radius: var(--radius-sm);
  margin-bottom: 6px;
  font-size: 14px;
}

.file-list .remove {
  cursor: pointer;
  color: var(--muted);
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 6px;
  transition: color 0.15s ease, background 0.15s ease;
}
.file-list .remove:hover { color: var(--accent-dark); background: var(--accent-tint); }

.options {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-top: 20px;
}

.options label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
}

.options input[type="text"],
.options input[type="number"],
.options select {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  margin-bottom: 14px;
  background: #fff;
}

.options input:focus,
.options select:focus { border-color: var(--accent); }

.options .row {
  display: flex;
  gap: 14px;
}
.options .row > div { flex: 1; }

.run-btn {
  display: block;
  width: 100%;
  margin-top: 22px;
  padding: 15px;
  background: var(--accent);
  color: var(--accent-ink);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
}
.run-btn:hover:not(:disabled) { background: var(--accent-dark); }
.run-btn:active:not(:disabled) { transform: scale(0.99); }

.run-btn:disabled {
  background: var(--border);
  color: #9c9587;
  cursor: not-allowed;
}

.run-btn--done {
  background: var(--ink);
}
.run-btn--done:hover:not(:disabled) { background: #000; }

.status {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  min-height: 20px;
  margin-top: 14px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 30px 0 44px;
  color: var(--muted);
  font-size: 13.5px;
  background: var(--bg-tint);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

.footer-nav a:hover { color: var(--accent-dark); }

/* Legal / content pages */
.legal {
  max-width: 700px;
  padding: 44px 24px 70px;
}

.legal h1 { font-size: 32px; margin-bottom: 6px; }
.legal .lede { color: var(--muted); margin-top: 0; font-size: 16px; }
.legal h2 { font-size: 19px; margin-top: 34px; font-family: 'Fraunces', serif; }
.legal h3 { font-size: 16px; margin-top: 24px; }
.legal p, .legal li { color: #35322c; font-size: 15px; }
.legal ul { padding-left: 20px; }
.legal a { color: var(--accent-dark); }

/* Desktop app download page */
/* Centered, single-column hero that fills the first screen on its own:
   the header plus the hero are exactly one viewport tall (--header-h is
   measured by download.js; 82px is the default header height).
   Sizes scale with min(width, height), so the hero fills large monitors
   and still fits short laptop windows. */
.dl-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - var(--header-h, 82px));
  min-height: calc(100svh - var(--header-h, 82px));
  max-width: min(1180px, 100%);
  margin: 0 auto;
  padding: clamp(20px, 4vh, 56px) 0 clamp(24px, 5vh, 64px);
  text-align: center;
}
.dl-hero .eyebrow {
  padding: 0.5em 1.35em;
  margin-bottom: clamp(10px, 2vh, 22px);
  border: 1px solid rgba(179, 77, 30, 0.35);
  border-radius: 999px;
  background: var(--accent-tint);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: clamp(12px, min(0.95vw, 1.6vh), 16px);
}
.dl-hero .eyebrow::before { display: none; }
.dl-hero h1 {
  font-size: clamp(34px, min(6.4vw, 9.5vh), 112px);
  line-height: 1.04;
  margin: 0 0 clamp(12px, 2.4vh, 30px);
}
/* Description is capped at two lines: the full sentence needs ~50em per line,
   so narrower screens show the short version instead. */
.dl-hero .hero-sub {
  max-width: 50em;
  margin: 0 auto clamp(20px, 4vh, 48px);
  font-size: clamp(15px, min(1.3vw, 2.2vh), 23px);
  text-wrap: balance;
}
.dl-hero .sub-short { display: none; }
@media (max-width: 820px) {
  .dl-hero .sub-long { display: none; }
  .dl-hero .sub-short { display: inline; }
}
.dl-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin: 8px 0 0 7px; }
.dl-hero .dl-cta { align-items: center; margin: 0; gap: clamp(10px, 1.8vh, 20px); }
.dl-hero .dl-btn {
  font-size: clamp(20px, min(2.2vw, 3.6vh), 38px);
  padding: 0.95em 2.7em;
  gap: 0.45em;
}
.dl-hero .dl-btn svg { width: 1.15em; height: 1.15em; }
.dl-hero .dl-cta .dl-consent { font-size: clamp(12.5px, min(0.95vw, 1.55vh), 16px); margin-top: clamp(8px, 2.2vh, 26px); }
.dl-hero .dl-optin {
  max-width: 36em;
  text-align: left;
  font-size: clamp(11px, min(0.8vw, 1.3vh), 14px);
}
.dl-hero .dl-optin input { width: 1em; height: 1em; margin-top: 0.15em; }
.dl-hero .dl-meta { font-size: clamp(13.5px, min(1vw, 1.65vh), 17px); }
@media (max-width: 520px) {
  .dl-hero .eyebrow-extra { display: none; }
}

.dl-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 22px 48px;
  border-radius: 999px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.005em;
  text-decoration: none;
  /* double ring: light halo + solid outline, so it reads as the primary action */
  box-shadow: 0 0 0 5px var(--accent-tint), 0 0 0 7px var(--accent-dark), 0 14px 30px -10px rgba(179, 77, 30, 0.55);
  transition: background 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease;
  animation: dl-pulse 2.6s ease-in-out infinite;
}
.dl-btn:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 0 0 6px var(--accent-tint), 0 0 0 8px var(--accent-dark), 0 18px 34px -10px rgba(179, 77, 30, 0.6);
}
.dl-btn:active { transform: scale(0.98); }
.dl-btn svg { width: 26px; height: 26px; }

@keyframes dl-pulse {
  0%, 100% { box-shadow: 0 0 0 5px var(--accent-tint), 0 0 0 7px var(--accent-dark), 0 14px 30px -10px rgba(179, 77, 30, 0.55); }
  50% { box-shadow: 0 0 0 9px rgba(217, 98, 43, 0.18), 0 0 0 11px var(--accent-dark), 0 14px 30px -10px rgba(179, 77, 30, 0.55); }
}
@media (prefers-reduced-motion: reduce) {
  .dl-btn { animation: none; }
}

.dl-meta { margin: 0; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.dl-consent { margin: 14px 0 0; font-size: 12.5px; color: var(--muted); }
.dl-consent a { color: var(--accent-dark); }

/* Download opt-in: secondary to the button, but still readable */
.dl-optin {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  max-width: 400px;
  margin: 14px 0 0;
  font-size: 11px;
  line-height: 1.4;
  color: var(--muted);
  cursor: pointer;
}
.dl-cta .dl-consent { margin: 0; }
.dl-cta .dl-optin { margin: -8px 0 0; }
.dl-optin input {
  flex: none;
  width: 11px;
  height: 11px;
  margin: 1px 0 0;
  accent-color: var(--accent-dark);
  cursor: pointer;
}
.dl-optin a { color: inherit; }
.dl-optin--prompt { margin: 0 0 22px; font-size: 13.5px; color: var(--ink); }
.dl-optin--prompt input { width: 18px; height: 18px; }

/* "Tick the box" prompt */
.dl-gate {
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  background: transparent;
  max-width: min(440px, calc(100% - 32px));
}
.dl-gate::backdrop { background: rgba(32, 29, 24, 0.45); }
.dl-gate-card {
  position: relative;
  padding: 30px 28px 28px;
  background: var(--panel);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.dl-gate-card h2 { margin: 0 0 6px; font-size: 22px; }
.dl-gate-card > p { margin: 0 0 18px; color: var(--muted); font-size: 15px; }
.dl-gate-x, .dl-hint-x {
  position: absolute;
  top: 10px;
  right: 10px;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 14px;
  padding: 6px 8px;
  border-radius: 8px;
  cursor: pointer;
}
.dl-gate-x:hover, .dl-hint-x:hover { background: var(--bg-tint); }
.dl-gate-go { width: 100%; padding: 16px 24px; font-size: 18px; border: 0; cursor: pointer; font-family: inherit; animation: none; }
.dl-gate-go:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }

/* After download: dim the page and point at the browser's downloads icon,
   which sits at the top right in Chrome, Edge and Firefox */
.dl-hint {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(20, 16, 12, 0.72);
  cursor: pointer;
}
.dl-hint[hidden] { display: none; }
.dl-hint-arrow {
  position: absolute;
  top: 6px;
  right: clamp(150px, 16vw, 260px);
  width: 46px;
  height: 92px;
  color: #ffd2b8;
  filter: drop-shadow(0 4px 14px rgba(217, 98, 43, 0.7));
  animation: dl-hint-nudge 1s ease-in-out infinite;
  pointer-events: none;
}
.dl-hint-card {
  position: absolute;
  top: 112px;
  right: 24px;
  width: min(380px, calc(100% - 32px));
  padding: 24px 44px 22px 24px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.6);
  cursor: default;
}
.dl-hint-card p { margin: 0 0 10px; font-size: 16px; line-height: 1.45; }
.dl-hint-card strong { font-weight: 800; }
.dl-hint-title { font-size: 21px !important; font-weight: 800; line-height: 1.25 !important; }
.dl-hint-ico {
  display: inline-flex;
  vertical-align: -6px;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  color: var(--accent-dark);
}
.dl-hint-ico svg { width: 16px; height: 16px; }
.dl-hint-sub { margin-bottom: 0 !important; font-size: 14px !important; opacity: 0.9; }
.dl-hint kbd {
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.45);
}
.dl-hint .dl-hint-x { color: #fff; font-size: 16px; }
.dl-hint .dl-hint-x:hover { background: rgba(255, 255, 255, 0.18); }
.dl-hint.is-in { animation: dl-hint-fade 0.3s ease-out; }
.dl-hint.is-in .dl-hint-card { animation: dl-hint-in 0.45s cubic-bezier(.2, .9, .3, 1.2); }

@keyframes dl-hint-nudge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes dl-hint-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes dl-hint-in {
  from { opacity: 0; transform: translateY(16px) scale(0.96); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .dl-hint-arrow, .dl-hint.is-in, .dl-hint.is-in .dl-hint-card { animation: none; }
}


.dl-features { padding: 8px 0 56px; }
.dl-feature { cursor: default; }
.dl-feature:hover { transform: none; border-color: var(--border); box-shadow: none; }
.dl-feature-grid { grid-template-columns: repeat(3, 1fr); }

.dl-privacy { padding: 0 0 56px; }
.dl-privacy-inner {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  background: var(--accent-tint);
  border-radius: var(--radius-lg);
  padding: 32px 34px;
}
.dl-privacy-inner h2 { font-size: 24px; margin-bottom: 8px; }
.dl-privacy-inner p { margin: 0; color: #4a4339; max-width: 46em; }
.dl-privacy-ico { width: 40px; height: 40px; color: var(--accent-dark); flex-shrink: 0; }
.dl-privacy-ico svg { width: 100%; height: 100%; }

.dl-requirements { padding: 56px 0; border-top: 1px solid var(--border); }
.dl-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; max-width: 46em; }
.dl-checks li {
  position: relative;
  padding-left: 30px;
  color: #35322c;
  font-size: 15px;
}
.dl-checks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 5px;
  width: 14px;
  height: 8px;
  border-left: 2.5px solid var(--accent-dark);
  border-bottom: 2.5px solid var(--accent-dark);
  transform: rotate(-45deg);
}
.dl-checks a { color: var(--accent-dark); }

.dl-final {
  text-align: center;
  padding: 56px 24px 8px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.dl-final h2 { font-size: 28px; margin-bottom: 8px; }

@media (max-width: 860px) {
  .dl-feature-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .dl-privacy-inner { flex-direction: column; padding: 26px 22px; }
  .dl-btn { width: calc(100% - 14px); margin: 0 7px; padding: 20px 24px; font-size: 20px; }
  .dl-cta { align-items: stretch; }
  .dl-hero .dl-btn { padding: 20px 24px; font-size: 21px; }
  .dl-hero .dl-btn svg { width: 26px; height: 26px; }
}

/* Header: PC App link, slightly emphasised but quiet */
.site-nav a.nav-cta {
  color: var(--accent-dark);
  padding: 6px 14px;
  border: 1px solid var(--accent-tint);
  border-radius: 999px;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.site-nav a.nav-cta:hover,
.site-nav a.nav-cta[aria-current="page"] { background: var(--accent-tint); border-color: var(--accent-tint); color: var(--accent-dark); }
@media (max-width: 640px) {
  .site-nav a.nav-cta { margin-top: 4px; }
}

/* Homepage download promo */
.promo-section { padding: 18px 0 8px; }
.promo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: var(--panel);
  border: 2px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  box-shadow: 0 0 0 6px var(--accent-tint), var(--shadow);
}
.promo-copy { max-width: 560px; }
.promo-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: var(--accent-tint);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.promo h2 { font-size: 26px; line-height: 1.15; margin-bottom: 8px; }
.promo p { margin: 0; color: var(--muted); font-size: 15px; }
.promo-action { display: flex; flex-direction: column; align-items: center; gap: 12px; flex-shrink: 0; padding: 7px; }
.promo-action .dl-btn { padding: 18px 36px; font-size: 20px; }
.promo-action .dl-meta { font-size: 12.5px; }
.promo-action .dl-consent { margin: 0; text-align: center; }
@media (max-width: 860px) {
  .promo { flex-direction: column; align-items: stretch; padding: 24px 20px; }
  .promo-action { align-items: stretch; }
  .promo-action .dl-btn { width: 100%; }
  .promo-action .dl-meta, .promo-action .dl-consent { text-align: center; }
}

/* Download card inside the tool grid */
a.tool-card { text-decoration: none; color: inherit; position: relative; border-color: var(--accent); }
.tool-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-ink);
  background: var(--accent);
  padding: 3px 8px;
  border-radius: 999px;
}

/* Quiet nudge under the online tool workspace */
.ws-promo {
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 13.5px;
  color: var(--muted);
}
.ws-promo p { margin: 0; }
.ws-promo a { color: var(--accent-dark); font-weight: 600; }

/* Homepage (online tool): quiet side banner */
.home-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 28px;
  align-items: start;
}
.home-layout .tool-grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.promo-side {
  position: sticky;
  top: 20px;
  margin-top: 28px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 18px;
  box-shadow: var(--shadow-sm);
}
.promo-side-ico { display: flex; width: 36px; height: 36px; color: var(--accent-dark); background: var(--accent-tint); border-radius: 10px; align-items: center; justify-content: center; margin-bottom: 12px; }
.promo-side-ico svg { width: 20px; height: 20px; }
.promo-side h2 { font-size: 17px; margin-bottom: 6px; }
.promo-side p { margin: 0 0 14px; font-size: 13.5px; color: var(--muted); }
.promo-side .dl-btn {
  animation: none;
  box-shadow: none;
  width: 100%;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 700;
}
.promo-side .dl-btn:hover { box-shadow: none; transform: none; }
.promo-side .dl-consent { margin: 10px 0 0; font-size: 11.5px; }
@media (max-width: 900px) {
  .home-layout { grid-template-columns: 1fr; gap: 0; }
  .promo-side { position: static; margin-top: 0; margin-bottom: 40px; }
}
a.tool-card { border-color: var(--border); }
.tool-badge { color: var(--accent-dark); background: var(--accent-tint); font-weight: 700; }

/* Side banner: louder (it links to the landing page, no download) */
.promo-side {
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 5px var(--accent-tint), var(--shadow);
  padding: 28px 24px;
  text-align: center;
  background: linear-gradient(180deg, var(--accent-tint) 0, var(--panel) 55%);
}
.promo-side-ico { width: 52px; height: 52px; margin: 0 auto 14px; background: var(--accent); color: var(--accent-ink); border-radius: 14px; }
.promo-side-ico svg { width: 28px; height: 28px; }
.promo-side-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-ink);
  background: var(--accent-dark);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.promo-side h2 { font-size: 24px; line-height: 1.15; margin-bottom: 10px; }
.promo-side p { font-size: 14.5px; color: #4a4339; margin-bottom: 18px; }
.promo-side .dl-btn {
  padding: 16px 18px;
  font-size: 17px;
  font-weight: 800;
  box-shadow: 0 10px 22px -10px rgba(179, 77, 30, 0.6);
  animation: dl-lift 2.6s ease-in-out infinite;
}
.promo-side .dl-btn:hover { box-shadow: 0 14px 26px -10px rgba(179, 77, 30, 0.7); transform: translateY(-2px); }
.promo-side-meta { display: block; margin-top: 10px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
@keyframes dl-lift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .promo-side .dl-btn { animation: none; } }

/* Side banner spans the full height of the tool grid */
.home-layout { align-items: stretch; }
.promo-side {
  position: static;
  align-self: stretch;
  margin: 28px 0 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.promo-side h2 { font-size: 28px; }
.promo-side p { font-size: 15.5px; }
@media (max-width: 900px) {
  .promo-side { margin: 28px 0 8px; }
}
