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

/* =============================================
   YourNetSalary — Design System
   Palette: Classic Navy & Amber
   ============================================= */

:root {
  --primary:       #0D2137;
  --navy:          #0D2137;
  --cta:           #1D6FA4;
  --cta-hover:     #155986;
  --amber:         #C77B2D;
  --amber-light:   #F0A849;
  --bg:            #F8F7F4;
  --surface:       #FFFFFF;
  --input-bg:      #EEF0F3;
  --text:          #1E293B;
  --text-muted:    #64748B;
  --muted:         #64748B;
  --positive:      #059669;
  --success:       #059669;
  --negative:      #DC2626;
  --error:         #DC2626;
  --border:        #DDE1E7;
  --border-focus:  #1D6FA4;
  --row-alt:       #F8F7F4;
  --shadow-sm:     0 1px 3px rgba(13,33,55,0.06), 0 1px 2px rgba(13,33,55,0.04);
  --shadow-md:     0 4px 12px rgba(13,33,55,0.08), 0 2px 4px rgba(13,33,55,0.04);
  --shadow-lg:     0 8px 24px rgba(13,33,55,0.10), 0 4px 8px rgba(13,33,55,0.06);
  --radius:        8px;
  --radius-lg:     12px;
  --container:     1120px;
  --font-head:     'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body:     'Albert Sans', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--cta); text-decoration: none; }
a:hover { text-decoration: underline; }
button { cursor: pointer; font-family: var(--font-body); }

/* =============================================
   Typography
   ============================================= */

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--primary);
}

h1 { font-size: clamp(28px, 5vw, 46px); }
h2 { font-size: clamp(22px, 3.5vw, 34px); }
h3 { font-size: clamp(18px, 2.5vw, 24px); }
h4 { font-size: 18px; font-weight: 600; }

p { margin-bottom: 16px; }
p:last-child { margin-bottom: 0; }

.text-muted { color: var(--text-muted); }
.text-amber { color: var(--amber); }
.text-positive { color: var(--positive); }
.text-negative { color: var(--negative); }

/* =============================================
   Layout
   ============================================= */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow { max-width: 780px; }
.container--wide   { max-width: 1280px; }

/* =============================================
   Buttons
   ============================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  border: none;
  transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--cta);
  color: #fff;
  box-shadow: 0 2px 6px rgba(29,111,164,0.3);
}
.btn--primary:hover {
  background: #1559861;
  background: #15618E;
  box-shadow: 0 4px 10px rgba(29,111,164,0.4);
  text-decoration: none;
  color: #fff;
}

.btn--amber {
  background: var(--amber);
  color: #fff;
  box-shadow: 0 2px 6px rgba(199,123,45,0.3);
}
.btn--amber:hover {
  background: #B56A22;
  text-decoration: none;
  color: #fff;
}

.btn--outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--border);
}
.btn--outline:hover {
  border-color: var(--cta);
  color: var(--cta);
  text-decoration: none;
}

.btn--ghost {
  background: transparent;
  color: rgba(255,255,255,0.8);
  border: 1.5px solid rgba(255,255,255,0.2);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
  text-decoration: none;
}

.btn--lg { padding: 15px 32px; font-size: 16px; }
.btn--sm { padding: 8px 16px; font-size: 14px; }
.btn--full { width: 100%; }

/* =============================================
   Header
   ============================================= */

.site-header {
  background: var(--primary);
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 32px;
}

.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.site-logo img { height: 32px; width: auto; }
.site-logo:hover { opacity: 0.9; text-decoration: none; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.site-nav > li { position: relative; }

.site-nav > li > a {
  display: block;
  padding: 8px 12px;
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}
.site-nav > li > a:hover,
.site-nav > li > a.active {
  color: #fff;
  background: rgba(255,255,255,0.08);
  text-decoration: none;
}

.site-nav__dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  padding-top: 16px;
  min-width: 280px;
  max-height: 420px;
  overflow-y: auto;
  display: none;
  z-index: 300;
  list-style: none;
}

