/* Lapelly site-wide theme (see /.impeccable.md). Loaded after style.css /
   studio.css / teams.css on every page. It mostly re-points the design tokens
   those files already use, so every page shifts together:
   warm paper, navy ink, one blue, hairlines instead of shadows, small radii,
   Source Serif 4 headings + Public Sans text. home.css adds homepage layout. */

:root {
  --navy: #13233F;
  --navy-2: #1A2D4D;
  --blue: #1F4FD8;
  --blue-deep: #173DAA;
  --ink: #15223A;
  --ink-soft: #3F4B5E;
  --muted: #6A7282;
  --bg: #FAF8F4;
  --bg-soft: #F2EFE8;
  --bg-tint: #F2EFE8;
  --line: #E3DED4;
  --line-soft: #ECE8E0;
  --radius: 8px;
  --radius-sm: 6px;
  --radius-lg: 10px;
  --shadow-sm: none;
  --shadow: 0 1px 2px rgba(21, 34, 58, .04);
  --shadow-lg: 0 8px 24px rgba(21, 34, 58, .08);
  --font: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
}

body { background: var(--bg); color: var(--ink); font-family: var(--font); }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.01em; }
h3 { letter-spacing: 0; }

/* Decorative tinted gradients become flat paper. */
.hero, .hw-hero, .st-hero, .tm-hero { background: var(--bg) !important; }

/* Header and footer */
.site-header { background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: none; }
.nav-links a { color: var(--ink-soft); font-weight: 500; }
.gbtn { border-radius: 8px; border: 1px solid var(--line); background: #fff; box-shadow: none; }
.site-footer { background: var(--navy); }

/* Buttons: one solid primary, everything else outlined. */
.btn, .st-dark-cta, .tm-btn { border-radius: 8px; box-shadow: none; }
.btn:not(.btn-ghost), .st-dark-cta { background: var(--blue); color: #fff; }
.btn:not(.btn-ghost):hover, .st-dark-cta:hover { background: var(--blue-deep); text-decoration: none; }
.btn-ghost { background: #fff; border: 1px solid var(--line); color: var(--ink); }

/* Pills, chips and badges: neutral outlines, no tinted fills. */
.badge, .badge-pill, .tm-eyebrow, .hw-trust-pill, .hw-trust-pill.sage {
  background: transparent; border: 1px solid var(--line); color: var(--ink-soft); box-shadow: none;
}

/* Cards and panels: hairline, no lift. */
.plan, .card, .seo-country-link, .tool-card, .st-panel, .st-card, .tm-card, .callout, details {
  box-shadow: none; border-color: var(--line);
}
.plan .price { font-family: var(--serif); font-weight: 600; }
.plan .price small { font-family: var(--font); font-weight: 500; }
.callout { border-left-width: 1px; background: #fff; }
.section.alt { background: var(--bg-soft); }
.section.navy { background: var(--navy); }

/* Requirement / spec tables on passport pages */
table th { color: var(--ink-soft); font-weight: 600; }
table td, table th { border-color: var(--line); }

/* Neutralise the leftover "sage green" accents in studio.css / teams.css. */
:root {
  --st-sage-bg: #FFFFFF;
  --st-sage: #3F4B5E;
  --st-sage-pill: #6A7282;
  --tm-sage-bg: #6A7282;
}
/* Two-tone headings read as template copy; keep headings one colour. */
h1 .accent, h2 .accent { color: inherit; }
/* Single allowed background: say it in words instead of a lone swatch. */
.sw-only { font-size: .85rem; color: var(--ink-soft); margin-left: 8px; align-self: center; }
/* Wordmark: serif, matching the notched-L mark. */
.brand { font-family: var(--serif); font-weight: 600; letter-spacing: -0.01em; }
.site-header a.brand { color: var(--ink); }
.brand img { border-radius: 6px; }