.site-nav__dropdown::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.site-nav > li:hover .site-nav__dropdown,
.site-nav > li:focus-within .site-nav__dropdown { display: block; }

.site-nav__dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 6px;
  color: var(--text);
  font-size: 14px;
}
.site-nav__dropdown a:hover {
  background: var(--bg);
  color: var(--primary);
  text-decoration: none;
}

.site-nav__flag { font-size: 18px; line-height: 1; display: inline-flex; align-items: center; }
.site-nav__flag img { display: inline-block; border-radius: 2px; }

.site-header__actions {
  display: none;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  color: rgba(255,255,255,0.8);
  flex-direction: column;
  gap: 5px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s;
}

/* =============================================
   Hero
   ============================================= */

.hero {
  background: var(--primary);
  padding: 72px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(199,123,45,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 16px;
}

.hero__heading {
  font-size: clamp(30px, 4.5vw, 50px);
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: -0.025em;
}

.hero__heading em {
  font-style: normal;
  color: var(--amber-light);
}

.hero__sub {
  font-size: 17px;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 500px;
}

.hero__trust {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}
.hero__trust-item svg { color: var(--positive); }

/* =============================================
   Calculator Widget (Hero / Home)
   ============================================= */

.calc-widget {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25), 0 0 0 1px rgba(255,255,255,0.05);
}

.calc-widget__title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.calc-widget__field { margin-bottom: 14px; }

.calc-widget__label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
}

.calc-widget__input,
.calc-widget__select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--input-bg);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
  -webkit-appearance: none;
  appearance: none;
}
.calc-widget__input:focus,
.calc-widget__select:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(29,111,164,0.12);
  background: var(--surface);
}

.calc-widget__input-wrap {
  position: relative;
}
.calc-widget__currency {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  pointer-events: none;
}
.calc-widget__input--with-prefix { padding-left: 34px; }

.calc-widget__select-wrap {
  position: relative;
}
.calc-widget__select-wrap::after {
  content: '';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid var(--text-muted);
  pointer-events: none;
}

.calc-widget__divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 20px 0;
}

.calc-widget__result { display: none; }
.calc-widget__result.visible { display: block; }

.calc-widget__net {
  text-align: center;
  padding: 16px 0;
}
.calc-widget__net-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.calc-widget__net-amount {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.calc-widget__net-period {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}

.calc-widget__mini-breakdown {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.calc-widget__mini-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}
.calc-widget__mini-row span:first-child { color: var(--text-muted); }
.calc-widget__mini-row span:last-child { font-weight: 600; font-variant-numeric: tabular-nums; }
.calc-widget__mini-row--deduction span:last-child { color: var(--negative); }

/* =============================================
   Country Grid (Home page)
   ============================================= */

.country-section {
  padding: 80px 0;
  background: var(--surface);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header h2 { margin-bottom: 12px; }
.section-header p {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9A5C14;
  margin-bottom: 12px;
}

.country-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

.country-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.1s;
}
.country-card:hover {
  border-color: var(--cta);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
  text-decoration: none;
  color: var(--primary);
}
.country-card__flag { font-size: 22px; line-height: 1; flex-shrink: 0; display: flex; align-items: center; }
.country-card__flag img { border-radius: 2px; }
.country-card__info { min-width: 0; }
.country-card__name {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.country-card__currency { font-size: 12px; color: #4B5568; }

/* =============================================
   Features / Benefits Section
   ============================================= */

.features-section {
  padding: 80px 0;
  background: var(--bg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  padding: 28px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.feature-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(199,123,45,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber);
  margin-bottom: 16px;
}

.feature-card__title {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.feature-card__text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

/* =============================================
   Profession Cards
   ============================================= */

.professions-section {
  padding: 80px 0;
  background: var(--surface);
}

.professions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 40px;
}

.profession-card {
  display: block;
  padding: 20px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.profession-card:hover {
  border-color: var(--amber);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}
.profession-card__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 4px;
}
.profession-card__meta { font-size: 12px; color: #4B5568; }
.profession-card__salary {
  margin-top: 12px;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--amber);
  font-variant-numeric: tabular-nums;
}
.profession-card__salary-label { font-size: 11px; color: #4B5568; font-weight: 400; }

/* =============================================
   Blog / Articles
   ============================================= */

.blog-section {
  padding: 80px 0;
  background: var(--bg);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.article-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.article-card:hover { box-shadow: var(--shadow-md); }
.article-card:hover { text-decoration: none; }

.article-card__body { padding: 24px; }
.article-card__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cta);
  margin-bottom: 12px;
}
.article-card__title {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.35;
  margin-bottom: 10px;
}
.article-card__excerpt {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}
.article-card__footer {
  padding: 14px 24px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
}

/* =============================================
   Footer
   ============================================= */

.site-footer {
  background: var(--primary);
  color: rgba(255,255,255,0.6);
  padding: 64px 0 32px;
}

.site-footer__main {
  display: grid;
  grid-template-columns: 240px 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* Two-column country list inside footer */
.footer-calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}
.footer-calc-grid ul { list-style: none; }
.footer-col--calculators { min-width: 0; }

.footer-brand__logo { margin-bottom: 16px; }
.footer-brand__desc {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}
.footer-brand__email {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}
.footer-brand__email a { color: var(--amber-light); }
.footer-brand__email a:hover { color: #fff; }

.footer-col__title {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: color 0.15s;
}
.footer-col a:hover { color: #fff; text-decoration: none; }

.site-footer__bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
}

.footer-legal {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-legal a { color: rgba(255,255,255,0.4); }
.footer-legal a:hover { color: rgba(255,255,255,0.8); }

.footer-disclaimer {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 16px;
  line-height: 1.6;
}

/* =============================================
   Breadcrumb
   ============================================= */

.breadcrumb {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.breadcrumb__list {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  font-size: 13px;
}
.breadcrumb__item { color: var(--text-muted); }
.breadcrumb__item a { color: var(--cta); }
.breadcrumb__item a:hover { text-decoration: underline; }
.breadcrumb__sep { color: var(--border); }
.breadcrumb__item--current { color: var(--text); font-weight: 500; }

/* =============================================
   Forms (Contact, etc.)
   ============================================= */

.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 7px;
}
.form-label .required { color: var(--negative); margin-left: 3px; }

.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--input-bg);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
  -webkit-appearance: none;
}
.form-control:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(29,111,164,0.12);
  background: var(--surface);
}

textarea.form-control {
  resize: vertical;
  min-height: 130px;
  line-height: 1.6;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748B' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-hint { font-size: 12px; color: var(--text-muted); margin-top: 5px; }
.form-error { font-size: 12px; color: var(--negative); margin-top: 5px; display: none; }
.form-control.error { border-color: var(--negative); }
.form-control.error + .form-error { display: block; }

.honeypot { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

.form-status {
  display: none;
  padding: 14px 16px;
  border-radius: var(--radius);
  font-size: 14px;
  margin-top: 16px;
}
.form-status.success {
  background: rgba(5,150,105,0.1);
  border: 1px solid rgba(5,150,105,0.25);
  color: #065F46;
}
.form-status.error {
  background: rgba(220,38,38,0.08);
  border: 1px solid rgba(220,38,38,0.2);
  color: #991B1B;
}

/* =============================================
   Page Header (inner pages)
   ============================================= */

.page-header {
  background: var(--primary);
  padding: 48px 0;
  color: #fff;
}
.page-header h1 { color: #fff; font-size: clamp(24px, 4vw, 38px); margin-bottom: 12px; }
.page-header p { color: rgba(255,255,255,0.65); font-size: 16px; margin: 0; }

/* =============================================
   Content Sections (Policy pages, About, Professions, Blog)
   ============================================= */

.content-section {
  padding: 64px 0;
}

/* Profession / blog page layout */
.content-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  align-items: start;
}

.content-sidebar { min-width: 0; }

.sidebar-widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
}
.sidebar-widget h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.sidebar-widget ul { list-style: none; padding: 0; }
.sidebar-widget li { margin-bottom: 10px; }
.sidebar-widget li a {
  font-size: 14px;
  color: var(--cta);
  text-decoration: none;
}
.sidebar-widget li a:hover { text-decoration: underline; }

/* UK-style profession page layout (profession-layout / profession-main / profession-sidebar) */
.profession-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  align-items: start;
}
.profession-main { min-width: 0; }
.profession-section { margin-bottom: 40px; }
.profession-section h2 {
  font-size: clamp(20px, 2.5vw, 24px);
  margin-bottom: 14px;
  color: var(--primary);
}

/* data-table — used in UK profession pages */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  border: 1px solid var(--border);
}
.data-table thead tr {
  background: var(--navy);
  color: #fff;
}
.data-table th {
  padding: 11px 14px;
  text-align: left;
  font-weight: 600;
  font-size: 13px;
}
.data-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
  color: var(--text);
}
.data-table tbody tr:hover { background: rgba(29,111,164,0.04); }
.data-table tbody tr.alt { background: #f8f7f4; }
.data-table tbody tr.alt:hover { background: rgba(29,111,164,0.06); }
.data-table tbody tr:last-child td { border-bottom: none; }

/* Profession sidebar elements */
.profession-sidebar {
  position: sticky;
  top: 88px;
}
.sidebar-highlight {
  background: var(--primary);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  margin-bottom: 16px;
}
.sidebar-highlight__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 8px;
}
.sidebar-highlight__amount {
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 700;
  color: var(--amber-light, #E8A44A);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 6px;
}
.sidebar-highlight__sub {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  line-height: 1.4;
}
.sidebar-links {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-top: 16px;
}
.sidebar-links__title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.sidebar-links ul { list-style: none; padding: 0; }
.sidebar-links li { margin-bottom: 8px; }
.sidebar-links li a { font-size: 14px; color: var(--cta); text-decoration: none; }
.sidebar-links li a:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .profession-layout {
    grid-template-columns: 1fr;
  }
  .profession-sidebar {
    position: static;
    order: -1;
  }
}

/* Content main area richtext */
.content-main h2 {
  font-size: clamp(20px, 2.5vw, 26px);
  margin-top: 44px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
  color: var(--primary);
}
.content-main h2:first-child { margin-top: 0; }
.content-main h3 {
  font-size: clamp(17px, 2vw, 20px);
  margin-top: 28px;
  margin-bottom: 10px;
  color: var(--primary);
}
.content-main p {
  margin-bottom: 16px;
  line-height: 1.75;
  color: var(--text);
}
.content-main ul,
.content-main ol {
  padding-left: 20px;
  margin-bottom: 18px;
}
.content-main li {
  margin-bottom: 8px;
  line-height: 1.75;
  color: var(--text);
}
.content-main ul li::marker { color: var(--amber); }
.content-main strong { font-weight: 600; color: var(--primary); }

/* Tables inside content-main (profession pages) and prose (blog articles) */
.content-main table,
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 24px 0;
}
.content-main table thead tr,
.prose table thead tr {
  background: var(--navy);
  color: #fff;
}
.content-main table th,
.prose table th {
  padding: 11px 14px;
  text-align: left;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
}
.content-main table td,
.prose table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
  color: var(--text);
}
.content-main table tbody tr:nth-child(even),
.prose table tbody tr:nth-child(even) {
  background: #f8f7f4;
}
.content-main table tbody tr:last-child td,
.prose table tbody tr:last-child td {
  border-bottom: none;
}
.content-main table tbody tr:hover,
.prose table tbody tr:hover {
  background: rgba(29,111,164,0.04);
}
/* Overflow wrapper so tables don't break mobile layout */
.content-main .table-wrap,
.prose .table-wrap {
  overflow-x: auto;
  margin: 24px 0;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.content-main .table-wrap table,
.prose .table-wrap table {
  margin: 0;
  border: none;
}

.prose h2 {
  font-size: 22px;
  margin-top: 40px;
  margin-bottom: 16px;
  color: var(--primary);
}
.prose h3 { font-size: 18px; margin-top: 28px; margin-bottom: 12px; }
.prose p { margin-bottom: 16px; color: var(--text); line-height: 1.75; }
.prose ul, .prose ol {
  margin-bottom: 16px;
  padding-left: 24px;
}
.prose li { margin-bottom: 6px; line-height: 1.7; }
.prose a { color: var(--cta); }
.prose strong { font-weight: 600; }

/* =============================================
   FAQ Section
   ============================================= */

.faq-section { padding: 64px 0; background: var(--bg); }

.faq-list { max-width: 780px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  padding: 20px 0;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
  text-align: left;
  cursor: pointer;
}
.faq-question:hover { color: var(--cta); }

.faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  transition: transform 0.2s;
}

.faq-answer {
  display: none;
  padding-bottom: 20px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
}
.faq-answer p { margin-bottom: 12px; }
.faq-answer p:last-child { margin-bottom: 0; }

.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-item.open .faq-answer { display: block; }

/* =============================================
   Cookie Banner
   ============================================= */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--primary);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 16px 24px;
  z-index: 1000;
  display: none;
}
.cookie-banner.visible { display: block; }
.cookie-banner__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-banner__text {
  flex: 1;
  min-width: 280px;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}
.cookie-banner__text a { color: var(--amber-light); }
.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

/* =============================================
   Utility
   ============================================= */

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

.badge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.badge--amber { background: rgba(199,123,45,0.12); color: var(--amber); }
.badge--blue  { background: rgba(29,111,164,0.1);  color: var(--cta); }
.badge--green { background: rgba(5,150,105,0.1);   color: var(--positive); }

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 40px 0;
}

.ad-slot {
  text-align: center;
  padding: 16px 0;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ad-slot:empty { display: none; min-height: 0; padding: 0; }

/* Hide empty ad slots inside calc panel */
.calc-page__ad { display: none; }

/* =============================================
   Responsive
   ============================================= */

@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 56px 0 64px; }
  .hero__sub { max-width: 100%; }
  .calc-widget { max-width: 480px; }
  .site-footer__main { grid-template-columns: 1fr 1fr; gap: 32px; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .site-nav, .site-header__actions { display: none; }
  .hamburger { display: flex; }

  .site-nav.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary);
    padding: 24px;
    gap: 4px;
    overflow-y: auto;
    z-index: 199;
  }
  .site-nav.mobile-open > li > a { font-size: 16px; padding: 14px 12px; }
  .site-nav__dropdown { position: static; transform: none; box-shadow: none; padding-top: 0; }
  .site-nav__dropdown > * { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.1); border-radius: 8px; padding: 8px; }
  .site-nav__dropdown a { color: rgba(255,255,255,0.7); }
  .site-nav__dropdown a:hover { background: rgba(255,255,255,0.08); color: #fff; }
  .site-nav.mobile-open .has-dropdown.mobile-sub-open .site-nav__dropdown { display: block; }
  .site-nav.mobile-open .has-dropdown .site-nav__dropdown { display: none; }
  .nav-parent-link::after { content: ' ▾'; font-size: 10px; opacity: 0.6; }

  .features-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .site-footer__main { grid-template-columns: 1fr 1fr; }
  .country-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .content-with-sidebar { grid-template-columns: 1fr; }
  .content-sidebar { order: -1; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .site-footer__main { grid-template-columns: 1fr; }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; }
  .hero__trust { gap: 16px; }
  .calc-widget { padding: 20px; }
}
